Raised This Month: $161 Target: $400
 40% 

[CS:GO] Release: Zombie Plague 7.8fix2


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 11-19-2016 , 19:46   [CS:GO] Release: Zombie Plague 7.8fix2
Reply With Quote #1

Quote:
Mod don't against valves' rules. Regarding this, now the plugin should prevent auto trigger ban, but be careful, use addons just with custom models


Current Version: 7.8fix Release
Thank to MeRcyLeZZ, for this CS 1.6 Zombie Plague
Regards to Greyscale and Richard Helgeby for many useful code

< Logo submitted by Mr.Apple. Thank you! >

Discription
_____________________________________________

Nowadays Zombie Plague become a new CS:GO server-side modification with API, developed as an source mod plugin based on new SourcePawn 1.7,
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, Multi Infection, Swarm, Armageddon and more
  • Zombie Classes System: allowing add new zombie classes
  • Human Classes System: allowing add new human classes
  • Ammo Packs: awarded ин killing, damaging or infecting players, can be exchanged for goods
  • Extra Items System: allows adding unlimited custom items to buy
  • Custom Grenades: Napalms, Frost Nades, Fires and Flare
  • Deathmatch Mode: where zombies or humans can continually respawn
  • Admin Menu: to easily manage gamemodes and players
  • Special Effects: from the HL2 Engine, such as dark lighting, infection effects, fog, screen shake and etc
  • Level System: awarded by killing, damaging or infecting, increase damage, speed, gravity
  • Restoring System: allow to restore health, if you are zombie


Main Features
_____________________________________________
  • Weapons Support
  • Extra Items Support
  • Zombie Classes Support
  • Human Classes Support
  • Ammopacks System
  • Level System with MySQL and SQLite Support
  • Custom Weapons Module
  • Level System
  • Flashlight and Nightvision
  • Custom Lighting, Fog, Sky, Sun
  • Different Game Modes:
    • Normal Infection
    • Multi Infection
    • Swarm Mode
    • Nemesis Mode
    • Survivor Mode
    • Armageddon
  • Respawn System
  • Restoring System
  • Sounds System
  • Knockback System
  • Log System
  • Ragdoll System
  • Menu System
  • Leap Jumps
  • Freeze, Fire and Flare Nades
  • Game menu on "E"
  • Objective removal (C4/Hostage/Buyzone/Doors)
  • Kill & Infection Rewards
  • Natives and Forwards
  • Skills Module
  • Multi-Lanugage Support (All messages)
    • English Supported
    • Russian Supported


Main settings
_____________________________________________

Cfg file can be find here
../csgo/cfg/sourcemod/zombieplague.cfg

Spoiler

_____________________________________________

Also you can create custom map configs
../csgo/cfg/sourcemod/zombieplague/du_dust2.cfg

Configuration information:
Spoiler

_____________________________________________

Also, admin and vip module integrated into the mod.

Flags information:
Spoiler

_____________________________________________

Either manage the database for ammopacks.

Database information:
Spoiler



Compatibility
_____________________________________________

This plugin is tested on the following Sourcemod & Metamod versions or newer.
  1. Metamod:Source: 1.10 build 961
  2. SourceMod: 1.8


Commands
_____________________________________________

Conlose:
PHP Code:
'zp_version' Prints version info about this plugin.
'zp_log_list' - List available logging flags and modules with their status values.
'zp_log_add_module <module> [module] ...' Add one or more modules to the module filter.
'zp_log_remove_module <module> [module] ...' Remove one or more modules from the module filter.
'zp_config_reload <file alias>' Reloads a config file.
'zp_config_reloadall' Reloads all config files
_____________________________________________

Buttons:
PHP Code:
'E' open a main game menu.
'F' - switch flasglight, if you are human or nightvision, if you are a zombie. (+lookatweapon)
'CTRL' 'SPACE' - do the leap jump.
Do 
not move and press any button - for recovering HP, if you are a zombie
Installing
_____________________________________________

Extract everything from (.zip) to your server's cs:go folder.
Allways change all files when you update to a newer version.
Better to install modification on the clear server.

All mod's folders:
PHP Code:
../addons/sourcemod/configs/..
../
addons/sourcemod/plugins/..
../
addons/sourcemod/translations/..
../
addons/sourcemod/zombieplague/..
../
models/..
../
sounds/..
../
materials/..
../
cfg/.. 
Open server.cfg and set sv_pure 0 to protect server from disconnecting players.

Start server!

Host_Error: Index error writing string table baseline downloadables
Spoiler


Game customization
_____________________________________________

All weapons loading from ../sourcemod/zombieplague/weapons.ini

Look at the default weapon in that file for an example.
PHP Code:
"Elite"
{
    
"weaponentity"      "weapon_elite"
    "weaponindex"    "2"
    "weaponcost"    "3"
    "weaponslot"    "0"
    "weaponlvl"     "1"
    "weapononline"    "1"
    "weapondamage"  "1.0"
    "weaponknock"   "1.0"
    "weaponclass"   "survivor"
    "weaponview"    "models/weapons/v_pist_dualinfinity.mdl"
    "weaponworld"    "models/weapons/w_inf_elite.mdl"

NOTE: If you want to change weapon name, just edit name of the block!

Description of weapon blocks:
Spoiler


NOTE: To remove weapon just delete whole block!
_____________________________________________

Main menu loading from ../sourcemod/zombieplague/menus.ini

Look at the default menu case in that file for an example.
PHP Code:
"Buy weapons"
{
    
"menutitle"      "@Buy weapons"
    "menuaccess"    ""
    "menucommand"      "zshopmenu"

Description of menu blocks:
Spoiler


NOTE: To remove menu case just delete the whole block!
_____________________________________________

All sounds loading from ../sourcemod/zombieplague/sounds.ini

The sounds configuration file is a list of sounds used on the server stored in key/value format.
The sounds listed in this file are also precached when the server starts.
You can add more sounds, in format "sound1", "sound2", "sound3"...
The maximum length of the full string must be less than 256 symbols.
You also can use that sounds by ZP_SetClientSound or ZP_EmitSoundToAll native functions.

Look at the default sounds in that file for an example.

Default sounds blocks:
Spoiler



Addons
_____________________________________________

All extra items is separate plugins, method like in ZP 4.3 from CS 1.6
For additional information see include/zombieplague/extraitems.inc

Instruction for creating custom extraitem:
Spoiler

_____________________________________________

All zombie clases is separate plugins, method like in ZP 4.3 from CS 1.6
Also, you can you default zombie classes source code to change health, speed, models , ect. and recompile them back.
For additional information see include/zombieplague/zombieclasses.inc

Instruction for zombie class:
Spoiler


NOTE: Mod will be precached all model files automatically! Just add textures to downloads.ini

This is quite obviously against the stated rules and will very likely get your server banned if reported even if it doesn't currently trigger the automatic detections.

Valve Model, Valve Texture = No.
Valve Model, Custom Texture = No.
Custom Model, Valve Texture = No.
Custom Model, Custom Texture = Appears to be OK currently.

Claw models:
Spoiler

_____________________________________________

All human classes is separate plugins, method like in ZP 5.0 from CS 1.6
Also, you can you default human classes source code to change health, speed, models , ect. and recompile them back.
For additional information see include/zombieplague/humanclasses.inc

Instruction for human class:
Spoiler


NOTE: Mod will be precached all model files automatically! Just add textures to downloads.ini

Player models:
Spoiler


Downloads
_____________________________________________

Write all paths of files into downloads list file.
Custom models' materials must be listed in the download list so clients will download them. Use one line per file, with paths relative to the "csgo" folder.
Also, if you want to precache the whole folder, the path must have '/' (slash) in the end.

List files to be downloaded in the following file: ../sourcemod/zombieplague/downloads.ini

Look at the default downloads in that file for an example on how to list files to be downloaded.

Default download blocks:
Spoiler


NOTE: Don't forget about main server cvars to upload files to clients: sv_allowdownload, sv_downloadurl, sv_allowupload


Credits
_____________________________________________

A thank you to those, who helped:

Community of AlliedMods (For ideas and testing)
Kuristaja - All modification models was port and made by him. You can ask that cool guy here: Steam.Page
Greyscale and Richard Helgeby - Some useful code and structures.
inklesspen - Some useful code and a lot of help.
Counter-Strike: Online 2 - Materials, sounds and models.


Bugs
_____________________________________________

If there are any bugs, please report them in this topic.


Changelog
_____________________________________________

PHP Code:
Version7.8 (January 14 2017)
 * 
Bug fix with warmup and GOTV problem

Version7.7 (January 14 2017)
 * 
Addons OnPluginStart() changed to LibraryAdded() forward
 
Now zombies have weapon_knife_t to fix bugs with player animations

Version7.6fix (December 26 2017)
 * 
Fix of zombieplague.cpp precache stock for dx90 files
 
Fix with downloading of ice model

Version7.6 (December 25 2017)
 * 
Fix with extra item limit
 
Add convar to change button index of the menu

Version7.5 (December 20 2017)
 * 
Fix with sound block
 
Models for throwing grenade can be also set in the weapons.ini
 
Add ice model for freeze zombies
 
Optimize strings
 
Fix with knife and footstep sounds for zombies 

Version7.4 (December 12 2017)
 * 
Fix with animations for claws and custom weapons
 
Update of zombieplague.inc
 
Optimized method for find view models
 
Version7.3 (December 10 2017)
 * 
Remove jetpack and minesthey will be separated addons for that mod later
 
Optimized vectors and long strings
 
Added a lot of new zombie classes. (Thanks to Kuristaja)
 * If 
zp_game_custom_time is equal to 0infection wont start
 
Minor changes in the code for optimisation

Version7.2 (December 02 2017)
 * 
Fix Host_ErrorIndex error writing string table baseline downloadables after last update

Version7.1 (November 29 2017)
 * 
Hide radar and crosshair for zombie
 
Remove natives with soundsplaying soudns throught natives dont work
 
Remove hitgroup moduledidn t work properly with fake damage
 
Fix with footsteps sounds
 
Added 12 new human classes addons (Malefemalewith models and arms
 
Added a lot of new sounds for human (HurtDeathect.)
 * 
Humans dont correctly see zombies on map
 
Freeze grenade can extinguish molotov or incbecause now it on the smokegrenade base
 
Now grenades wont exp if you get infected
 
Fix with damagehook initialization
 
Fix with inclictor edict unvalid in damage hook
 
Tank zombie classes optimized
 
Update of sounds.ini ( new sounds for types )
 * 
Added one cvar for silent zombie footsteps
 
* New fade effect for regeneration and cvars for fade customisation

Version7.0 (November 25 2017)
 * 
Added hit group module. (hitboxes.ini)
 * 
Added new level system module with MySQL and SQLite savings.
 * 
Core optimisation.
 * 
Weapons module rewritten.
 * 
Regeneration of zombies are rewritten.
 * New 
natives system and 94 of new natives.
 * 
Added hud bar with level and exp.
 * 
A lot of new cvars.
 * 
Added view models and world models for classes. (weapons.ini)
 * 
Possibility to change damage during executing of ZP_OnClientDamaged() forward.
 * 
Added main menu module. (menus.ini)
 * 
Fixed validations of weapons from entity to definition index.
 * 
Reduce default size of dynamic glow.
 * 
All menus work by separated addons.
 * New 
addon of footsteps sounds.
 * New 
addon of human grenades.
 * New 
addon of applied damage info.
 * 
Added auto antistick module from zr mod.
 * 
Remove zombie escape addon.
 * 
Level system sounds.
 * New 
sounds.
 * 
Addon of hitgroup menu.
 * 
Damage and knockback system fixes.
 * New 
reward system.
 * 
Old level overlays are removed.
 * 
Database addon improvements.
 * New 
validation for classes to prevent them to auto choose them on start without access.
 * New 
weapon system and level validations. (Won't pickup weapon if you don't have needed level)
 * New 
fixed the implementation of human arm model.
 * 
Optimized method of searching view model objects.
 * 
Optimized extra items and zombiehuman classes modules by adding new arrays.
 * 
Some new introduction messages.
 * 
Fix with sounds logs.
 * 
Fix of fake damageNow damage applying normally.
 * 
Fix when round didn't end on the last human infection,
 * Fix of the spamming menu on E, now menu won'
t sent to the client if it already opened.
 * 
A lot of other minor fixes and changes
* Old versions
Spoiler



Donate
_____________________________________________

If you think I did a good job, please donate some money. Thanks! PayPal


Information
_____________________________________________


_____________________________________________

Download all files:
Google.Drive
Git.Hub
Do not forget to reintall all files each update

Last edited by gubka; 02-14-2018 at 13:22.
gubka is offline
Send a message via Skype™ to gubka
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 11-21-2016 , 15:50   Re: [CS:GO] Release: Zombie Plague 6.4
Reply With Quote #2

Spoiler
Attached Files
File Type: zip zmcode.zip (37.3 KB, 466 views)
__________________
Nikita Ushakov

[CS:GO] Zombie Plague | [CS:GO] Zombie Escape | YouTube Channel
(Do not send private messages. Use the forum)

Last edited by gubka; 12-10-2017 at 18:56.
gubka is offline
Send a message via Skype™ to gubka
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 11-21-2016 , 20:24   Re: [CS:GO] Release: Zombie Plague 6.4
Reply With Quote #3

Addons:
Addon: Survivor Freeze Knife
ExtraItem: Custom Weapon Base
Addon: Free VIP
Addon: JetPack
Addon: LaserMines
Addon: Escape

Tutorials:
Tutorial: How to make VIP extra item?
Tutorial: How to add Infection Grenade extra item?

Done:
212.22.93.10:27045
212.22.93.10:27045

How to buy:
50$ each, but if you want to buy them together 25$ sale off

Spoiler
__________________
Nikita Ushakov

[CS:GO] Zombie Plague | [CS:GO] Zombie Escape | YouTube Channel
(Do not send private messages. Use the forum)

Last edited by gubka; 01-25-2018 at 04:36.
gubka is offline
Send a message via Skype™ to gubka
Dacia_Logan
Member
Join Date: Sep 2016
Old 11-22-2016 , 05:45   Re: [CS:GO] Release: Zombie Plague 6.4
Reply With Quote #4

gubka make in next update 6.5 costum grenade for, flape grenade, freze greanade
http://gamebanana.com/skins/134473 grenade model
Dacia_Logan is offline
Mikado
Senior Member
Join Date: Nov 2012
Location: don't know where :/
Old 11-22-2016 , 12:12   Re: [CS:GO] Release: Zombie Plague 6.4
Reply With Quote #5

thank you gubka and good job for the zombie plague reborn

i have some suggestions to make the mod better why not, so:
Quote:
- try to add weapon menu on spawn like on the cs 1.6 one
- add a feature thet shows the ammopacks like the hud message on 1.6 ( health: %s | Armor: %s | Ammopack: %s | ) or add it on zombie plague menu something like "available ammopacks:.. "
- make the xp feature as a separated sub addons, (make the mod as simple as possible, easy to edit by adding sub-addons)
- change menu button, because "E" if someone uses parachute plugin it will spam his screen with menu

And thank you again for reviving the zombie plague that we all loved on the 1.6

Last edited by Mikado; 11-22-2016 at 13:05.
Mikado is offline
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 11-22-2016 , 13:25   Re: [CS:GO] Release: Zombie Plague 6.4
Reply With Quote #6

Quote:
- try to add weapon menu on spawn like on the cs 1.6 one
Just to small plagin witch press E button on the spawn

Quote:
- add a feature thet shows the ammopacks like the hud message on 1.6 ( health: %s | Armor: %s | Ammopack: %s | ) or add it on zombie plague menu something like "available ammopacks:.. "
CS:GO don't have hud like in the 1.6

Quote:
make the xp feature as a separated sub addons, (make the mod as simple as possible, easy to edit by adding sub-addons)
You can disable level and xp feature in the zombieplague.cfg and i can't divide main part of the code in the subplugin, it just useless, it already easy like as possible, just open 'zp' folder and you can find a lot of modules in the code
In my opinion , just adddons must be by separate plugins, but not the main core

Quote:
- change menu button, because "E" if someone uses parachute plugin it will spam his screen with menu
It the easiest possible button now, because i cant hook M or B button in CS:GO because they on the client side, just edit parachute plugin and change E button there, on the (IN_USE -> IN_JUMP) for example
__________________
Nikita Ushakov

[CS:GO] Zombie Plague | [CS:GO] Zombie Escape | YouTube Channel
(Do not send private messages. Use the forum)

Last edited by gubka; 11-22-2016 at 13:25.
gubka is offline
Send a message via Skype™ to gubka
Mikado
Senior Member
Join Date: Nov 2012
Location: don't know where :/
Old 11-22-2016 , 14:06   Re: [CS:GO] Release: Zombie Plague 6.4
Reply With Quote #7

Quote:
Originally Posted by gubka View Post
Just to small plagin witch press E button on the spawn
not like that, i mean a weapon menu for free like deathmatch on spawn

Quote:
Originally Posted by gubka View Post
It the easiest possible button now, because i cant hook M or B button in CS:GO because they on the client side, just edit parachute plugin and change E button there, on the (IN_USE -> IN_JUMP) for example
that's a good idea editing parachute..., but why not making it more easier for people who don't know how to code and make zp sub parachute with jump button it's helpfull when u use jetpack with the mod

Edit: There is a bug with Round start sounds aren't played

Last edited by Mikado; 11-23-2016 at 06:45. Reason: reported a bug
Mikado is offline
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 11-23-2016 , 13:44   Re: [CS:GO] Release: Zombie Plague 6.4
Reply With Quote #8

Quote:
Originally Posted by Mikado View Post
Edit: There is a bug with Round start sounds aren't played
Spoiler


I know that this problem can exist, if you run the server, but at first server hibernate, and sourcemod didn't hook round start and when you connect you need to wait until restart, and on next round, hook will work and sounds is well
I had same problem with timer, and at first i didn't understand why timer do not start on first run of the server and after a create infinite timer which create on map start
Or might be you don't have fast download on your server and sound do not upload to clients, because i didnt have problems with sounds on my linux server on the hosting
May be sounds interact now with standart ones
Because here sounds worrking https://www.youtube.com/watch?v=ooDggGVhIFg
May be after last update they bugged my mod again) We need to update Valve update, where they will allow server to ctop standart client sounds on round end and round start, because playgamesound Music.StopAllMusic not work now

PHP Code:
Version6.5 (Novermber 232016)
Fix with round start sounds
Cvar system in the code have changes
Fix with custom weapons like medkit etc
Edit: I fixed that, now start sounds will enable on 20sec before infection
And also fix problems with non-weapons, like medkit
__________________
Nikita Ushakov

[CS:GO] Zombie Plague | [CS:GO] Zombie Escape | YouTube Channel
(Do not send private messages. Use the forum)

Last edited by gubka; 11-23-2016 at 14:53.
gubka is offline
Send a message via Skype™ to gubka
Mikado
Senior Member
Join Date: Nov 2012
Location: don't know where :/
Old 11-23-2016 , 15:33   Re: [CS:GO] Release: Zombie Plague 6.4
Reply With Quote #9

Quote:
Originally Posted by gubka View Post
Edit: I fixed that, now start sounds will enable on 20sec before infection
still not working :/
Mikado is offline
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 11-23-2016 , 20:07   Re: [CS:GO] Release: Zombie Plague 6.4
Reply With Quote #10

Quote:
Originally Posted by Mikado View Post
still not working :/
I don't have this problem now, you can check it here 46.174.55.160:27015
__________________
Nikita Ushakov

[CS:GO] Zombie Plague | [CS:GO] Zombie Escape | YouTube Channel
(Do not send private messages. Use the forum)
gubka is offline
Send a message via Skype™ to gubka
Reply


Thread Tools
Display Modes

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 21:33.


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