jacob404 / promod-future

GNU General Public License v3.0
7 stars 1 forks source link

jump / attack1 / attack2 spamming in order to skip death cam as infected #7

Closed jacob404 closed 9 years ago

jacob404 commented 9 years ago

Players are able to spam those buttons after dying as infected to get their spawn faster. It can be abused not only to get a faster spawn time, but to manipulate the spawn order, meaning that your death order doesn't necessarily mean your sac order. I'd rather completely block this function and lower spawn timers by 1 second.

In experimenting I've found that you can fakeclientcommand +jump and the player will be unable to jump until you fakeclientcommand -jump. Could possibly do this with jump, m1, and m2 from the time frame where you die until you have your spawn timer.

mikehabibi commented 9 years ago

If you prevent jump/m1/m2 then could the user cycle between cameras?

jacob404 commented 9 years ago

We would re-enable it when they get their spawn timer, so it wouldn't effect their camera. It's the time between when the player dies and the player has a timer / control of the camera.

jacob404 commented 9 years ago

doing this tonight

jacob404 commented 9 years ago

https://github.com/jacob404/promod-future/blob/master/addons/sourcemod/scripting/nodeathcam.sp

needs 2 be finished but good framework

jacob404 commented 9 years ago

https://github.com/jacob404/promod-future/blob/master/addons/sourcemod/scripting/nodeathcamskip.sp