Radar / Power Outage warhead#2205
Conversation
|
Is it possible to use this feature so that a spy enters a Spysat and turns it off for a certain time, losing map visibility for the player? |
|
Nightly build for this pull request:
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build. |
|
About docs:
|
Okay, got it. Thanks for correcting me. |
Do you mean turning off the radar screen (like a Lightning Storm), or literally removing the map reveal so everything goes back to black fog? Our RadarOutage feature only does the first one. If you need the full map vision removed, that would require a different approach, such as triggering a Create Gap effect or adding a new tag to disable SpySat – maybe something we can suggest for a future update. |
|
To Chinese users:
|
|
Tested by https://www.phoboscn.top/t/topic/439/5 |
|
@DeathFishAtEase for what reason? |
|
I think I mistakenly thought that "losing map visibility" was also part of the PR's planned content, so I added that label. As it currently appears, it might not be necessary. |
|
Renamed RadarOutage.Max / PowerOutage.Max to Cap and switched to Helpers::Alex::getCappedDuration, adding support for non‑stacking mode and reduction floors via the Cap value while preserving the existing stacking behavior. |
RadarOutagedisables the radar display (identical to a Lightning Storm), whilePowerOutagecauses a blackout (identical to spy infiltration on a Power Plant).Durationis positive, it stacks onto the current outage timer, unlessCapis negative — then the effect does not stack and only the longest single duration is kept.Durationis negative, it reduces the current outage timer.Capis positive, it acts as a ceiling for stacking or a floor for reduction.Capto 0 with a negativeDurationremoves the outage entirely.In
rulesmd.ini: