Page 1 of 1

changing units weapons

Posted: Sun Sep 24, 2006 4:36 pm
by yodasoda
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:
[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

RE: changing units weapons

Posted: Sun Sep 24, 2006 4:39 pm
by Dohnutt
For some reason, I remember seeing that you can only put a lightsaber as a secondary weapon on a soldier. I'm pretty sure I'm wrong though.

RE: changing units weapons

Posted: Sun Sep 24, 2006 6:57 pm
by crazytieguy
Post your error log, then we can help.

RE: changing units weapons

Posted: Sun Sep 24, 2006 6:59 pm
by arty
Lol, If he has a lightsaber, how does he use it. You need to give him an animation.

Posted: Sun Sep 24, 2006 10:09 pm
by fat_walrus
Please use the search engine instead of flooding the board with questions that have been asked several times, it can be very annoying

Posted: Sun Sep 24, 2006 11:55 pm
by -_-
*LOCKED*