Page 1 of 1

Unlimited Sprint

Posted: May 5th, 2013, 6:23 am
by ekat
Hey guys..
I'm trying to get unlimited sprint working.. I tried it with:

Code: Select all

setDvar("player_sprintUnlimited", "1");
and

Code: Select all

setClientDvar("player_sprintUnlimited", "1");
but i cant get it working..
Is it maybe not possible to get it working? o.O

Re: Unlimited Sprint

Posted: May 5th, 2013, 10:58 am
by Mooselflies
ekat wrote:Hey guys..
I'm trying to get unlimited sprint working.. I tried it with:

Code: Select all

setDvar("player_sprintUnlimited", "1");
and

Code: Select all

setClientDvar("player_sprintUnlimited", "1");
but i cant get it working..
Is it maybe not possible to get it working? o.O
because there isn't a command called that try doing

Code: Select all

setDvar("player_sprinttime", "12.8");

Re: Unlimited Sprint

Posted: May 5th, 2013, 5:20 pm
by ekat
because there isn't a command called that try doing

Code: Select all

setDvar("player_sprinttime", "12.8");
[/quote]

Thank you but I need a way for real unlimited sprint.. :x

Re: Unlimited Sprint

Posted: May 5th, 2013, 6:01 pm
by Drofder2004
To my knowledge, there are not ways outside of modding that allow truly infinite sprint.

Re: Unlimited Sprint

Posted: May 5th, 2013, 6:51 pm
by ekat
Would it be hard to mod an "unlimited sprint"?
How would i do it?

Re: Unlimited Sprint

Posted: May 5th, 2013, 10:21 pm
by Drofder2004
self SetMoveSpeedScale(x);

Not sure what value x would be for sprinting, but I am sure someone will know it.

Re: Unlimited Sprint

Posted: May 7th, 2013, 7:09 am
by ekat
And how would i use it?
Is there anything like "self sprintButtonPressed()" ?

Re: Unlimited Sprint

Posted: May 7th, 2013, 8:35 pm
by Drofder2004
ekat wrote:And how would i use it?
Is there anything like "self sprintButtonPressed()" ?
Nope. Use, Attack, Melee.

You could use a menuresponse or a button press that toggles the effect.