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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. T5/T6 Start at round x

T5/T6 Start at round x

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
3 Posts 2 Posters 356 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.
  • Nibbler Dooundefined Offline
    Nibbler Dooundefined Offline
    Nibbler Doo
    wrote on last edited by
    #1

    Trying to recreate some YouTube videos where people start on round 100 as a challenge.

    I created a simple .gsc script to start on round 100 which works for the amount of zombies and the zombie health but the zombies are all walking like round 1. Is there a way to change the move speed/everything else to match round 100?

    main()
    {
    level.round_number = 100;
    }

    Lemonundefined 1 Reply Last reply
    0
    • Lemonundefined Offline
      Lemonundefined Offline
      Lemon Contributor
      replied to Nibbler Doo on last edited by
      #2

      Nibbler Doo hmm i think the function is

      	self.zombie_move_speed = "walk/run/sprint/super_sprint";
      
      1 Reply Last reply
      0
      • Nibbler Dooundefined Offline
        Nibbler Dooundefined Offline
        Nibbler Doo
        wrote on last edited by Nibbler Doo
        #3

        Is there a file or constant I need to import for this to work?

        level.zombie_move_speed = 71; // works
        level.zombie_move_speed = "super_sprint"; // doesn't
        self.zombie_move_speed = "super_sprint"; // doesn't
        

        gsc script. I copied constants from another post not sure how accurate they are for round 100

        #include common_scripts\utility;
        #include maps\mp\_utility;
        #include maps\mp\zombies\_zm_utility;
        
        init(){
        	level.round_number = 100;
        	level.zombie_move_speed = 71; // sprinters - not sure how fast zombies on round 100 are. I assume super sprinters by then
        	level.zombie_vars["zombie_spawn_delay"] = 0.08;
        }
        

        EDIT: Thanks for the help. After setting the round number manually I am able to adjust the move speed to the appropriate value with:

        level.zombie_move_speed = level.round_number * level.zombie_vars["zombie_move_speed_multiplier"];
        
        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