MAIN
home
modding home
ARITCLES
basic scenario creation
uniform modding overview
the order of things
variables reference
commands reference
map layout
INI FILES
cwbr.ini
level.ini
MAP CSV LAYOUT
map_name.csv
SCENARIO CSV LAYOUT
units.csv
events.csv
objectives.csv
MAIN CSV LAYOUT
artyammo.csv
effects.csv
formation.csv
gamescreens.csv
gamesounds.csv
levels.csv
mainscreens.csv
mainsounds.csv
names.csv
openobjs.csv
openplay.csv
sprites.csv
tables.csv
toolbar.csv
tooltext.csv
unitcommon.csv
units.csv
unitsprite.csv
weapons.csv
level.ini

The level.ini file exists for every scenario. It defines game options that can only be used on scenario level. It exists in the main scenario folder.

File entry Explanation
[Init] Section header for initial part of the file
map=1st_BULL_RUN_HIST.lsl Name of the map file in the /maps directory, if the player is using low or medium video options, the map name will automatically be appended by the program with an _LOW. For each map there exists 2 versions, one high res (lots of models and fences) and one low res (minimum models, no fences).
Weather=7 Sets the visibility of the game, 0=very low visibility, 8=as clear as it gets; see levels.csv for details.
StrategicAI=0 If you set this to 1 the scenario will run like open play with the AI commanders implementing a strategy to take over the objectives. This would be useful if you wanted to right a scenario that just defined the starting positions and objectives. Make sense to use with random officer selection defined below.
StartTime=09:15:00 Specifies the time of day that the scenario starts, use military time: 1 PM = 13:00
CommandHeight=40 Limit of camera height above the ground in yards. If you do not include this, the player will be able to move very high off the ground.
CommandRadius=500 Limit the camera can move away from the players character, distance in yards. If you do not include this, the player can move anywhere.
FailGrade=-25 Score at which the game will terminate with a failing grade for the scenario. This is the default for open play and determines the evtgiveup event.
CantKillMe=1 Prevents players character from being killed. If you use this option the player will never have an evtdeath event.
ToolBarTop=476 No longer used
IsHistorical=0 No longer used
[Rank] This section sets the players character. The numbers refer to the numbering system used in the file units.csv. If all of these values are zero, the player will be able to choose any officer to play in the custom scenario setup screen.
Army=1 ARMY column A from units.csv
Corps=1 CORPS column B from units.csv
Division=2 DIV column C from units.csv
Brigade=2 BRIG column D from units.csv
Regiment=0 REGT column E from units.csv
[Camera] No longer used
locx=14000 No longer used
locz=14890 No longer used