Page 1 of 1
weapon limit?
Posted: Mon Apr 21, 2008 6:03 pm
by wishihadaname
so im making the map felucia deltas down into a final more fun version and i realise that hte commandoes are not as good as they were in the actual Republic commando game.
i tryed to add more weapons such as detpacks and the dc 15 snyper to them but it won't let me go over 4 weapons any ideas cas i know it can be done i have a downloaded mod map with units that have like 7 weapons
Re: weapon limit?
Posted: Mon Apr 21, 2008 6:07 pm
by Syth
Code: Select all
WEAPONSECTION = 1
WeaponName = "Name1"
WeaponAmmo = 3
WEAPONSECTION = 2
WeaponName = "Name2"
WeaponAmmo = 3
WEAPONSECTION = 3
WeaponName = "Name3"
WeaponAmmo = 2
WEAPONSECTION = 4
WeaponName = "Name4"
WeaponAmmo = 1
WeaponChannel = 1
WEAPONSECTION = 5
WeaponName = "Name5"
WeaponAmmo = 0
WeaponChannel = 1
WEAPONSECTION = 6
WeaponName = "Name6"
WeaponAmmo = 5
WeaponChannel = 1
WEAPONSECTION = 7
WeaponName = "Name7"
WeaponAmmo = 0
WeaponChannel = 1
WEAPONSECTION = 8
WeaponName = "Name8"
WeaponAmmo = 3
Like this you can have up to 8 weapons
Re: weapon limit?
Posted: Mon Apr 21, 2008 10:05 pm
by Teancum
Yep, 8 total slots - 4 per WeaponChannel *primary / secondary weapons*.
Re: weapon limit?
Posted: Tue Apr 22, 2008 3:37 pm
by wishihadaname
humm ok that what i was trying ill have to look over my odf again see if i made a typo or something thanks for the help
EDIT: odd idk why its not working here is my odf for the republic commando any ideas?
[GameObjectClass]
ClassParent = "rep_inf_default"
[Properties]
UnitType = "Trooper"
MaxHealth = 700.0
WEAPONSECTION = 1
WeaponName = "rep_weap_inf_dc15s_side_arm"
WeaponAmmo = 0
WEAPONSECTION = 2
WeaponName = "rep_weap_inf_dcrifle"
WeaponAmmo = 5
WEAPONSECTION = 3
WeaponName = "rep_weap_inf_anti_armor"
WeaponAmmo = 5
WEAPONSECTION = 4
WeaponName = "rep_weap_inf_dcsniper"
WeaponAmmo = 4
WEAPONSECTION = 5
WeaponName = "imp_weap_inf_crackgrenade"
WeaponAmmo = 5
WeaponChannel = 1
WEAPONSECTION = 6
weaponName = "rep_weap_inf_detpack_dispenser"
WeaponAmmo = 3
WeaponChannel = 1
WEAPONSECTION = 7
WeaponName = "rep_weap_inf_powerup_dispenser"
WeaponAmmo = 1
WeaponChannel = 1
VOUnitType = 42
HurtSound = "clone_commando_chatter_wound"