designmission
7 years ago
Okay, so this may be kind of dumb. But I wanted to ask because when I go to weapons it says: Primary and/or Secondary (sometimes none.)

But the question is here...
Can I add an third weapon for a tank? Possible? Need Coding? Not possible?

I am on anything if it is possible to do it. Thanks if any one can help
. 👍 👍
Sponsor
Ace40k
  • Ace40k
  • 50.25% (Neutral)
  • Private
7 years ago
yes, it is possible. see my Hind unit code below as an example


WeaponSet
Conditions = NONE
Weapon = PRIMARY HindRocketPodWeapon
PreferredAgainst = PRIMARY VEHICLE STRUCTURE
AutoChooseSources = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI

Weapon = SECONDARY HindCannonWeapon
PreferredAgainst = SECONDARY INFANTRY VEHICLE
AutoChooseSources = SECONDARY FROM_PLAYER FROM_SCRIPT FROM_AI

Weapon = TERTIARY HindAAMissileWeapon
PreferredAgainst = TERTIARY AIRCRAFT
AutoChooseSources = TERTIARY FROM_PLAYER FROM_SCRIPT FROM_AI
End



and all three are working just fine. the unit can even fire all three weapons at the same time
designmission
7 years ago
Thanks for the help Ace40k! Now I can continue my modding.