2D Editor: External: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<div style="clear: both"></div>" to "{{Clear}}")
m (Text replacement - "{{arma2}}" to "{{GameCategory|arma2|link= y}}")
 
(2 intermediate revisions by the same user not shown)
Line 47: Line 47:
=== Scripts ===
=== Scripts ===


''Main article: [[Script (File)]]''
''Main article: [[Script File]]''


External script files are executed by filename, so they can have any filename the author chooses. There are however several special [[Event Scripts]] that are automatically executed by the game engine at certain times during the mission.
External script files are executed by filename, so they can have any filename the author chooses. There are however several special [[Event Scripts]] that are automatically executed by the game engine at certain times during the mission.
Line 81: Line 81:
To preview your briefing whilst in the editor, hold SHIFT while clicking 'Preview'.
To preview your briefing whilst in the editor, hold SHIFT while clicking 'Preview'.


Since [[{{arma2}}]], briefing.html is only used for the debriefing text. For more information see [[briefing|Arma 2 Briefing creation]].
Since {{GameCategory|arma2|link= y}}, briefing.html is only used for the debriefing text. For more information see [[briefing|Arma 2 Briefing creation]].




[[Category: 2D Editor]]
[[Category: 2D Editor]]

Latest revision as of 13:01, 19 March 2024

Mission Editor provides majority of tools required for designing a mission, but finishing touches are usually made outside of it. Briefings, custom scripts, multiplayer settings or final packing are only handled by separate files programs.


Mission Folder

Mission folder with the most common files

Folder Name

Missions are stored as folders with name composed of mission name set in Save window and world name:

missionName.worldName

Examples:

TopGun.abel
SpyGame.Chernarus
Domino.ProvingGrounds_PMC
This.is.Sparta.Altis

World names match classes present in CfgWorlds.

Folder Directory

You can find all missions in your Profile directory.

Single player missions are located in Missions folder, multiplayer missions can be found in MPMissions folder in same directory.

Subfolders

Within the mission folder, you can create as many subfolders as desired. As paths in mission are relative, you can refer to such subfolder using:

\subFolderName\desiredFile.sqf


Files

Example of mission.sqm

Mission.sqm

Main article: Mission.sqm

Example of Description.ext

Description.ext

Main article: Description.ext

Example of an *.sqf file

Scripts

Main article: Script File

External script files are executed by filename, so they can have any filename the author chooses. There are however several special Event Scripts that are automatically executed by the game engine at certain times during the mission.

Example of an *.fsm file

FSM

Main article: FSM

Example of overview.html

Overview.html

Main article: Overview.html

The overview.html contains simple mission description and picture visible in main menu mission selection.

Briefing.html

Main article: Briefing.html

File loaded automatically when the mission begins, providing mission plan and notes.

The briefing is broken into 4 main sections:

  • Notes
  • Plan
  • Objectives
  • Endings

To preview your briefing whilst in the editor, hold SHIFT while clicking 'Preview'.

Since Arma 2, briefing.html is only used for the debriefing text. For more information see Arma 2 Briefing creation.