This article's documentation is for the "GoldSrc" engine. Click here for more information.

worldspawn

From Valve Developer Community
Jump to: navigation, search

worldspawn is a point entity available in all GoldSrc GoldSrc games.

Key Values

Map Description / Title (message) <string>
Map's description/title. !FGD in Team Fortress Classic.
Environment map (cl_skyname) (skyname) <string>
The skybox to use. See Sky List.
CD track to play (sounds) <integer>
CD track number to play upon map load.
Icon-Bug.pngBug:Only works properly if game is using the 🖿valve directory
PlacementTip.pngWorkaround: Put a trigger_cdaudio that encompasses info_player_start.
Default light level (light) <integer>
Default Wave Height (WaveHeight) <string>
Sets the water wave height
Max Viewable Distance (MaxRange) <string>
Default is 4096.
Level Fade In (startdark) <choices>
Fades the map in.
  • 0: No
  • 1: Yes
Confirm:does this have the same bug as in Source?[Clarify]
Display Game Title (gametitle) <boolean>
Should the game's title appear on-screen when the map starts?
Map Team List (mapteams) <string>
Default Team (defaultteam) <choices>
!FGD in Team Fortress Classic.
  • 0 : Fewest Players
  • 1 : First Team
Default CTF <choices> (only in Half-Life: Opposing Force)
  • 0 : "Not CTF map"
  • 1 : "CTF map"
Ambience <choices> (only in Deathmatch Classic)
  • 0 : Medieval
  • 1 : Runic (metal)
  • 2 : Present (base)
Game mode <choices> (only in Ricochet)
  • 0 : Arena
  • 1 : Deathmatch

Better music selector

Replace the sounds key in the Half-Life Half-Life FGD with this entry to more easily know which track belongs to which MP3 file.

sounds(choices) : "CD track to play" : 1 : "CD track to play when the level begins."= [ -1 : "Stop" 1 : "None" 2 : "Half-Life01.mp3" 3 : "Prospero01.mp3" 4 : "Half-Life12.mp3" 5 : "Half-Life07.mp3" 6 : "Half-Life10.mp3" 7 : "Suspense01.mp3" 8 : "Suspense03.mp3" 9 : "Half-Life09.mp3" 10 : "Half-Life02.mp3" 11 : "Half-Life13.mp3" 12 : "Half-Life04.mp3" 13 : "Half-Life15.mp3" 14 : "Half-Life14.mp3" 15 : "Half-Life16.mp3" 16 : "Suspense02.mp3" 17 : "Half-Life03.mp3" 18 : "Half-Life08.mp3" 19 : "Prospero02.mp3" 20 : "Half-Life05.mp3" 21 : "Prospero04.mp3" 22 : "Half-Life11.mp3" 23 : "Half-Life06.mp3" 24 : "Prospero03.mp3" 25 : "Half-Life17.mp3" 26 : "Prospero05.mp3" 27 : "Suspense05.mp3" 28 : "Suspense07.mp3" 29 : "gamestartup.mp3" 30 : "None" ]