Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Scooby_Doo on January 30, 2007, 03:18:31 am

Title: Big guns attacking fighters
Post by: Scooby_Doo on January 30, 2007, 03:18:31 am
Could it be possible to add a flag such as "attack fighters" so that big guns will also target fighters (assuming there are no higher presidence targets)?  This way it won't break existing and will allow Saga and my mod to bring their big guns to bear on fighters.
Title: Re: Big guns attacking fighters
Post by: gevatter Lars on January 30, 2007, 06:02:46 am
I think you could just add cap or bomber flag to the fighters to archive that.
Title: Re: Big guns attacking fighters
Post by: DarkShadow- on January 30, 2007, 06:49:03 am
Well, if you want the big guns to fire at big ships and small ships, why don't you simply remove the "huge"-flag from the weapon ?

(hmm, ok, that would make those weapons unable to destroy the big ones)
Title: Re: Big guns attacking fighters
Post by: Trivial Psychic on January 30, 2007, 09:09:04 am
There is a sexp to direct target precedence, but its limited to "asteroids, bombs, ships" as the options.  It would be useful if similar sexps existed to further refine target precedence, down to classes of ships, or perhaps even specific ships, or perhaps sexps to ignore certain specific ships.