Raised This Month: $51 Target: $400
 12% 

[TF2] Chat Bubbles


Post New Thread Reply   
 
Thread Tools Display Modes
Author
reBane
Senior Member
Join Date: May 2020
Plugin ID:
7756
Plugin Version:
23w45a
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Play overhead chat bubbles
Old 08-12-2021 , 15:41   [TF2] Chat Bubbles
Reply With Quote #1

ChatBubbles

Say and TeamSay will trigger cursor annoations above player heads.



The plugins is customizable with client cookies (!settings) that can hide the annotations from players or complete disable the feature for player that don't want to see chat bubbles.

With the convar sm_chatbubble_enabled you can enable chat bubbles for say and teamsay (1) for only teamsay (2) or disable it temporarily (0).

The convar sm_chatbubble_distance defines the maximum distance in hammer units between players that still triggers chat bubbles.

If you don't want chat bubbles to be shown by default I recommend you set sm_chatbubble_default to hidden / send only (2); default (1) is enabled but can also be completely disabled (0).
I recommend not setting this to 0, as it will stop the player from triggering chat bubbles for other players.

Requirements
  • tf2hudmsg (on server, for managed CursorAnnotations)

SupportsChat Processors are fully optional; only install one chat processor if any!

Source and Latest Release are available on GitHub

Changelog
Attached Files
File Type: sp Get Plugin or Get Source (chatbubbles.sp - 32 views - 19.7 KB)
File Type: smx chatbubbles.smx (13.1 KB, 54 views)
__________________
Plugins & LibrariesListingGitHubDosMikeTools ▶ ToDo

Last edited by reBane; 11-10-2023 at 13:33. Reason: Update to 23w45a
reBane is offline
reBane
Senior Member
Join Date: May 2020
Old 08-17-2021 , 09:30   Re: [TF2] Chat Bubbles
Reply With Quote #2

Update 21w33a
  • Prevent chat messages from being interpreted as localization keys - requires tf2hudmsg 21w33a or later
reBane is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 08-18-2021 , 02:12   Re: [TF2] Chat Bubbles
Reply With Quote #3

Also, reBane, you're doing work that has needed to be done for years with that annotation library you released. Just wish I was still actively playing TF2, running servers for it, or even doing any sourcemod plugin work because I've got plenty of ideas for uses for the annotation library.

Last edited by DarkDeviL; 08-29-2021 at 10:46. Reason: Removed reference to junk above/below
404UserNotFound is offline
reBane
Senior Member
Join Date: May 2020
Old 08-18-2021 , 10:08   Re: [TF2] Chat Bubbles
Reply With Quote #4

Update 21w33b
  • Reworked the !settings menu to be more clear
  • Added `sm_chatbubble_default 1` : 0 = completely disabled, 1 = enabled, 2 = hidden / send only
    I recommend not setting this to 0, as it will stop the player from triggering chat bubbles for other players.
reBane is offline
reBane
Senior Member
Join Date: May 2020
Old 09-05-2021 , 14:53   Re: [TF2] Chat Bubbles
Reply With Quote #5

Update 21w35a
  • Fixed !settings loading the state incorrectly, bugging it into being disabled on connect
reBane is offline
reBane
Senior Member
Join Date: May 2020
Old 09-22-2021 , 14:01   Re: [TF2] Chat Bubbles
Reply With Quote #6

21w38a
Rewrote the cookie handling because negations were wrong, incorrectly settings the plugin to disabled with default setting.
New cookie = new settings! Your players will have to redo their display preference in /settings
Please just init the client settings correctly now :<
__________________
Plugins & LibrariesListingGitHubDosMikeTools ▶ ToDo

Last edited by reBane; 01-29-2022 at 05:29.
reBane is offline
reBane
Senior Member
Join Date: May 2020
Old 01-29-2022 , 05:28   Re: [TF2] Chat Bubbles
Reply With Quote #7

22w04a
  • Added word wrap and word break (w50) to prevent overly wide chat bubbles
  • Added support for chat processors. (This breaks a minor team check for disguised spies)
__________________
Plugins & LibrariesListingGitHubDosMikeTools ▶ ToDo
reBane is offline
q1085909155
Member
Join Date: Oct 2021
Old 04-06-2023 , 13:42   Re: [TF2] Chat Bubbles
Reply With Quote #8

Can you set up a command to control whether players want to see each other's ChatBubbles? Because some people don't know how to use it! settings

This only needs to be done once and will not be modified to the player's cookie. Of course, you have a choice

Last edited by q1085909155; 04-06-2023 at 13:44. Reason: Add details
q1085909155 is offline
reBane
Senior Member
Join Date: May 2020
Old 04-07-2023 , 04:29   Re: [TF2] Chat Bubbles
Reply With Quote #9

I dont see the benefit of having a new command over just unsing !settings. you have to make your players aware of a command anyways, so why not just tell them about !settings?
__________________
Plugins & LibrariesListingGitHubDosMikeTools ▶ ToDo
reBane is offline
q1085909155
Member
Join Date: Oct 2021
Old 04-07-2023 , 04:32   Re: [TF2] Chat Bubbles
Reply With Quote #10

Quote:
Originally Posted by reBane View Post
I dont see the benefit of having a new command over just unsing !settings. you have to make your players aware of a command anyways, so why not just tell them about !settings?
That's for sure, but there are always some fools who don't understand! settings, because settings also have Settings for other plug-ins.
q1085909155 is offline
Reply



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 On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode