Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
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 501 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
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
          • mikzyundefined Offline
            mikzyundefined Offline
            mikzy Banned
            replied to SpicySpider 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

            • Login

            • Don't have an account? Register

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