About This File
This mod will only work with version 0.5 or later. There are a few minor issues present, but nothing major. Planned updates are on the way.
You can now open the menu by pressing "M" instead of going into the escape menu. You will be able to change the hotkey soon.
https://github.com/Fang86/Custom-Weapons
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!
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
- This will include a very readable text file to make it easier to change default, minimum, and maximum values
- Tool/Weapon hider
----------------------------------------------------------------------------------------------------------
Game version: 0.5 and above 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.
*Special thanks to My Cresta for his helpful slider code
*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).
Edited by Fang86
minor edit
What's New in Version 1.4 See changelog
Released
Settings will now save when quick loading! (infinite ammo and recoil/flash do not save atm)
Minor change to recoil and flash functionality so it only affects the selected tool rather than all tools.
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.