AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Zombie Escape V2 (2.0.4 - 22.06.2014) (https://forums.alliedmods.net/showthread.php?t=242488)

Kia 06-20-2014 09:41

Zombie Escape V2 (2.0.4 - 22.06.2014)
 
3 Attachment(s)
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.

http://cache.www.gametracker.com/ser...b_560_95_1.png


Requirements

Credits
  • Dias - Original Mod
  • r0ck - Code for Blocking buying for Zombies.
  • Arkshine - Thread Design :3
  • 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

thepirate_dz 06-20-2014 10:57

Re: Zombie Escape V2: Core (2.0.0 - 20.06.2014)
 
Wow :shock: Nice Job !
i will Check if they have any bug :)

bat 06-20-2014 15:00

Re: Zombie Escape V2: Core (2.0.0 - 20.06.2014)
 
It is similar to that Zombie Escape by Dias??

Kia 06-20-2014 15:14

Re: Zombie Escape V2: Core (2.0.0 - 20.06.2014)
 
Quote:

Originally Posted by bat (Post 2154711)
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.

bat 06-20-2014 15:17

Re: Zombie Escape V2: Core (2.0.0 - 20.06.2014)
 
Quote:

Originally Posted by Kia (Post 2154719)
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 06-20-2014 15:32

Re: Zombie Escape V2: Core (2.0.0 - 20.06.2014)
 
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


ArabicMan 06-20-2014 15:33

Re: Zombie Escape V2: Core (2.0.0 - 20.06.2014)
 
Good but if you make zombie_escape.ini like original it will be better anyway i'll test it latter.

Kia 06-20-2014 15:46

Re: Zombie Escape V2: Core (2.0.0 - 20.06.2014)
 
Quote:

Originally Posted by bat (Post 2154727)
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?

bat 06-20-2014 15:47

Re: Zombie Escape V2: Core (2.0.0 - 20.06.2014)
 
Quote:

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


Kia 06-20-2014 15:57

Re: Zombie Escape V2: Core (2.0.1 - 20.06.2014)
 
Updated the Plugin, thanks.


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

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