About this mod
This mod allows you to shoot weapons with your own settings. You can set your RPM (rounds per minute), spread, ammo type (rockets or bullets), bullets per shot, infinite ammo, burst firing mode, and recoil/flash visibility!
- Requirements
- Permissions and credits
https://github.com/Fang86/Weapon-Mod
----------------------------------------------------------------------------------------------------------
This mod allows you to shoot weapons with your own settings, in a sense. You can set your RPM (rounds per minute), spread, ammo type (rockets or bullets), bullets per shot, infinite ammo, burst firing mode, and recoil/flash visibility!
How much can you change your custom gun?
- RPM ranges from 10 to 10000
- Spread ranges from 0 to 10, with 10 having the most spread
- You can change your ammo type from bullets to ROCKETS!
- Bullets per shot ranges from 1 to 100. However, the game gets very laggy when its set to 100, so make sure your rpm isnt too high!
- Burst speed ranged from 60 to 2000. This controls the speed between each shot in a burst with the higher number making it faster
- Burst shots ranges from 2 to 10 rounds per burst.
- Set a tool that the mod is restricted to
Demo of version 1.2:
----------------------------------------------------------------------------------------------------------
Installation:
1. Open file explorer - go to Documents/Teardown/mods
2. Open "Custom Weapons.zip" and drag the folder called "Custom Weapons" into the mods folder
----------------------------------------------------------------------------------------------------------
How to use:
1. Enable the mod in the game's main menu
2. Press "M" to open up the menu (this also closes the menu)
3. You should now see options to change the RPM, spread, and bullets per shot. You should also see buttons to toggle Modded weapon, Rocket ammo, Infinite ammo, Burst firing mode, and a Recoil/Flash hider.
- Modded weapon allows you to shoot with the given RPM and spread. It will work on any tool
as long as you hold the mouse button down. It is enabled by default. - Rocket ammo allows you to shoot rockets (while "Modded weapon" is on) at the given RPM
and spread. - Infinite ammo allows you make all normal weapon ammo infinite. The modded weapon ammo is inherently
infinite, so you do not need this on unless you are not using modded weapon. - Burst mode allows you to shoot in bursts with custom rounds per burst and delay per shot in each burst
- Recoil/Flash allows you to hide the initial flash and recoil when shooting with the mod
- Mod's HUD allows you to hide or show the new HUD in v1.2.
To do:
- Add custom model integration (possibly tied to rpm/spread/bullets per shot) so others can use this script for their own voxel weapon models.
- Create Github page
- Add recoil if possible - If anyone knows out how to do this I would appreciate any help!
- Add damage and range slider if possible
- Add option for finite ammo counter (and maybe reloading?)
- Some more UI changes
- Ability to turn off certain things in the HUD
- (Maybe) Ability to change the color scheme
- Beginning of template production for other modders
- Tool/Weapon hider
----------------------------------------------------------------------------------------------------------
- Renderscale Slider - if you want to use both download and rename renderscale slider's optionsTimedExplosives.lua to options.lua.
- Click to explode - there is a folder in the zip for those using that mod.
- Sandbox mod - use the hud.lua file in the "Sandbox Compatibility" folder instead of the sandbox mod's hud.lua
Game version: 0.5 only!
Discord: Fang#7832
DM me if you need help or have suggestions!
You can change the default RPM, spread, etc. in the weaponMod.lua file.
The formatting for nexus is weird, so it may be easier to read my descriptions on teardownmods.com
*Special thanks to My Cresta for his helpful slider code and to ChiefCloudyEye for his modloader!
COMING SOON!* I plan to update this mod so that other mod creators can use it as a "template script" to create their own custom weapons using their models. This will be much better if the devs give us the ability to spawn new weapons, but for now this mod will affect all weapons/tools (soon you can change it to only affect certain tools).