Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: headdie on January 13, 2010, 08:07:09 am

Title: Request missile target flag
Post by: headdie on January 13, 2010, 08:07:09 am
Is it possible to add a flag so a missile can be targeted i ask because i am setting up a treb style long range intercept missile but for story and balance reasons i want it possible to shoot down but obviously the bomb tag stops the AI using it against fighters.
Title: Re: Request missile target flag
Post by: karajorma on January 13, 2010, 09:36:01 am
I actually have code for that feature somewhere but I sent it to Wanderer for review, never heard back from him and then promptly forgot about it. :D

I'll have to see what he has to say on the matter.
Title: Re: Request missile target flag
Post by: headdie on January 13, 2010, 10:52:40 am
cheers mate
Title: Re: Request missile target flag
Post by: Wanderer on January 15, 2010, 12:31:05 pm
Hmm.. i cant find that patch, well not at the first glance. You can however make weapon destroyable just by assigning hitpoints for it
Title: Re: Request missile target flag
Post by: headdie on January 15, 2010, 01:03:22 pm
thanks for that and it will help in the mean time at least for testing, does it work with the bomb flag?
Title: Re: Request missile target flag
Post by: Aardwolf on January 15, 2010, 06:07:09 pm
thanks for that and it will help in the mean time at least for testing, does it work with the bomb flag?

I was not aware that the bomb flag made ships not use something against fighters... I knew it made it targetable, destructible, and a priority for fighters, though. I am equally curious whether the bomb flag would not work.
Title: Re: Request missile target flag
Post by: headdie on January 16, 2010, 02:59:10 am
i tried it in a few early tests of the missile and the AI wouldn't use it against me
Title: Re: Request missile target flag
Post by: Wanderer on January 18, 2010, 06:29:37 am
Weapon flags related to these have been committed to the trunk.
Title: Re: Request missile target flag
Post by: Thaeris on January 18, 2010, 05:34:11 pm
I actually have code for that feature somewhere but I sent it to Wanderer for review, never heard back from him and then promptly forgot about it. :D

I'll have to see what he has to say on the matter.

That's not for Diaspora, is it? Being able to shoot down incoming missiles would add a good series feel to the game...

 :)
Title: Re: Request missile target flag
Post by: JGZinv on January 18, 2010, 05:36:58 pm
Tachyon also had missiles that were targetable by default, rather than bombs.
So this'll be a welcome addition.
Title: Re: Request missile target flag
Post by: headdie on January 18, 2010, 06:01:33 pm
Tachyon also had missiles that were targetable by default, rather than bombs.
So this'll be a welcome addition.

that, star wars and many other sci fi universes call for it so nice one guys and roll on the next release
Title: Re: Request missile target flag
Post by: karajorma on January 19, 2010, 04:29:11 am
That's not for Diaspora, is it? Being able to shoot down incoming missiles would add a good series feel to the game...

Actually it's for BtRL and has been bounced around so many times that it may finally get implemented now in time for Diaspora. :rolleyes: