Fuzion icon indicating copy to clipboard operation
Fuzion copied to clipboard

Add "Door Spam" feature

Open ghost opened this issue 6 years ago • 16 comments

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.

ghost avatar Aug 26 '19 22:08 ghost

Where on earth do you find this stuff, lol

telans avatar Aug 27 '19 00:08 telans

@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

ghost avatar Aug 27 '19 09:08 ghost

Screenshot? No access to cs at the moment @WilQ18

telans avatar Aug 27 '19 10:08 telans

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

LWSS avatar Aug 27 '19 14:08 LWSS

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'])?

ghost avatar Aug 27 '19 18:08 ghost

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

snowyyd avatar Aug 27 '19 21:08 snowyyd

Wouldn't that mean it would still spam (even for a short time) every time you used the door?

telans avatar Aug 27 '19 21:08 telans

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.

ghost avatar Aug 27 '19 22:08 ghost

If doors only open sometimes I think it should be reverted back to a seperate key. At least then both actions work as intended

telans avatar Aug 27 '19 23:08 telans

And what if I need to defuse/plant c4? Need to check if u r in front to door

snowyyd avatar Aug 27 '19 23:08 snowyyd

Ditto with hostages

xdovahkinx avatar Aug 31 '19 22:08 xdovahkinx

@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.

ghost avatar Sep 01 '19 18:09 ghost

@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?

snowyyd avatar Sep 02 '19 00:09 snowyyd

@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.

ghost avatar Sep 02 '19 10:09 ghost

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.

snowyyd avatar Sep 02 '19 14:09 snowyyd

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.

JuniorJPDJ avatar Jul 23 '21 13:07 JuniorJPDJ