Author Topic: Rearming / Support ship  (Read 2925 times)

0 Members and 1 Guest are viewing this topic.

Offline Kinman

  • 24
    • My photo site
Rearming / Support ship
Hi. I want to do something after the player has rearmed.
I set a support ship manual and used the is-undocked-delay with the supportship and the player, but it didn't work.


I tried to swap Support 1 and Alpha and with different delays, but nothing happens. The support ship is docking, rearming and undocking but the event didn't fire...

Is there anything like has-rearmed-delay or do you have any other idea?

Thank you, Kinman

 

Offline Angelus

  • 210
  • The Angriest Angel
Re: Rearming / Support ship
What are ya trying to do?

  

Offline Kinman

  • 24
    • My photo site
Re: Rearming / Support ship
Hmm... I really don't want to talk about this yet... It should be a little surprise in my campaign and there's no other way to do this. I must know when the supportship either docks or undocks.
I'm testing it with send-message.

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Rearming / Support ship
What about using a . . . . .

"once secondary count -Alpha 1 - <50%
AND
once secondary count -Alpha 1-  >99%

delay - 1

Then - send message / self destruct / supernova start (for example ;))
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 karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Rearming / Support ship
Test it with something that can't fail. Like Self-destruct Alpha 1 :D There are several reasons why a message could fail to be sent.

If you actually put a support ship in the mission rather than allowing the player to call it in themselves that should have worked though.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Rearming / Support ship
But my theory is sound right? :nervous:

* Colonol Dekker awaits the green light from Karajorma.
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 CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Re: Rearming / Support ship
Use when-argument with Support 1 specified manually and has-docked-delay. You can use it like this to do things with ships that aren't in the mission file itself.

 

Offline Kinman

  • 24
    • My photo site
Re: Rearming / Support ship
I've tried everything i could imagine and nothing worked.... I took me three days.
I wanted to change the secondary loadout with a support ship. The loadout-change works perfectly but i don't get an event when the supportship docks/undocks.

It was only a minor "goodie" but I canceled it.

Greetings Kinman

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: Rearming / Support ship
hmm.

You could hack it with a distance SEXP.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: Rearming / Support ship
But my theory is sound right? :nervous:

* Colonol Dekker awaits the green light from Karajorma.

I don't think so. That event would fire as soon as your secondaries dipped below 50%, since FS would recognizer the >99% as soon as the mission started. You might be able to do it with and-in-sequence, if and-in-sequence wasn't so **** (though this sounds like something it's pretty much designed for). Plus you'd need to make sure the secondaries dipped below fifty percent - the sexp wouldn't fire if you rearmed at fifty one percent, for example.

It might work with

Code: [Select]
and-in-sequence
 - <
 - -secondary-ammo-pct
 - - - Alpha 1
 - - - 4
 - -99%
 - >
 - -secondary-ammo-pct
 - - - Alpha 1
 - - - 4
 - -99%
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Rearming / Support ship
There's nothing wrong with and-in-sequence. It's just that people misuse it and then think it's broken. :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: Rearming / Support ship
I know that on a conscious level. But I've got a deeply ingrained dislike of it and I'm not going to give that up over something as trivial as "the facts".
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Rearming / Support ship
Can't say I blame you. I'm a little wary of it myself. It's very easy to trap yourself into doing something very stupid with it. :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Re: Rearming / Support ship
Or in my case, crashing the game.  :nervous:
Sig nuked! New one coming soon!

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Rearming / Support ship
Huh?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]