Music: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
<num> - 1-4 (This really depends on how many episodes you have, you don't really need to put four 'playlists' if you dont have four episodes.)
<num> - 1-4 (This really depends on how many episodes you have, you don't really need to put four 'playlists' if you dont have four episodes.)


<1-etc> - TEMP.mid (This is the music file to be played during whatever level number it applies to.)
<1-etc> - TEMP.OGG (This is the music file to be played during whatever level number it applies to.)


EXAMPLE2:
EXAMPLE2:


music 1 E1M1.mid E1M2.mid E1M3.mid E1M4.mid
music 1 E1M1.mid E1M2.OGG E1M3.mid E1M4.mid


(To be played on episode 1, levels one thru four.)
(To be played on episode 1, levels one thru four.)
Line 18: Line 18:
See also [[definevolumename]], [[definelevelname]]
See also [[definevolumename]], [[definelevelname]]


NOTE: Only supports MIDI as of yet..
NOTE: supports MIDI and OGG.


[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Sound manipulation]]

Revision as of 12:21, 21 April 2008

music <num> <x1> <x2> <3> <4> <5> <6> <7> <8> <etc>

Sets up music to be played during levels depending on how <num> is used, and how many levels there are.

EXAMPLE:

<num> - 0 (This will mean that only <x1> and <x2> apply, <x1> being the music for the title screen, and <x2> being the music for the end.) <num> - 1-4 (This really depends on how many episodes you have, you don't really need to put four 'playlists' if you dont have four episodes.)

<1-etc> - TEMP.OGG (This is the music file to be played during whatever level number it applies to.)

EXAMPLE2:

music 1 E1M1.mid E1M2.OGG E1M3.mid E1M4.mid

(To be played on episode 1, levels one thru four.)

See also definevolumename, definelevelname

NOTE: supports MIDI and OGG.