Raised This Month: $32 Target: $400
 8% 

Zombie Escape V2 (2.0.4 - 22.06.2014)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 06-20-2014 , 09:41   Zombie Escape V2 (2.0.4 - 22.06.2014)
Reply With Quote #1

Zombie Escape V2
- v2.0.4, last updated : 22.06.2014

Please test the new beta version with AMXX 1.8.2, thanks!

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.




Requirements

Credits
  • Dias - Original Mod
  • r0ck - Code for Blocking buying for Zombies.
  • Arkshine - Thread Design
  • GinNNy - Testing

Notes
  • 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 
Forwards
PHP Code:
ZEV2_OnFirstZombieChosen
ZEV2_OnOriginZombieUnleashed
ZEV2_OnHumanInfected
ZEV2_OnHumanHealed
ZEV2_OnHumanWin
ZEV2_OnZombieWin 
Addons
Zombie Escape V2: Escape Progress
Attached Files
File Type: zip ZEV2_Ressources.zip (3.83 MB, 4668 views)
File Type: inc zev2_core.inc (358 Bytes, 2605 views)
File Type: sma Get Plugin or Get Source (zombie_escape_v2_core.sma - 5478 views - 27.0 KB)
__________________

Last edited by Kia; 11-20-2014 at 03:46. Reason: Added Include File.
Kia is offline
thepirate_dz
Junior Member
Join Date: Jun 2013
Old 06-20-2014 , 10:57   Re: Zombie Escape V2: Core (2.0.0 - 20.06.2014)
Reply With Quote #2

Wow Nice Job !
i will Check if they have any bug

Last edited by thepirate_dz; 06-20-2014 at 11:06.
thepirate_dz is offline
bat
Veteran Member
Join Date: Jul 2012
Old 06-20-2014 , 15:00   Re: Zombie Escape V2: Core (2.0.0 - 20.06.2014)
Reply With Quote #3

It is similar to that Zombie Escape by Dias??
bat is offline
Send a message via Skype™ to bat
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 06-20-2014 , 15:14   Re: Zombie Escape V2: Core (2.0.0 - 20.06.2014)
Reply With Quote #4

Quote:
Originally Posted by bat View Post
It is similar to that Zombie Escape by Dias??
Yes, but I only added core features for basic gameplay so Coders can customize the mod for their needs.
__________________

Last edited by Kia; 06-20-2014 at 15:14.
Kia is offline
bat
Veteran Member
Join Date: Jul 2012
Old 06-20-2014 , 15:17   Re: Zombie Escape V2: Core (2.0.0 - 20.06.2014)
Reply With Quote #5

Quote:
Originally Posted by Kia View Post
Yes, but I only added core features for basic gameplay so Coders can customize the mod for their needs.
Hmmm i will test it mod now, thanks for sharing.
bat is offline
Send a message via Skype™ to bat
bat
Veteran Member
Join Date: Jul 2012
Old 06-20-2014 , 15:32   Re: Zombie Escape V2: Core (2.0.0 - 20.06.2014)
Reply With Quote #6

PHP Code:
L 06/20/2014 23:31:02: Function "Native_GetOriginZombie" was not found
L 06
/20/2014 23:31:02: [AMXXRun time error 19 (plugin "zombie_escape_v2_core.amxx") - debug not enabled!
L 06/20/2014 23:31:02: [AMXXTo enable debug modeadd "debug" after the plugin name in plugins.ini (without quotes).
L 06/20/2014 23:31:02: [AMXXRun time error -(plugin "zombie_escape_v2_core.amxx") - debug not enabled!
L 06/20/2014 23:31:02: [AMXXDisplaying debug trace (plugin "zombie_escape_v2_core.amxx"version "unknown")
L 06/20/2014 23:31:02: [AMXXRun time error 4index out of bounds 
L 06
/20/2014 23:31:02: [AMXX]    [0zombie_escape_v2_core.sma::plugin_precache (line 274)
L 06/20/2014 23:31:05: [HAMSANDWICH] Function Ham_KnifeAttack not found.
L 06/20/2014 23:31:05: [AMXXDisplaying debug trace (plugin "zombie_escape_v2_core.amxx"version "unknown")
L 06/20/2014 23:31:05: [AMXXRun time error 10native error (native "RegisterHam")
L 06/20/2014 23:31:05: [AMXX]    [0zombie_escape_v2_core.sma::plugin_init (line 351)
L 06/20/2014 23:31:18Expected 0 parametersgot 1
L 06
/20/2014 23:31:18: [AMXXDisplaying debug trace (plugin "zombie_escape_v2_core.amxx"version "unknown")
L 06/20/2014 23:31:18: [AMXXRun time error 10native error (native "ExecuteForward")
L 06/20/2014 23:31:18: [AMXX]    [0zombie_escape_v2_core.sma::CheckWinConditions (line 905)
L 06/20/2014 23:31:18: [AMXX]    [1zombie_escape_v2_core.sma::Ham_PlayerKilledPost (line 542)
L 06/20/2014 23:31:27Expected 0 parametersgot 1
L 06
/20/2014 23:31:27: [AMXXDisplaying debug trace (plugin "zombie_escape_v2_core.amxx"version "unknown")
L 06/20/2014 23:31:27: [AMXXRun time error 10native error (native "ExecuteForward")
L 06/20/2014 23:31:27: [AMXX]    [0zombie_escape_v2_core.sma::SelectFirstZombie (line 583
bat is offline
Send a message via Skype™ to bat
ArabicMan
Veteran Member
Join Date: Feb 2014
Location: مصر
Old 06-20-2014 , 15:33   Re: Zombie Escape V2: Core (2.0.0 - 20.06.2014)
Reply With Quote #7

Good but if you make zombie_escape.ini like original it will be better anyway i'll test it latter.
ArabicMan is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 06-20-2014 , 15:46   Re: Zombie Escape V2: Core (2.0.0 - 20.06.2014)
Reply With Quote #8

Quote:
Originally Posted by bat View Post
PHP Code:
L 06/20/2014 23:31:02: Function "Native_GetOriginZombie" was not found
L 06
/20/2014 23:31:02: [AMXXRun time error 19 (plugin "zombie_escape_v2_core.amxx") - debug not enabled!
L 06/20/2014 23:31:02: [AMXXTo enable debug modeadd "debug" after the plugin name in plugins.ini (without quotes).
L 06/20/2014 23:31:02: [AMXXRun time error -(plugin "zombie_escape_v2_core.amxx") - debug not enabled!
L 06/20/2014 23:31:02: [AMXXDisplaying debug trace (plugin "zombie_escape_v2_core.amxx"version "unknown")
L 06/20/2014 23:31:02: [AMXXRun time error 4index out of bounds 
L 06
/20/2014 23:31:02: [AMXX]    [0zombie_escape_v2_core.sma::plugin_precache (line 274)
L 06/20/2014 23:31:05: [HAMSANDWICH] Function Ham_KnifeAttack not found.
L 06/20/2014 23:31:05: [AMXXDisplaying debug trace (plugin "zombie_escape_v2_core.amxx"version "unknown")
L 06/20/2014 23:31:05: [AMXXRun time error 10native error (native "RegisterHam")
L 06/20/2014 23:31:05: [AMXX]    [0zombie_escape_v2_core.sma::plugin_init (line 351)
L 06/20/2014 23:31:18Expected 0 parametersgot 1
L 06
/20/2014 23:31:18: [AMXXDisplaying debug trace (plugin "zombie_escape_v2_core.amxx"version "unknown")
L 06/20/2014 23:31:18: [AMXXRun time error 10native error (native "ExecuteForward")
L 06/20/2014 23:31:18: [AMXX]    [0zombie_escape_v2_core.sma::CheckWinConditions (line 905)
L 06/20/2014 23:31:18: [AMXX]    [1zombie_escape_v2_core.sma::Ham_PlayerKilledPost (line 542)
L 06/20/2014 23:31:27Expected 0 parametersgot 1
L 06
/20/2014 23:31:27: [AMXXDisplaying debug trace (plugin "zombie_escape_v2_core.amxx"version "unknown")
L 06/20/2014 23:31:27: [AMXXRun time error 10native error (native "ExecuteForward")
L 06/20/2014 23:31:27: [AMXX]    [0zombie_escape_v2_core.sma::SelectFirstZombie (line 583
I deleted the newest file on my PC by mistake and uploaded now the wrong one, can you please re-post that .sma?
__________________

Last edited by Kia; 06-20-2014 at 15:46.
Kia is offline
bat
Veteran Member
Join Date: Jul 2012
Old 06-20-2014 , 15:47   Re: Zombie Escape V2: Core (2.0.0 - 20.06.2014)
Reply With Quote #9

Quote:
Originally Posted by Kia View Post
I deleted the newest file on my PC by mistake and uploaded now the wrong one, can you please re-post that .sma?

Last edited by bat; 06-20-2014 at 16:03.
bat is offline
Send a message via Skype™ to bat
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 06-20-2014 , 15:57   Re: Zombie Escape V2: Core (2.0.1 - 20.06.2014)
Reply With Quote #10

Updated the Plugin, thanks.
__________________
Kia 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 13:40.


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