Worldspawn

Worldspawn (or just "the world") is the single entity that stores the noninteractive parts of a map, alongside some global configuration options, such as sunlight, gravity, etc.

Keyvalues
soundtrack 

The soundtrack to use on the map.

gravity 

800 is default gravity.

skipthread <?>

Thread that is activated to skip this level (if cinematic).

nextmap 

Map to go to when player exits.

message 

Text to print at user logon.

script 

Script to run on start of map.

farplane_color 

Color to fade to when the far clip plane is on.

farplane_cull 

Whether or not the far plane should cull, default is yes.

farplane 

Distance from the viewer that the far clip plane is.

ambientlight 

Ambient lighting to be applied to all entities.

ambient 

Ambient lighting to be applied to all entities, use _color to specify color.

suncolor 

Color (and intensity) of the sun. Full daylight would be "70 70 70".

sundirection 

Direction of the sun in the level.

sundiffuse <?>

Fraction of the sunlight to make diffuse (default 1).

sundiffusecolor 

Color of the diffuse sunlight. Uses the same value scale as suncolor.

sunflarename 

Sets the flare to use for the sun (default is sun).

sunflaredirection 

Allows you to specify a direction of the sun flare. Defaults to using the direction specified for the sunlight.

lightmapdensity 

Default lightmap density to be used for all surfaces.

overbright <?>

Forces on overbright lighting. "world" makes it only affect the world, "entities" makes it affect entity lighting, and "all" makes it affect both. Also, setting it to "none" forces all overbright lighting off.

skyalpha <?>

Initial value of the sky's alpha, defaults to 1.

vis_derived <?>

Whether or not the vis compiler derives additional vis info from the manual vis. Default is 0. 0 means vis compile will be slower since manual vis data is added after auto vis data. 1 means vis is faster and lower runtime poly count, but erroneous no draw could result from incorrect manual vis data.

ai_visiondistance 

Default vision distance for all ai, defaults to 2048.

northyaw 

Sets the yaw angle that is considered to be north.