Open Zack135 opened 6 years ago
1.12.2 weapon stats can be edited with crafttweaker
mods.techguns.GunStats.setWeaponStat(WEAPONNAME, FIELDNAME, VALUE)
All field names: https://github.com/pWn3d1337/Techguns2/blob/master/src/main/java/techguns/plugins/crafttweaker/EnumGunStat.java
Damn I`m not so good with scripts and stuff like that. I downloaded crafttweaker but from there I really have no idea what to do...
You just need to put a script file in the scripts folder (ends with .zs, look at crafttweaker documentation)
I can give you some techguns examples:
import mods.techguns.GunStats;
import mods.techguns.ArmorStats;
GunStats.setWeaponStat("as50","DAMAGE",80);
GunStats.setWeaponStat("rocketlauncher","GRAVITY",-0.25);
ArmorStats.setArmorStat("t1_combat_boots","SPEED",10.0);
Do I need to just copy that into the zs document and save? because it`s not working.
Nevermind it works, thank you so much for your time and your beautiful mod :)
The spread option doesnt work when i used it on the akm. Did a new field value get used?
When I downloaded the 1.12.2 version there wasn`t weapon stats editor in the config file like in 1.7.10 version. I would be happy if it was added.