SOD. Weapon Guide?

The best Modding forum in the Armada community, some of the best modders come here.

Moderators: thunderchero, MrVulcan

Post Reply
User avatar
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 660
Joined: Fri Apr 25, 2003 2:00 am
Location: TO CA

Post by MrVulcan » Fri Apr 25, 2008 10:03 am

SOD based weapons work similarly to regular weapons. You'll need a sod of the weapon and a line in the ordinance that tells the weapon to use a sod instead of a sprite:

shotGeometry = "weapon.sod"

The sod hierarchy can be a simple root node with the mesh attached. You can add hardpoints to the sod as well for u-ball type weapons.

Not all class labels support the shotGeometry line. Ones that do off the top of my head are: "launcher" "missile" "areamissile".

User avatar
Cadet 3rd Year
Cadet 3rd Year
Posts: 89
Joined: Wed Apr 30, 2003 2:00 am
Location: Mordor, Thangrodrim or Angband, depending on the season

Post by QuantumHalo » Sun Apr 27, 2008 4:41 pm

And there's even fewer ordinance classlabels that support it. For A1, the minefield label, the shield disruptor, the myotronic burst and maybe one or two more. The minefield one is the only one that does damage BUT it always fires at the nearest ship in range.

If you want a targetable one, the best way is probably to make a dummy missile that does nothing and an invisible pulse/photon to actually do the damage.
Retired Modder
CG Animator

Post Reply

Who is online

Users browsing this forum: No registered users