Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Rowhider on September 15, 2011, 12:43:02 am

Title: Weapons table
Post by: Rowhider on September 15, 2011, 12:43:02 am
Hi!

A little question for this morning (for me!)

I've launch a battle between battleships of my mod, and I saw than my flagship tried to destroy the enemi missiles with its own missiles.
I think that's because all my missiles are targetables.
These capital-ships missiles are based on the "Trebuchet".
Is it possible to have no targetable missiles?!
Title: Re: Weapons table
Post by: Cyborg17 on September 15, 2011, 12:57:46 am
Interesting.  You might want to try editing the ships table instead and adjusting the target priority for the individual missle turrets.

Here's the link for the table file instructions, but I haven't actually tried that one yet so I don't know exactly how it works.

http://www.hard-light.net/wiki/index.php/Subsystem#.24Target_Priority: (http://www.hard-light.net/wiki/index.php/Subsystem#.24Target_Priority:)

You might able to find another description/instructions if you search around the forums.
Title: Re: Weapons table
Post by: BengalTiger on September 15, 2011, 10:00:40 am
If the missiles you use for the battleships have the "bomb" flag, they'll be the most important target for turrets.

If they don't they should not be targetable, like lasers. The AI doesn't need the "bomb" flag to fire a missile at capital ships.
Title: Re: Weapons table
Post by: Rowhider on September 15, 2011, 11:12:00 am
Ok, thks guys.

I've done a test: and the tag "bomb" was the reason of my strange missiles comportements  :lol: