Commit Graph

29 Commits

Author SHA1 Message Date
Nairod
44b166788b More Speech Verbs (#19626) 2023-08-31 20:15:31 -07:00
OctoRocket
dec6fe0fe5 [Tweak] Exclaim instead of shout (#19262) 2023-08-17 15:00:12 -07:00
Kara
7db8c781e7 Speech verbs & conditional markup modification (#18980) 2023-08-15 13:03:05 -07:00
Kara
7b51cebfea Deathgasp + last words / succumbing / fake deathgasp as crit actions (#18993) 2023-08-11 22:56:34 -07:00
Kara
10af730c4d Chat rich text tweaks (#18978) 2023-08-10 20:45:58 -05:00
Kara
3cff8a8030 Chat prettification / richtextification (#18964)
* Chat prettification / richtextification

* gluggy
2023-08-10 12:39:37 -05:00
Errant
9b10f7f557 Stealthier whispers (#17898)
* Stealth whisper take 2

* weh

* fix whisper maxrange

* make variables more distinct
2023-08-01 17:43:02 +03:00
Nemanja
8b0d6a4d45 Prevent using LOOC in crit (#18297)
* Prevent crit players from using LOOC

* fix comment
2023-07-26 00:02:48 -06:00
ssdaniel24
e898246af1 Removed duplicated line from chat sanitizer replacements (#14841)
Co-authored-by: ssdaniel24 <ssdaniel24@github.com>
2023-03-25 16:12:02 -07:00
Chief-Engineer
88fb6ccebc Add admin alerts (#13589) 2023-03-23 11:10:49 -04:00
Leon Friedrich
75a559fa55 Update radio prefix parsing (#13777) 2023-02-19 04:27:56 +11:00
Scribbles0
ac45d89776 comma (#14114) 2023-02-15 08:27:24 -06:00
Chief-Engineer
5ece9bd9e8 Modify admin chat (#13050)
* split admin chat into new channel

* add ability to play audio when a chat message is received and add audio to admin chat

* give client control of AdminChat sound and volume + suppress sound for senders
2022-12-19 21:39:01 -06:00
exincore
fb782be138 Add hud-chatbox-info reads keybinds (#12192) 2022-10-26 07:40:12 -07:00
Leon Friedrich
3aeba9a63e Fix chat sanitization and entity name escaping (#12015) 2022-10-17 23:59:09 -07:00
Jezithyr
571dd4e6d5 Hud refactor (#7202)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
Co-authored-by: Jezithyr <jmaster9999@gmail.com>
Co-authored-by: Jezithyr <Jezithyr@gmail.com>
Co-authored-by: Visne <39844191+Visne@users.noreply.github.com>
Co-authored-by: wrexbe <wrexbe@protonmail.com>
Co-authored-by: wrexbe <81056464+wrexbe@users.noreply.github.com>
2022-10-12 10:16:23 +02:00
Rane
5ad13e0637 Redirect dead player LOOC to deadchat (#10009) 2022-07-26 06:58:19 -07:00
metalgearsloth
3da454140d Add department-specific radio channels (#9061)
* Add department-specific radio channels

This commit adds working department-specific radio channels, while
minimizing damage to the current codebase. It is expected that a future
refactor will clean this up a bit.

ChatSystem now has a RadioPrefix() method that recognizes
department-specific channels (e.g. ":e" and ":m") in addition to the
global channel (";"). It strips the prefix from the message and assigns
messages an integer representing the destination channel, if any.

IListen and IRadio now accept optional 'channel' arguments with this
channel in mind.

The ugly is that the integer channel number is hard-coded and also shows
up in chat.

Comms are not modeled at this time. You cannot break comms (yet).

All headsets have channels soldered into them. You cannot change
encryption keys to hop on new channels. Steal a headset instead.

* Remove debugging print

* Convert to prototypes

* Use prototype names in headset prototype

* Adjust list style

* Document prototype fields

* cringe

* some cleanup

* colours

* Remove alphas at least

* cc

Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
2022-06-23 20:11:03 +10:00
Rane
955e7af2ad Fix capitalization of emotes (#7766) 2022-04-24 17:15:40 -07:00
keronshb
a09f45eec7 Prevents suicide if someone is already dead (#7677)
* Prevents suicide if someone is already dead

* Adds the Localization text for trying to suicide when dead
2022-04-21 22:37:49 -07:00
Michael Phillips
86812c1ad7 Added Whisper system for talking with players 2 tiles away. (#5994)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-01-12 01:48:18 +11:00
Morbo
62221d7b92 Add LOOC and change OOC color (#5841) 2022-01-12 00:29:55 +11:00
ZeroDayDaemon
de0c94414a Add more chat filters (#6034) 2022-01-05 18:51:48 -07:00
router
e4cd2944cf o7 -> @salutes (#6026) 2022-01-05 00:05:21 +11:00
Moony
4cd09c23f5 Removes smilies from existence. (kinda) (#5649) 2021-12-03 01:49:19 +01:00
Kara Dinyes
3e7b0fe7a2 Fix patron OOC message wrap 2021-07-26 17:38:27 -07:00
Pieter-Jan Briers
b96d760043 Chat improvements. (#4283)
* UI is an abbreviation, in XAML.

* Chat improvements.

Changing the "selected" channel on the chat box is now only done via the tab cycle or clicking the button.

Prefix chars like [ will temporarily replace the active chat channel. This is based 100% on message box contents so there's no input eating garbage or anything.

Pressing specific channel focusing keys inserts the correct prefix character, potentially replacing an existing one. Existing chat contents are left in place just fine and selected so you can easily delete them (but are not forced to).

Channel focusing keys now match the QWERTY key codes.

Deadchat works now.

Console can no longer be selected as a chat channel, but you can still use it with the / prefix.

Refactored the connection between chat manager and chat box so that it's event based, reducing tons of spaghetti everywhere.

Main chat box control uses XAML now.

General cleanup.

Added focus hotkeys for deadchat/console. Also added prefix for deadchat.

Local chat is mapped to deadchat when a ghost.

Probably more stuff I can't think of right now.

* Add preferred channel system to chat box to automatically select local.

I can't actually test this works because the non-lobby chat box code is complete disastrous spaghetti and i need to refactor it.

* Move chatbox resizing and all that to a subclass.

Refine preferred channel & deadchat mapping code further.

* Don't do prefixes for channels you don't have access to.

* Change format on channel select popup.

* Clean up code with console handling somewhat.
2021-07-20 10:29:09 +02:00
Swept
0a42b0b59f Changes the chatbox to be more consistent with SS14's UI (#4137) 2021-07-09 07:10:57 +00:00
Galactic Chimp
392b820796 Removed old Loc.GetString() use instances (#4155)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2021-06-21 02:13:54 +02:00