Calling Menus Ingame -1 reply

Please wait...

M.Eales

227272-Epic Userid

50 XP

26th April 2010

0 Uploads

140 Posts

0 Threads

#21 8 years ago

I'll just try using both as stereo later, I've seen quite a few stopVoice all ;commands recently when looking through the defult menus. Is there stopMusic or stopmp3 or stopwav command? I'll take a look when I get home. :)

I'll try making it play an empty file too :)




jk3editor

Retard Hungarian Modder

50 XP

21st August 2008

0 Uploads

1,520 Posts

0 Threads

#22 8 years ago

Well, that was working for me, when I was playing a music, and then I started to play a new; and the old one stopped.




M.Eales

227272-Epic Userid

50 XP

26th April 2010

0 Uploads

140 Posts

0 Threads

#23 8 years ago

I'll give it a try.




M.Eales

227272-Epic Userid

50 XP

26th April 2010

0 Uploads

140 Posts

0 Threads

#24 8 years ago

Okay, I've been messing with it for a while, I now have a map that can be triggered ingame with a simple script, You can then select another location on the map, and it will load the map. You can also add music that plays for each area to the menu(so when you select Byss it will play music that you specify until the user accepts the location move.

If anyone is interested I'll post the code here, It's really helpful for making non-linear/partially linear mods.

My problem turned out to be that the "play" command is only meant for mono sounds, not music (stereo). Substituting the play command with

exec "music music/example.mp3"

seems to fix the problem.

Okay here are the screenshots (keep in mind, this is for my mod, but I'm nice so I'll give you some easy to edit files, if you want them):

Spoiler: Show

119126836-3.jpg ^World Map, Plays Music^

119126868-3.jpg ^World Map, You select the destinations from the list(two done so far, map highlights the destination your mouse is over) :) ^

119126931-3.jpg ^World Map, You select the destinations from the list (two done so far, map highlights the destination your mouse is over)^

119126983-3.jpg ^Location Info Screen, Background Changes, and plays different music, Travel button to load map. (Yeah mirrors edge lol, :rofl: was the first pic I found)^

119127071-3.jpg ^Location Info Screen, Background Changes, and plays different music.(lacking travel button, I'll fix that quickly :lulz: )^

Interested? :confused:

I can make a user friendly version, IF you're interested :)