Raised This Month: $51 Target: $400
 12% 

Zombie Riot V1.9.1b


Post New Thread Reply   
 
Thread Tools Display Modes
deathkilla
Senior Member
Join Date: Mar 2011
Old 08-22-2013 , 23:47   Re: Zombie Riot V1.9.1b
Reply With Quote #1041

What are you changing exactly?
__________________
Elite Gamers
Visit us:www.Elite-Gamers.org
deathkilla is offline
gregws
Member
Join Date: Aug 2013
Old 08-23-2013 , 08:49   Re: Zombie Riot V1.9.1b
Reply With Quote #1042

Based on how many human players are in the game it will load different zombie attributes.
So
easy - low player count so easier zombies
hard - higher player count so harder zombies
gregws is offline
deathkilla
Senior Member
Join Date: Mar 2011
Old 08-23-2013 , 13:36   Re: Zombie Riot V1.9.1b
Reply With Quote #1043

Interesting, I might start a new public post and post my edited version of this mod. But now that i start school ill have other Computer science projects to work on haha. So I won't have time to update via request and all that.
__________________
Elite Gamers
Visit us:www.Elite-Gamers.org
deathkilla is offline
DD32KA
Member
Join Date: Jul 2013
Old 08-24-2013 , 09:53   Re: Zombie Riot V1.9.1b
Reply With Quote #1044

We need a new Version of zombieRiot.... :/

This Version is very buggy and importent features where not found.
Linke this:
To become a real boss fight we need this:
Boss mosnter is spawn only count.
and if a normal zombie die, he respawn count

like this:
Code:
	"1. The Reawakening"
	{
		"count_zombies"					"100"
		"zombie_respawn"                "1"
		"healthboost"			"0"
		"respawn"				"1"
		"deaths_before_zombie"	"0"
		"fademin"				""
		"fademax"				"" 
		"zombieoverride"		"zombie1,zombie2,zombie3"
		"zombieoverride_boss"		"ifrat"
		"boss_count"		"1"
		"boss_respawn"		"0" // 0 off  | 1 on
	}
My Bugs:
Sometimes the player get no model
count where 3 but Spawn where: 10, 141, 1 etc.

How many server use this mod ?
DD32KA is offline
tumtum
Senior Member
Join Date: Aug 2012
Old 08-25-2013 , 06:41   Re: Zombie Riot V1.9.1b
Reply With Quote #1045

http://www.youtube.com/embed/zaVvORVrd8I
After working silencer weapons are in market. So this is what i did now
tumtum is offline
gregws
Member
Join Date: Aug 2013
Old 08-25-2013 , 08:04   Re: Zombie Riot V1.9.1b
Reply With Quote #1046

http://www.youtube.com/watch?v=zaVvORVrd8I
gregws is offline
gregws
Member
Join Date: Aug 2013
Old 08-26-2013 , 10:22   Re: Zombie Riot V1.9.1b
Reply With Quote #1047

I also added an adjustment to limit the amount of zombies to spawn in each days file.

Originally 1 person would face max server fill if zombies were set high in the days file.
eg.
Code:
"Outbreak Easy"
	{
		"count"			"25"
		"healthboost"		"0"
		"respawn"		"1"
		"deaths_before_zombie"	"0"
		"fademin"		"600.0"
		"fademax"		"800.0"
	}
Person would face full zombie server of 20 (depending on map) with 5 zombies that respawn.

What i've done is add a maxspawn for each day.
Code:
"Outbreak Easy"
	{
		"count"			"25"
		"maxspawn"		"5"
		"healthboost"		"0"
		"respawn"		"1"
		"deaths_before_zombie"	"0"
		"fademin"		"600.0"
		"fademax"		"800.0"
	}
So the person will face a max of 5 zombies for that day, but will still have to kill 25 zombies in total for the day to end as they respawn.
I also added a check to make sure that when the zombie count gets low, (MaxSpawn of 5 but only 4 zombies left to kill before the end of the round), the zombies won't respawn.
So you won't win the round with 4 zombies still roaming about.

Last edited by gregws; 08-26-2013 at 10:25. Reason: Clarification
gregws is offline
Pantarek
New Member
Join Date: Sep 2013
Old 09-01-2013 , 05:58   Re: Zombie Riot V1.9.1b
Reply With Quote #1048

Is it possible to have a recent link for the plugin zombie horde? it would be very nice of you. Linux preferences.

Sincerely,
Pantarek is offline
Spartan_C001
Senior Member
Join Date: Jul 2013
Old 09-03-2013 , 08:30   Re: Zombie Riot V1.9.1b
Reply With Quote #1049

Quote:
Originally Posted by gregws View Post
Ok, it doesn't do it on round start. I tried changing it so it would but to no avail.
Perhaps someone could help out.

This handles the RoundStart
Code:
public Action:RoundStart(Handle:event, const String:name[], bool:dontBroadcast)
{
    UpdateHostname();
 
    ChangeLightStyle();
 
    RestartAmbience();
 
    ServerCommand("bot_knives_only");
 
    ZRiot_PrintToChat(0, "Round objective");
 
    decl String:storyline[192];
    GetDayStoryLine(gDay, storyline, sizeof(storyline));
 
    if (storyline[0])
    {
        FormatTextString(storyline, sizeof(storyline));
 
        PrintToChatAll(storyline);
    }
 
    BeginDay();
 
    if (tHUD != INVALID_HANDLE)
    {
        CloseHandle(tHUD);
        tHUD = INVALID_HANDLE;
    }
 
    new bool:hud = GetConVarBool(gCvars[CVAR_HUD]);
    if (hud)
    {
        tHUD = CreateTimer(5.0, HUD, _, TIMER_REPEAT|TIMER_FLAG_NO_MAPCHANGE);
 
        UpdateHUDAll();
    }
 
    if (tFreeze != INVALID_HANDLE)
    {
        CloseHandle(tFreeze);
        tFreeze = INVALID_HANDLE;
    }
}
Key being "BeginDay();"

Then within "BeginDay();"
Code:
BeginDay()
{
 
    gZombiesKilled = 0;
    new zombiecount = GetDayCount(gDay);
    new zombiemax = GetConVarInt(gCvars[CVAR_ZOMBIEMAX]);
 
    new spawncount;
    new bool:respawn = GetDayRespawn(gDay);
 
    if (respawn)
    {
        spawncount = zombiemax;
    }
    else
    {
        spawncount = (zombiecount < zombiemax) ? zombiecount : zombiemax;
    }
 
    ServerCommand("bot_quota %d", spawncount);
 
    decl String:display[32];
    GetDayDisplay(gDay, display, sizeof(display));
 
    new bool:override = ExplodeZombieOverrides(gDay);
 
    new maxplayers = GetMaxClients();
    for (new x = 1; x <= maxplayers; x++)
    {
        if (!IsClientInGame(x))
        {
            continue;
        }
 
        ChangeClientDeathCount(x, 0);
 
        if (!IsPlayerZombie(x))
        {
            continue;
        }
 
        if (override)
        {
            new size = GetArraySize(adtZombies);
            if (size)
            {
                new zombieid = GetRandomInt(0, size - 1);
 
                Zombify(x, GetArrayCell(adtZombies, zombieid));
            }
        }
    }
}
I tried to make it reload the variables again from a different days.txt file but it isnt.
You trying to read KeyValues from a file? Simply make a routine that reads the config that you give it as a parameter, and on round start check player count and use something like;

if(currentClientCount > clientsForHardDifficulty)
{
ReadDaysConfig("config for harder days thing - lots of players")
}
else
{
ReadDaysConfig("config for easy days thing - few players")
}
Spartan_C001 is offline
gregws
Member
Join Date: Aug 2013
Old 09-03-2013 , 09:16   Re: Zombie Riot V1.9.1b
Reply With Quote #1050

Thanks for commenting spartan but you must have missed me saying I solved this issue.
gregws is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode