-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Radio jammer update! #25912
Radio jammer update! #25912
Conversation
… ftl file as it was in the incorrect location.
RSI Diff Bot; head commit 84cf50f merging into 5b0c3ec Resources/Textures/Objects/Devices/jammer.rsi
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The radio jammer absolutely could use a resprite, but I'm not a very big fan of this.
The dish looks very out-of-place on the radio jammer. I'm not 100% confident why that is, but there are a few possible culprits from what I can tell:
- The coloration and shading does not fit with the rest of the item
- The rim of the dish is too contrast-y and should probably just use colors picked from or just above the radio jammer's body
- The dish is probably way too big
The dish is also fairly out of style feeling, probably mainly due to its hueshifting and lack of outlines in some spots. For hueshifting, you should probably reduce it to somewhere around 1-2 hue difference per color increment at most, or just opt to not hueshift it at all.
Thanks for the feedback! Sounds like I totally missed the mark on the sprite (Fair enough 😆). It took me a while to make as I don't have much experience (one udemy pixel art class a few years ago). Next week is finals week and I just don't have the time to make the requested changes as it will probably take a few iterations. I'll just remove it and I (Or someone else!) can update it later. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Ain't a way to code it so it doesn't block syndie comms? |
Maybe but I personally think that's a little weird! It makes sense it that it blocks ALL communication / radio transmissions. What could be interesting is adding a new menu where you can choose what channels to block (E.g block sec and command coms but leave the rest open) but that's out of the scope for this PR (Also from what I heard the radio code is kind of a mess so it might not be as easy as you'd expect?). |
[Dependency] private readonly SingletonDeviceNetServerSystem _singletonServerSystem = default!; | ||
[Dependency] private readonly SharedJammerSystem _jammerSystem = default!; // For all the helper functions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just have the server system inherit the shared one instead of running 2 different systems ingame.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I fixed this now!
Yay! Thanks to everyone who helped / reviewed this! Ya'll put a a lot of effort to help me and I appreciate it :) |
About the PR
Radio jammer now has selectable power levels and a battery level indicator light!
Why / Balance
The radio jammers default range of 8 was relatively large for most situations. Expanding its functionality with the three selectable ranges gives it a lot more utility. Now, you can privately threaten CMO without the rest of medical losing radio access! Or, you could crank up the power to max and, for a short period of time, completely black out all of security from hearing the HOPs cries for help. This will give antagonists more control (And ability to mess up!) in executing plots involving the radio jammer!
Technical details
The main thing that was implemented was adding a OnGetVerb function that adds the menu for selecting the power level. I also created two functions GetCurrentWattage and GetCurrentRange because now that they can change the jammer system needs a way to determine what the current range / wattage is. For the battery level indicator, I just switch the sprite to a new level depending on the battery power.
Media
radiojammer.webm
batt.webm
Changelog
🆑 Beck Thompson