| About the mod
Zombie Plague is a Counter-Strike server side modification, developed as an AMX Mod X plugin, which completely revamps the gameplay, turning the game into an intense "Humans vs Zombies" survival experience.
| Informations
Spoiler
Code:
/*================================================================================
*********************************************************
************** [Zombie Plague Crazy Night] **************
*********************************************************
----------------------
-*- Licensing Info -*-
----------------------
Zombie Plague Mod
Copyright (C) 2017 by Crazy
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
In addition, as a special exception, the author gives permission to
link the code of this program with the Half-Life Game Engine ("HL
Engine") and Modified Game Libraries ("MODs") developed by Valve,
L.L.C ("Valve"). You must obey the GNU General Public License in all
respects for all of the code used other than the HL Engine and MODs
from Valve. If you modify this file, you may extend this exception
to your version of the file, but you are not obligated to do so. If
you do not wish to do so, delete this exception statement from your
version.
-------------------
-*- Description -*-
-------------------
Zombie Plague is a Counter-Strike server side modification, developed as
an AMX Mod X plugin, which completely revamps the gameplay, turning the
game into an intense "Humans vs Zombies" survival experience.
Even though it's strongly based on the classic zombie infection mods, it
takes the concept to a new level by introducing:
* New Gameplay Modes: Nemesis, Survivor, Sniper, Assassin, Multi Infection, Swarm, and more
* Zombie Classes System: allows addding unlimited custom zombie classes
* Human Classes System: allows addding unlimited custom human classes
* Ammo Packs: awarded to skilled players, can be exchanged for goods
* Extra Items System: allows adding unlimited custom items to buy
* Custom Grenades: Napalms, Frost Nades, Flares, and Infection Bombs
* Respawn Mode: where zombies or humans can continually respawn
* Admin Menus: to easily perform the included console commands
* Special Effects: from the HL Engine, such as dynamic lighting and fog
There is plenty of customization as well, which enables you to create
several different styles of gameplay. You can:
* Set zombies and humans' health, speed, models, rewards, and more
* Toggle unlimited ammo
* Separately enable and customize the new gameplay modes to your liking
* Change overall map lighting (lightnings available for the dark settings)
* Set different colors and sizes for nightvision
* Toggle leap (long jumping) and pain shock free (no damage slowdowns)
* Toggle various infection effects, such as sparks and screen shakes
* Replace sounds or add some background themes
* And many more...
-------------
-*- Media -*-
-------------
* Gameplay Video 1: http://www.youtube.com/watch?v=HFUyF7-_uzw (MeRcyLeZZ version)
* Gameplay Video 2: http://www.youtube.com/watch?v=XByif6Mti-w (MeRcyLeZZ version)
--------------------
-*- Requirements -*-
--------------------
* Mods: Counter-Strike 1.6 or Condition-Zero
* AMXX: Version 1.8.2
--------------------
-*- Installation -*-
--------------------
Extract the contents from the .zip file to your server's mod directory
("cstrike" or "czero"). Make sure to keep folder structure.
-----------------------
-*- Official Forums -*-
-----------------------
For the official Zombie Plague forums visit:
http://forums.alliedmods.net/forumdisplay.php?f=126
There you can:
* Get the latest releases and early betas
* Discuss new features and suggestions
* Share sub-plugins (expansions) for the mod
* Find the support and help you need
* Report any bugs you might find
* And all that sort of stuff...
-------------------------------
-*- CVARS and Customization -*-
-------------------------------
For a complete and in-depth cvar list, look at the zplague_crazynight.cfg file
located in the amxmodx\configs directory.
Additionally, you can change player models, sounds, weather effects,
and some other stuff from the configuration file zpcn_customization.ini.
As for editing attributes of classes or custom extra items, you'll find
a zp_zombieclasses.ini, zp_humanclasses.ini, and zp_extraitems.ini. These
files will be automatically updated as you install new custom classes or
items with new entries for you to edit conveniently.
----------------------
-*- Infection Mode -*-
----------------------
On every round players start out as humans, equip themselves with a few
weapons and grenades, and head to the closest cover they find, knowing
that one of them is infected with the T-Virus, and will suddenly turn
into a vicious brain eating creature.
Only little time after, the battle for survival begins. The first zombie
has to infect as many humans as possible to cluster a numerous zombie
horde and take over the world.
--------------------------
-*- New Gameplay Modes -*-
--------------------------
* Nemesis:
The first zombie may turn into a Nemesis, a powerful fast-moving
beast. His goal is to kill every human while sustaining the gunfire.
* Survivor:
Everyone became a zombie except him. The survivor gets a custom weapon
with unlimited ammo and has to stop the never-ending army of undead.
* Assassin:
The first zombie may turn into a Assassin, a powerful very fast-moving
beast. No aura, no glow, his goal is to kill every human while sustaining the gunfire.
* Sniper:
Everyone became a zombie except him. The sniper gets a awp
with unlimited ammo, one shooot is equal a dead zombie,
has to stop the never-ending army of undead.
* Multiple Infection:
The round starts with many humans infected, so the remaining players
will have to act quickly in order to control the situation.
* Swarm Mode:
Half of the players turn into zombies, the rest become immune and
cannot be infected. It's a battle to death.
* Plague Mode: [bonus]
A full armed Survivor and his soldiers are to face Nemesis and
his zombie minions. The future of the world is in their hands.
* Apocalypse Mode: [bonus]
A full armed Sniper and his soldiers are to face Assassin and
his zombie minions. The future of the world is in their hands.
* Armageddon Mode: [bonus]
Total destruction between Survivors and Snipers x Nemesis and Assassins.
--------------------
-*- In-Game Menu -*-
--------------------
Players can access the mod menu by typing "zpcnmenu" on chat, or by
pressing the M ("chooseteam") key. The menu allows players to choose
their zombie/human class, buy extra items, buy weapons, or see the ingame help.
Admins will find an additional option to easily perform all console
commands.
----------------------
-*- Admin Commands -*-
----------------------
The following console commands are available:
* zpcn_zombie <target> - Turn someone into a Zombie
* zpcn_human <target> - Turn someone back to Human
* zpcn_nemesis <target> - Turn someone into a Nemesis
* zpcn_survivor <target> - Turn someone into a Survivor
* zpcn_assassin <target> - Turn someone into a Assassin
* zpcn_sniper <target> - Turn someone into a Sniper
* zpcn_respawn <target> - Respawn someone
* zpcn_swarm - Start Swarm mode
* zpcn_multi - Start Multi infection mode
* zpcn_plague - Start Plague mode
* zpcn_apocalypse - Start Apocalypse mode
* zpcn_armageddon - Start Armageddon mode
------------------
-*- Plugin API -*-
------------------
Some natives and forwards have been added to ease the
development of sub-plugins, though you may also find them useful to work
out compatibility issues with existing plugins.
Look for the include files in your amxmodx\scripting\include folder
for the full documented list.
----------------------
-*- Zombie Classes -*-
----------------------
It is possible to create and add an unlimited number of
zombie classes to the main mod. They can be made as separate plugins,
by using the provided zombie class API, and easily distributed.
By default, these zombie classes are included:
* Classic Zombie: well balanced zombie for beginners.
* Raptor Zombie: fast moving zombie, but also the weakest.
* Big Zombie: slow but strong zombie, with lots of hit points.
* Poison Zombie: light weighed zombie, jumps higher.
* Leech Zombie: regains additional health when infecting.
---------------------
-*- Human Classes -*-
---------------------
It is possible to create and add an unlimited number of
human classes to the main mod. They can be made as separate plugins,
by using the provided human class API, and easily distributed.
By default, these human classes are included:
* Soldier: well balanced human for beginners.
* Rambo: only a random class for the VIP users :D
-------------------
-*- Extra Items -*-
-------------------
It is possible to add an unlimited number of items
which can be purchased through the Extra Items menu. All you need
to do is use the provided item registration natives on your custom
plugins. You can set the name, the cost in ammo packs, and the team
the extra item should be available for.
By default there is a number of items already included, listed here:
* T-Virus Antidote: makes you turn back to your human form [Zombie]
* Zombie Madness: you develop a powerful shield for a short time [Zombie]
* Infection Bomb: infects anyone within its explosion radius [Zombie]
You are also able to choose some weapons to act as extra items in the
customization file (zpcn_extra_items.ini).
---------------
-*- Weapons -*-
---------------
It is possible to add an unlimited number of weapons
which can be purchased through the Weapons menu. All you need
to do is use the provided weapon registration natives on your custom
plugins. You can set the name, allow only for VIP users and the weapon
type should be available for (primary or secondary weapons menu).
You are also able to choose some weapons to act as weapons in the
customization file (zpcn_weapons.ini).
-----------------
-*- VIP Users -*-
-----------------
By default, the mode are using ADMIN_LEVEL_H (flag "t") to retrieve
vip users.
You are also able to add more users in the default amxx users
customization file (users.ini).
To allow stuffs only for vips, set "1" in the VIP flag of registered items,
classes or weapons in their configuration files.
-------------------
-*- Items Limit -*-
-------------------
It is possible to set a buy limit for each item. To
disabled item limit, just set "0" in their LIMIT attribute.
You are also able to configure the extra item attribute
in the customization file (zpcn_extra_items.ini).
-------------------
-*- Buy classes -*-
-------------------
It is possible to set a cost for each class. To
disabled cost, just set "0" in their COST.
You are also able to configure the class attributes
in the customization file (zpcn_zombie_classes.ini / zpcn_human_classes.ini).
-----------------------------
-*- Custom gameplay modes -*-
-----------------------------
It is possible to register custom game modes.
Fell free to check the include file zplague_crazynight.inc located in
amxmodx\scripting\include, and examples located in amxmodx\scripting\examples.
---------------
-*- Credits -*-
---------------
* AMXX Dev Team: for all the hard work which made this possible.
* MeRcyLeZZ (and all contributors): for the hard work on the Zombie Plague 4.3 Fix5a and amx_settings_api.
* WiLS: cs_ham_bots_api and cs_players_models_api.
* forums.alliedmods.net: despite all the discussions, there are great programmers who have helped with the logic of programming.
* ConnorMCLeod: for flashlight, painshock free, strip weapons, players menu and some usefull stuffs.
* Bugsy: block spawn weapons code.
* joaquimandrade: hack to be able to use Ham_Player_ResetMaxSpeed.
* Exolent[jNr]: usefull guide about dynamic items in menu.
* Emp': usefull guide about newmenus.
* HamletEagle: usefull guide about vectors/arrays.
-----------------
-*- Changelog -*-
-----------------
- Version: 3.0 Beta 1 (Jun 06, 2017)
* Rebuild the ZP 4.3 Fix5a: optimized the code, removed fakemeta_util stocks, substituted some code of fakemeta to cstrike/engine.
* Added new API features: cs_ham_bots_api, cs_players_models_api, amx_settings_api
* Added new gameplay modes: Armageddon Mode, Assassin Mode, Sniper Mode, Apocalypse Mode
* Added support for custom Human Classes
* Added VIP system
* Added support for register custom human weapons
* Added support for register custom human knifes
* Added support for register custom gameplay modes
* Added new configuration files
* Updated the menu to newmenus syntax
* Added support to configure bot weapons (random or specific)
* Added support to change grenades v_, p_ and w_ models
* Added buy classes system
* Added extra item limit system
- Version: 3.0 Beta 2 (Jun 07, 2017)
* Added custom flashlight support
* Added client command '/say vipmenu' to open VIP menu
* Added zpcn_get_user_knife native
* Updated some natives
* Added admin/vip skins setting
* Added custom game mode sound/ambience support
* Fixed nemesis/assassin round bug
* Added zpcn_get_user_vip native
=================================================================================*/
| Configuration
All configuration files are located in amxmodx\configs\ folder.
zpcn_customization.ini: in this file you can configure sounds, effects and more.
zpcn_weapons.ini: in this file you can configure name, type and set vip of all registered weapons.
zpcn_extra_items.ini: in this file you can configure name, cost, team, limit and set vip of all registered extra items.
zpcn_knifes.ini: in this file you can configure name, models and set vip of human knifes.
zpcn_zombie_classes.ini: in this file you can configure zombie classes attributes.
zpcn_human_classes.ini: in this file you can configure human classes attributes.
zplague_crazynight.cfg.ini: in this file you can configure game mode cvars.
| How to install
Download and extract the contents from the .zip files to your server's mod directory (cstrike or czero) and make sure to keep folder structure
zpcn_plugin.zip: Contains the plugin itself and configuration files
zpcn_resources.zip: Contains default models and sounds (only required for a first download)
zpcn_readme.txt: in this file you can read about the plugin informations.
zpcn_changelog.txt: in this file you can read about the change logs.
| Requirements
Mods: Counter-Strike 1.6 or Condition-Zero
AMXX: Version 1.8.2
| ML_NOTFOUND
Try search here, if you don't found, please make one a share with the community!
| Changelog
PHP Code:
- Version: 3.0 Beta 1 (Jun 06, 2017) * Rebuild the ZP 4.3 Fix5a: optimized the code, removed fakemeta_util stocks, substituted some code of fakemeta to cstrike/engine. * Added new API features: cs_ham_bots_api, cs_players_models_api, amx_settings_api * Added new gameplay modes: Armageddon Mode, Assassin Mode, Sniper Mode, Apocalypse Mode * Added support for custom Human Classes * Added VIP system * Added support for register custom human weapons * Added support for register custom human knifes * Added support for register custom gameplay modes * Added new configuration files * Updated the menu to newmenus syntax * Added support to configure bot weapons (random or specific) * Added support to change grenades v_, p_ and w_ models * Added buy classes system * Added extra item limit system
- Version: 3.0 Beta 2 (Jun 07, 2017) * Added custom flashlight support * Added client command '/say vipmenu' to open VIP menu * Added zpcn_get_user_knife native * Updated some natives * Added admin/vip skins setting * Added custom game mode sound/ambience support * Fixed nemesis/assassin round bug * Added zpcn_get_user_vip native
| Credits
AMXX Dev Team: for all the hard work which made this possible.
MeRcyLeZZ (and all contributors): for the hard work on the Zombie Plague 4.3 Fix5a and amx_settings_api.
WiLS: cs_ham_bots_api and cs_players_models_api.
forums.alliedmods.net: despite all the discussions, there are great programmers who have helped with the logic of programming.
ConnorMCLeod: for flashlight, painshock free, strip weapons, players menu and some usefull stuffs.
Bugsy: block spawn weapons code.
joaquimandrade: hack to be able to use Ham_Player_ResetMaxSpeed.
Exolent[jNr]: usefull guide about dynamic items in menu.