UGX-Mods 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 Facebook
Sign In with Twitch

Stopping the zombie number increase on a certain round? relative to players?

broken avatar :(
Created 11 years ago
by ProRevenge
0 Members and 1 Guest are viewing this topic.
4,015 views
broken avatar :(
×
broken avatar :(
Location: gbEast Midlands
Date Registered: 7 February 2015
Last active: 5 years ago
Posts
643
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Donations massively appreciated: paypal.me/DanT98
Signature
Stranded
Nacht Der Untoten: Reimagined
Encampment
Encampment V2: BO3 Mod

Mapper and Weapon Porter - I release what I can of my work for the community to enjoy :)
×
ProRevenge's Groups
Mapper Has released one or more maps to the UGX-Mods community.
ProRevenge's Contact & Social LinksProRevenge
This is hard to explain what im after, and im also not sure if its a good idea (haven't asked for opinions on it)

But, would it be possible to stop the number of zombies increasing each round, at a certain round, dependant on the number of players in the game?

For example, round 30 might have 150 zombies in solo, round 40 might have 300, would it be possible to, at round 30, stop the increase so every round has 150 from then on, but the health still increases?

In co op for example, stopping it at round 20 would be a better idea, as co op round 20 has much more zombies.
My idea is to stop the numbers increasing at around:
Solo - round 32
2 player - round 28
3 player - round 26
4 player - round 22

My reasoning behind this is to make higher rounds more achievable on the map, for people who don't have hours and hours at hand to kill hundreds in the higher rounds like 60/70.
The health would still increase, so the "challenge" remains intact, its just the time it takes to complete rounds will be reduced.

For a 3arc map, I would be 100% totally against this idea, but it seems right for a custom map, that people usually play a couple times only, that people who enjoy higher round games can have an easier/quicker time.

If anyone could give thoughts on this idea, and tell me how it would be done, id appreciate it :)
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 22 September 2014
Last active: 6 years ago
Posts
360
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Here to make epic maps
×
pcmodder's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
pcmodder's Contact & Social Linksken5hir0pcmodderugx
This sounds like a good fun idea to have higher rounds gameplay without the seemingly endless amount to kill for 1 wave.

Could it be changing this in zombiemode.gsc

Code Snippet
Plaintext
else if ( level.first_round )
{
max = int( max * 0.2 );
}
else if (level.round_number < 3)
{
max = int( max * 0.4 );
}
else if (level.round_number < 4)
{
max = int( max * 0.6 );
}
else if (level.round_number < 5)
{
max = int( max * 0.8 );
}

And change a line at the end multiplier to 0 and add if players 2 , 3 or 4

Code Snippet
Plaintext
else if (level.round_number < 29)
{
         players = get_players();
         if(players.size == 2)
         max = int( max * 0 );
}

That is an example of what i think it could be .
broken avatar :(
×
broken avatar :(
Location: gbEast Midlands
Date Registered: 7 February 2015
Last active: 5 years ago
Posts
643
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Donations massively appreciated: paypal.me/DanT98
×
ProRevenge's Groups
Mapper Has released one or more maps to the UGX-Mods community.
ProRevenge's Contact & Social LinksProRevenge
Wouldn't setting multiplier to 0 mean no zombies?
At the minute I think its x1.1 each round, x1 would mean no change each round.
If you or someone could confirm that that would work, ill give it a try :)
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 22 September 2014
Last active: 6 years ago
Posts
360
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Here to make epic maps
×
pcmodder's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
pcmodder's Contact & Social Linksken5hir0pcmodderugx
I thought at that wave 29 the amount ( say 300 for 4 players ) would then not increase because the multiplier is set to 0 so it would not multiply anymore.

 I would not have time to test it legitimately right now ( starting form 1 and getting past 30 ) but tomorrow i can get time during the day to , i just wanted to reply with something as i like this idea .

I messed around with those values at a time where i wanted a lot of zombies to spawn on wave 1 then reset back to normal , i think i got it to the point where wave 7 would drop from 30 + to  6 , then gradually build up from there.

broken avatar :(
×
broken avatar :(
Location: esMadrid
Date Registered: 27 March 2015
Last active: 5 years ago
Posts
371
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
JIGGLYPUFF used SING! YOU fell asleep!
Signature
×
Soy-Yo's Groups
Soy-Yo's Contact & Social LinksSoy-yoElCerdoRey
I think it would be easier to set max manually:
Code Snippet
Plaintext
if( level.round_number >= 29 ) {
    if( get_players().size == 2 ) max = 150;
    // other checks
}
More or less.
Maybe I committed a typo because I'm in the mobile.
Last Edit: November 01, 2015, 10:17:44 pm by Soy-Yo
broken avatar :(
×
broken avatar :(
Location: gbEast Midlands
Date Registered: 7 February 2015
Last active: 5 years ago
Posts
643
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Donations massively appreciated: paypal.me/DanT98
×
ProRevenge's Groups
Mapper Has released one or more maps to the UGX-Mods community.
ProRevenge's Contact & Social LinksProRevenge
I think it would be easier to set max manually:
Code Snippet
Plaintext
if( level.round_number >= 29 ) {
    if( get_players().size == 2 ) max = 150;
    // other checks
}
More or less.
Maybe I committed a typo because I'm in the mobile.

If this would work, could you show me exactly where in script it would need to go?

And im guessing id add a variant of it for each number of players, and set a max for each one, after a certain round?

By this logic, thinking about it, setting a universal "max number of zombies" will probably be a better way to do it, the using different rounds for different players was trying to achieve that.

if its possible to cap the number of zombies per round at say 175, that would pretty much be perfectly what I wanted
Marked as best answer by ProRevenge 11 years ago
broken avatar :(
×
broken avatar :(
Location: esMadrid
Date Registered: 27 March 2015
Last active: 5 years ago
Posts
371
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
JIGGLYPUFF used SING! YOU fell asleep!
×
Soy-Yo's Groups
Soy-Yo's Contact & Social LinksSoy-yoElCerdoRey
It's in _zombiemode.gsc in round_spawning() (I think it's the name of the function). Can't help you more right now. If you haven't solved it before I'm on the computer I'll try to make something for you.

Double Post Merge: November 01, 2015, 11:19:53 pm
Just before this line:
Code Snippet
Plaintext
level.zombie_total = max;
is where you have to set the max you want.
You only need to check the round and the number of players. For example:
Code Snippet
Plaintext
players = get_players();
if( level.round_number >= 29 ) {
    if( players.size == 1 ) max = 150;
    if( players.size == 2 ) max = 160;
    if( players.size == 3 ) max = 170;
    if( players.size == 4 ) max = 175;
}
If you want 175 to be the maximum, you can set also:
Code Snippet
Plaintext
if( max > 175 ) max = 175;
I think it's all you might need. Hope it helps.
Last Edit: November 01, 2015, 11:19:53 pm by Soy-Yo
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 22 September 2014
Last active: 6 years ago
Posts
360
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Here to make epic maps
×
pcmodder's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
pcmodder's Contact & Social Linksken5hir0pcmodderugx
Code Snippet
Plaintext
players = get_players();
if( level.round_number >= 29 ) {
    if( players.size == 1 ) max = 150;
    if( players.size == 2 ) max = 160;
    if( players.size == 3 ) max = 170;
    if( players.size == 4 ) max = 175;
}

 I tested this 2 players and solo works with no errors , zombies cap at set amount on set round. Good work soyo :D
Last Edit: November 02, 2015, 04:01:49 pm by pcmodder
broken avatar :(
×
broken avatar :(
Location: gbEast Midlands
Date Registered: 7 February 2015
Last active: 5 years ago
Posts
643
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Donations massively appreciated: paypal.me/DanT98
×
ProRevenge's Groups
Mapper Has released one or more maps to the UGX-Mods community.
ProRevenge's Contact & Social LinksProRevenge
Tested this, works :D Thanks a lot both of you

 
Loading ...