Add "Door Spam" feature
Add "Door Spam" feature (aka 'use' spam). Just another troll feature.
Can be seen at Bhop's video: https://youtu.be/GEV3jblzCtY?t=426
If You don't mind merging it, feel free to close this PR.
Where on earth do you find this stuff, lol
@telans Do You mind fixing gui misc tab? There was a gap on bottom of right section. Now you can scroll it down what is useless. Thanks
Screenshot? No access to cs at the moment @WilQ18
I don't think it needs its own key, you should just check for in_use to be held down and ideally check if there's a door nearby
What if:
- player have turned on this feature
- it's default binded to USE key ('E')
- he wants to open the door (just normally, not spam them)
I think it will be impossible to use it in a normal game. How about binding a key to toggle on and off this feature (then default spam key will be bound on the USE key ['E'])?
Also u can check if the key is currently pressed and not released. So if u release it = normal game. pressed = stop all kiddos behind a door.
Exactly what LWSS said lol
Wouldn't that mean it would still spam (even for a short time) every time you used the door?
Is it now ready to merge? i have tested it and it's look as @telans said. Not always but sometimes doors open and close.
If doors only open sometimes I think it should be reverted back to a seperate key. At least then both actions work as intended
And what if I need to defuse/plant c4? Need to check if u r in front to door
Ditto with hostages
@n0bodysec What do You think about this commit? I can listen to maybe some tips how I can do it better =)
BTW. Does rainbow name work on panorama? I want to add a small troll feature but already there is much buttons in Misc Tab.
@WilQ18 yeah rainbow name works but sometimes crashes (I didn't debugged it yet)
About this PR, u need to check if u r near a door, but I think the "best method" to avoid ruin the legit gameplay would be add action key + IN_USE. What do u think?
@n0bodysec This is what You thought about? Checking of nearby doors were added in previous commit (#75e9b60)
About rainbow name, can you show screenshot of it? Always when I try, it doesn't work.
Oh I didn't see that commit. I'll check all the code in a moment.
About rainbow name, it only works/appear in colours in chat messages (such as attacked a teammate, but not say/say_team).
EDIT: Haven't checked yet, but the code looks good.
Tbh I wouldn't check for nearby doors as it also could be used on other things (non-doors) like elevators on custom maps and other random annoying things.