Page 1 of 1

How to give your unit more than 4 weapons? [Solved]

Posted: Wed May 27, 2009 9:49 pm
by RogueCruiser
I tried to give a unit 5 weapons, (4 primary and 1 secondary) this is my odf
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "all_inf_default_rocketeer"

[Properties]
GeometryName = "rep_inf_commando"
FirstPerson = "all\alltroop;all_1st_trooper"

WEAPONSECTION = 1
WeaponName = "imp_weap_inf_rifle"
WeaponAmmo = 7

WEAPONSECTION = 2
WeaponName = "all_weap_inf_commando_pistol"
WeaponAmmo = 7

WEAPONSECTION = 3
WeaponName = "cis_weap_inf_bulldog"
WeaponAmmo = 8

WEAPONSECTION = 4
WeaponName = "all_weap_inf_sniper_rifle"
WeaponAmmo = 7

WEAPONSECTION = 5
WeaponName = "all_weap_inf_thermaldetonator"
WeaponAmmo = 5
WeaponChannel = 1

the rifle and pistol show up in the primary position but the others are in the secondary box. The bulldog and sniper can than not be zoomed in, they can be shot but you have to click secondary shoot button and the weapon comes out to shoot but immeaditly goes back after you fire your shots instead of holding it. Also their icons float by your trooper to the left. (the bulldog and sniper)

How can i move these to the primary box instead?

Re: How to give your unit more than 4 weapons?

Posted: Wed May 27, 2009 10:04 pm
by bobfinkl
Add WeaponChannel = 0 to each of those weapons lines. And for the icons in random spots use this tutorial http://www.gametoast.com/forums/viewtop ... =64&t=9703.

Re: How to give your unit more than 4 weapons?

Posted: Wed May 27, 2009 10:07 pm
by RogueCruiser
Just literly 2 min before you said that I had experimented doing that and got it to work. Thanks anyway though :D that also fixed the icons too

Re: How to give your unit more than 4 weapons?

Posted: Wed May 27, 2009 10:27 pm
by bobfinkl
No problem, I'm always willing to help a new modder in need.