SRB2 Message Board  

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

Reply
 
Thread Tools
Emotes (KL_emotes-v2.2.pk3) Details »»
Emotes (KL_emotes-v2.2.pk3)
Version: v2.2, by Afrorule Afrorule is offline
Developer Last Online: May 2020

Category: Version: SRB2 Kart Rating: (2 votes - 3.60 average)
Released: 03-25-2020 Last Update: Never Installs: 0
Scripts Sprites/Graphics

An alternate way to express yourself in races. (70+ emotes)

V2 - Custom animated emotes support! Check 'Customisation' for more info.

Changelog:
Spoiler:
v2.2 Emotes set automatically + fixed minor visual oversight
v2.1 - Emotes don't jitter on uncapped builds of the game anymore + emotehell command (turn hell emotes on/off)
V2 - Custom animated emotes support + animated emotes highlight with a different colour when listing emotes

V1.3 - Emotes scale with player (so emotes dont spawn higher on maps with small mobj scale) + fixed oversight with emotelist command
V1.2 - You can set emotes as a spectator + three new emotes (excuseme, dontlookatme, hooray)
v1.1 - Changed emote functionality on hell maps, added hell emotes
V1.0 - Initial release

Console commands (please read):
Spoiler:
emotehelp: A short explanation on how to use this mod in-game.
emotelist <pagenumber>: List the available emotes by page. (Limit of 10 per page)
emote1 <emote>: Bind an emote to your CUSTOM1 button.
emote2 <emote>: Bind an emote to your CUSTOM2 button.
emote3 <emote>: Bind an emote to your CUSTOM3 button.

(Instead of <emote>, you can also put 'random', which randomises the emote bound to your CUSTOM button of choice at the start of each race. For example, emote1 random, will randomise the emote for your CUSTOM1 button. Try it out!)

emotesoundon: Turn on notification sound that plays when you emote.
emotesoundoff: Turn off notification sound that plays when you emote.
(Bear in mind, this sound is only local to you, no one else can hear it.)

Admin command(s):
emotehell <On/Off>: Turn hell emotes on/off.

Instructions:
Spoiler:
1. Bind an emote to one of your CUSTOM buttons. (Example: emote1 joy, would bind the emote 'joy' to your CUSTOM1 button.)
2. Press that button.

Customisation:
Spoiler:
You can add custom emotes too!

Just make a separate wad with the emotes you want to add (remember to adjust the offsets as well). For each emote added, call this function for it:

Code:
freeslot("S_EMO_EXMP")
Emotes_AddCustomEmote({name="example", sprite="SPR_EXMP", description="Example emote", state=S_EMO_EXMP})
And for hell emotes:
Code:
freeslot("S_EMO_HLXM")
Emotes_AddCustomHellEmote({name="hell-example", sprite="SPR_HLXM", description="Example hell emote", state=S_EMO_HLXM})
Personally, I'd recommend that your states start with "S_EMO" or "S_EMOTE" to reduce chances of conflicts with any states already in the game, but, it's up to you!

The description entry is optional, but make sure there's at least a name, sprite and state entry.

ANIMATED EMOTES:

Adding animated emotes requires a bit more.

For each frame of the animated emote, use the freeslot function to add a state. For example, if I wanted to add an emote with 4 frames (so you should have 4 sprites):

For normal emotes:
Code:
freeslot("S_EXMP1", "S_EXMP2", "S_EXMP3", "S_EXMP4")
Emotes_AddCustomAnimatedEmote({name="exmple-animated", sprite="SPR_EXMP", 
statetable={S_EXMP1, S_EXMP2, S_EXMP3, S_EXMP4}, description="I am animated, wee"})
For hell emotes:
Code:
freeslot("S_EXMP1", "S_EXMP2", "S_EXMP3", "S_EXMP4")
Emotes_AddCustomAnimatedHellEmote({name="exmple-animated", sprite="SPR_EXMP", 
statetable={S_EXMP1, S_EXMP2, S_EXMP3, S_EXMP4}, description="I am animated, wee"})
Once again, the description entry is optional, but make sure there's at least a name, sprite and statetable entry. (Make sure the offset is the same for all the sprites or it'll animate inconsistently!)

Credits:
Spoiler:
Thanks to Barki for helping me record the preview you can see below.
Thanks to the wonderful folks on GINGER for testing this and giving me suggestions.
Full list of credits for emotes used found in the .pk3.

Download Now

File Type: pk3 KL_emotes-v2.2.pk3 (110.9 KB, 117 views)

Screenshots

Click image for larger version

Name:	emotes_preview_2.gif
Views:	585
Size:	6.39 MB
ID:	28696  

Show Your Support

  • This addon may not be copied, reproduced or published elsewhere without the author's permission.

Comments
Old 03-25-2020   #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 offline   Reply With Quote
Old 03-25-2020   #3
Afrorule
Default

...And here's the same-day release update!

V1.1 changelog:
* Changed emote functionality on hell maps, added hell emotes
Afrorule is offline   Reply With Quote
Old 03-26-2020   #4
Afrorule
Default

V1.2 changelog:
* You can set emotes as a spectator
* Three new emotes (excuseme, dontlookatme, hooray)
Afrorule is offline   Reply With Quote
Old 03-27-2020   #5
Afrorule
Default

omds

V1.3 CHANGELOG:
* Emotes scale with player (so emotes dont spawn higher on maps with small mobj scale) + fixed oversight with emotelist command
* Fixed oversight when listing emotes by page

Last edited by Afrorule; 03-27-2020 at 03:43 AM.
Afrorule is offline   Reply With Quote
Old 03-27-2020   #6
Afrorule
Default

hmm

V2 CHANGELOG:
* Custom animated emotes support
* Animated emotes highlight with a different colour when listing emotes
* Some hell emotes which were meant to be animated are now animated
Afrorule is offline   Reply With Quote
Old 04-05-2020   #7
Afrorule
Default

V2.1 CHANGELOG:

* Emotes don't weirdly jitter anymore on uncapped builds:

This changes how you can add custom emotes a tad, so check out the 'Customisation' section for a slight update! This doesn't affect how you add animated emotes, only static ones.

* emotehell command added, turn hell emotes on/off

Last edited by Afrorule; 04-05-2020 at 02:34 AM.
Afrorule is offline   Reply With Quote
Old 04-13-2020   #8
Afrorule
Default

V2.2 CHANGELOG:

* Emotes set from the get-go (like hornmod lol)
* Fixed visual oversight which I'm hoping no one noticed
Afrorule 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 05:39 PM.


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