Difference between revisions of "FreeSpace 2 Mission File Format"
From FreeSpace Wiki
(Created page with 'FS2 files are simple text files defining how FS2 will 'execute' a given mission. It refers to external files for the actual assets used in the mission, including POF and TBL file…') |
m |
||
Line 1: | Line 1: | ||
FS2 files are simple text files defining how FS2 will 'execute' a given mission. | FS2 files are simple text files defining how FS2 will 'execute' a given mission. | ||
− | It refers to external files for the actual assets used in the mission, including | + | It refers to external files for the actual assets used in the mission, including [[Model files]] and [[Tables]]. |
==General Format== | ==General Format== |
Revision as of 19:50, 24 September 2009
FS2 files are simple text files defining how FS2 will 'execute' a given mission. It refers to external files for the actual assets used in the mission, including Model files and Tables.
Contents
General Format
File section headers start with the "#" character. Each file section should be separated by a blank line.
Statements start with either the "$" or "+" characters, and may last for multiple lines. Comments are indicated by ";!", and continue to the end of the line.
Data finishes at "#End"
Sections
#Mission Info
- Defines that the file is a Mission file.
#Command Briefing
- Defines the Command Briefing section of the briefing. If no command briefing is required, leave this blank.
#Briefing
- Defines the Mission Briefing. Leaving this blank will cause 'no briefing' to be shown instead of a mission briefing.
#Players
- Defines the players for the mission. At least one player must be defined.
#Objects
- Defines all the objects in the mission and their initial state.
- This includes all ships (including the player ships), installations and other objects.
- Does not include asteroid (debris) fields.
#Wings
- Defines all wings in the mission, friendly and hostile
#Events
- The SEXPs that make up the Events List.
$Formula:
$Formula: ( SEXP_TEXT FIRST_OPERAND SECOND_OPERAND ) +Name: Event name +Repeat Count: 1 +Interval: 1 +Chained: 30 ;! Optional indicates that SEXP is chained to previous +Team: 0
#Goals
- The mission directives
#Waypoints
#Messages
#Reinforcements
#Background bitmaps
#Asteroid Fields
#Music
#End
- The end of the file.