Leadership Changes: Megaphone Additions#11541
Conversation
|
if someone wants to code auto punctuation into the broadcast function, be my guest, i have touched this goddamn file enough |
|
As already said in Discord. Just handle language prefixes being in the message, and then this should be TM ready. |
Test merge deployment history:Test Merge Deployed @ 01/21/2026 23:05:47 +00:00:Server InstanceRevisionTest Merge Removed @ 01/22/2026 01:07:03 +00:00:Server InstanceCM13 Live Test Merge Deployed @ 01/23/2026 05:52:48 +00:00:Server InstanceRevisionTest Merge Updated @ 01/23/2026 08:13:17 +00:00:Server InstanceRevisionTest Merge Updated @ 01/24/2026 00:28:09 +00:00:Server InstanceCM13 Live RevisionOrigin: 8aa543a Test Merge Updated @ 01/24/2026 00:59:12 +00:00:Server InstanceCM13 Live RevisionOrigin: 210cb26 Test Merge Updated @ 01/24/2026 02:00:13 +00:00:Server InstanceCM13 Live RevisionOrigin: cd1a642 Test Merge Updated @ 01/24/2026 09:32:45 +00:00:Server InstanceCM13 Live RevisionOrigin: 9443162 Test Merge Updated @ 01/25/2026 06:08:14 +00:00:Server InstanceRevisionTest Merge Updated @ 01/25/2026 09:39:52 +00:00:Server InstanceCM13 Live RevisionOrigin: 5efc484 Test Merge Updated @ 01/25/2026 12:41:22 +00:00:Server InstanceRevisionTest Merge Updated @ 01/25/2026 14:12:51 +00:00:Server InstanceRevisionTest Merge Updated @ 01/25/2026 17:58:09 +00:00:Server InstanceRevisionTest Merge Removed @ 01/26/2026 00:16:33 +00:00:Server InstanceCM13 Live Test Merge Deployed @ 05/23/2026 04:51:36 +00:00:Server InstanceRevisionTest Merge Updated @ 05/23/2026 16:14:49 +00:00:Server InstanceRevisionTest Merge Updated @ 05/23/2026 16:25:09 +00:00:Server InstanceCM13 Live RevisionOrigin: 3d558ec Test Merge Updated @ 05/23/2026 16:54:29 +00:00:Server InstanceCM13 Live RevisionOrigin: 3d558ec Test Merge Updated @ 05/23/2026 23:57:15 +00:00:Server InstanceRevisionTest Merge Updated @ 05/24/2026 00:27:19 +00:00:Server InstanceRevisionTest Merge Updated @ 05/24/2026 02:28:27 +00:00:Server InstanceCM13 Live RevisionOrigin: b8fcfd6 Test Merge Updated @ 05/24/2026 04:29:29 +00:00:Server InstanceCM13 Live RevisionOrigin: bdde9e6 Test Merge Updated @ 05/24/2026 13:01:51 +00:00:Server InstanceCM13 Live RevisionOrigin: 1318bb3 Test Merge Updated @ 05/24/2026 13:32:38 +00:00:Server InstanceCM13 Live RevisionOrigin: ec4a93d Test Merge Removed @ 05/24/2026 15:25:21 +00:00:Server InstanceCM13 Live |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
bro come on |
|
Conflicts have been resolved. A maintainer will review the pull request shortly. |
|
Please make the command personnel and MP exempt from the hush ability. They certainly need to be able to speak loud when it comes to giving our clear orders to stop certain wrongdoings, and Commanders shouldn't be silenced at all. |
Anyone with leadership skill does not get affected by the hush, As for MPs, no, get the CMP to do it |
4f1da89

About the pull request
Part 5, awesome
Allows auto-amplification of your text through a unique action toggle, increasing your range and text size
Explain why it's good for the game
I've see a lot of officers and even SLs (fucking annoying honestly) bring the megaphone out in the field and take their time to type a message for everyone within their range to hear and see, which is honestly way worse than it really is due to the cooldown and the fact that speaking normally is just way better to begin with.
This PR buffs megaphone use by introducing another mechanic through unique action which amplifies the voice of the speaker similar to using it normally, but also increases the range for any listeners to one screens worth
That said, its possibly a tentative value, since it may be pretty strong
Additionally, megaphone broadcasts, when used by leaders, now inflicts the "hushed" status effect, which forces listener speech to a whisper for a good bit unless you are a hostile/neutral faction, possess leadership skills, or assigned as a squad leader
A bit depressing that it came to the point that people could not simply shut the fuck up that we have to mechanically enforce silence with megaphones
Also includes a lot of other fixes which I cannot be arsed to document here, refer to the changelog
closes #10083
Testing Photographs and Procedure
DISCLAIMER: Theres probably some changes in the videos versus the final product but the overall intent is there
speaking demo
https://youtu.be/cJlORIlL98w
hushed status effect demo
https://youtu.be/hnPs5JpulZw
"From afar" message

Changelog
🆑 Nihisohel, Sponge in discord for HUD sprites
add: Megaphones can now be used as an amplifier, allowing loud text by talking normally as long as it is toggled on via unique_action and only when spoken when it is on the active hand
balance: Megaphones, when amplified, increases its listener range by a screens worth, ensuring that people can hear you from farther away
add: Introduces the "hushed" status effect, which forces whisper on inflicted mobs.
add: Megaphone broadcasting (the original method of use) now inflicts hushed on non-leader humans
balance: Megaphone hushing lasts for approximately 3 seconds, which should be more than enough for the next broadcast, probably
balance: Megaphone broadcast cooldown is reduced from 2 seconds to 1.5 seconds
balance: Megaphones are no longer a universal translator
balance: Hostile and neutral factions don't really care about what you are broadcasting and would not get hushed by your speech
fix: Megaphone broadcasting now shows your rank
code: Langchat_speech now supports language scrambling
code: Megaphones now respect the color of the language when broadcasting
code: Megaphones can now auto_punctuate
code: The show_message proc now support chat_filters, undefined by default
refactor: Deprecates langchat_long_speech and folds it into langchat_speech
fix: Fixes the notification when attempting to use a megaphone while player muted, it was fetching the megaphone rather than the user for some reason
fix: Fixes being able to open multiple windows of the tgui_input_text proc, which is used by a LOT of things, including the megaphone.
/:cl: