How I can add custom music on world map?

Description: Official subforum for LunaLua - an extension framework for SMBX Engine Version 1.3 (which a core of SMBX 2.0). Share your creations that require the use of LunaLUA. You may also share info/tutorials on how to use LunaLUA.
Moderator: Moderators

Lx Xzit M
Topic author, Moderator
Moderator
Lx Xzit M
Topic author, Moderator
Moderator
Reputation: 136
Posts: 427
Joined: 9 Nov 2015
Website

Post #1by Lx Xzit » 12 Dec 2015, 21:09

I have been reading some tutorials about luna and I could say I know the basics, however I'm a bit confused.
I want include custom songs on my episode using Lunalua. What I exactly need to do?

Any help would be appreciated!
VISIT MY YOUTUBE CHANNEL! LX XZIT

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 25
Reputation: 317
Posts: 1292
Joined: 15 Feb 2014
Location: Moscow, Russia
Website Skype YouTube

Post #2by Wohlstand » 12 Dec 2015, 22:36

* Make empty "music.ini" file in your episode folder
* Add into it a replacements per each world map music which you wanna use as custom music:

Code: Select all

[world-music-3]
name="It's my world music!"
file="My World music.ogg"

name - udnerstandable name of music (works in PGE only, doesn't applying to SMBX Editor)
file - relative to episode root path to your music file

"My World music.ogg" file should be placed at your episode root. If you wish to have all your musics in separated folder, you should write:
"my custom musics folder/My World music.ogg"

I.e. "my custom musics folder" - is folder which you made for music placements.

List of default musics: http://wohlsoft.ru/docs/_SMBX64/Objects/Music list.pdf (use it to learn ID's of each world map musics)

Lx Xzit M
Topic author, Moderator
Moderator
Lx Xzit M
Topic author, Moderator
Moderator
Reputation: 136
Posts: 427
Joined: 9 Nov 2015
Website

Post #3by Lx Xzit » 13 Dec 2015, 23:58

THANK YOU WOHISTAND! it worked perfectly
VISIT MY YOUTUBE CHANNEL! LX XZIT


Return to “LunaLua - Extension Framework”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest