S W A T 3 M O D H Q |
DATA FILE INFORMATION - CLOSE WINDOW WHEN FINISHED |
Strings.dat
Function
To provide string data for in-game text, including multiplayer and custom mission/career user interface, weapon names, weapon descriptions, and so forth (but not dialogue).
Format
Strings.dat is simply a collection of string tables that are used in the menu interface. There are two types of string data entries. One-line and multi-line.
Single-Line Entries
One-line entries are tabulated in this format:
Label |
Game reference name. |
Value |
The actual string to be displayed. |
Example:
ShortDescA Barricaded Suspect ShortDescB High Risk Arrest Warrant ShortDescC Hostage Rescue |
Multi-Line Entries
Multi-line entries work slightly differently. The label is enclosed in brackets on it's own line. A line below that is where the string starts. [End] is appended one line below the last line of string text.
Example:
[ShoeDesc] GSG9 Tactical Boots\n Created and named for Germany's famed counter-terrorists organization, the GSG9 tactical boot is worn by security forces the world over.\nMade of water repellent leg material, with middle foot and lateral ankle support, along with firm rubber soles, the GSG9 comes in black only.\n [End] |
The "\n"'s designate new lines. They are not necessary, but will force a new line when encountered. This is useful for titles or item separation.