Worldspawn (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
Confirm:does this have the same bug as in Source?[Clarify]
SirYodaJedi (talk | contribs) mNo edit summary |
SirYodaJedi (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
{{KV|Map Description / Title|intn=message|string|Map's description/title. {{!fgd}} in {{tfc}}.}} | {{KV|Map Description / Title|intn=message|string|Map's description/title. {{!fgd}} in {{tfc}}.}} | ||
{{KV|Environment map (<code>cl_skyname</code>)|intn=skyname|string|The [[skybox (GoldSrc)|skybox]] to use. See [[Sky List#GoldSrc Engine Games|Sky List]].}} | {{KV|Environment map (<code>cl_skyname</code>)|intn=skyname|string|The [[skybox (GoldSrc)|skybox]] to use. See [[Sky List#GoldSrc Engine Games|Sky List]].}} | ||
{{KV|intn=sounds|CD track to play|integer|[[List of Half-Life 1 music|CD track number]] to play upon map load.{{bug|Only works properly if game is using the {{path|valve}} directory{{workaround|Put a {{ent|trigger_cdaudio (GoldSrc)|alt=trigger_cdaudio}} that encompasses {{ent|info_player_start (GoldSrc)|alt=info_player_start}}. | {{KV|intn=sounds|CD track to play|integer|[[List of Half-Life 1 music|CD track number]] to play upon map load.{{bug|tested=Steampipe, HL25|Only works properly if game is using the {{path|valve}} directory{{workaround|Put a {{ent|trigger_cdaudio (GoldSrc)|alt=trigger_cdaudio}} that encompasses {{ent|info_player_start (GoldSrc)|alt=info_player_start}}.}} | ||
}} }} }} | }} }} | ||
{{KV|intn=light|Default light level|integer}} | {{KV|intn=light|Default light level|integer|Same as _minlight.}} | ||
{{KV|Default Wave Height|intn=WaveHeight| | {{KV|Default Wave Height|intn=WaveHeight|float|Sets the water wave height}} | ||
{{KV|intn=MaxRange|Max Viewable Distance| | {{KV|intn=MaxRange|Max Viewable Distance|float|Default is 4096.}} | ||
{{KV|Level Fade In|intn=startdark| | {{KV|Level Fade In|intn=startdark|boolean|Fades the map in. | ||
{{confirm|does this have the same bug as in Source?{{clarify}}}}}} | {{confirm|does this have the same bug as in Source?{{clarify}}}}}} | ||
{{KV|Display Game Title|intn=gametitle|boolean|Should the game's title appear on-screen when the map starts?}} | {{KV|Display Game Title|intn=gametitle|boolean|Should the game's title appear on-screen when the map starts?}} | ||
{{KV|Map Team List|intn=mapteams|string}} | {{KV|Map Team List|intn=mapteams|string}} | ||
{{KV|Default Team| | {{KV|Default Team|boolean|intn=defaultteam|{{!fgd}} in {{tfc}}. | ||
:* 0 : Fewest Players | :* 0 : Fewest Players | ||
:* 1 : First Team | :* 1 : First Team | ||
}} | }} | ||
{{KV|Default CTF| | {{KV|Default CTF|intn=defaultctf|boolean|only={{op4}}}} | ||
:* 0 : "Not CTF map" | :* 0 : "Not CTF map" | ||
:* 1 : "CTF map" | :* 1 : "CTF map" | ||
Line 28: | Line 26: | ||
:* 2 : Present (base) | :* 2 : Present (base) | ||
: For additional specifics, see {{quakewiki|worldspawn#Differences_depending_on_.27worldtype.27_settings|QuakeWiki's page on worldspawn}}. | : For additional specifics, see {{quakewiki|worldspawn#Differences_depending_on_.27worldtype.27_settings|QuakeWiki's page on worldspawn}}. | ||
{{KV|Game mode| | {{KV|Game mode|intn=no_arena|boolean|only={{Ricochet}}}} | ||
:* 0 : Arena | :* 0 : Arena | ||
:* 1 : Deathmatch | :* 1 : Deathmatch |
Revision as of 16:13, 10 September 2024
worldspawn
is a point entity available in all GoldSrc games.
Key Values
- CD track to play (sounds) <integer>
- CD track number to play upon map load.
Bug:Only works properly if game is using the
valve
directoryWorkaround:Put a trigger_cdaudio that encompasses info_player_start.
(tested in: Steampipe, HL25)
- Default light level (light) <integer>
- Same as _minlight.
- Default Wave Height (WaveHeight) <float>
- Sets the water wave height
- Max Viewable Distance (MaxRange) <float>
- Default is 4096.
- Level Fade In (startdark) <boolean>
- Fades the map in.

- Display Game Title (gametitle) <boolean>
- Should the game's title appear on-screen when the map starts?
- Map Team List (mapteams) <string>
- Default CTF (defaultctf) <boolean> (only in
)
-
- 0 : "Not CTF map"
- 1 : "CTF map"
Ambience / World Type (worldtype) <choices>(only in)
- Deprecated.
Leftover fromQuake I, where it was used to determine what sounds doors and keys used, what models keys use, and what the keys are called. As func_door's sound handling is completely revamped, and the source code for item_key1 and item_key2 is commented out with a #if 0, this KV goes unused by vanilla game code.
- 0 : Medieval
- 1 : Runic (metal)
- 2 : Present (base)
- For additional specifics, see
QuakeWiki's page on worldspawn.
- Game mode (no_arena) <boolean> (only in
)
-
- 0 : Arena
- 1 : Deathmatch
Better music selector
Replace the sounds key in the Half-Life FGD with this entry to more easily know which track belongs to which MP3 file.