How to make all zombies sprinters at round 1?

broken avatar :(
Created 1115 days ago
by J17K
0 Members and 1 Guest are viewing this topic.
2,210 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 3 February 2014
Last active: 974 days ago
Posts
7
Respect
Forum Rank
Legless Crawler
Primary Group
Donator ♥
My Groups
More
×
J17K's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
J17K's Contact & Social Links
I've tried doing this...

level.zombie_move_speed = 71;

...but after round 1 they go back to being walkers. Any ideas?
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 75 days ago
Posts
5,545
Respect
6,495Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
Signature
If Java had true garbage collection, most programs would delete themselves upon execution.
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
The zombie speed gets recalculated at the start of each round. You should look though the ZM scripts and see if you can find where that happens.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 12 September 2016
Last active: 58 days ago
Posts
306
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
reckfullies's Groups
reckfullies's Contact & Social LinksReckfulliesReckfullies
It's calculated on line 1154 in _zm.gsc



It is also calculated on line 4257 in _zm.gsc



The second one would probably be the one you want to change since it is defined every time round_think is called.
Last Edit: October 03, 2016, 12:01:22 am by reckfullies
Marked as best answer by J17K on Today at 07:42:10 pm
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 3 October 2016
Last active: 413 days ago
Posts
3
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
Araxxing's Groups
Araxxing's Contact & Social Links
Seems like adding

	difficulty = 1;
column = int(difficulty) + 1;
zombie_utility::set_zombie_var( "zombie_move_speed_multiplier",  70, false, column );
zombie_utility::set_zombie_var( "zombie_move_speed_multiplier_easy",  70, false, column );

after
zm_usermap::main();
should keep them sprinting.

 

Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Twitch
Loading ...