ProModX
Map Kit · GUIDE 04 / 10

Sky, sun and light

A map's sky and light are set on its page in Map Kit, under Map settings, not in TrenchBroom. Each change is used from the next build, so build and look again after you change something.

01Pick a sky

The Sky tab shows the 15 daytime skies of the stock maps, read out of your game during setup. The sky draws on every face painted tools/sky and lights the bake. Picking one also sets the sun and the sky light to that sky's map, a good start you can change after.

TipThe night skies (Bog, Wet Work, Winter Crash, Countdown) are left out for now: they don't draw correctly in game yet.

The Sky tab with Backlot picked

02Set the sun

The Sun tab sets the light that casts the sharp shadows.

  • Colour: tints the sunlight and its bounces
  • Direction: where the sunlight comes from, as a yaw in TrenchBroom, so 0° is +X and 90° is +Y
  • Height: above the horizon. A low sun casts long shadows
  • Strength: against Shipment's sun. Crossfire's is 243%, Backlot's 300%
The Sun tab: colour, direction, height and strength

03Light and shadow

The Light and shadow tab sets what the shade looks like.

  • Sky light: light from the whole sky, which reaches into the shade
  • Ambient: light added everywhere, sun or not
  • Shadow floor: the darkest a shadow may get, so players stay visible in it
  • Exposure: the brightness of the whole map in game. 0 is ProMod's exposure for the stock maps
The Light and shadow tab: sky light, ambient, shadow floor and exposure

04Where the settings live

Map Kit saves these as keys on the map's worldspawn, which TrenchBroom shows too. If the map is open in TrenchBroom when you change them, use File › Revert there before you save it again, or TrenchBroom writes the old values back.

05The map picture

Each build renders a picture of the map from its mp_global_intermission entity, the view players see the map from before they join. Move that entity in TrenchBroom to frame the picture.