changing units weapons
Posted: Sun Sep 24, 2006 4:36 pm
i need help onhow to change a units weapons, because i put anakins lightsaber in place of the republics clone troopers rifle, and i startup my map and it crashes.
and BTW, im changing the odf, i dunno if i should change anything else.
odf:
and BTW, im changing the odf, i dunno if i should change anything else.
odf:
[GameObjectClass]
ClassParent = "rep_inf_default"
[Properties]
WEAPONSECTION = 1
WeaponName = "rep_weap_lightsaber_anakin"
WeaponAmmo = 0
WEAPONSECTION = 2
WeaponName = "rep_weap_inf_pistol"
WeaponAmmo = 0
WEAPONSECTION = 3
WeaponName = "rep_weap_inf_thermaldetonator"
WeaponAmmo = 4
WeaponChannel = 1
WEAPONSECTION = 4
WeaponName = "rep_weap_award_rifle"
WeaponAmmo = 4
WEAPONSECTION = 5
WeaponName = "rep_weap_award_pistol"
WeaponAmmo = 6
VOUnitType = 121