SRB2 Message Board  

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

Reply
 
Thread Tools
HORNMOD: a script that makes noise Details »»
HORNMOD: a script that makes noise
Version: 4 or something?, by TyroneSama (now "Tyron") TyroneSama is offline
Developer Last Online: Aug 2020

Category: Version: SRB2 Kart Rating: (23 votes - 4.96 average)
Released: 03-08-2019 Last Update: 08-23-2019 Favourites: 7
Scripts Re-Useable Content

Press the Item button with no item to honk.



Features:
  • 99+ incredibly abrasive noises
  • i've gay

NEW IN VERSION 4: https://youtu.be/oomyjEbpI9s (New horn indicator, Hitfeed support)
NEW IN VERSION 3: Hotfixes a handful of missing extags that I could have sworn were there, and """fixes""" one missing horn .ogg.
NEW IN VERSION 2: Fixed behavior when other scripts added horns, changed antispam to punish obvious idiots faster (will be slightly stricter by default), added horn preview to selection, and added a few new commands (see below). Oh, and added over 100 new horns. You're welcome.

Spoiler: Instructions

play a race lol

Spoiler: Customization

You're probably better off reading the script yourself, but here's a quick overview for hosts.

Spam-related:
hornobnoxious: Controls spam protection behavior. When On, spamming players are warned to shut up, then explode and respawn. When Off, instead of exploding, the player's horn is muted for all other players until they back off.
hornwarning: Threshold at which a spamming player gets the yellow warning message.
horndanger: Threshold at which a spamming player gets the red danger message.
hornlethal: Threshold at which a spamming player is killed, or silenced if hornobnoxious is off.
hornwarningreset: Time required with no horns for spam protection to reset.
hornexplosions: Controls the explosion effect. This is mostly for people who have trouble telling mines and spamming 14-year-olds apart.
hornmaxexplosions: Closes a player's game if they explode this many times in one race. Go somewhere else.
V2 hornfinaldeath: Controls whether players are kicked when reaching the spam limit. I didn't test this.
V2 hornduelmode: Controls whether to disable horn limits if only two players are racing. Taunt to your heart's content, it's just you and them.

Tweaks:
hornvisual: Controls the yellow flash when horns are triggered.
horntypeoverride: Makes all horns the same type, regardless of what a player's selected. This is a meme option and probably makes the horn selection UX kind of confusing.
horntypechaos: Makes all horns random each time they're triggered. Same disclaimer as above.
hornshowhelptext: Controls end-of-race command help. If you're using either horntypeoverride or horntypechaos as a permanent option instead of a one-off meme, you might want to set this to mitigate people getting confused about why horn changes don't work. (Players familiar with HORNMOD will still complain. WONTFIX)
hornattenuate: Post-race horns from players that didn't win are moved by this amount—this is a terrible horrible no good very bad volume hack because the native way of playing sounds at given volumes doesn't work unless the origin is yourself. I love video games.
V2 hornshowtutorial: Controls whether the "Press ITEM to honk!" text appears for players who haven't tried it yet. Provided for compatibility with other UI-altering mods.
V2 hornhell: Controls whether all players will be assigned a HELL HORN upon entering a Map Hell course.
V2 hornhellchance: Controls how often players with no horn set will be assigned a HELL HORN—value is chance out of 1000.

Weird Admin Nonsense:
horndebug: Floods console with debug print and displays spam-prevention variables on the game screen. Reminder: this is a netvar.
horntattle: Spies on horn-related events, like horn changes and antispam detonations, in a way that's a little less extreme than horndebug. Only prints for admins.

Expert Mode (for veteran HORNMOD players):
V2 hornadjust: Takes one number. Changes your selected horn and plays a preview; for example, hornadjust 1 will move you 1 forward, while hornadjust -5 will move you 5 back. Intended for use with custom binds in kartexec.cfg, so you can scroll through horns without using a text interface.

Spoiler: Expansions

Scripts loaded after HORNMOD can call "HORNMOD_AddHorns" to bolt their own awful meme sounds onto the existing list. HORNMOD will handle allocating these, just make sure the files are actually present.
Code:
HORNMOD_AddHorns({name = "sfx_foo", info = "Horn Example"}, {name = "sfx_ivegay", "info = "i've gay", extags = "this is used for searches but not displayed"})
V2 You can add HELL HORNs too:
Code:
HORNMOD_AddHellHorns({name = "sfx_bar", info = "GENUINELY TERRIBLE NOISE"})

Download Now

File Type: pk3 KL_HORNMOD_V4-SNUUUUUUUU.pk3 (3.93 MB, 103 views)

Screenshots

Click image for larger version

Name:	2019-03-08_07-31-40_srb2kart.png
Views:	606
Size:	47.7 KB
ID:	17392   Click image for larger version

Name:	2019-03-08_07-38-32_Discord.png
Views:	641
Size:	15.4 KB
ID:	17394   Click image for larger version

Name:	input.gif
Views:	580
Size:	3.16 MB
ID:	17395  

Show Your Support

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

Comments
Old 03-08-2019   #2
wolfs
Watch Symphogear
Developer
 
wolfs's Avatar
Default

I feel like I've given this enough testing (at the expense of my sanity) to comfortably put this through. I guess over a month of public beta testing paid off after all!

At last, now you too can experience the joy of soundspam rivaling TF2 admin abuse circa-2012!
__________________
Quote:
[23:56:36] <SM-MaxX> prisma illya is a gift to this impure earth and a shining beacon for all anime
wolfs is offline   Reply With Quote
Old 03-08-2019   #3
Namolos
Constructive Asshole
 
Namolos's Avatar
Default

Thanks, I hate it.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20190308_165044.png
Views:	8524
Size:	17.3 KB
ID:	17403  
Namolos is offline   Reply With Quote
Old 07-02-2019   #4
TyroneSama
now "Tyron"
Default

HORNMOD 2 released. Changelog/updated documentation will be added when I'm finished moving cross-country. GLHF
TyroneSama is offline   Reply With Quote
Old 07-03-2019   #5
Red The Pyrohog
SMB1 Mario for SRB2
 
Red The Pyrohog's Avatar
Default

N o i c e
__________________
Check out my deviantART if you're interested in that.https://www.deviantart.com/smoke-the-pyroling
Red The Pyrohog is offline   Reply With Quote
Old 07-15-2019   #6
TyroneSama
now "Tyron"
Default

Version 3 now available, contains a few minor polish fixes.
TyroneSama is offline   Reply With Quote
Old 08-23-2019   #7
TyroneSama
now "Tyron"
Default

Version 4 now available.

TyroneSama is offline   Reply With Quote
Old 08-23-2019   #8
SCOTT0852
 
SCOTT0852's Avatar
Default

For people who don't want to watch videos, v4 adds:
new horn indicator
hitfeed support
SCOTT0852 is offline   Reply With Quote
Old 06-02-2020   #9
RambunctiousReptile
 
RambunctiousReptile's Avatar
Default

I made this account for the one and only purpose if expressing my gratitude for the joy (and probably some anger) that you've brought to this world through this mod.


So uh, thanks. I guess.
RambunctiousReptile is offline   Reply With Quote
Old 06-03-2020   #10
TyroneSama
now "Tyron"
Default

Quote:
Originally Posted by RambunctiousReptile View Post
I made this account for the one and only purpose if expressing my gratitude for the joy (and probably some anger) that you've brought to this world through this mod.


So uh, thanks. I guess.
10characters
TyroneSama is offline   Reply With Quote
Old 5 Days Ago   #11
TyroneSama
now "Tyron"
Default

Updated to support Hitfeed v2. Yes, I know this is 10 years overdue.

If you don't use the antispam features on your server, or you don't use Hitfeed, you can skip this one.
TyroneSama 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 06:48 PM.


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