Author Topic: Debugging CtS  (Read 7696 times)

0 Members and 1 Guest are viewing this topic.

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Any player ship would be an OBJ_START.
I thought that's only in FRED, and in FS2 they're OBJ_SHIP.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
I'm pretty sure I fixed a bug a while back in FS2 where the type was incorrect and that behaviour would certainly be consistent with this error. Maybe it was FRED but I remember it being an FS2 bug.

It should be OBJ_SHIP though.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 
Okay, so I can't register with Mantis. I'm not getting the confirmation e-mail. What now?

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
I think I have the info I need from this thread. I'll try to take a look at the problem tomorrow.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 
 
Okay, so I found the problem. It was a rather embarrassing oversight from my part...

In the previous mission, the player flies as Alpha 2. Alpha 1 gets blown up there (self-destruct). Because of that, I didn't add him in the red-alert mission. Which automatically makes the player Alpha 1. So, because of the red-alert, he doesn't have a ship. I decided not to have this particular mission a red-alert one; it's the easiest solution to the problem, and I think it will also improve playability.

I've attached a mini-campaign (well, technically it's a campaign, although you just have to sit back and watch) demonstrating the effect.

[attachment deleted by evil Tolwyn]

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Yeah. That would do it. :D

I'll take a look at the crash and see if I can fix it though. A warning would be better.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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