Forums Gallery Downloads LOGIN |REGISTER

How to: Put music in your main menu and loop it?

If you're looking for help with Scaleform, HUD development, UI Emulator/Actions, this is the place!


 

User avatar
tuffant21
Just getting started
Just getting started
 
Posts: 82
Member since: 03.04.2012, 05:37
Likes: 5

How to: Put music in your main menu and loop it?

Postby tuffant21 » 24.09.2013, 18:03

Hi guys, I would like to know how to put music into my main menu and have it play until they start loading a level, or exit the game. How can I make the music loop until they do one of those actions?

Heres how i have it now, but it only plays once.
Image
Yeti
Senior Developer
Senior Developer
 
Posts: 825
Member since: 10.11.2012, 23:52
Location: Colorado
Likes: 101

Re: How to: Put music in your main menu and loop it?

Postby Yeti » 25.09.2013, 23:58

Shouldn't you use FMOD?
User avatar
tuffant21
Just getting started
Just getting started
 
Posts: 82
Member since: 03.04.2012, 05:37
Likes: 5

Re: How to: Put music in your main menu and loop it?

Postby tuffant21 » 26.09.2013, 03:51

What is fmod? Do you have a link?
wurstburst
Developer
Developer
 
Posts: 305
Member since: 13.10.2011, 00:35
Likes: 39

Re: How to: Put music in your main menu and loop it?

Postby wurstburst » 29.09.2013, 19:57

don't do that through Scaleform or FMOD rather have a look at the music system...
http://freesdk.crydev.net/display/SDKDOC2/Music+System

you want to create a Theme and Mood and add you music track to the Main Layer of a Mood as only those loop automatically...also make sure to use 44100Hz 16bit Stereo files only and convert them to ogg...

then to set your Theme and Mood use the ThemeSelector node...
http://freesdk.crydev.net/display/SDKDO ... lectorNode


 
Connect and collaborate with CRYENGINE developers in the official Forums.
Visit the Gallery to share what you have created and be inspired by what others are creating with CRYENGINE.
Community