Whell if i hear you correctly you want to give the marauder a machine gun next to its main gun right?
If so did you check the humvee TOW missile upgrade code to see how it works, now USE the the humvee code and rename the things and (you know what i mean) and then make a button for it and it should work fine.
This is because there are different upgrades.
I mean you have upgrades that effect only one unit and needs to be bought sereratly and you got upgrades that effect ALL units.
Use the tow missile upgrade logic and check your weaponset code again.
AND 2 do you want the turret to control weapon SECONDARY?
If so make it in the TURRETAIUPDATE to also have controlledweaponslots = SECONDARY
And last but not least have the machine gun have some preference like with comanche vulcans and hellfire missiles.
Okey that should do it i did it myself and its really easy once you get the hang of it.
|