Target cdaudio (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
Note:The mp3 files loaded, and what number they are used as in this entity are hard-coded into the game. Therefore, the filenames of custom mp3s must be very specific.
Note:Track 29 or
Confirm:Does loading a mulitplayer server also always stop the track?
Dr. Orange (talk | contribs) Tag: Undo |
SirYodaJedi (talk | contribs) m (gamestartup.mp3 and link to brush entity) |
||
Line 11: | Line 11: | ||
{{KV|Track|integer|The name of the track to play via the media folder.}} | {{KV|Track|integer|The name of the track to play via the media folder.}} | ||
:{| class=standard-table | :{| class=standard-table | ||
! Value || | ! Value || MP3 file to play | ||
|- | |- | ||
| <code>1</code> || <code><None></code> | | <code>1</code> || <code><None></code> | ||
Line 69: | Line 69: | ||
| <code>28</code> || Suspense07.mp3 | | <code>28</code> || Suspense07.mp3 | ||
|- | |- | ||
| <code>29</code> || gamestartup.mp3 | |||
|- | |- | ||
|} | |} | ||
{{note|Track 29 or <code>gamestartup.mp3</code> will automatically play upon game launching into the main menu, and will loop and continue to play until another music track is called. {{confirm|Does loading a mulitplayer server also always stop the track?}}}} | |||
{{Hl1_kv_targetname}} | {{Hl1_kv_targetname}} | ||
==See also== | |||
* {{ent|trigger_cdaudio}} | |||
[[Category:Half-Life]] | [[Category:Half-Life]] | ||
[[Category:Half-Life Entities]] | [[Category:Half-Life Entities]] | ||
[[Category:Level Design]] | [[Category:Level Design]] |
Revision as of 19:46, 23 June 2022
Template:GoldSource base point
Entity description
Plays a specified track either on the CD or in the media folder when this entity is triggered.

Keyvalues
Value MP3 file to play 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

gamestartup.mp3
will automatically play upon game launching into the main menu, and will loop and continue to play until another music track is called. 
- Name (targetname) <string>
- The targetname that other entities refer to this entity by.