Half-Life Entity Tutorials
Update: May 27, 2000
Visit another Misc Entity Tutorial
worldspawn - by Tiger
Worldspawn
Description
The worldspawn entity controls many of the default map settings. You cannot place a worldspawn entity, they are present in each map automatically. To edit it simple select a brush and bring up the entity inspector.
Key Value Action Description
skyname
string
environment map This lets you set the level's skybox type. Valid values here are 2desert, alien1, alien2, alien3, black, city, cliff, desert, dusk, morning, neb1, neb2, neb6, neb7, night, space, xen8, xen9, and xen10
sounds
integer
CD track to play This sets which track to start playing when the level begins (Default 1)
WaveHeight
integer
Red Green Blue Brightness Default Wave Height This sets the default wave height (which can be overridden in func_water)
MaxRange
integer
Max viewable distance This can be used to extend the maximum viewable distance in the engine (Default 4096)
chaptertitle
string
Chapter title message This text is displayed when the level is started (same format as env_message)
startdark
integer
Level Fade In If this is non-zero, the level will start black and fade in to a normal light level (Default 0)
gametitle
integer
Display game title If this is non-zero, the game title ('Half-Life') will be displayed when the level is loaded (Default 0)
newunit
integer
New Level Unit If this is non-zero, all previous global triggers will be ignored. (This is, in effect, like starting a new game) (Default 0)
mapteams
integer
Map Team List This will be copied into the mp_teamlist while your map is running if the server allows maps to override the team list (it does by default)
defaultteam
integer
Default Team If this is set to 1, then players are forced on to the first team (team index 0) when they join. Otherwise, they are forced to join the team with fewest players. If they are forced to join the first team by the map (defaultteam 1), then players are not allowed to change teams during that map (unless the map changes their team for them)
wad
string
*.wad path Here you have to enter all the paths of all *.wad files you are using.
Using Possibilities
This entity is very important, especially for every outdoor map.
So check this tutorials: The Sky Texture and My First Room and My First Window and Outdoor Environment