Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Admiral MS on December 13, 2012, 02:49:14 pm

Title: Ship and Wing departure orders to fighterbays
Post by: Admiral MS on December 13, 2012, 02:49:14 pm
There is this bug http://scp.indiegames.us/mantis/view.php?id=2097 I want to fix. Now I'm not sure what behaviour ships and wings with their departure location set to the fighterbay should have when they get any type of departure order (comm menu, sexp, departure cue in ship editor).

How do you (want to) use these orders and what do you think would be a good behaviour?

Normally I should use retail behaviour but since retail is completely contradictory and bugged in that respect there is no right and wrong. Any patch will likely break some missions and will therefore be tied to a mod.tbl setting which also enables me to code in whatever behaviour you think would be fine.
Title: Re: Ship and Wing departure orders to fighterbays
Post by: Goober5000 on December 13, 2012, 03:50:44 pm
I thought MjnMixael was going to tell you this, but I intend to take a look at the code in question, including your patch.  There are a number of specific behaviors and I still think it's possible to fix it in a way that keeps them all consistent.
Title: Re: Ship and Wing departure orders to fighterbays
Post by: Slasher on December 13, 2012, 08:25:41 pm
Having an option for ships to leave via a fighter bay when ordered to depart would be of great help in TBP, where fighters, and generally any ship smaller than a cruiser, aren't supposed to have jump engines.  Might be able to finally cut down on all those empty red circles in my HUD's wingmate readout. :D
Title: Re: Ship and Wing departure orders to fighterbays
Post by: Goober5000 on December 14, 2012, 02:00:05 am
Are you aware of the no-subspace-drive ship flag?
Title: Re: Ship and Wing departure orders to fighterbays
Post by: Slasher on December 19, 2012, 12:50:41 am
I am now. Thanks, this seems to do exactly what I want. Will ai-warp-out calls on ships flagged like this also cause them to use a fighter bay if specified?
Title: Re: Ship and Wing departure orders to fighterbays
Post by: Goober5000 on December 19, 2012, 01:11:13 am
It should.