Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: PeterDön on December 22, 2009, 05:33:51 pm
-
Is there any way to make like "terran huge turret" to only fire at other capitalships/crusiers?
-
In the weapon's table, add the flag "huge" to it. This means it only targets ships designated as "huge." I've had to use this to keep fighter wings from being blown to smithereens by some of the weapons I've created.
-
So have I, though much lols are to be had when you see a BFG swing through space to splat Shivan and GTVA fighters alike, as well as accidentally swiping a Cain.
-
Thanks guys, just one qustion, the turret I'm modding already has the flag "Big Ship". Should I remove this?
-
The Big Ship flag means that fighters can't carry it IIRC. That's all.
-
Your turret or your weapon has the Big Ship flag?
-
Your turret or your weapon has the Big Ship flag?
Yes, its the "terran huge turret" I want it to shoot only at destroyers and crusiers/corvettes.
-
You want the "Huge" flag.
-
Your weapon should be the one with the "Huge" flag. The difference between the two is:
Huge basically limits your weapon from firing on anything other than capital ships.
Big Ship means only capital ships can mount it, and it won't appear in your weapon selection for your fighter by default.
-
It worked! Thanks again guys!
-
Ok, boys and girls.... My turret is working fine but it still targets bombs. Is there any way to stop this?
-
AI Profies have a function for this.
http://www.hard-light.net/wiki/index.php/Ai_profiles.tbl#.24huge_turret_weapons_ignore_bombs:
-
Got it. Thanks!
-
I get an error message when I try to load, saying: Error:Required token = [#End] or [$Name:], found [$huge turret weapons ignore bomb]
What does it mean?
-
You're not supposed to put this flag into ship table, but into AI Profile.
Better read this: http://www.hard-light.net/wiki/index.php/Ai_profiles.tbl
-
Ok, so I put it in the ai_profiles.tbl, but still no luck.
-
You have to set your Ai_Profile in FRED to the one you made.
-
Ok, thanks. By the way, is there anyway to make this work in the retail version?
-
Unfortunatley, no.
Using AI_Profiles makes keeping retail compatiblity impossible.
-
Ok, sad. But if its in a mod, and you are playing the freespace 2 campaign?
-
Can you clarify that statement?
-
Nothing, I got it to work. Thanks!