Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: wistler on February 19, 2014, 05:52:40 am
-
Hi guys,
I'm looking for a little clarity as to how the $Target Priority works in the ship.tbl.
What kind of entries are allowed? Can I make a list such as "Destroyer" "Cruiser" etc or is it a little bit more complicated?
P.S at work at the moment so I cant try it out for myself so thought best to just ask :)
-
You mean $Target Priority Group? Take a look at objecttypes.tbl. http://www.hard-light.net/wiki/index.php/Objecttypes.tbl
You should look at mods such as Blue Planet 2 for examples how it is used. Other mods like Wings of Dawn and Diaspora likely use them as well, though I have not confirmed it.
-
It's a really, really useful feature.
-
Looks good. I'm trying to design a mission which involves Cap ships and multiple stations, and I wanted to stop the cap ship from firing on the stations without them being guarded. I was thinking of changing the target priorities for that capital ship so it would target other capital ships & fighters instead. Would this be the best way of doing it or is there a better resolution?
-
Aside from just using ship-protect?
-
Yeah because I still need the stations to be open to attack from other ships. Ill play around with target priorities and object types and see where I get. Thanks for the replies.