SRB2 Message Board  

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

Reply
 
Thread Tools
Bump Taunt - Additional satisfaction for ruining other racers Details »»
Bump Taunt - Additional satisfaction for ruining other racers
Version: v1.2, by Namolos (Constructive Asshole) Namolos is offline
Developer Last Online: Mar 2019

Category: Version: SRB2 Kart Rating: (1 votes - 3.00 average)
Released: 02-22-2019 Last Update: Never Installs: 0
Scripts Re-Useable Content

For those of you that enjoy bullying others (in Kart at least! Don't bully people in real life! That's no good!), I give you this small thing.

With this script, your character will be more of an a****le about any misfortune you cause. Whenever you bump another racer into a death pit, spinout hazard (including other racers' bananas, etc), or squish hazard, your character will taunt with either a custom taunt sound or your HitEm sound.

Per suggestion/request, support for custom taunts has been added! Adding a custom taunt will cause your character to play said custom taunt sound when the right conditions are met, as opposed to just using the HitEm sound. An example PK3 has been added for download that gives the main 5 characters custom bump taunts. Instructions on how to add a custom taunt for a character are below.

FOR PLAYERS/END USERS: LOAD THIS MOD FIRST FOR CUSTOM TAUNTS
While it shouldn't cause any game breaking problems, if you load any files containing custom taunt scripting before this mod itself, you'll not only get script errors but the taunts will not be added. If any characters custom taunts "aren't working" then make sure you are loading things in the correct order.

DISCLAIMER: DON'T ADD SUPPORT JUST BECAUSE YOU CAN
While you can easily support this for your character by just adding the sound and Lua to your character, doing so will make them unplayable in record attack! If you wish to support this, I instead suggest you either make a separate WAD/PK3 that only includes the sound and Lua needed, or make an alternate version of your character that includes the needed sound and Lua.

Spoiler: Documentation
To add a custom taunt, you only need 1 little line (minimum) of Lua and the sound itself.

Code:
AH_addCustomTaunt("sonic", "sfx_tntsnc")
You can also add multiple sounds at once in the same file, which can be useful for character packs.

Code:
AH_addCustomTaunt("sonic", "sfx_tntsnc")
AH_addCustomTaunt("tails", "sfx_tnttls")
AH_addCustomTaunt("knuckles", "sfx_tntkte")
AH_addCustomTaunt("eggman", "sfx_tntegg")
AH_addCustomTaunt("metalsonic", "sfx_tntmtl")
For WADs: Add your sound effect and Lua file to your wad in a wad editor (such as SLADE).

Your sound effect must be prefixed as DS<NAME>, where <NAME> is any 1-6 character name. The name itself should match the sound effect you're allocating in the script (Ex: DSTNTSNC = "sfx_tntsnc"). Most of you wad makers are likely already aware of how these work.

Your Lua file must be prefixed as LUA_NAME, where NAME is any 1-4 character name.


For PK3s: Add your sound effect under the Sounds/ directory, and your Lua file under the Lua/ directory using a supported editor.

Like with WADs, your sound effect must be prefixed as DS<NAME>, where <NAME> is any 1-6 character name and should match the sound you're allocating.

For PK3s, Lua files can be named however you like, as long as it's under the Lua/ directory. I suggest using
some form of kl_<filename>.lua relating to the character you're adding taunts to for both housekeeping and
limiting the chance of conflict.


If you've done all of this correctly, loading your wad/pk3 (AFTER LOADING THIS MOD!) will grant said character a unique bump taunt!

Now, head for the race track and taunt your victims!

Spoiler: Credits
Sounds for Sonic, Tails, Knuckles, and Eggman are all from Sonic Adventure 2: Battle (ripped by Chaofanatic)
Sound for Metal Sonic is from Sonic Rivals (ripped by auroraknux)

All sounds were obtained from https://www.sounds-resource.com and were minorly edited in Audacity, as well as converted to OGG

Sonic: https://www.sounds-resource.com/game...2b/sound/1781/
Tails: https://www.sounds-resource.com/game...2b/sound/1783/
Knuckles: https://www.sounds-resource.com/game...2b/sound/1766/
Eggman: https://www.sounds-resource.com/game...2b/sound/1767/
Metal Sonic: https://www.sounds-resource.com/psp/...s/sound/14757/
Spoiler: Changelog
v1:
Initial Release

v1.1:
Added support for custom taunts

v1.2:
Simplified custom taunt support (the old method still works just in case)
Shortened time window in which a taunt may trigger
Fixed bug that caused you to taunt players you bumped when they were already spunout (no more rubbing salt in the wound)
Fixed sound overlap when bumping players into your own traps
Spoiler: Known Issues
Flattening players by your own hand causes you to taunt. While technically a bug, I find it amusing enough that I don't see any reason to fix it.

Download Now

File Type: pk3 kl_ah_v1.2.pk3 (22.5 KB, 74 views)
File Type: pk3 kl_bct_v2.pk3 (46.4 KB, 87 views)

Show Your Support

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

Comments
Old 02-22-2019   #2
D00D64
Worst Ranked 'Kart Player
Moderator
 
D00D64's Avatar
Default

Welcome to releases!
__________________
The least skilled player on the Kart Krew dev team, but I try my best. Maybe someday...

My awful Twitter account

My also awful YouTube channel
D00D64 is online now   Reply With Quote
Old 02-22-2019   #3
MK.exe
The one and only!
 
MK.exe's Avatar
Default

Possible support for custom Voice lines?
__________________
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 02-23-2019   #4
Namolos
Constructive Asshole
 
Namolos's Avatar
Default

Update! Support for custom taunts has been added!
Namolos is offline   Reply With Quote
Old 03-12-2019   #5
Namolos
Constructive Asshole
 
Namolos's Avatar
Default

Update! Custom taunt support has been simplified, and a few other tweaks and bugfixes have been made. Full changelog in the top post.
Namolos 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 01:51 AM.


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