Caaz / rimworld-typhon

A Rimworld mod that aims to add the Typhon aliens from the game Prey (2017)
MIT License
1 stars 1 forks source link

Patch Camera+ to not show hidden mimics #162

Closed Caaz closed 2 years ago

Caaz commented 2 years ago

Description

Via N/A

not sure if you're aware of it, or can do anything about it, but mimics can be seen if one zooms out with camera+ because they get a red dot even when mimicing.

Ideally, mimics should be hidden regardless of camera zoom. Looks like Camera+ has a method, ShouldDrawDot that could be patched to return false when the pawn in question is a mimic (which is hidden). https://github.com/pardeike/CameraPlus/blob/54db56fe822d4cb30aaba42af7657e39a3529a32/Source/Tools.cs#L30-L45

Might have to look into if Harmony has any issues with patching mods if they exist or not, I donno.