Pagers - #267
Conversation
|
RSI Diff Bot; head commit 3fe3d0f merging into c248b21 Resources/Textures/_Funkystation/Objects/Devices/Pagers/beige.rsi
Resources/Textures/_Funkystation/Objects/Devices/Pagers/blue.rsi
Resources/Textures/_Funkystation/Objects/Devices/Pagers/gray.rsi
Resources/Textures/_Funkystation/Objects/Devices/Pagers/transcyan.rsi
Resources/Textures/_Funkystation/Objects/Devices/Pagers/transpink.rsi
Resources/Textures/_Funkystation/Objects/Devices/Pagers/transyellow.rsi
|
|
HELL YES |
pirakaplant
left a comment
There was a problem hiding this comment.
Genuinely kind of insane how you came up with a pager implementation before I finished writing my comms design doc. Anyway this is a way better implementation than what I had in mind for pagers.
I tested everything, it works. I just have one issue that I've highlighted below.
|
tried it out, when setting the ringtone, the server logs an error: i guess the ringer system was only ever designed with PDAs in mind, which are expected to always have the ringer uplink component |
|
ahhhh okay, i have lots of stuff to do tomorrow then |
|
can the detective scan these to read the history? this was a thing for nanochat |
























About the PR
This PR introduces handheld pagers, a new instant communication method.
Every player with a pager gets a 4 digit pager number assigned to them upon joining, which is also tracked in station records. You can send 8 digit codes to other pagers, provided a powered pager server is running on the grid. Pagers come in multiple colors.
The pagers can be set to three modes: loud beeps, with the same ringtone system as PDAs, a quiet vibration, or completely mute.
The pagers have been added to the PTech, and are a required loadout option.
Sprites for the pagers were made by the ever wonderful Zergologist!
Why / Balance
It's... soul..?
It's a more interesting (and authentic to our setting) method of communication rather than something like NanoChat. With our future plans for radios and headsets, it'll fill a nice niche.
Technical details
PagerSystem.cs and SharedPagerSystem.cs handle number assignment, UI states, page delivery, grid telecomms validation, and sounds
PagerComponent stores pager configuration, current mode, cooldowns, and the last received page entry
Added pager numbers to Station Records, too, and thusly to XO's publishing console.
Test plan
Spawn a pager server and two pagers.
Examine them to see their numbers.
Start relaying messages from one to the other.
Change the pager modes, ensure they change appropriately
Delete the pager server, or go to a different grid. Pager should lose signal and not be able to relay messages.
Check station records and make sure the pager you spawned with is the same number as shown in the records.
Media
Requirements
License
MIT
Breaking changes
Changes StationRecords to display a Pager number. If no pager number is made when spawning, then it should just show as N/A.
If you'd prefer to not have pagers in your fork, simply remove them from the loadouts and everything should still work fine.
Changelog
🆑 Zergologist, AraiMaia