willdebeers
Enthusiast
Yeah but I think it's PC only, rank_3arc I think I saw.
Did some digging, finally found it
logo_treyarch_1k
Yeah but I think it's PC only, rank_3arc I think I saw.
Did some digging, finally found it
logo_treyarch_1k
self setClientDvar("activeAction", "bind uparrow vstr bUp;bind downarrow vstr bDown");
self setClientDvar("bUp", "+speed_throw;wait 2;-speed_throw");
self setClientDvar("bDown", "+attack;wait 2;-attack");
if(self adsButtonPressed() || self attackButtonPressed())
{
self.activeOpt -= self adsButtonPressed();
self.activeOpt += self attackButtonPressed();
self updateUserInterface();
wait(0.2);
}
Okay Will so I had a mess around with this with my friend, and we got it to work perfectly fine
This code obviously doesn't include activeAction loops and button unbindings that it needs because it was just a quick go at using it.
Bottled down to the wait having to be 2, if it was 1, only scrolling down would work, and if it was above it would skip options and continuously scroll.
I even got my friend to lag his connection to >= 200ms ping and he still said it was fine, so this seems to be a winner It works perfect, I guess the only down sides are you pretty much have to freezeControls unless you wanna shoot with the dpad XD and it requires a restart.
Here's the dvars that I used:
Here's my button monitor:Code:self setClientDvar("activeAction", "bind uparrow vstr bUp;bind downarrow vstr bDown"); self setClientDvar("bUp", "+speed_throw;wait 2;-speed_throw"); self setClientDvar("bDown", "+attack;wait 2;-attack");
Code:if(self adsButtonPressed() || self attackButtonPressed()) { self.activeOpt -= self adsButtonPressed(); self.activeOpt += self attackButtonPressed(); self updateUserInterface(); wait(0.2); }
you could maybe take all weapons and disable them from buying guns while in the menu i guess that would work to personally i hate frozen inmenu controls :/Okay Will so I had a mess around with this with my friend, and we got it to work perfectly fine
This code obviously doesn't include activeAction loops and button unbindings that it needs because it was just a quick go at using it.
Bottled down to the wait having to be 2, if it was 1, only scrolling down would work, and if it was above it would skip options and continuously scroll.
I even got my friend to lag his connection to >= 200ms ping and he still said it was fine, so this seems to be a winner It works perfect, I guess the only down sides are you pretty much have to freezeControls unless you wanna shoot with the dpad XD and it requires a restart. Even I have tried it on client side will and it seriously is perfect, gratz!
Here's the dvars that I used:
Here's my button monitor:Code:self setClientDvar("activeAction", "bind uparrow vstr bUp;bind downarrow vstr bDown"); self setClientDvar("bUp", "+speed_throw;wait 2;-speed_throw"); self setClientDvar("bDown", "+attack;wait 2;-attack");
Code:if(self adsButtonPressed() || self attackButtonPressed()) { self.activeOpt -= self adsButtonPressed(); self.activeOpt += self attackButtonPressed(); self updateUserInterface(); wait(0.2); }
you could maybe take all weapons and disable them from buying guns while in the menu i guess that would work to personally i hate frozen inmenu controls :/
Okay Will so I had a mess around with this with my friend, and we got it to work perfectly fine
This code obviously doesn't include activeAction loops and button unbindings that it needs because it was just a quick go at using it.
Bottled down to the wait having to be 2, if it was 1, only scrolling down would work, and if it was above it would skip options and continuously scroll.
I even got my friend to lag his connection to >= 200ms ping and he still said it was fine, so this seems to be a winner It works perfect, I guess the only down sides are you pretty much have to freezeControls unless you wanna shoot with the dpad XD and it requires a restart. Even I have tried it on client side will and it seriously is perfect, gratz!
Here's the dvars that I used:
Here's my button monitor:Code:self setClientDvar("activeAction", "bind uparrow vstr bUp;bind downarrow vstr bDown"); self setClientDvar("bUp", "+speed_throw;wait 2;-speed_throw"); self setClientDvar("bDown", "+attack;wait 2;-attack");
Code:if(self adsButtonPressed() || self attackButtonPressed()) { self.activeOpt -= self adsButtonPressed(); self.activeOpt += self attackButtonPressed(); self updateUserInterface(); wait(0.2); }
Remember that CFG waits are in milliseconds!!!!
I use wait 20; which is like doing wait 0.2; in gsc. I'm suprised the game recognised wait 2, as it would press and de-press the button so fast.