Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Aardwolf on April 25, 2009, 08:01:58 pm

Title: ship-targetable-as-bomb?
Post by: Aardwolf on April 25, 2009, 08:01:58 pm
What's this sexp meant for (and other related-sounding things, e.g. ship-untargetable-as-bomb, and I think some initial status or misc flags)?

I have a guess (from reading the wiki entry on it), that maybe things that are like bombers but only in certain situations (i.e. not specifiable as a ship type) would use it so you could target them like you can target bombers (provided there are no bombs-in-flight),

but I'm not sure, so I'm asking for clarification.

Also, are there any mods which use it?
Title: Re: ship-targetable-as-bomb?
Post by: colecampbell666 on April 25, 2009, 08:16:24 pm
I think it's so that it's easy to target kamikazes.
Title: Re: ship-targetable-as-bomb?
Post by: karajorma on April 26, 2009, 02:20:21 am
Basically as things stand now if you press the B key the game will target any bombs in flight. If no bombs are in flight it will target bombers. If the ship-targetable-as-bomb SEXP/Ship flag is used the ship is treated like a bomber for this purpose.
Title: Re: ship-targetable-as-bomb?
Post by: Aardwolf on April 26, 2009, 08:55:44 pm
Ah, cool.

/me reminisces about the days of FS1, when pressing B wouldn't target bombers, and (iirc) R wouldn't target specific turrets
Title: Re: ship-targetable-as-bomb?
Post by: colecampbell666 on April 26, 2009, 10:25:15 pm
IIRC B does target bombs, or maybe that's the Port, I can't remember.
Title: Re: ship-targetable-as-bomb?
Post by: chief1983 on April 27, 2009, 05:01:38 pm
He said bombers.  Yes, 'B' has always targeted bombs.
Title: Re: ship-targetable-as-bomb?
Post by: Hippo on April 27, 2009, 09:41:24 pm
auto subsystem targeting always bothers me :\
Title: Re: ship-targetable-as-bomb?
Post by: chief1983 on April 28, 2009, 01:08:21 am
Yeah I'll admit, it would be nice sometimes if you could just target the ship and not a particular turret/subsystem by default.