Startup Music

From Valve Developer Community
Revision as of 12:57, 29 May 2023 by SirYodaJedi (talk | contribs) (Elaborate on why it's "startup" music, and not "main menu" music)
Jump to navigation Jump to search

Startup music is music that plays on the main menu when booting up the game, but does not play when returning to the main menu from elsewhere in the game.

Source Source Engine

Source will play 🖿sound\ui\gamestartup*.mp3 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.

All files must be encoded at 44.1 KHz.

Tip.pngTip:Startup music can be disabled by starting with -nostartupsound.

GoldSrc GoldSrc Engine

GoldSrc will play 🖿media\gamestartup.mp3 or Redbook CD track 29 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.