Author Topic: Problem: Sobek refusing to warp  (Read 2638 times)

0 Members and 1 Guest are viewing this topic.

Offline T-Man

  • 210
  • I came... I saw... I had a cuppa!
Problem: Sobek refusing to warp
I'm doing a mission involving a Sobek-class ship needing to warp out at the end, but the thing refuses to do so. I've tried every command method i can think of to get this thing to jump, but it just sits there.

I vaguely remember someone mentioning a bug with the FSOpen Sobek, so i wanted to double check it with the board.

Here's the SEXP i'm using at the moment:
Code: [Select]
- When
    - not:
             - is subsystem destroyed delay
                        - Thutmose
                        - Engine
                        - 21 (There's alot of speech before it jumps)
    - add goal
             - Thutmose
             - ai Warp out
                         - 89

(This is with the non-htl sobek btw, and i don't know if its related, but i noticed the sobek doesen't have any engine glows in my game).

I would appreciate any help with this; its the first time i've done a polished mission (difficulty-based modifications, failiure debreifings and everything), and this is the only thing stopping me from releasing it. :(
Also goes by 'Murasaki-Tatsu' outside of Hard-Light

UEF fanboy. Rabid Imagination.

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Problem: Sobek refusing to warp
Use "is event true" delay instead........ :yes:

Just reference the event that triggers the speech.
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 T-Man

  • 210
  • I came... I saw... I had a cuppa!
Re: Problem: Sobek refusing to warp
Use "is event true" delay instead........ :yes:

Just reference the event that triggers the speech.

I was what i was using origionally (when event true, delay of 21 seconds) and it would just sit there.

I'll give it another try though.

(EDIT: Nope, still not working).
« Last Edit: July 23, 2008, 10:53:57 am by T-Man »
Also goes by 'Murasaki-Tatsu' outside of Hard-Light

UEF fanboy. Rabid Imagination.

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Problem: Sobek refusing to warp
*picks up the K-Phone and lights the K-Signal.......*

Now we wait for Kaptain Karajorma...........


Umm wait a sec, why arent you putting it in the departure cue for the Sobek?

Like here:

Also ignore that limewire tab :nervous:

[attachment deleted by admin]
« Last Edit: July 23, 2008, 11:14:32 am by Colonol Dekker »
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 Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: Problem: Sobek refusing to warp
Just looking at it, assuming it's not chained to anything, that should fire... well, 21 seconds after the sobeks engine is not destroyed, which, depending on whether FS takes it from the beginning of the mission or when it warps in might cause your problem.

Does the corvette warp in after the mission begins? It might be that FS is trying to make it warp out 21 seconds after the start of the mission, but since it hasn't arrived yet, it wont. Try inserting an and-in-sequence, using your current not event as the second step and use an is-event-true, somehwere near the end of the mission for part one. See if that helps.
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline T-Man

  • 210
  • I came... I saw... I had a cuppa!
Re: Problem: Sobek refusing to warp

Umm wait a sec, why arent you putting it in the departure cue for the Sobek?


Tried that too. Still didn't work. The thing just refuses to jump.

It starts the mission disabled, then at a point the mission repairs the engine subsystem (the event that triggers this one) and the ship should wait 21 and then warp out.

I'll add on an is-event-true to make sure its not triggering early.

EDIT: I think i've sussed the problem; i may be onto a bug here. Was testing a sobek out in a test mission. If the ship is normal, then it jumps. But if its engines begin the game disabled, and are then repaired. It will ignore all departure SEXPS from the point after it was disabled.

Definetly a bug, it even refuses player-given depart orders. I'll see if its the same with other ships.
« Last Edit: July 23, 2008, 11:58:40 am by T-Man »
Also goes by 'Murasaki-Tatsu' outside of Hard-Light

UEF fanboy. Rabid Imagination.

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Problem: Sobek refusing to warp
*checks the K-Phone, recieves a p155 off answerphone message" Well i dunno where Kaptain Karajorma is..
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 T-Man

  • 210
  • I came... I saw... I had a cuppa!
Re: Problem: Sobek refusing to warp
It is the same with other ships. If any SEXP fiddles with the engine sybsystem (even if it doesent destroy it), the ship will refuse any depart SEXP or order from that point onward.

I had an Aten and a SEXP made took its engine system from 100 to 11. It then refused to depart.
Also goes by 'Murasaki-Tatsu' outside of Hard-Light

UEF fanboy. Rabid Imagination.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Problem: Sobek refusing to warp
That's not a bug. It's a (completely understandable) misunderstanding of how the is-subsystem-destroyed-delay SEXP works.

Here's a very important tip for dealing with that SEXPs along with ones like is-destroyed, is-departed, etc, treat them as WAS-subsystem-destroyed-delay not IS. All of those SEXPs do not check the current status of the ship. What they instead do is check the mission log. Since the engines were destroyed it appears on the mission log and the SEXP returns true even if at some later point the engines are repaired. If you respawn a ship using ship-create the same thing happens. I'm not certain about multiplayer respawning, I'd have to check the code (which I can't at the moment).


Yes it's strange. I suspect the main reason is so that you can check if a player disabled or disarmed a ship or subsystem before it warped out/was destroyed. Obviously if a ship is destroyed you can't check if a turret on it is dead.


In the case of the Aten ships will not depart when given orders to depart if their engine subsystem isn't over a certain percentage 30% IIRC but I could easily be wrong about the value.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline T-Man

  • 210
  • I came... I saw... I had a cuppa!
Re: Problem: Sobek refusing to warp
I see, so it'll keep true even if the engine is restored later in the mission.

Is there any way to overide it? Having the Sobek warp out is needed for the mission to end.

I'll run through the code and remove any use of the "Is-subsystem-destroyed" SEXP, and see if it works then.

Thanks for your help btw everyone.
Also goes by 'Murasaki-Tatsu' outside of Hard-Light

UEF fanboy. Rabid Imagination.

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Problem: Sobek refusing to warp
Hope you post it here when complete, and PM me to let me know where it is :yes:

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 T-Man

  • 210
  • I came... I saw... I had a cuppa!
Re: Problem: Sobek refusing to warp
It doesen't make any more references to the "is-subsystem-destroyed" SEXP, but the ship still sits there. Could it be because its engine subsystem is below 30% like the Aten?

If you guys want, i'll post up the unfinished mission here so you guys can have a look over my SEXPs to see if its anything i'm doing. Most of the mission is there, its just the very end that isn't.
Also goes by 'Murasaki-Tatsu' outside of Hard-Light

UEF fanboy. Rabid Imagination.

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Problem: Sobek refusing to warp
Couldn't hurt but i'm mobile at the moment and couldn't check but i'll look as soon as i'm home "yes"
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 T-Man

  • 210
  • I came... I saw... I had a cuppa!
Re: Problem: Sobek refusing to warp
Here ya go. As i said, most of the mission is there, you just can't Alt-J without getting the fail debreif, since the objective completion depends on the Sobek warping out.

[attachment deleted by admin]
Also goes by 'Murasaki-Tatsu' outside of Hard-Light

UEF fanboy. Rabid Imagination.

  

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Problem: Sobek refusing to warp
Is there any way to overide it? Having the Sobek warp out is needed for the mission to end.

Hits-left-subsystem should work.

Be warned that one has a nasty gotcha of its own but since you're using it to check if the ship can warp out you should be okay with checking if it's 30%.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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