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.

Console Overview


The console is one of the most important and basic things to know how to use.

Opening the Console

Press the tilde key (~) in the top left of your keyboard to open the game console. The console will use up only half the screen unless you are at the main menu. The console will have messages, debugging information, chat messages, and all sorts of other goodies.

When the console is open, execute a command by typing it in and then pressing ENTER. The Page Up and Page Down keys will scroll the console, and tilde will close the console again. The rest of the things mentioned in this guide are to be typed in the console.

Executing a Command

Commands do things like shoot, move, or take a screenshot. Just type in the command (like screenshot) and press Enter. To give a command parameters (options for the command), type them after the command (like screenshot ub_rooftop_screenshot.jpg), and seperate the parameters by spaces. Some commands take in no parameters while others take in one, two, or more.

NOTE: To put a space in a parameter, surround the parameter with quotes like: screenshot "ub_rooftop screenshot.jpeg".

Dealing with Variables

A player name is a setting, the name of a server is a setting, mouse sensitivity is a setting, and so are many other things a setting. A setting is a variable that can change. set and unset set and unset a variable, respectively. For example, to set the password variable to "BobTheBuilder": set password BobTheBuilder, and then to remove it: unset password.

To retrieve the value of a variable, just enter the variable name alone in the console like: password.

NOTE: A variable can be set without typing in set. Example: password BobTheBuilder does the same as above.

Creating an Alias

The alias command maps a list of commands—a script—to one new "uber" command. alias it takes in two parameters: the name of the new command's name and the list of commands to execute. For example, alias attackjump "+moveup;+attack" would make a new command named attackjump that jumped (+moveup) and attacked (+attack). Many commands can be chained together as long as they are seperated by a semi-colon (;) and are inside double quotes (").

APPLICATION: An example of a way to use an alias is to make a zoom function: it sets both the fov (field of view) variable and the sensitivity (mouse sensitivity) variable to lower the field of view and slow down the mouse to act like a real zoom in any other game.

Binding to a Key

Normally, your space bar is your jump key. The jump command (+moveup) has been binded to your space bar. The bind command binds a command to a key; the first parameter is the key and the second is the command. For example, to make the F key jump as well, execute bind f +moveup. To unbind a variable, use unbind (example: unbind f);

Combinding binds with aliases can create very useful keys at your fingertips.

What commands and variables are there?

Check out our commands and variables reference for a large list of commands and variables you can use.