SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
84 stars 18 forks source link

Hitmarker still visible when fully immune to damage #4337

Closed Semidvista closed 4 months ago

Semidvista commented 4 months ago

When the "gun lowcal damage multiplier" and "melee damage multiplier" parameters in config.json are set to 0, the hitmarker is still visible when hit by low caliber weapons and when hit by melee weapons This is very confusing for players because they see the hitmarker and think that damage is being dealt, but in fact it is not. I tested this on cars, but I think this applies to all durability parameters in the game. The solution would be to remove the hitmarker at durability parameters ​​of 0 This problem exists in single and multiplayer Screenshot_1367

SDGNelson commented 4 months ago

Currently, hitmarkers are instigated by the client rather than in response to a notification of damage from the server, and the hit effects are spawned by the server. This is maybe backwards from how others games do it. Even if the client knew all the vanilla damage multipliers plugins could still cancel the damage. Sorry, I think this is a "won't fix" for now.