About this mod
This mod randomly cycles through equipped weapons and fire modes on said weapons. You can adjust the maximum and minimum time between weapon switches. This is for people who want to try something new or make the game harder by not being able to choose what weapon you are using. The mod is also toggleable, so you can turn it on or off in game.
- Requirements
- Permissions and credits
- Changelogs
THIS MOD REQUIRED BEPINEX
This mod randomly cycles through your equipped weapons and fire modes. You can change the maximum and minimum cooldown times in the config file for the mod. The config file is located in Bepinex/config/RandomWeapon.cfg
Installation
1. Install bepinex into the Ultrakill folder.
2. Run Ultrakill
3. Extract the mod and place RandomWeapon.dll inside steamapps\common\ULTRAKILL\BepInEx\plugins
4. Run the game.
5. Press F6 to enable or disable the mod
In depth stuff for those who care
The railcannon switches off itself once you fire, and the BLUE nailgun switches off itself once it gets below 2 ammo. The nailgun (blue or green) will NOT be switched to if the BLUE nailgun has less than 30 ammo. The GREEN nailgun was harder, unfortunately I could not figure out how to auto swap it once it runs out of heatsinks, so I just prevented it from being switched to when it does not have 2 heatsinks. I admit this is not the best solution, but eh. Lastly, if there is no valid swap option it will stay on whatever current weapon is equipped. If you play with more than 3 weapons you wont have to worry about this, but this rule was necessary to prevent crashes in specific scenarios.
Also thanks to everyone who downloaded this or downloaded the announcer mod!