S  W  A  T   3   M  O  D    H  Q    
DATA FILE INFORMATION - CLOSE WINDOW WHEN FINISHED

Missionobjectives.dat

Function

To provide data on how the mission is to be completed, what events are considered worthy of medals, and to provide data on strings that are to be displayed as part of the objectives.

Format

This data file is structured into three distinct parts, Objectives, Strings, ValorEvents.

Example:

Objectives
{
    ...data...
}
Strings
{
    ...data...
}
ValorEvents
{
    ...data...
}

 

Objectives

This is a table of four entries per line. The lines specify a type, target, and number of events that must occur to consider an objective completed. Left to right, they are:

Character Name or Type

You may input the following data here:

If the character is a named character, then the objective will only be added if the character
appears in the map and is not initially dead. For multiple characters, however,
none of the characters can start out dead.

Objective

This may be one of the following:

Arrest 

Evacuate suspect

Neutralize

Kill or evacuate suspect

Rescue

Evacuate hostage

Save

Evacuate civilian

DefuseBombs

Defuse all bombs

SecureEvidence

Secure all evidence

PreventEvents

Prevent one or more events from occurring

RequireEvents

Require that one or more events occur

Count

When the character is "civilian", "hostage", or "suspect", this indicates
the number of civilians, hostages, or suspects. Additional characters
will be listed as unforseen events. 

When the objective is "SecureEvidence" or "DefuseBomb", the count is the number of guns/bombs
in the mission. This number will be automatically clamped to the actual
number of available guns/bombs at the start of the mission.

When the objective is "RequireEvents" or "PreventEvents" then the count is the number of events 
to require/prevent.

Important! Concealed weapons are not counted, so any mission that requires all 
weapons to be secured should not have characters start out with concealed weapons.
It's currently acceptable to give characters a primary weapon that is concealed, because
they will immediately switch to it at the start of the mission.

Message

This is an optional string reference (defined in the strings section below) that will override the default message.

 

Strings

This is a string table, two columns. On the left, the reference name of the string, on the right, the string text itself. Here, you may define any string references you need.

 

ValorEvents

This table specifies which objectives are worthy of the Medal of Valor.

Mission 

 Which mission this event is in.

Event 

 The type of event. For event types, see the "Objectives" section.

Character 

 If this type of event requires a character as a target, specify. Otherwise, put 0.

Count 

 If this type of event requires multiple targets, specify. Otherwise, put 1.