Unlimited Sprint

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
ekat
CJ Newbie
CJ Newbie
Posts: 53
Joined: September 15th, 2010, 4:56 pm

Unlimited Sprint

Post by ekat » May 5th, 2013, 6:23 am

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

User avatar
Mooselflies
CJ Spammer!
CJ Spammer!
Posts: 641
Joined: April 20th, 2009, 8:29 pm
PSN ID: mooselflies
Location: Reading :<

Re: Unlimited Sprint

Post by Mooselflies » May 5th, 2013, 10:58 am

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");

ekat
CJ Newbie
CJ Newbie
Posts: 53
Joined: September 15th, 2010, 4:56 pm

Re: Unlimited Sprint

Post by ekat » May 5th, 2013, 5:20 pm

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

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Unlimited Sprint

Post by Drofder2004 » May 5th, 2013, 6:01 pm

To my knowledge, there are not ways outside of modding that allow truly infinite sprint.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

ekat
CJ Newbie
CJ Newbie
Posts: 53
Joined: September 15th, 2010, 4:56 pm

Re: Unlimited Sprint

Post by ekat » May 5th, 2013, 6:51 pm

Would it be hard to mod an "unlimited sprint"?
How would i do it?

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Unlimited Sprint

Post by Drofder2004 » May 5th, 2013, 10:21 pm

self SetMoveSpeedScale(x);

Not sure what value x would be for sprinting, but I am sure someone will know it.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

ekat
CJ Newbie
CJ Newbie
Posts: 53
Joined: September 15th, 2010, 4:56 pm

Re: Unlimited Sprint

Post by ekat » May 7th, 2013, 7:09 am

And how would i use it?
Is there anything like "self sprintButtonPressed()" ?

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Unlimited Sprint

Post by Drofder2004 » May 7th, 2013, 8:35 pm

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.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Post Reply

Who is online

Users browsing this forum: No registered users and 38 guests