How I can add custom music on world map?

Description: Archive discussion
============================
Original 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.

Lx Xzit M
Topic author, Moderator
Moderator
Avatar
Lx Xzit M
Topic author, Moderator
Moderator
Reputation: 402
Posts: 757
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
Join our 38A Discord server!

Image

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 30
Reputation: 493
Posts: 1747
Joined: 15 Feb 2014
English Pronouns: he/him
Location: Moscow, Russia
Website Youtube channel URL Skype Tencent QQ

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
Avatar
Lx Xzit M
Topic author, Moderator
Moderator
Reputation: 402
Posts: 757
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
Join our 38A Discord server!

Image


Return to “LunaLua - Extension Framework”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest