Worldspawn (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
Warning:
Confirm:does this have the same bug as in Source?[Clarify]
No edit summary |
SirYodaJedi (talk | contribs) mNo edit summary |
||
Line 20: | Line 20: | ||
:* 1 : First Team | :* 1 : First Team | ||
}} | }} | ||
{{KV|Default CTF|choices|only={{ | {{KV|Default CTF|choices|only={{op4}}}} | ||
:* 0 : "Not CTF map" | :* 0 : "Not CTF map" | ||
:* 1 : "CTF map" | :* 1 : "CTF map" | ||
Line 30: | Line 30: | ||
:* 0 : Arena | :* 0 : Arena | ||
:* 1 : Deathmatch | :* 1 : Deathmatch | ||
=== Better music selector === | |||
Replace the {{code|sounds}} key in the {{hl1|4}} FGD with this entry to more easily know which track belongs to which MP3 file. | |||
{{codeblock|<nowiki> 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" | |||
] | |||
</nowiki>}} |
Revision as of 10:35, 3 December 2023
worldspawn
is an e0 available in all GoldSrc games.

- 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
- 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.
[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

- 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
.
- 0 : Fewest Players
- 1 : First Team
- Default CTF ([todo internal name (i)]) <choices> (only in
)
-
- 0 : "Not CTF map"
- 1 : "CTF map"
- Ambience ([todo internal name (i)]) <choices> (only in
)
-
- 0 : Medieval
- 1 : Runic (metal)
- 2 : Present (base)
- Game mode ([todo internal name (i)]) <choices> (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.