CZCareerHUD

From AlliedModders Wiki
Revision as of 16:22, 30 December 2006 by XxAvalanchexX (talk | contribs) (ROUND)
Jump to: navigation, search

CZCareerHUD Event

This event displays certain HUD elements regarding Condition Zero singleplayer missions. Here is its basic layout:

Name: CZCareerHUD
Structure:
string Type
* Parameters


Note: Using an invalid type has no repercussions whatsoever.
Note: The types are case-sensitive.

The Parameters will change depending on what type you use. Below are the Parameters for the known valid types. Assume that the Type for each one of them is the same as the header for that section.

ROUND

Sent at the end of a round, displays the round results billboard (ie: "Your Team has Won this Round...").
Note: Round Result can be 0 (draw), 1 (your team won), or 2 (your team lost). The billboard header and sound played change depending on this. If Round Result is not 0, 1, or 2, it is assumed a draw.

Name: ROUND
Structure:
long CT Wins
long T Wins
byte Wins Required
byte Lead Required
byte Round Result


Example usage:

Name: CZCareerHUD
Structure:
string ROUND
long 5
long 7
byte 3
byte 2
byte 0


MATCH

Sent at the end of a mission, after it is finished, and after CZCareer's MATCH. Displays the match results billboard (ie: "Your Team is Victorious!").
Note: The Wins/Leads Required is used, based on the CT/T Wins, to decide if your team won or lost. The purpose of having the Round Result is unknown.

Name: MATCH
Structure:
long CT Wins
long T Wins
byte Wins Required
byte Lead Required
byte Round Result?


Example usage:

Name: CZCareerHUD
Structure:
string MATCH
long 7
long 5
byte 3
byte 2
byte 1