Menu
  Main
  Getting Started
  Creating a Map
  Adding Missions to the Campaign
  Dialog in maps


  Adding Missions to the Campaign



Each side has a missions.dat file which contains a list of the missions and which mission comes after which (note: your limited to 30 missions). These are located in \Campaigns\%SIDE%\ (where %SIDE% is Am, Ar or Ru)

Key
MAP is the actual name of the map excluding the extention
NAME is the name to display on the campaign screen
SUBCAMP ranges from 1 to 5, controls the image at the right on the victory screen(%MOD%\Interface\%SIDE%\Debriefing\deb%NO%.tga , where %NO% is the number)
PREV is the previous mission number
NEXT is the next mission number
NEXTQ is currently unknown
FINISH means the game will finish once that mission is over
VIDEO 1 means that there will be a video
VIDEONAME is the name of the video to load (from %MOD%\Videos\ directory)

VIDEO 1 is needed to show the videos (including the hardcoded Altar interactive ones, Note that the VIDEONAME will override Altars videos)

Mission.dat's look like the following (Taken from the Test Mod):

 CAMPAIGN "Russian campaign"
   MISSION 0
     NAME "New Campaign"
     NEXT 1
   MISSION 1
     MAP Ar01
     NAME "Something Went Wrong"
     SUBCAMP 1
     PREV 0
     NEXT 2
     VIDEO 1
     VIDEONAME ar01.seq
   MISSION 2
     MAP 02
     NAME "Hunting Grounds"
     SUBCAMP 1
     PREV 1
     NEXT 3
   MISSION 3
     MAP 03
     NAME "Wipeout"
     SUBCAMP 1
     PREV 2
     NEXT 4
   MISSION 4
     MAP 04
     NAME "Prayer for the Dead"
     SUBCAMP 1
     PREV 3
     NEXT 5
   MISSION 5
     MAP 05
     NAME "Water is Wide"
     SUBCAMP 2
     PREV 4
     NEXT 6
     VIDEO 1
   MISSION 6
     MAP 06
     NAME "Step by Step"
     SUBCAMP 2
     PREV 5
     NEXT 7
   MISSION 7
     MAP 07
     NAME "Fox hole"
     SUBCAMP 2
     PREV 6
     NEXT 8
   MISSION 8
     MAP 08
     NAME "Build-up"
     SUBCAMP 3
     PREV 7
     NEXT 9
     VIDEO 1
   MISSION 9
     MAP 09
     NAME "Epsilon chapter"
     SUBCAMP 3
     PREV 8
     NEXT 10
   MISSION 10
     MAP 10
     NAME "Pursuit of progress"
     SUBCAMP 3
     PREV 9
     NEXT 11
   MISSION 11
     MAP 11
     NAME "New end"
     SUBCAMP 3
     PREV 10
     NEXTQ "" 3 "" 20 "" 12 "" 16
   MISSION 12
     MAP 12
     NAME "October Revolution"
     SUBCAMP 4
     PREV 11
     NEXT 13
     VIDEO 1
   MISSION 13
     MAP 13
     NAME "Triangulation"
     SUBCAMP 4
     PREV 12
     NEXT 14
   MISSION 14
     MAP 14
     NAME "Primary Colours"
     SUBCAMP 4
     PREV 13
     NEXT 15
   MISSION 15
     MAP 15
     NAME "Final Battle"
     SUBCAMP 4
     PREV 14
     FINISH
   MISSION 16
     MAP "12a"
     NAME "Cat and Mouse"
     SUBCAMP 5
     PREV 11
     NEXT 17
     VIDEO 1
   MISSION 17
     MAP "13a"
     NAME "Peace on Earth"
     SUBCAMP 5
     PREV 16
     NEXT 18
   MISSION 18
     MAP "14a"
     NAME "Think Tank"
     SUBCAMP 5
     PREV 17
     NEXT 19
   MISSION 19
     MAP "15a"
     NAME "War and Peace"
     SUBCAMP 5
     PREV 18
     FINISH
   MISSION 20
     MAP "12b"
     NAME "The Cleansing"
     SUBCAMP 6
     PREV 11
     FINISH
     VIDEO 1
 END_OF_CAMPAIGN





Contents Copyright © Stuart Carey 2005 unless otherwise marked