S W A T 3 M O D H Q |
DATA FILE INFORMATION - CLOSE WINDOW WHEN FINISHED |
Missioninfo.dat
Function
To provide necessary information for specific mission loading.
Format
This file is complex, but structured. There are four distinct pieces to this file, structured into a curly-bracket delimited format. The file's structure is held in between two curly braces and the name of the mission above, i.e. :
nameofmission
{
Mission_Info
{
...data...
}
Entrypoints
{
...data...
}
MapLoadData
{
...data...
}
Maps
{
...data...
}
}
Inside the top braces are four sub-categories, all of which must be filled in.
Mission_Info
This subcategory holds general number and string reference in a vertically tabulated format. On the left side are the names of the fields. On the right, the data those fields are to contain. A description of each field follows.
MapName | The name of the map file without the extension. |
ShortName | The name of this mission, i.e. "Chang's Chinese Theater". |
Version | A version number for developer reference. |
Dot_X | This is the x-value (horizontal) of a coordinate to tell SWAT3 where to place the "situation dot" on the map of Los Angeles. See The Map >> |
Dot_Y | This is the y-value (vertical) of a coordinate to tell SWAT3 where to place the "situation dot" on the map of Los Angeles. See The Map >> |
ShortDesc | This is the type of mission i.e. "VIP Detail". |
ShortDesc_Type | This should always be "MissName_bottL". |
ShortDesc_Top | This is the y-value of the top-left hand coordinate of the small text box to display when the cursor moves over the mission dot in the mission map. |
ShortDesc_Left | This is the x-value of the top-left hand coordinate of the small text box to display when the cursor moves over the mission dot in the mission map. |
ShortDesc_Bottom | This is the y-value of the bottom-right hand coordinate of the small text box to display when the cursor moves over the mission dot in the mission map. |
ShortDesc_Right | This is the x-value of the bottom-right hand coordinate of the small text box to display when the cursor moves over the mission dot in the mission map. |
ShortDesc_PicLeft | This is the x-coordinate of the top-left hand corner of the small bitmap to display in the mission select screen to the left of the map of Los Angeles. It should be at 58. |
ShortDesc_PicTop | This is the x-coordinate of the top-left hand corner of the small bitmap to display in the mission select screen to the left of the map of Los Angeles. It should be at 198. |
Estab_Bmp | This is the name of the small bitmap that is displayed in the mission select screen to the left of the map of Los Angeles. |
FullDesc | This is a special multi-line string that represents the full briefing text. This cannot be entered in the same way as the others. The field name, "FullDesc", must be on it's own line, in brackets, i.e. [FullDesc], then a line below that, the multi-lined string. Hard carriage returns can be created by the "\n" string. A line below the last line of the string must be an [End] marker. |
LoadingText | This is the text to show when the establishing shot is shown. Hard carriage returns (\n) are allowed. |
Entrypoints
This table is a simple vertical field-entry table. On the left are the numbers of the entrypoints as defined in the map, starting at zero. On the right is the corresponding line of text to display when choosing an entry point in the mission map.
MapLoadData
This table is a seven-field table that does NOT use the field-entry format. One line contains all seven entries without any other references. For example:
MissionP 1 0 Loading_MissionP Loading_MissionP 1floor Dyn (D4,N10,D7,D3,D2B)
The fields from the left to the right are:
Mission Name |
The reference name of the mission that the data is referring to. |
Entry Point Number |
The entry point that the data is referring to. |
Training Mission |
Enter "1" if a training mission, "0" if otherwise. |
Establishing Bitmap |
The name of the bitmap shown when entering the mission and before loading. |
Establishing Text |
This is the name of the string reference to call when showing the establishing bitmap. This must be "Loading_" + mapname. |
Stealth Music |
The music to play during loading if player chose stealth entry mode. This is NOT the music that plays when the player is in the level. |
Dynamic Music |
The music to play during loading if player chose stealth entry mode. This is NOT the music that plays when the player is in the level. |
Slides |
A parenthesized, comma-separated list of bitmaps to show as "slides" during loading. |
Maps
This is a table of default and extra data for the map, separated into eleven entries, that does NOT use the field-entry format. One line contains all eleven entries without any other references. From left to right, the entries are:
Map | This is the name of the map file without extension. |
Timeframe | 1 for day, 0 for night. |
Leader | This is a parenthesized, comma-separated, four-entry list that defines element leader defaults for the following: (primary weapon, #flashbangs,#cs,#c2). Default is (mp5,10,10,5), it's best to leave it this way. |
Red1 | See above. |
Red2 | See above. |
Blue1 | See above. |
Blue2 | See above. |
Medals | This is a parenthesized, comma-separated, four-entry list that defines which medals are available to be given on this mission. 1 means the medal is allowed, 0 means it is not. In order they are: Medal Of Valor, Police Medal, Police Star, Unit Citation. |
Playable | If this map is active, set this flag to 1. |
ShortName | This is the short name of the mission shown in multiplayer. |
SmallEstabBmp | This is the small bitmap establishing shot shown in multiplayer. |