TheSil / base_enhanced

sil's base_enhanced server mod
3 stars 4 forks source link

Shields can die even while you are standing on them if they are old enough #82

Closed deathsythe47 closed 9 years ago

deathsythe47 commented 9 years ago

If you stand on a shield, it is supposed to stop it from decaying, right? Well if you stand on a shield for a very long time (one test I did took 8 minutes!!) it can still deactivate (idk if this happens every time or only sometimes). You hear the sound and everything, even though you are standing on the shield.

I don't know if this is a bug, or the game is actually intentionally decaying shields very slowly while you are standing on them(as opposed to not decaying at all).

TheSil commented 9 years ago

Checked this and it is intentional, 1 point damage every 200 milliseconds, from the overall 2000 health for siege, it should decay in about 400 seconds = 6.67 minutes.

TheSil commented 9 years ago

One more clarification to this, it also depends on sv_fps. For example for sv_fps 30, server executes on 33ms period, so the 200 ms period actually becomes 231 (7*33), so instead of intented 400 seconds this become 462 seconds, or 7.7 minutes, which is more close to what you observed.