Where can I find the code for the weapons, specifically functionality

What is want to do is rework the weapons completely, the animations will stay but I want to mess with the attack speed, damage, and over all feel of the weapons. Thanks in advance!
3 Replies
Robb
Robb4mo ago
Those stats are split between the ammo and weapon classes. We don't have implementations, just headers. Look at a mod's source like Weapon Upgrades to see a starting point
Uh Oh, It's Ace
Uh Oh, It's AceOP4mo ago
Ok, thank you
SerGreen
SerGreen4mo ago
Attack speed, damage, spread, ammo count - all of these can be changed without having to write custom code, they're simple parameters. In fact, you can change them without having to set up the full modding environment, you can use ContentLib and a text editor for this. There's a mod that does exactly that for Turbo Ammo to make it constant rate of fire - Useful Turbo Ammo. Download it, unzip and study jsons inside of the ContentLib folder. https://ficsit.app/mod/ContentLib https://ficsit.app/mod/UsefulTurboAmmo

Did you find this page helpful?