User Tools

Site Tools


ofp:file_formats:description.ext

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ofp:file_formats:description.ext [2007/07/09 01:00] – created description.ext initial page snakemanofp:file_formats:description.ext [2024/07/31 12:38] (current) – links added. snakeman
Line 1: Line 1:
-====== Description.ext File Format ======+====== OFP Description.ext File Format ====== 
 + 
 +[[https://www.pmctactical.org/forum/viewforum.php?f=43|OFP Forum]], [[:ofp|OFP Home]], [[ofp:file_formats|OFP File Formats]], [[ofp:tools|OFP Tools]], [[ofp:missions|OFP Missions]], [[ofp:modeling|OFP 3D Modeling]], [[ofp:terrain|OFP Terrain]] 
 + 
 +**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:
 </code> </code>
  
-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:**
  
 <code> <code>
Line 87: Line 91:
  class CfgSounds  class CfgSounds
  {  {
-      sounds[] = {};   +      sounds[] = {};
       class wolf1       class wolf1
       {       {
Line 259: Line 263:
  
 <code> <code>
-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 //timelimit// = **param1**. +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 //timelimit// = **param1**.
  
 **Example:** **Example:**
Line 335: Line 339:
 ====== Notes ====== ====== Notes ======
  
-In **OFP:Elite** this file is required for MP missions. If this is not included -1 error is shown when selecting a mission and the mission won't load. +In **OFP:Elite** this file is required for MP missions. If this is not included -1 error is shown when selecting a mission and the mission won't load.
  
 In **ArmA** if this class is missing the mission will still load with an error in the [[arma:arma.rpt|arma.RPT file]] and the mission type will be considered **Unknown**. In **ArmA** if this class is missing the mission will still load with an error in the [[arma:arma.rpt|arma.RPT file]] and the mission type will be considered **Unknown**.
 +
ofp/file_formats/description.ext.1183942831.txt.gz · Last modified: 2007/07/10 09:52 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.