Page 1 of 1

Editing weapon damage values on the ini?

Posted: Tue Jan 24, 2017 5:13 am
by sambezi
Does anyone know what the lines for the weapon values are? Personally I am not a fan of shotguns having damage roulette on by default so I'd like to tweak that, but I really don't which lines are you supposed to edit for tweak weapon values.

Re: Editing weapon damage values on the ini?

Posted: Tue Jan 24, 2017 8:59 am
by vwtrotsky
File XComGameData_WeaponData.ini
Damage parameters:
SomeWeapon_BaseDamage = (Damage=6, Spread = 2, PlusOne = 50, Crit = 3, Pierce = 0, Shred=2, Tag = "", DamageType="Projectile_Conventional")

Misc parameters:
SomeWeapon_iSoundRange=36
SomeWeapon_iEnvironmentDamage = 9
SomeWeapon_iClipSize = 1
SomeWeapon_Range = 25
SomeWeapon_Radius = 12

Aim bonuses on ranges of weapon:
SomeWeapon_RANGE[0] = 0
SomeWeapon_RANGE[1] = 40
SomeWeapon_RANGE[2] = 32
SomeWeapon_RANGE[3] = 24
...