Question about movement dvars
-
I know the movement dvars for strafe and backward movement are:
setdvar( "player_backSpeedScale", int );
setdvar( "player_strafeSpeedScale", int );
setdvar( "player_sprintStrafeSpeedScale", int );but how do i affect all the other dvars for player speed? like running or walking forward?
-
SpicySpider you can try to use g_speed to change all players speed. Or if you want change the speed only of a player you can use
setVelocity( number ) -
Sorex said in Question about movement dvars:
g_speed
Thanks, do you know if theirs a way to change the speed of zombies running as well? i tried changing level.zombie_move_speed but it seems to have a maximum maybe? anyway around that?
-
SpicySpider The zombies have 3 status of speed, "run", "walk" and "sprint"/"super_sprint" you can change all "sprint" status to "super_sprint". But you have to do manualy and set it foreach zombies in the game
-
Sorex said in Question about movement dvars:
g_speed
Thanks, do you know if theirs a way to change the speed of zombies running as well? i tried changing level.zombie_move_speed but it seems to have a maximum maybe? anyway around that?
SpicySpider level.zombie_move_speed might come from a GSC file in game. you could check a dump for that and if theres a maximum, you can probably remove it if you find the file. unless it modifies a DVAR and the DVAR has a maximum, then you cannot modify the max limit i think.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login