Missions (scripting)
The first thing you have to do when creating a new campaign mission or standalone scenario is define the global settings for the mission. This is done in the top-level <Mission> tag, right at the top of your XML file.
- Title - Title of the mission (refers to a line in a .csv file in \Assets\UIText\ )
- Description - Description of the mission (refers to a line in a .csv file in \Assets\UIText\ )
- Synopsis - Brief description of the mission (refers to a line in a .csv file in \Assets\UIText\ )
- Map - What map this mission uses (must be the name of a folder in \Assets\Maps\ )
- EnableCreeps - Are creeps enabled in this map? [ Heavy | Random | Light | Normal ]
- HideTerrain - Should the world start revealed or not? [ 1 | 0 ]
- NoAttrition - Set this to make buildings not lose any health in uncontrolled regions. [ 1 | 0 ]
- NoVPVictory - Set this to disable the generic Turinium victory [ 1 | 0 ]
- NoSeedVictory - Set this to disable the generic Nexus-kill victory [ 1 | 0 ]
- ImageBig - Campaign: The close up image of the planet | Scenario: The image used on the Ascendancy Wars screen
- Image - Campaign: The image displayed when this mission is selected
- ImageFade - Campaign: The image displayed when this mission isn’t selected
- CompImage - Campaign: The image displayed when the mission is selected and already completed
- CompImageFade - Campaign: The image displayed when the mission is not selected and already completed
- ImageRadius - Campaign: How big the image is
- PlanetPosition - Campaign: Where the planet is displayed in the campaign screen
- Prereq - Campaign: Title of the mission that must be completed to unlock this (refers to a line in a .csv file in \Assets\UIText\ )
- PreMovie - Movie to play when loading the mission (must be a valid .webm path, starting in \Assets\)
- PostMovie - Movie to play on completing the mission (must be a valid .webm path, starting in \Assets\)