Deployable cameras have inbuilt proxy sensor + slight camera refactor#18757
Open
Lumipharon wants to merge 10 commits into
Open
Deployable cameras have inbuilt proxy sensor + slight camera refactor#18757Lumipharon wants to merge 10 commits into
Lumipharon wants to merge 10 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
About The Pull Request
Deployable cameras that SL's get now have a 7 range proxy sensor built in. They will detect any hostiles in that range and report it over the radio.
They also have a minimap icon and flash when detecting stuff.
Deployable cam visuals are somewhat improved, with separate states for detecting things and being disabled, as well as being emissive.

Refactored how cameras manage being on or off, and how various things impact that.
Cameras now separately manage via flags whether they are actually switched on or off, whether their wires are slashed, or are EMP'd (and EMP now actually turns off cameras).
Removed some redundant/shitty code and generally cleaned things up a bit.
Some related bug fixes as well:
Why It's Good For The Game
Gives this super niche item some more utility, particularly in sovl war and HvH.
Nicer visuals, more interaction via EMP, and better code, all this shit was apop era.
Changelog
🆑
add: Deployable cameras now have built in radio proximity sensors
fix: fixed some missing tool sounds
fix: fixed LZ cameras not being invisible
refactor: refactored some camera code
/:cl: