Custom Weapons Base
Adds support for loading custom equips, along with 4 extra hardpoints for unconventional equips.
Add a reference to this dll from
steamappsworkshopcontent30184103265798414
Add all equippable prefabs into an asset bundle, along with a manifest.json containing something like this
{ "DevDependency" : "D:\Optional\Example\YourFolder\YourDll.dll", // Optional, loads your dll from another directory. "Dependency" : "YourDll.dll", // Optional, loads the dll in the same folder as the Asset Bundle "Weapons" : { "Prefab_Name" : [{"94" : "1,2,3,4"}, {"26" : "4,5,6,7"}, {"Vehicle" : "Hardpoints"}], "Danku_Gun_Thing" : [{"45" : "1,2,5,6"}] } }
Contains some existing components
- BurstMissile: Invokes a UnityEvent whenever missile is within x radius
- CWBFLKMissile: Primarily used alongside BurstMissile to be invoked. Jettison missile fairings and or fire a gun component (bullets from guns can explode if radius is set above 9)
- CWB_Explosion: Replaces the missiles explosion particle effect with a custom one.
- CWB_HPEquipExtensions: Contains a ton of events from HPEquippable, including a couple useful ones such as Firing, CycleWeaponButton, TriggerAxis, and Jettison. Can be used alongside another equip
- CWB_FuelTank: HPEquipExtensions but with a fuel tank… Can be used alongside another equip
- CWB_HPEquipCMPod: Countermeasures, not really tested so may or may not work well.
- CWB_HardpointModifier: Detach and disable HPEquip nodes for specific hardpoints. Used primarily if you have a giant model that blocks some hardpoints.
- CWB_WindingWeapon: Used alongside a custom script to invoke the methods and check if wound up. Starts and stops winding a weapon plays audio and adjusts pitch and volume over time.
- WindingWeapon: Same as above but invokes an event once its fully wound up.
- CombinedCannon: Fire every gun of the same type.
- CWB_GrabInteractable: Grabbable object, pretty obvious.
- CWB_VRIntGlovePoser: Custom glove poser to use custom hand animations.
- CWB_Weapon: Mark a weapon as a WMD (Weapon of Mass Destruction) so that it may not be used in lobbies with that setting disabled.
- There’re a few others that aren’t very useful for the average user. Look through the github[github.com] to see any extras.
Original custom equip loading code by Temperz87
Download
VTOLAPI — Steam Workshop
VTOL Task Progress UI — Steam Workshop
Required items:
Click the title to search on this site.
VTOLAPI — Steam Workshop
VTOL Task Progress UI — Steam Workshop