extrasounds.lua (v0.3.5): Spruce up your sounds!

Share and discuss custom LunaLua code and content packs for SMBX2.
SpencerlyEverly
Bit
Bit
Posts: 72
Joined: Tue Jul 22, 2014 5:23 pm
Pronouns: they/them
Contact:

extrasounds.lua (v0.3.5): Spruce up your sounds!

Postby SpencerlyEverly » Mon Jun 20, 2022 7:46 pm

extrasounds: Add additional sounds to your episode!

This can be replaceable for any episode. Simply add the file/folder into your episode, require it, and you're good to go! Make sure you aren't replacing any files before copying though.

This also adds in some normalized SMBX sounds ripped by Dooki51, over at MFGG, and rips by me as well.

Download it here (v0.3.5).

Download older versions here.

Enjoy!

(Coded by me!)

Last edited by SpencerlyEverly on Wed Feb 15, 2023 1:18 pm, edited 7 times in total.

Registered sand eater
Swooper
Swooper
Posts: 55
Joined: Fri Jan 28, 2022 4:14 pm
Pronouns: he/him

Re: extrasounds.lua (v0.1): Spruce up your sounds!

Postby Registered sand eater » Wed Jun 22, 2022 10:19 am

Damn, this is so cool!

SpencerlyEverly
Bit
Bit
Posts: 72
Joined: Tue Jul 22, 2014 5:23 pm
Pronouns: they/them
Contact:

Re: extrasounds.lua (v0.2): Spruce up your sounds!

Postby SpencerlyEverly » Fri Jun 24, 2022 11:21 pm

v0.2 has now been released! It should now fix brick breaking for Link entirely (SMW blocks apparently aren't still being counted...?), as well as fix some boss hitting sounds and even fix the Yoshi fire spitting sound. Download it now!

SpencerlyEverly
Bit
Bit
Posts: 72
Joined: Tue Jul 22, 2014 5:23 pm
Pronouns: they/them
Contact:

Re: extrasounds.lua (v0.2.1): Spruce up your sounds!

Postby SpencerlyEverly » Sun Jun 26, 2022 12:02 am

v0.2.1 released! Here's what changed/was added:

- Fixed SMW bricks when spinjumping! This time, I got it fixed.
- Now you can customize extrasounds to your liking! Check the Lua file for all the options to customize.
- Boomerang Bros. Boomerang now plays a boomerang sound!
- And other misc. stuff if any

Download now!

SpencerlyEverly
Bit
Bit
Posts: 72
Joined: Tue Jul 22, 2014 5:23 pm
Pronouns: they/them
Contact:

Re: extrasounds.lua (v0.2.2): Spruce up your sounds!

Postby SpencerlyEverly » Sun Jun 26, 2022 12:08 pm

v0.2.2 released! The new release should add brick breaking to Ice Blocks and Unstable Turn Blocks.

Download now!

Mal8rk
Snifit
Snifit
Posts: 200
Joined: Mon Oct 25, 2021 11:04 pm
Flair: English Speaking Spanish Speaker
Pronouns: He/Him
Contact:

Re: extrasounds.lua (v0.2.2): Spruce up your sounds!

Postby Mal8rk » Sun Jun 26, 2022 1:37 pm

Thanks for making this cool script! This will really help to add personality to my episode!

Although one thing to mention is that some sounds have a very low volume, like the Blaarg sound for example
Last edited by Mal8rk on Sun Jun 26, 2022 8:17 pm, edited 1 time in total.

SpencerlyEverly
Bit
Bit
Posts: 72
Joined: Tue Jul 22, 2014 5:23 pm
Pronouns: they/them
Contact:

Re: extrasounds.lua (v0.2.3): Spruce up your sounds!

Postby SpencerlyEverly » Sun Jun 26, 2022 7:31 pm

v0.2.3 released! Sorry for all the releases today, I had someone help me out on scavenging for any sounds I needed to reimplement. Anyways, here are the highlights:

- Bowser fireballs can now be customized to either roll back to the npc-fireball sound, or use the custom sound
- The SMW Power star sound should now play when collecting

Hopefully this'll be the last v0.2 revision for a while, unless something else comes up. v0.3 will start reimplementing other sounds such as the jump sound, so at least now we get a glimpse on what to expect next. For now, the code for the jumping is unfinished in the extrasounds library, until it gets eventually finished.

Download now!

SpencerlyEverly
Bit
Bit
Posts: 72
Joined: Tue Jul 22, 2014 5:23 pm
Pronouns: they/them
Contact:

Re: extrasounds.lua (v0.3.0): Spruce up your sounds!

Postby SpencerlyEverly » Fri Aug 26, 2022 4:38 pm

v0.3.0 released!

- Every sound is now in a table, which should sort things way better than last time.
- More settings were added
- The following sounds were added/reimplemented:
Spoiler: show
- Jumping
- Double jumping
- Fireball hitting (Disabled by default)
- Ice block freezing/breaking (For freezing please use the additional NPC lua file for the ice block)
- Sliding
- Tail swiping
- Spinjumping
- Grabbing shells (1P only)
- Stopwatch now uses the timer sound effects
- Delay settings for P-Wing and player sliding added

Two things that'll be fixed later:

- Boom Boom sounds will play twice or just once. This will be fixed later on in another update.
- Boot jumping only works half of the time, when only on the ground.

Please edit the following for v0.3.0 compatibility:

extrasounds.id > extrasounds.sound.sfx
playSound > extrasounds.playSFX

Download now!

Jolty23
Goomba
Goomba
Posts: 1
Joined: Wed Apr 29, 2020 12:33 pm
Pronouns: He/Him

Re: extrasounds.lua (v0.3.0): Spruce up your sounds!

Postby Jolty23 » Sun Feb 05, 2023 9:33 am

Is possible to use this script in the entire game?
Last edited by Jolty23 on Sun Feb 05, 2023 11:16 am, edited 1 time in total.

SpencerlyEverly
Bit
Bit
Posts: 72
Joined: Tue Jul 22, 2014 5:23 pm
Pronouns: they/them
Contact:

Re: extrasounds.lua (v0.3.5): Spruce up your sounds!

Postby SpencerlyEverly » Wed Feb 15, 2023 1:20 pm

v0.3.5 released! This took a while, but it was worth the wait. Here's the changelog:

----

--ADDITIONS--

- Add a couple of new sounds to the library (159-169):
Spoiler: show
- ground-pound
- ground-pound-hit
- zelda-fireball
- zelda-iceball
- pballoon
- peach-cry
- timeout
- flyinghammer-throw
- fireball2
- fireball3
- fireball-hit-hammershield
- Added sound for Venus Fire Trap when shooting fireballs out of it's mouth (fireball2)
- Added new fireball/iceball sounds for Link, inspired by TheXTech's additions
- Added timeout P-Switch sound (Plays when the timer sound is about to go faster)
- Added 0up sound support if you're planning on removing lives for your episode but you still got 1UPs on your levels
Spoiler: show
- SaveData.enableLives is used to trigger whenever to use the 0up sound or not. This is also SMAS++ specific, but you can change this variable to not conflict anything if outside of SMAS++ and need to rename it to something else (Advanced users only!)
- Added a sound that plays when a fireball hits a hammer suit shield when ducked (As requested by DarSonic55)
- Add combo sounds
- WIP, but legacy SMBX event support was made (For sounds below 91 that were muted for extrasounds) but was commented out due to issues. This will be reintroduced in the future, but idk when yet.

--FIXES--

- Fixed level win jump/run sound issues. All jump/run-related stuff now detect if certain things are checked before actually playing the sound (Such as if the win state is 0)
- Fixed jumping support for the "ahippinandahoppin" cheat
- Fixed duplicate boss hit sounds playing
- Fix SMW explosion sound from repeating (Thanks MegaDood!)
- P-Switch timer is now automatically detected if longer or shorter (If the timer memory address was changed), but do NOT go shorter than 151 ticks on the timer. I think I'll fix this later, but not sure when.
- When disabling/enabling extrasounds on Lua (Using extrasounds.active), sounds now only enable/disable on the frame it gets executed rather than applying changes every tick, preventing any other conflicts from happening
- Fix megashroom sprout block hit if using the original X2 version instead outside of SMAS++

----

Please note that, if any other issues arise, then please report it here or on the SMAS++ GitHub issue page ( https://github.com/SpencerEverly/smasplusplus/issues ). That being said, download now!

mariobrigade2018
Spike
Spike
Posts: 260
Joined: Wed May 24, 2023 7:00 pm
Flair: Normie in coding who dreams of making a Mario game
Pronouns: he/him

Re: extrasounds.lua (v0.3.5): Spruce up your sounds!

Postby mariobrigade2018 » Sun Oct 29, 2023 5:55 pm

Do I need the npc-263 file?


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari