Startup Music: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Warning!)
m (Wikification)
Line 8: Line 8:


If more than one MP3 exists as <code>sound/ui/gamestartup'''*'''.mp3</code>, one will be picked at random.
If more than one MP3 exists as <code>sound/ui/gamestartup'''*'''.mp3</code>, one will be picked at random.
{{warning|An MP3 will not play correctly if it does not have a 44100 Hz playback rate.}}
{{warning|An MP3 will not play correctly if it does not have a 44100 [[Wikipedia:Hertz|Hz]] playback rate.}}
[[Category:Modding]]
[[Category:Modding]]
[[Category:Tutorials]]
[[Category:Tutorials]]

Revision as of 20:04, 3 April 2006

Stub

This article or section is a stub. You can help by expanding it.

As of the first engine update for DOD:S, this has been possible.

Place an MP3 file named gamestartup1.mp3 in the sound/ui folder for your mod.

If you want more than one startup MP3s, use the name gamestartup2.mp3 and so on.

If more than one MP3 exists as sound/ui/gamestartup*.mp3, one will be picked at random.

Warning.pngWarning:An MP3 will not play correctly if it does not have a 44100 Hz playback rate.