Home   Help Search Login Register  

Author Topic: Debriefing  (Read 1101 times)

0 Members and 2 Guests are viewing this topic.

Rocko Bonaparte

  • Guest
Debriefing
« on: 30 Jan 2005, 07:13:28 »
I have multiple end scenarios, with each being set off by triggers calling End #1-3.  Quite often, I don't get the debriefing text when any of these are triggered.  Most other clients run into the same problem.  However, it occasionally do get it, so it sometimes works.  I don't know what exactly is wrong.  The missions do end appropriately, but the debriefing is often blank.  What could I be missing?

Rocko Bonaparte

  • Guest
Re:Debriefing
« Reply #1 on: 18 Feb 2005, 20:28:30 »
This problem is persisting, so I thought I'd give more, current information.  This is a cooperative multiplayer mission.  There is a rescue chopper, and the mission should end if it's shut down.  I have a trigger in the mission itself whose condition is that the chopper's damage is 1.0.  If so, Ending #1 will happen.  In this case, I run into the following scenarios:
1. It actually works
2. The helicopter pilot gets the ending with debrief text, but the other players continue playing.  Somebody has to hit the chopper with a rocket to trigger it for everybody.
3. Debrief comes up for everybody, but nobody sees the debrief text.

The next condition is that everybody in the ground squad has died.  I'm blanking out on how exactly this is tested right now -- I'll update later.  All I can say is that right now, it always ends for all players simultaneously, but it's a toss on whether the proper debriefing will show up or it will just be blank.

The final condition is the mission was successful.  This is monitored by a server-side script synchronized to a public variable termed "VictoryConditions." In the mission.sqm, there is a trigger that tests if this was set to 1.  It is initially set to 0.  If all living players have returned to base, this will trigger.  There is some scoring code that goes along with this trigger.  For both the server and clients, this code happens before VictoryConditions would be set.  I get the following cases:
1. Mission accomplished, debrief, and score are all OK.
2. Mission accomplished, blank debrief, no updated score.
3. Mission accomplished, blank debiref, updated score.

I've been testing on a dedicated server, so nobody testing with me has been playing from the persective of the actual host.  Any ideas?