Jump to content

Home

Changing the Main Menu Music.


Recommended Posts

ok, put into your pk3 a music folder, then your for example imperialmarch.mp3 into that,

then into main.menu you modify this way for example:

 

menuDef

{

name "mainMenu"

fullScreen 1

rect 0 0 640 480

visible 1

focusColor 1 1 1 1

descX 320

descY 426

descScale 1

descColor 1 .682 0 .8

descAlignment ITEM_ALIGN_CENTER

onOpen

{

setfocus newgamebutton

exec "music music/ImperialMarch" ;

}

onESC

{

play "sound/interface/menuroam.wav" ;

close mainMenu ;

open quitMenu ;

}

 

is it good now?

Link to post
Share on other sites
×
×
  • Create New...