Zombie Escape V2 is my version of Counter-Strike Online's Zombie Escape Mode. This Version of the mode only contains the minimal amount of content allowing to add custom content as you need.
This Version is made mainly made for Developers to add custom content. Please only post bugs here, feature requests will be ignored. A extended version will follow soon.
This was not tested with many players, if you find bugs, please post them.
Changelog
Quote:
Originally Posted by Version 2.0.1
Fixed some mistakes.
Quote:
Originally Posted by Version 2.0.2
Removed Testing Code which gave all players godmode.
Removed defined Player Model, it gets resetted now instead.
Replaced Ham_Item_Preframe with Ham_CS_Player_ResetMaxSpeed (thanks to r0ck).
Quote:
Originally Posted by Version 2.0.3
Fixed Bug that Server floods Log when there are no players on the server. (Thanks to Xalus)
Optimized Code. (Thanks to Xalus).
Quote:
Originally Posted by Version 2.0.4
Added Check at Player Disconnect. (Thanks to JusTGo)
Enhanced Code for Origin Zombie.
Defines
PHP Code:
// Sound File for Countdown #define SOUND_READY "sound/ZombieEscapeV2/ZE_Ready.mp3"
// Sound File for Ambience Music #define SOUND_AMBIENCE "sound/ZombieEscapeV2/ZE_Ambience.mp3"
// Sound File for Origin Zombie Unleash #define SOUND_UNLEASH "ZombieEscapeV2/zombi_coming_1.wav"
// Player Model for Origin Zombie #define MODEL_PLAYER_ORIGIN "models/player/ZEV2_Origin/ZEV2_Origin.mdl"
// Player Model Name #define MODEL_PLAYER_ORIGIN_NAME "ZEV2_Origin"
// Player Model for normal Zombies #define MODEL_PLAYER_ZOMBIE "models/player/ZEV2_Normal/ZEV2_Normal.mdl"
// Player Model Name #define MODEL_PLAYER_ZOMBIE_NAME "ZEV2_Normal"
// Knife Model for Zombies #define MODEL_KNIFE_V "models/ZombieEscapeV2/v_knife.mdl"
// Length in Seconds of the Ambience Music #define SOUND_AMBIENCE_LENGTH 138.089
// Time in Seconds to run for Humans after Zombie was chosen #define TIME_RUN 10.0
// Knockback Power #define KNOCKBACK_POWER 346.0
// Health for new Host Zombies #define HEALTH_HOST_ZOMBIE 4500
// Time in Seconds how long Zombies need to respawn #define TIME_HOST_RESPAWN 10.0
Natives
PHP Code:
native ZEV2_GetOriginZombie(); // Returns the current Origin Zombie native ZEV2_SetOriginZombie(index); // Sets the Origin Zombie native ZEV2_InfectPlayer(index); // Infects a player native ZEV2_HealPlayer(index); // Heals a player native ZEV2_IsUserZombie(index); // Returns a boolean if a Player is a zombie