We recommend using the Thunderstore Mod Manager or an alternative for installing mods
A mod that adds a few types of grenade, as well as the ability for other modders to create their own relatively easily. To install, unzip the contents of the .zip into your BONEWORKS install directory. Grenades can be spawned under the gizmos category of the utility gun spawn menu.
For those who want to make their own grenades, import the
defaultGrenades.unitypackage in the
UserData/Grenades folder. This contains all the assets I used to make the default.grenade file. A .grenade file is a unity asset bundle which must have a text asset called "Grenades.xml" which contains definitions of how the grenades should behave, and the paths to their prefabs. Every available feature is pretty much demonstrated in the stock grenade XML, so I suggest adapting these. Any more questions, you can ask me in the BONEWORKS discord server, or the BoneTome server, or open the dll with a decompiler. It is also theoretically possible to add custom explosion effects by script by inheriting from
WNP78.Grenades.ExplosionModule.ExplosionAction and adding your class to