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

Worldspawn (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{EntityTabs|worldspawn|goldsrc=1|source=1|main=source}}
{{EntityTabs|worldspawn|goldsrc=1|source=1|main=source}}
{{entity|worldspawn|<!--sprite=1-->|type=point|engine=gldsrc}}
{{This is a|name=worldspawn|e0|engine=gldsrc}}


== Key Values ==
== Key Values ==

Revision as of 01:43, 9 September 2023

Template:EntityTabs

worldspawn is an e0 available in all GoldSrc GoldSrc games.

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{gldsrc}} template. This can most likely be fixed by setting the value of the {{{engine}}} parameter to GoldSrc.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

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.

  [todo tested in ?]

Default light level (light) <integer>
Default Wave Height (WaveHeight)
string
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 ([todo internal name (i)]) <choices> (only in Half-Life: Opposing Force)
  • 0 : "Not CTF map"
  • 1 : "CTF map"
Ambience ([todo internal name (i)]) <choices> (only in Deathmatch Classic)
  • 0 : Medieval
  • 1 : Runic (metal)
  • 2 : Present (base)
Game mode ([todo internal name (i)]) <choices> (only in Ricochet)
  • 0 : Arena
  • 1 : Deathmatch