[Wiki] CraftTweaker
Fishkaras opened this issue ยท 0 comments
Here is some possible *.zs file configs:
-
Necessary lines:
import mods.techguns.GunStats;
import mods.techguns.ArmorStats; -
Guns:
Example:
GunStats.setWeaponStat("handcannon","DAMAGE",1);
Guns list:
ak47, alienblaster, as50, aug, biogun, blasterrifle, chainsaw, combatknife, combatknife, combatshotgun, crowbar, crowbar, flamethrower, fraggrenade, gaussrifle, gaussrifle, goldenrevolver, grenadelauncher, grimreaper, handcannon, handgun, lasergun, lmg, m4, m4_infiltrator, mac10, mibgun, minigun, miningdrill, netherblaster, nucleardeathray, pdw, pistol, powerhammer, pulserifle, revolver, rocketlauncher, sawedoff, scar, scatterbeamrifle, sonicshotgun, stielgranate, teslagun, tfg, tfg, thompson, vector
Parameters:
DAMAGE, DAMAGE_MIN, DAMAGE_DROP_START, DAMAGE_DROP_END, BULLET_SPEED, BULLET_DISTANCE, GRAVITY, MINING_SPEED.
- Armor features:
Example:
ArmorStats.setArmorStat("t1_combat_boots","SPEED",1.2);
Armor list:
t1_combat_boots, t1_combat_chestplate, t1_combat_helmet, t1_combat_leggings, , t1_miner_boots, t1_miner_chestplate, t1_miner_helmet, t1_miner_leggings, t1_scout_boots, t1_scout_chestplate, t1_scout_helmet, t1_scout_leggings
t2_combat_boots, t2_combat_chestplate, t2_combat_helmet, t2_combat_leggings, t2_commando_boots, t2_commando_chestplate, t2_commando_helmet, t2_commando_leggings, t2_riot_boots, t2_riot_chestplate, t2_riot_helmet, t2_riot_leggings
t3_combat_boots, t3_combat_chestplate, t3_combat_helmet, t3_combat_leggings, t3_miner_boots, t3_miner_chestplate, t3_miner_helmet, t3_miner_leggings, t3_power_boots, t3_power_chestplate, t3_power_helmet, t3_power_leggings
Parameters:
SPEED, JUMP, FALL_DAMAGE, FALL_HEIGHT, MINING_SPEED, WATER_MINING_SPEED, GUN_ACCURACY, EXTRA_HEARTS, NIGHTVISION, KNOCKBACK_RESISTANCE, STEP_ASSIST, OXYGEN_GEAR, WATER_ELECTROLYZER, COOLING_SYSTEM, WATER_SPEED.
- Armor material protection:
ArmorStats.setMaterialArmorValue("T1_COMBAT", "PHYSICAL", 300.0);
Materials list:
T1_COMBAT, T1_MINER, T1_SCOUT, T2_COMBAT, T2_COMMANDO, T2_RIOT, T3_COMBAT, T3_MINER, T3_POWER
Parameters:
PHYSICAL, PROJECTILE, FIRE, EXPLOSION, ENERGY, POISON, UNRESISTABLE, ICE, LIGHTNING, RADIATION, DARK
There is no way to change "armor toughtness" and "penetration resistance".
P.S.: Sorry for missing formatting.