-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Reduce electrocution damage and make them constant based on voltage #26455
Reduce electrocution damage and make them constant based on voltage #26455
Conversation
I like that there's more control/consistency with this. But I feel HV should crit someone. MV maybe 2-3 hits to crit. |
the main issue is that it's simply unbelievably annoying to get instantly crit by something that isn't signaled. People can and do often make traps where they kill swarms of people by just setting up a single HV grille. at the very least, it should be more effortful. |
Hmm, yeah. As a mapper I usually put up warning signs and whatnot. I don't suppose players setting traps are doing that... I wonder if an electrified grille let off an occasional spark, if that would be enough. Or changed colors slightly with increased voltage, turning sort of orange. 🤷🏼♂️ |
Isn't this inaccurate? Damage calculation was changed in #24554 to scale based on available max, not the current supply. This functionally means you get hit with no damage against an LV wire, 150KW against an MV wire, and (150KW * # of parallel SMES) against an HV wire. Of course bypassing the SMES still makes death grilles, but that's really a "fix power flickering so people don't do that in the first place" issue. This change also reverts the logarithmic scaling introduced in #24829 and also takes us all the way back to the static multipliers removed in #20880. Here's my idea/2 cents:
|
Regardless of what happens in this PR, life-threatening danger should be clearly telegraphed to players, and electrified grilles are big offenders in this aspect. |
Thanks for this PR. I think this brings electrocution damage to a place where it's predictable and not a random number game. The damage looked a bit low to me at first, but I think this is reasonable because players can often get shocked multiple times in a row by being unlucky and getting too close to the grilles. Perhaps it would be worth removing the |
Based on some in-game testing, I found that players no longer get repeatedly get shocked by the same grille even if they're still touching it. So I think there's an opportunity to increase the damage a bit if you wanted to.
Yes, because after trying this out we found that we didn't like insta-crit and LV doing no damage.
This is not really how electricity works. This game only simulates power flow, and so cannot accurately simulate what happens when you have a "short to ground" because even a short to ground has finite resistance. At minimum the game would need to define the voltage of each voltage (high/medium/low) and body resistance. Happy to explain more on Discord if you'd like. |
About the PR
Makes electrocution damage based on the voltage of the wire and bring down the damage to a sane level. It's no longer primarily based on the power being received.
LV Cable -> 10 damage
MV Cable -> 20 damage
HV Cable -> 30 damage
Why / Balance
Having a primarily power-based damage system causes there to be massive fluctuations in damage based on things outside of a regular player's control, like the station power output. This removes a lot of player agency and turns grilles into a risky gamble where they can either do no damage or instantly fry the player due to simply being hooked up to the engine.
While this may be a more accurate simulation in some regards, the reality of the gameplay is that it's often just frustrating, resulting in constant death traps as players brushing against electrified grilles and punching wires take absurd amounts of damage. By making them flat rates, it's possible to actually balance the damage output and make them not such a pain in the ass.
Media
Changelog
🆑