Missions (scripting)
Required Arguments
Optional Arguments (Gameplay)
Optional Arguments (Frontend)
Scenario Example<Mission Title="Scenario_InceptionPHC_Title" Description="Scenario_InceptionPHC_Description" Map="Oneiros" ImageBig="UI/Art/Ascendancy/AscendancyMissionImages/AscendancyCannons.dds" Synopsis="Scenario_InceptionPHC_Synopsis" EnableCreeps="1" NoVPVictory="1" NoSeedVictory="1" NoAttrition="1" HideTerrain="0" > This is a good example of a scenario's <Mission> arguments. Note that the victory conditions will need to be explicitly laid out in triggers, since we've disabled both the VP and Nexus victories. Adding scenarios is relatively straightforward; just drop your XML file in the \Assets\Scenario\ directory and it should show up in the in-game list. Note: If you add a scenario file and then the Campaign screen is blank, it means you confused the XML parser. Check your XML for missing tag endings (which look like </Trigger> or the /> at the end of a self-closing tag) and other errors.
Campaign Example<Mission Title="Escalation_Altaria_Title" Description="Escalation_Altaria_Description" Map="Altaria" Image="UI/Art/Ascendancy/AltariaSelected.dds" ImageFade="UI/Art/Ascendancy/AltariaDeselected.dds" CompImage="UI/Art/Ascendancy/AltariaSelected_Complete.dds" CompImageFade="UI/Art/Ascendancy/AltariaDeselected_Complete.dds" Synopsis="Escalation_Altaria_Synopsis" ImageBig="UI/Art/Ascendancy/TeleportPopupPlanets/Altaria.dds" ImageRadius="0.8" Prereq="Escalation_Alnilam_Title" PlanetPosition="0.898,0.737" EnableCreeps="1" NoVPVictory="1" NoSeedVictory="1" NoAttrition="1" HideTerrain="0" PreMovie="Movies/Escalation9_Intro.webm" PostMovie="Movies/Escalation9_Exit.webm" > This is an example of the more involved <Mission> arguments for a campaign scenario. Most of the additional stuff is to set up the frontend campaign screens correctly. Note that campaigns must be put in their own subfolder in the \Assets\Campaign\ directory, and need an additional EpisodeData.csv file to function properly. |