xPr3d4t0Rs 1 Report post Posted January 18, 2016 Good evening guys. I would like to ask how can I modify the sprint time in scripts so it can be unlimited. I am aware of the DVAR "player_sprintUnlimited 1" but I tried it to set and didn't work. Is it possible to modify the sprint time in another way? Share this post Link to post Share on other sites
IJzzo 1,072 Report post Posted January 19, 2016 Hey there is another cvar I think. However that one you named idk if that even exists. Must be something called like maxsprinttime or similar. Share this post Link to post Share on other sites
xPr3d4t0Rs 1 Report post Posted January 19, 2016 Hmm how can I find it? Share this post Link to post Share on other sites
NinjaWa 30 Report post Posted January 19, 2016 You could simply give a player longer sprints perk, it would be easier, else you would need to set this cvars to players: self_sprinttime 12.8 self_sprintmintime 4.8 Share this post Link to post Share on other sites
xPr3d4t0Rs 1 Report post Posted January 19, 2016 But if I want unlimited sprint Ninja? How can I do that? Share this post Link to post Share on other sites
IJzzo 1,072 Report post Posted January 20, 2016 set scr_player_sprinttime 9999 Share this post Link to post Share on other sites
xPr3d4t0Rs 1 Report post Posted January 21, 2016 Ok I will try it and I will let you know if it worked. Share this post Link to post Share on other sites
xPr3d4t0Rs 1 Report post Posted January 21, 2016 I think it doesn't work. I put it in the config file and in war.gsc as DVAR/CVAR and no result. Do you know if I must modify the _globallogic.gsc? Share this post Link to post Share on other sites
IJzzo 1,072 Report post Posted January 21, 2016 idk then. Share this post Link to post Share on other sites
xPr3d4t0Rs 1 Report post Posted January 21, 2016 There must be a way to modify sprint time from scripts. Share this post Link to post Share on other sites
NinjaWa 30 Report post Posted January 21, 2016 set scr_player_sprinttime 9999 This wont work, the ones I wrote will make them longer but in cod4 you can't make then unlimited. Only if you edit the ability by urself but I don't know how to do that. Share this post Link to post Share on other sites
xPr3d4t0Rs 1 Report post Posted January 22, 2016 Yes I am looking for the script that edits the sprint time but I couldn't find it. Share this post Link to post Share on other sites
NinjaWa 30 Report post Posted January 22, 2016 Must be inside a .gsc, what i usually do is open every .gsc file and then on npp i search for something in all documents, that should be it. Share this post Link to post Share on other sites
xPr3d4t0Rs 1 Report post Posted January 22, 2016 In which folders do you suggest to look first (eg "mp" folder)? Share this post Link to post Share on other sites
NinjaWa 30 Report post Posted January 22, 2016 On mp folder and ui_mp and there should be subfolders, you should find something there Share this post Link to post Share on other sites
xPr3d4t0Rs 1 Report post Posted January 23, 2016 Ok I will search Ninja. Thanks. Share this post Link to post Share on other sites
NinjaWa 30 Report post Posted February 6, 2016 On 18/1/2016 at 0:04 AM, xPr3d4t0Rs said: Good evening guys. I would like to ask how can I modify the sprint time in scripts so it can be unlimited. I am aware of the DVAR "player_sprintUnlimited 1" but I tried it to set and didn't work. Is it possible to modify the sprint time in another way? Try using: player_sprintunlimited 1 Share this post Link to post Share on other sites
{cool.G} ingre 1 Report post Posted February 7, 2016 On 23.01.2016 at 2:54 AM, xPr3d4t0Rs said: Ok I will search Ninja. Thanks. mab why you search not utils questions if you like runn no limit go play MW2 exist perk run non stop mate try ask important questions how add AC130 strike kamikaze strike NUKE strike have best questions Share this post Link to post Share on other sites