CPG File Format

From OpenDeathValley
Jump to: navigation, search

Files with a cpg extension are simple ini-files which describe the game's campaign as a set of levels, each having it's own section:

[Level Name]
Key1 = Value1
Key2 = Value 2
...

[Level Name 2]
...

Possible keys and their meaning:

key meaning
title the title of the level
level file name of the level (a file from .\Data\Levels without the file extension)
cinematic file name of a bik video which is played before the level starts
outro file name of a bik video which is played after finishing the level
credits file name of a bik video for the credits
infogrames file name of a bik video for the infogrames cinematic
spellbound file name of a bik video for the spellbound cinematic
map a map? (a file from .\Data\Interfaces\Maps)
Xposition X position on the map?
Yposition Y position on the map?