DP Resource is a fan site/resource site for Digital Paint: Paintball 2, a digital paintball 3D first-person shooter game modeled after the real Paintball sport.

Using Map Info Files


Map info files define important "recommendations" for the map rotation system to go by. You can use it, for example, to set the minimum amount of players for a map to be 4 players. The rotation engine won't switch to that map if there are only two players until it desperately needs to.

Creating a Map Info File

A map info file is just a regular text file that resides in the same directory as the map and carries the same name as well. For example, the map info file for "spacebattle.bsp" would be named "spacebattle.txt"

Format of Map Info

A typical map info file has [mapinfo] on top, followed by a few settings, and it looks like this:

[mapinfo]
minplayers 0
maxplayers 8
autovotes 0
supports ctf pong 1flag elim siege koth
default ctf

Available Options

Option name Description Value
minplayers Min. of players recommended integer
maxplayers Max. of players recommended integer
autovotes Maps are automatically given one vote on map rotation every new game, unless autovotes is set to 0 (defaults to 1) 0|1
supports A space delimited list of game modes ctf|pong|1flag|elim|siege|koth
default Default game mode ctf|pong|1flag|elim|siege|koth