Goto http://www.stucuk.netGoto http://www.atlanticaonlinewiki.comGoto http://www.game-requirements.com

Adding Missions to the Campaign

From Original War Support Wiki

Jump to: navigation, search

Tutorials -> Adding Missions to the Campaign

Info

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

Key
MAP is the actual name of the folder containing the map (excluding the extention
    which is %MODDIR%\Missions\%SIDE%\)
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 defines which missions the player will be taken to depending on what
      choice that they make in the question video (i.e  if they join the alliance)
NEXTM defines what mission the player will be taken to depending on what input function
      SetNextMission is given
FINISH means the campaign is finished once that mission is over
VIDEO 1 means that there will be a video, changing it to 0 means there won't be
        a video. Default is 0
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 Altar's videos).

Missions.dat looks 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
Personal tools
Clanbase