Author Topic: Landing in fighterbays  (Read 1860 times)

0 Members and 1 Guest are viewing this topic.

Offline InsaneBaron

  • 29
  • In the CR055H41R2
Landing in fighterbays
Ya, I'm on a roll with the questions today :P

How do you get AI fighters or the player to land in a capship's fighterbay? I know how to launch them, but I'm not sure about landing. (Landing was never done in retail; was it even possible in retail or is it an SCP addition?)
Doesn't matter what the press says. Doesn't matter what the politicians or the mobs say. Doesn't matter if the whole country decides that something wrong is something right. This nation was founded on one principle above all else: the requirement that we stand up for what we believe, no matter the odds or the consequences. When the mob and the press and the whole world tell you to move, your job is to plant yourself like a tree beside the river of truth, and tell the whole world — "No, you move." - Captain America

InsaneBaron's Fun-to-Read Reviews!
Blue Planet: Age of Aquarius - Silent Threat: Reborn - Operation Templar - Sync, Transcend, Windmills - The Antagonist - Inferno, Inferno: Alliance

 

Offline Lepanto

  • 210
  • Believes in Truth
    • Skype
Re: Landing in fighterbays
For AI fighters, simply set their Departure Location to Docking Bay, and Departure Target to the ship you want the fighters to land in, and trigger their Departure Cue when you want them to land.

For the player, set your last SEXP to end-mission, triggering when the player is a short distance from the fighterbay subsystem of the ship which they're landing on.
"We have now reached the point where every goon with a grievance, every bitter bigot, merely has to place the prefix, 'I know this is not politically correct, but...' in front of the usual string of insults in order to be not just safe from criticism, but actually a card, a lad, even a hero. Conversely, to talk about poverty and inequality, to draw attention to the reality that discrimination and injustice are still facts of life, is to commit the sin of political correctness. Anti-PC has become the latest cover for creeps. It is a godsend for every curmudgeon and crank, from fascists to the merely smug."
Finian O'Toole, The Irish Times, 5 May 1994

Blue Planet: The Battle Captains: Missions starring the Admirals of BP: WiH
Frontlines 2334+2335: T-V War campaign
GVB Ammit: Vasudan strike bomber
Player-Controlled Capship Modding Tutorial

 

Offline InsaneBaron

  • 29
  • In the CR055H41R2
Re: Landing in fighterbays
For AI fighters, simply set their Departure Location to Docking Bay, and Departure Target to the ship you want the fighters to land in, and trigger their Departure Cue when you want them to land.

For the player, set your last SEXP to end-mission, triggering when the player is a short distance from the fighterbay subsystem of the ship which they're landing on.

Perfect, thanks!
Doesn't matter what the press says. Doesn't matter what the politicians or the mobs say. Doesn't matter if the whole country decides that something wrong is something right. This nation was founded on one principle above all else: the requirement that we stand up for what we believe, no matter the odds or the consequences. When the mob and the press and the whole world tell you to move, your job is to plant yourself like a tree beside the river of truth, and tell the whole world — "No, you move." - Captain America

InsaneBaron's Fun-to-Read Reviews!
Blue Planet: Age of Aquarius - Silent Threat: Reborn - Operation Templar - Sync, Transcend, Windmills - The Antagonist - Inferno, Inferno: Alliance

 

Offline procdrone

  • Formerly TheHound
  • 29
  • Balance breaker! Thats me!
    • Steam
Re: Landing in fighterbays
That also works when you tell said fighters to depart, if they have landing in the fighterbay set, they move to it at your depart command.
--Did it! It's RELEASED! VeniceMirror Thread--

 

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: Landing in fighterbays
Can't confirm this right now, but ships with the "no subspace drive"-flag set also try to depart via a fighterbay if I recall that correctly (but don't put your money this)
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

 

Offline procdrone

  • Formerly TheHound
  • 29
  • Balance breaker! Thats me!
    • Steam
Re: Landing in fighterbays
Can't confirm this right now, but ships with the "no subspace drive"-flag set also try to depart via a fighterbay if I recall that correctly (but don't put your money this)

Due to the specification of the depart queue, I think this is hardy possible. There are question to arise, which ship and fighterbay does the fighters choose to land on? It is random/friendly/any fighterbay? What if there are more ships with fighterbays in area? I guess it's quite a problem here, so I'd bet it's not possible.
--Did it! It's RELEASED! VeniceMirror Thread--

  

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Landing in fighterbays
They depart to the bay they're assigned to in the departure cue box, of course.  If they have no fighterbay assigned, then they won't depart.

(This was only very recently fixed though, so you'd need to use a nightly build to get the proper behavior.)