Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Question about movement dvars

Question about movement dvars

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
5 Posts 3 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SpicySpiderundefined Offline
    SpicySpiderundefined Offline
    SpicySpider
    Contributor
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • Sorexundefined Offline
      Sorexundefined Offline
      Sorex
      Contributor
      wrote on last edited by
      #2

      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 )
      
      1 Reply Last reply
      1
      • SpicySpiderundefined Offline
        SpicySpiderundefined Offline
        SpicySpider
        Contributor
        wrote on last edited by
        #3

        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?

        mikzyundefined 1 Reply Last reply
        0
        • Sorexundefined Offline
          Sorexundefined Offline
          Sorex
          Contributor
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • SpicySpiderundefined SpicySpider

            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?

            mikzyundefined Offline
            mikzyundefined Offline
            mikzy
            Banned
            wrote on last edited by
            #5

            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.

            1 Reply Last reply
            0

            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
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Groups