Startup Music: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed redirect target from Startup Media to Startup Media#Startup Music)
Tag: Redirect target changed
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Source will play '''<code>sound\ui\gamestartup*.mp3</code>''' when it finishes loading the main menu after the application is launched. The asterisk matches anything at all (including nothing), so feel free to give your files descriptive names. If more than one file matches, a choice will be made at random.
#Redirect [[Startup Media#Startup_Music]]
 
All files must be encoded at 44kHz.
 
{{tip|Startup music can be disabled by starting with <code>-nostartupsound</code>.}}
 
== {{gldsrc|2}} Engine ==
GoldSrc will play '''<code>media\gamestartup.mp3</code>''' or Redbook CD track 28 when it finishes loading the main menu after the application is launched. The track will loop and continue to play until another track is called or a mulitplayer server is loaded.
 
[[Category:Modding]] [[Category:Tutorials]]

Latest revision as of 22:51, 29 March 2024