Author Topic: How to have a wing jump in missing a ship?  (Read 10944 times)

0 Members and 1 Guest are viewing this topic.

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
How to have a wing jump in missing a ship?
Say I want Virgo wing to jump in, but - based on the result of some FRED logic/variables - a ship (say Virgo 3) may or may not be alive. Is there any way to have Virgo 1, 2 and 4 jump in, but not 3?

I could disband the wing and treat them all separately. But I'd like to have a proper wing if possible.

 

Online Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: How to have a wing jump in missing a ship?
I think it's based on campaign persistence.  Worth a wiki search?
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

  

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: How to have a wing jump in missing a ship?
The Ship-vanish SEXP should work on arrival - it deletes a ship from the mission without any record. I think it works pre-arrival too, but don't quote me on that.

EDIT: you can use another SEXP to make sure the dead ship doesnt get warp-in (hold for name set-arrival-info)

EDIT 2 - now with links
https://wiki.hard-light.net/index.php/Ship-vanish
https://wiki.hard-light.net/index.php/SCP_SEXPs#set-arrival-info
« Last Edit: June 22, 2024, 12:54:42 pm by 0rph3u5 »
"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 Shivan Hunter

  • 210
  • FRED needs lambdas!
Re: How to have a wing jump in missing a ship?
Hmmmmm.

Ship-vanish does nothing before the ship shows up.

Set-arrival-info seems to be ignored if set on an individual ship in a wing (since FS uses the wing's arrival info instead).

Ship-vanish when it arrives "works"... but its subspace thingy still shows up, and I'd rather it not.

[EDIT] Changing the ship's class before it arrives works... hmm. Using a dummy pof (a copy of the Maahes) with the bounding box spoofed to be extremely smol (FSO doesn't even whine about it lmao) hides the subspace portal perfectly well. :D

[EDIT] big "Train is a hat" energy itt
« Last Edit: June 22, 2024, 03:22:25 pm by Shivan Hunter »

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Re: How to have a wing jump in missing a ship?
What you're describing perfectly matches an occurrence featured in SR's next release. It even happens multiple times during a mission, meaning that wave 2 may not have, let's say, Delta 3 and wave 3 will remove Delta 3 as well as other craft that are no longer required to jump in later on.

Though leaving it as a proper wing seems to work with the tweaks you just proposed, I'd sincerely go with disbanding the wing and managing each craft separately (that's what I've done in my case, at least). Separate objects seem to work just fine with checkpoint-related SEXPs too, meaning that craft no longer required to arrive after a checkpoint will not be spawned at all.
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline Novachen

  • 29
  • The one and only capella supernova
    • Twitter
Re: How to have a wing jump in missing a ship?
"Destroy ship before mission start" works for ships in a wing as well. The destroyed ship will even show up as destroyed in the wingman gauge with this.

However you could only apply that for individual ships in a wing if you edit the mission file manually. But that worked even in the original fsm files for FS1 back then. So this is a retail compatible feature :D

In FRED2 you can even deactivate this flag in the Ship Editor after the flag is set via notepad, but you can not activate it on this way.

That was also still the case with FRED2 Open a few years ago, no idea if this was changed in the meantime.
« Last Edit: June 24, 2024, 02:10:18 am by Novachen »
Female FreeSpace 2 pilot since 1999.
Former Global moderator in the German FreeSpace Galaxy Forum.
Developer of NTP - A Multi-Language Translation Library Interface, which allows to play FreeSpace in YOUR Language.

Is one of my releases broken or not working? Please send a PM here, on Discord at @novachen or on Twitter @NovachenFS2, a public tweet or write a reply in my own release threads here on HLP, because these are the only threads i am still participating in.

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
Re: How to have a wing jump in missing a ship?
Interesting! That could be a more elegant solution. Main problem is, my whole point is to set that flag during the mission via SEXP (it's a wing that warps out, then warps in again... of course the second wing is actually a separate wing, but the point is the "destroyed" status is determined in-mission, when you blow them up ;) )

Tested "Destroy before mission" on an individual ship in a wing, and it does work as you say, even if the wing warps in later.

But as far as I can tell (and maybe I'm wrong, since there are a zillion SEXPs now) there's no way to alter the "Destroy before mission" value during the mission. Understandable, since in the general case (the ship is already present) I'd expect it to do nothing, and if the ship is not already present then you can put whatever logic you want in the arrival cue instead of using weird dark magic.

Hmmm... might be able to set it via script :drevil: