Grenades
Adds the framework for functional grenades and 3 default grenades.
模組介紹 作者原文
Grenades
Requires ModThatIsNotMod
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.
Grenades added:
- Frag Grenade: A classic grenade - pull the pin and throw it at people you don't like. The 5 second fuse starts when the handle is released (when you let go). It sends shrapnel in all directions, so being near one of these is playing a lottery with life and death? Will a fragment catch your head? Will it not? Find out today.
- Push Grenade: A grenade more useful for using on yourself than on enemies. It causes no damage, but pushes all objects around it out with a strong force. Sit on top of one as it explodes, and you can reach for the skies. Chain multiple explosions, and you can cover some serious ground. 3 second fuse.
- Void Grenade: An odd specimen, the icosahedral structure is built to contain a core made of pure void particles. When it goes off, it draws everything nearby into a growing void anomaly, before it collapses and sends everything flying outwards.
Github:
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 WNP78.Grenades.ExplosionModule.CustomActions.
Changelog
0.1.5 (6/6/2021):
- Minor audio fixes
0.1.001 (17/12/2020):
- Added support for Handle and Pin sounds
- Added handle and pin sounds to default grenades
- Added experimental custom map support
- Added handle and pin events
- Added support for multiple rotating things on handle.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: