ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.72k stars 625 forks source link

[DOD] Please stop anti recoil scripting. #2864

Open Automatics opened 4 years ago

Automatics commented 4 years ago

alias +script1 "+lookdown;+attack" alias -script1 "-lookdown;-attack" bind mouse1 +script1 cl_pitchspeed 20

changing the pitchspeed value as needed per weapon or using elaborate scripts to nearly automate this is VERY easy to do, please end this.

BlackShadow commented 4 years ago

I tested this out and yeah kinda seems out of place. Makes accuracy go around %90 while crouching. This can be easily done making cl_pitchspeed sv_cheats protected.

Automatics commented 4 years ago

demonstration https://youtu.be/5UqemifUjnE

im pretty sure they tried to fix this a long time ago by making the above script not work by blocking it if the order is "+attack;+lookdown" reversing the order as posted above gets around that.

afwn90cj93201nixr2e1re commented 4 years ago

So, and you think that no one can do it without script and changing cl_pitchspeed? Just make sense 0.001 and dpi 1x1 it's gonna be same with mouse scripts. Spread/recoil control can't be handled by server. Making cl_pitchspeed protected doesn't changing anything, anyone can just patch flags and that's all. Btw you can just try to get actualy value thru sendcvarvalue, if your game support it.

BlackShadow commented 4 years ago

Not everyone doesn't have macro mouses in their hands. But everyone aware of this script can use this. Pretty much making cl_pitchspeed cheat secure and removing +lookdown/-lookdown will help the issue. Nobody in DoD uses +lookdown/-lookdown anyway. And i'll doubt if macro will be useful in every weapon.

Automatics commented 4 years ago

@afwn90cj93201nixr2e1re what do you mean by patched?

afwn90cj93201nixr2e1re commented 4 years ago

+lookdown/-lookdown

too much stuff related to this, and you wanna delete it?Ok. They still can do same things by calculating angles and other stuff, there's sdk.

Ok, they don't have mouse with memory on board, but they can just download some stupid soft like ahk and other stuff which can do same things for them.

By patched i mean patched. https://github.com/ValveSoftware/halflife/issues/2796#issuecomment-560136376

Automatics commented 4 years ago

oh yeah sure literally nobody in dod is going to even know what that is, but anyway this needs to be stopped somehow.

BlackShadow commented 4 years ago

+lookdown/-lookdown

too much stuff related to this, and you wanna delete it?Ok. They still can do same things by calculating angles and other stuff, there's sdk.

Ok, they don't have mouse with memory on board, but they can just download some stupid soft like ahk and other stuff which can do same things for them.

By patched i mean patched. #2796 (comment)

Actually nothing related +lookdown/-lookdown in DoD. +Lookdown was basically playing Half-Life with keyboard without mouse. Since we're not in 90's anymore. It's safe to remove that function in DoD. And im still pretty sure macro will have problems while replacating this.

afwn90cj93201nixr2e1re commented 4 years ago

Yea, im agree, btw if someone gonna play with joystick or keyboard it's gonna not nice.

CS-PRO1 commented 4 years ago

playing DOD with keyboard only/joystick in 2020 and forward? nah.. It's safe to assume it'd never happen

4nk1 commented 1 year ago

Fix this problem it breakes the balance. Pretty much every player I meet in DOD that goes with the BAR gun is using this script and almost sniping with a support mg while standing.

ColonelKludge commented 10 months ago

Wouldn't mind seeing this fixed.