SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Kart Releases & Mods > Miscellaneous

Reply
 
Thread Tools
Final Lap Music! (KL_FinalLapMusic_V2.1.pk3) Details »»
Final Lap Music! (KL_FinalLapMusic_V2.1.pk3)
Version: 2.1, by Edgy the Hedgy (Known as Zeverous) Edgy the Hedgy is offline
Developer Last Online: Feb 2019

Category: Version: SRB2 Kart Rating: (2 votes - 3.60 average)
Released: 12-27-2018 Last Update: 02-03-2019 Installs: 1
Scripts Re-Useable Content

What originally started out as just pitch shifted, sped up music tracks, Snu and I present:

Final Lap Music!

We've collaborated to bring a feature that I wish was in the base game to begin with, but due to the SDL Mixer it isn't possible, so now music has faster variations on the final lap of a race, akin to Mario Kart. Every race track in SRB2Kart has been accounted for, and all the songs have been compressed to a manageable size with new looppoints fitting for a last lap.

Example: https://youtu.be/fwd7vric7z4

Also included:

Custom map support! It's really easy to support your maps for this as it's been made to be really accessible, there's a documentation below for more information on how to setup your maps for it.

Spoiler: Known Issue(s)
- Using debug commands to change the lap count could potentially break the check for the script since its map header based, but since it's debug related we're not responsible for whatever they may cause.

Thanks to Snu for optimizing and relooping/compressing nearly all the songs in the WAD, alongside handling custom map support and writing the documentation for it.

Spoiler: KL_FinalLapMusic_v2.wad Documentation by Snu
Lua Functions:

FLM_MapExists(int map) - Checks if the map specified already exists within the table containing all the supported maps.
FLM_AddMusic(int map) - Adds the specified extended map number to the table containing all the supported maps.

Custom Map Support:

Supporting your map for this WAD has been made really accessible and easy to understand! KL_FinalLapMusic_v2.wad uses different music lumps as the alternate tracks due to the SDL Mixer not supporting speed modification for music, so the first step is creating your alternate music track.

All the edits in this WAD was done in Audacity, so that's what I would personally recommend, but you can use whatever you prefer. The main changes done to every song was a 10% speed increase and a 5% pitch increase, so if you want to keep it consistent with my edits you can do the same. Of course, since it's a separate music lump you could even have entirely different music play in the final lap, it's all up to you!

Now that you have your music lump, the next and final step is adding your map to the table of supported maps. As of v2, all you have to do to add your map is add this to your Level Header:
Code:
LUA.FLMusic = [music lump name]
Once that's in your Level Header, the Framework will do everything else and add your music when the map is loaded!

Once that's done, you've got yourself a supported map! Save your changes and enjoy the tension of the final lap! If there's any questions I'm pretty much always available on Discord or here on the MB, give me a bell and I'll respond ASAP! - Snu



Spoiler: Version 2.0 changelog
- The method for adding custom map support has been completely changed! Check the Documentation in the OP for more details!
- Support for the different maps in the v1.0.2 rotation has been added.
- The file is now a PK3, it doesn't save much due to PK3's not affecting music as much, but the smaller the better.



Spoiler: Version 2.1 changelog
- Added Compatibility with kl_spbmusic by TehRealSalt; the final lap music will no longer overwrite the SPB music when you go onto the final lap while you have an SPB chasing you.
- If defined with a MUSICDEF, the music credits for a song will now show when the final lap music starts on the final lap.

Download Now

File Type: zip KL_FinalLapMusic_V2.1.zip (34.47 MB, 124 views)

Supporters / CoAuthors

Show Your Support

  • The author of this addon has given explicit permission for its content to be re-used and/or reproduced.

Comments
Old 12-27-2018   #2
D00D64
Worst Ranked 'Kart Player
Moderator
 
D00D64's Avatar
Default

Alright, I haven't tested every track, but I feel I tested enough to give this one the go-ahead. With it taking up far less space than before, I think this is release worthy now!
__________________
Quote:
<Nekoishi> HOW DO YOU JUST NOT NOTICE GIGANTIC BREASTS
<RedEnchilada> I remained ignorant to a set of titanic breasts for 17 years!
D00D64 is offline   Reply With Quote
Old 12-27-2018   #3
MK.exe
The one and only!
 
MK.exe's Avatar
Default

34mb for fast music. Very cool
__________________
Considered Milestones:
Hit a 180 Rail shot
1st person to have a map in releases with Slopes
MK.exe is offline   Reply With Quote
Old 12-28-2018   #4
Edgy the Hedgy
Known as Zeverous
 
Edgy the Hedgy's Avatar
Default

Updated the wad to V1.1, changes include:
- Fixed FLM_AddMusic printing it added the final lap music even if it was already added
- Amplified Kodachrome Void's music a little more due to it being an XM Module
Edgy the Hedgy is offline   Reply With Quote
Old 12-30-2018   #5
Edgy the Hedgy
Known as Zeverous
 
Edgy the Hedgy's Avatar
Default

Updated the wad to V1.2, changes include:
- You can now add LUA.FLMusic to your map header to set what music lump is loaded on the final lap! This is setup the same way as the Music parameter and is useful if you've got multiple tracks that share the same song.
- The main WAD is now Wadzipped, it's not much but it should hopefully make it a tiny bit smaller until pk3 support is released for Kart.
Edgy the Hedgy is offline   Reply With Quote
Old 2 Weeks Ago   #6
Edgy the Hedgy
Known as Zeverous
 
Edgy the Hedgy's Avatar
Default

Updated the wad to version 2, changes include:
- The method for adding custom map support has been completely changed! Check the Documentation in the OP for more details!
- Support for the different maps in the v1.0.2 rotation has been added.
- The file is now a PK3, it doesn't save much due to PK3's not affecting music as much, but the smaller the better.
Edgy the Hedgy is offline   Reply With Quote
Old 1 Week Ago   #7
Edgy the Hedgy
Known as Zeverous
 
Edgy the Hedgy's Avatar
Default

Updated the file to V2.1:
- Added compatibility with kl_spbmusic by TehRealSalt; the final lap music will no longer overwrite the SPB music when you go onto the final lap while you have an SPB chasing you.
- If defined with a MUSICDEF, the music credits for a song will now show when the final lap music starts on the final lap.
Edgy the Hedgy is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:27 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.