Max of 8 weapons per unit.
Posted: Wed Apr 19, 2006 1:33 am
I haven't noticed this anywhere, so I'll post it. The max amount of weapons a unit can carry is 8. 4 primary weapons and 4 secondary weapons. You can dynamically mess around with the weapons in the lua, but you can never have more than 8 of them. If you think its more, feel free to prove me wrong.
Here is the weapon loadout I used (just copy it somewhere to see it better) I had this in all_inf_rifleman.odf:
Here is the weapon loadout I used (just copy it somewhere to see it better) I had this in all_inf_rifleman.odf:
WEAPONSECTION = 1
WeaponName = "all_weap_inf_rifle"
WeaponAmmo = 0
WEAPONSECTION = 2
WeaponName = "all_weap_inf_pistol"
WeaponAmmo = 0
WEAPONSECTION = 3
WeaponName = "all_weap_inf_thermaldetonator"
WeaponAmmo = 0
WeaponChannel = 1
WEAPONSECTION = 4
WeaponName = "all_weap_inf_timebomb"
WeaponAmmo = 0
WeaponChannel = 1
WEAPONSECTION = 5
WeaponName = "all_weap_inf_shotgun"
WeaponAmmo = 0
WEAPONSECTION = 6
WeaponName = "all_weap_inf_detpack"
WeaponAmmo = 0
WeaponChannel = 1
WEAPONSECTION = 7
WeaponName = "all_weap_inf_sniper_rifle"
WeaponAmmo = 0
WEAPONSECTION = 8
WeaponName = "all_weap_inf_mine_dispenser"
WeaponAmmo = 0
WeaponChannel = 1