Change the sound effect of npc ???

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

HunterX1X
Shy Guy
Shy Guy
Posts: 8
Joined: Wed Jun 28, 2017 5:58 pm

Change the sound effect of npc ???

Postby HunterX1X » Thu Jun 29, 2017 5:20 pm

Hey .. Anyone know a way to change the sound effect of an npc or stuff in one level .. id like to change the fireball sound ....Can anyone help plz ???
i need it For this one ..
http://imgur.com/lqFzLma

ElectriKong
Fry Guy
Fry Guy
Posts: 4651
Joined: Mon Jun 06, 2016 4:32 pm
Flair: I have NO idea what to put here
Pronouns: he/him
Contact:

Re: Change the sound effect of npc ???

Postby ElectriKong » Fri Jun 30, 2017 2:32 am

Sounds.ini

HunterX1X
Shy Guy
Shy Guy
Posts: 8
Joined: Wed Jun 28, 2017 5:58 pm

Re: Change the sound effect of npc ???

Postby HunterX1X » Fri Jun 30, 2017 7:51 am

Yes I created a sound.ini file and put audio.sfx(#) in it but didnt work..can u explain plz ?? :)

HeroLinik
Boom Boom
Boom Boom
Posts: 3462
Joined: Fri Dec 20, 2013 1:28 pm
Contact:

Re: Change the sound effect of npc ???

Postby HeroLinik » Fri Jun 30, 2017 8:00 am

HunterX1X wrote:Yes I created a sound.ini file and put audio.sfx(#) in it but didnt work..can u explain plz ?? :)
You put the sound ID, the filename of the sound you're replacing and then the name of the sound that you're going to use instead. For instance:

Code: Select all

[sound-20]
name="Defeat Boss"
file="All Ace Coins Collected.ogg"
The sound IDs go in order of their drop-down in the Events box.

PixelPest
Raccoon Mario
Raccoon Mario
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Contact:

Re: Change the sound effect of npc ???

Postby PixelPest » Fri Jun 30, 2017 8:36 am

Follow what Linik said.

Btw, Audio.playSFX() is a LunaLua function so it is used in .Lua files and not .ini files. Always watch that you're looking at the documentation for the correct language/file type

HunterX1X
Shy Guy
Shy Guy
Posts: 8
Joined: Wed Jun 28, 2017 5:58 pm

Re: Change the sound effect of npc ???

Postby HunterX1X » Fri Jun 30, 2017 6:49 pm

It really didnt work ....must be samething not in its place or samething .....>_<
http://imgur.com/SiBpMTH
Lvl name : game test
http://wohlsoft.ru/pgewiki/SFX_list_(SMBX64)

ElectriKong
Fry Guy
Fry Guy
Posts: 4651
Joined: Mon Jun 06, 2016 4:32 pm
Flair: I have NO idea what to put here
Pronouns: he/him
Contact:

Re: Change the sound effect of npc ???

Postby ElectriKong » Sat Jul 01, 2017 4:38 am

BTW, I use music.ini and sounds.ini in SMBX 2.0, so I don't know if it works in 1.3 (you may need 1.3.0.2 (1.3.0.1 with lunalua) at the very least).

HunterX1X
Shy Guy
Shy Guy
Posts: 8
Joined: Wed Jun 28, 2017 5:58 pm

Re: Change the sound effect of npc ???

Postby HunterX1X » Sat Jul 01, 2017 11:20 am

Oh it work now on smbx 2.0 .. i was using the smbx 1.4 .. Thank you ^^


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari