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.

Sun Lighting

If your map has an open sky, sun lighting would be a great addition to your map. To use sun lighting, you must be using Arghrad for your rad tool. Sun lighting information is specified as keys in the worldspawn entity.

Key Values Purpose
_sun_angle <int> <int> Two numbers define the angle from which the light shines
_sun_ambient <int> Light ambience; use values below 20
_sun_diffuse <int> Light diffusion; use values below 20
_sun_light <int> Amount of light; use 100-300 for moonlight

Angles can be found by using the angles command in the game (build 17 and later).

Recommended Values

arctic1

Key Value
_sun_angle 35 -30

pbsky1

Key Value
_sun_angle 198 -65

pbsky2

Key Value
_sun_angle 150 -34

pbsky3

Key Value
_sun_angle 85 -38

pbsky4

Key Value
_sun_angle 90 -30

riverscape

Key Value
_sun_angle 200 -30
_sun_ambient 60
_sun_diffuse 30
_sun_light 250

unit1_

Key Value
_sun_angle 72 -25