ofp:file_formats:description.ext
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ofp:file_formats:description.ext [2007/07/09 01:00] – created description.ext initial page snakeman | ofp:file_formats:description.ext [2024/07/31 12:38] (current) – links added. snakeman | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Description.ext File Format ====== | + | ====== |
+ | |||
+ | [[https:// | ||
+ | |||
+ | **Operation Flashpoint (OFP)** aka ArmA: Cold War Assault (CWA) | ||
The **description.ext** is a text file located in the root of the mission folder which allows you to define many things in your mission. Each entry must be given a new line in the **description.ext**. The description.ext in fact uses the same syntax as all config files, therefore each line should be terminated with **;**. OFP is most often able to recover from missing semicolons, ArmA though is strict and requires a **;**. | The **description.ext** is a text file located in the root of the mission folder which allows you to define many things in your mission. Each entry must be given a new line in the **description.ext**. The description.ext in fact uses the same syntax as all config files, therefore each line should be terminated with **;**. OFP is most often able to recover from missing semicolons, ArmA though is strict and requires a **;**. | ||
- | When editing a mission in the mission editor **description.ext** is only read when the mission is loaded, not when you preview the mission. | + | When editing a mission in the mission editor **description.ext** is only read when the mission is loaded, not when you preview the mission. |
For edits to **description.ext** to take effect in Preview you must first save or re-load the mission into the editor. | For edits to **description.ext** to take effect in Preview you must first save or re-load the mission into the editor. | ||
Line 20: | Line 24: | ||
</ | </ | ||
- | The **OnLoadMission** option is used to present the mission name to the user. In MP this is the name you see when selecting a mission and also the name that is presented to the GameSpy browser. | + | The **OnLoadMission** option is used to present the mission name to the user. In MP this is the name you see when selecting a mission and also the name that is presented to the GameSpy browser. |
If the option is missing from the description.ext then the filename is presented. *//note needs verified// | If the option is missing from the description.ext then the filename is presented. *//note needs verified// | ||
Line 28: | Line 32: | ||
This allows you to define whether you will see the time and date displayed whilst the mission loads. Variables are True or False. | This allows you to define whether you will see the time and date displayed whilst the mission loads. Variables are True or False. | ||
- | **Example: | + | **Example: |
< | < | ||
Line 87: | Line 91: | ||
class CfgSounds | class CfgSounds | ||
{ | { | ||
- | sounds[] = {}; | + | sounds[] = {}; |
class wolf1 | class wolf1 | ||
{ | { | ||
Line 259: | Line 263: | ||
< | < | ||
- | class Weapons | + | class Weapons |
{ | { | ||
class AK74 {count = 8;}; | class AK74 {count = 8;}; | ||
Line 266: | Line 270: | ||
}; | }; | ||
- | class Magazines | + | class Magazines |
{ | { | ||
class 30Rnd_545x39_AK {count = 32;}; | class 30Rnd_545x39_AK {count = 32;}; | ||
Line 278: | Line 282: | ||
**TitleParam1** and **TitleParam2** are multiplayer options. These options are seen in the lobby of a __multiplayer__ game. These options can be useful for setting time limits and score limits in such games as Capture the Flag and Death Matches. Other popular uses include accelerate time, setting the mission difficulty or switching the intro on/off. | **TitleParam1** and **TitleParam2** are multiplayer options. These options are seen in the lobby of a __multiplayer__ game. These options can be useful for setting time limits and score limits in such games as Capture the Flag and Death Matches. Other popular uses include accelerate time, setting the mission difficulty or switching the intro on/off. | ||
- | In the mission **param1** and **param2** have the values of the chosen options. Many people will assign a variable in the init.sqs file to **param1** for simplicity, an example of this would be to assign variable // | + | In the mission **param1** and **param2** have the values of the chosen options. Many people will assign a variable in the init.sqs file to **param1** for simplicity, an example of this would be to assign variable // |
**Example: | **Example: | ||
Line 335: | Line 339: | ||
====== Notes ====== | ====== Notes ====== | ||
- | In **OFP: | + | In **OFP: |
In **ArmA** if this class is missing the mission will still load with an error in the [[arma: | In **ArmA** if this class is missing the mission will still load with an error in the [[arma: | ||
+ |
ofp/file_formats/description.ext.1183942831.txt.gz · Last modified: 2007/07/10 09:52 (external edit)