Page 1 of 2

(v1.6 Only) Gamemode: Nemesis mode 1.3

Posted: 02 Jan 2021, 21:38
by z0h1r-LK
Gamemode: Nemesis
Notice :
This plugin only supports version 1.6, does not work on previous version, no need to use it on version 1.7 or later !

ScreenShots :
de_dust20005.jpg
de_dust20004.jpg
de_dust20003.jpg


Description :
It's a simple round, but zombies become nemesis (tyrant) with different features from zombies like (high power, speed, glow,..etc). An infection event is canceled in this round, as it will be damage.

Modules Used :
AMX Mod X - ReAPI

Change Log :
  1. [Version 1.0]
  2.  - Release.
  3.  
  4. [Version 1.1]
  5.  - Add cvar block frost and fire.
  6.  
  7. [Version 1.2]
  8.  - Fixed some bugs.
  9.  - Fixed function damage human.
  10.  - Added Long-Jump for nemesis with Cvar.
  11.  - Added command ze_nemesis to make player.
  12.  - Added Cvar ze_nemesis_base_hp  to get the appropriate health value for the number of players.
  13.  - Support Zombie Escape Mod v1.4, v1.5, 1.6 or above.
  14.  - Switch Ham Sandwich API | FakeMeta to ReAPI API.
  15.  - Changed Cvar ze_nemesis_freeze and ze_nemesis_fire.
  16.  - Update ze_class_nemesis.inc & ze_gamemode_nemesis.inc.
  17.  
  18. [Version 1.3] - CURRENT
  19.  - Fixed native ze_is_user_nemesis(id)
  20.  - Added ze_hud_info.sma support nemesis (Thanks VicKy).
Cvars :

Code: Select all

// Nemesis Round
ze_nemesis_health 10000		// Nemesis health value (0=zombie health).
ze_nemesis_base_hp 1000		// Base health (base_hp * count of players alive) require: ze_nemesis_health 0
ze_nemesis_speed 320		// Nemesis speed value (0=zombie speed).
ze_nemesis_gravity 500		// Nemesis gravity value (0=zombie gravity).
ze_nemesis_glow 1		// Nemesis glow shell (0=no glow).
ze_nemesis_glow_r 255		// Nemesis glow color red 0..255
ze_nemesis_glow_g 0		// Nemesis glow color green 0..255
ze_nemesis_glow_b 05		// Nemesis glow color blue 0..255
ze_nemesis_frostnade 0		// Block frostnade from effect from nemesis (0=disable | 1=enable).
ze_nemesis_firenade 0		// Block firenade from effect from nemesis. (0=disable | 1=enable)
ze_nemesis_knockback 200		// Nemesis knockback value (0=zombie knockback).
ze_nemesis_damage 4		// Nemesis multiple damage (0=normal).

// Gamemode Nemesis 
ze_nemesis_chance 20		// Chance nemesis round (1=Always).
ze_nemesis_minplayers 4		// Minimum count of players to turn nemesis round.
ze_nemesis_sound 1			// Sound notice (0=disable |1=enable)
ze_nemesis_notice 3			// Notice message (0=Disable|1=Normal text|2=HUD|3=DHUD)

// Long-Jump
ze_leap_zombie 0			// who will get a longjump? (0=Disable|1=All zombies|2=First zombies|3=Last zombies).
ze_leap_zombie_height 300	// Height value when zombie use long-jump.
ze_leap_zombie_force 500	// Force longjump.
ze_leap_zombie_cooldown 10  // Delay before re-active long-jump for zombie(s).

ze_leap_nemesis 1			// who will get a longjump? (0=Disable|1=All nemesis|2=Last nemesis).
ze_leap_nemesis_height 300	// Height value when nemesis use long-jump.
ze_leap_nemesis_force 500	// Force longjump.
ze_leap_nemesis_cooldown 5	// Delay before re-active long-jump for nemesis.
Configurations :
zombie_escape.txt
  1. [en]
  2. NOTICE_NEMESIS = ** Nemesis Mode **
  3.  
  4. CMD_NOT_ACCESS = You don't have access !
  5. CMD_NOT_FOUND = Player not found !
  6.  
  7. CHAT_ALREADY_TURNED = ^4%s^1 is already make next round is ^4Nemesis mode^1.
  8. CHAT_NEMESIS_TURNED = ^4%s^1 is make next round is ^4Nemesis mode^1.
  9. CHAT_NEMESIS_ROUND = This ^3Round^1 is a ^4Nemesis mode^1.
  10. CHAT_MAKE_NEMESIS = ^4%s^1 is make ^4%s^1 a nemesis !
  11.  
  12. ZOMBIE_NOT_CHOSEN = You can't before choose zombies.
  13. ALREADY_NEMESIS = It's already nemesis.
  14. CMD_LAST_HUMAN = You can't make the last human nemesis.
zombie_escape.ini
  1. [Access Flags]
  2. Make Nemesis = d
  3.  
  4. [Player Models]
  5. NEMESIS = ze_nemesis
  6.  
  7. [Weapon Models]
  8. V_KNIFE NEMESIS = models/zombie_escape/v_knife_nemesis.mdl
  9.  
  10. [Sounds]
  11. Nemesis Round = zombie_escape/ze_nemesis.wav
Download : If you not working or there bugs, tell me in comments.

Re: Gamemodes v1.0

Posted: 03 Jan 2021, 09:08
by PunisheR
Goob job brother

Re: [Game Mode] Nemesis Round !

Posted: 09 Feb 2021, 20:56
by SobekPogrywamy
02/09/2021 - 21:14:17: [ZE] Invalid Player (1)
L 02/09/2021 - 21:14:17: [AMXX] Displaying debug trace (plugin "ze_gamemode_nemesis.amxx", version "1.0")
L 02/09/2021 - 21:14:17: [AMXX] Run time error 10: native error (native "ze_set_user_nemesis")
L 02/09/2021 - 21:14:17: [AMXX] [0] ze_gamemode_nemesis.sma::ze_player_disconnect (line 104)

Re: [Game Mode] Nemesis Round !

Posted: 13 Feb 2021, 16:26
by z0h1r-LK
SobekPogrywamy wrote: 3 years ago 02/09/2021 - 21:14:17: [ZE] Invalid Player (1)
L 02/09/2021 - 21:14:17: [AMXX] Displaying debug trace (plugin "ze_gamemode_nemesis.amxx", version "1.0")
L 02/09/2021 - 21:14:17: [AMXX] Run time error 10: native error (native "ze_set_user_nemesis")
L 02/09/2021 - 21:14:17: [AMXX] [0] ze_gamemode_nemesis.sma::ze_player_disconnect (line 104)
If ze_class_nemesis is not working, so ze_gamemode_nemesis.sma will not work
Because ze_set_user_nemesis was registered from ze_class_nemesis
So check from ze_class_nemesis is running

1/ - type amxx plugins in cmd server
2/ - search from ze_class_nemesis.amxx

Notice: i'm try plugin in my game is worked, in ze 1.5 and is not working in 1.4 1.3

Re: [Game Mode] Nemesis Round !

Posted: 13 Feb 2021, 19:04
by SobekPogrywamy
[ 63] [ZE] Class: Nemesis 1.0 ZE Dev Team ze_class_nemesi debug
[ 64] [ZE] Gamemode: Nemesis 1.0 LiZou Mapper ze_gamemode_nem debug


its run

Re: [Game Mode] Nemesis Round !

Posted: 14 Feb 2021, 13:35
by z0h1r-LK
SobekPogrywamy wrote: 3 years ago [ 63] [ZE] Class: Nemesis 1.0 ZE Dev Team ze_class_nemesi debug
[ 64] [ZE] Gamemode: Nemesis 1.0 LiZou Mapper ze_gamemode_nem debug


its run
Fixed now
I'm test it when bots, it's worked !
and i'm add 2 cvars (block freeze and block fire) !

Re: [Game Mode] Nemesis Round (v1.1)

Posted: 14 Feb 2021, 16:52
by Raheem
OK, I added the Approved tag. Thanks for this, many were needing it.

Re: [Game Mode] Nemesis Round (v1.1)

Posted: 14 Feb 2021, 17:16
by z0h1r-LK
Raheem wrote: 3 years ago OK, I added the Approved tag. Thanks for this, many were needing it.
Raheem
I find new method to create gamemodes manager :)

Re: [Game Mode] Nemesis Round (v1.1)

Posted: 14 Feb 2021, 17:37
by Raheem
lizoumapper wrote: 3 years ago
Raheem wrote: 3 years ago OK, I added the Approved tag. Thanks for this, many were needing it.
Raheem
I find new method to create gamemodes manager :)
Personally, I don't like game modes in ZE, but good to do bro in fact so it will help others who like it. Generally, I don't code something I don't like :shock: :roll: :lol:

Re: [Game Mode] Nemesis Round (v1.1)

Posted: 24 Feb 2021, 04:25
by ngamerz
Ohh nice work, you forgot the "leap" feature of nemesis, anyways GJ. But don't make ZE as ZP (I mean swarm mode)

Re: [Game Mode] Nemesis Round (v1.1)

Posted: 10 Mar 2021, 13:53
by z0h1r-LK
ngamerz wrote: 3 years ago Ohh nice work, you forgot the "leap" feature of nemesis, anyways GJ. But don't make ZE as ZP (I mean swarm mode)
LEAP is available
but i forgot put it ok
ok, next update i will add it ok
i will fix some bugs in plugins
thanks
i will remove swarm mode ok :)

Re: [Game Mode] Nemesis Round (v1.1)

Posted: 21 Mar 2021, 18:29
by NomaDD
i got this errors

Code: Select all

L 03/21/2021 - 20:21:01: [ZE] Invalid Player (2)
L 03/21/2021 - 20:21:01: [AMXX] Run time error 10 (plugin "ze_gamemode_nemesis.amxx") (native "ze_set_user_nemesis") - debug not enabled!
L 03/21/2021 - 20:21:01: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
And idk is from my sv but when someone is spectating the nemesis , the nemesis get stuck

Re: [Game Mode] Nemesis Round (v1.1)

Posted: 29 Mar 2021, 16:24
by z0h1r-LK
NomaDD wrote: 3 years ago i got this errors

Code: Select all

L 03/21/2021 - 20:21:01: [ZE] Invalid Player (2)
L 03/21/2021 - 20:21:01: [AMXX] Run time error 10 (plugin "ze_gamemode_nemesis.amxx") (native "ze_set_user_nemesis") - debug not enabled!
L 03/21/2021 - 20:21:01: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
And idk is from my sv but when someone is spectating the nemesis , the nemesis get stuck
Tell me any version ze mod do you use

Re: [Game Mode] Nemesis Round (v1.1)

Posted: 27 Jul 2021, 18:50
by VicKy
Bro Add leap jump

Re: [Game Mode] Nemesis Round (v1.1)

Posted: 08 Sep 2021, 18:43
by z0h1r-LK
VicKy wrote: 2 years ago Bro Add leap jump
I will update nemesis mode, soon
I need solve some problems, I'm will update it

Re: [Game Mode] Nemesis Round (v1.2)

Posted: 11 Sep 2021, 13:26
by z0h1r-LK
Updated to 1.2

Re: [Game Mode] Nemesis Round (v1.2)

Posted: 11 Sep 2021, 20:11
by VicKy
Z0uha1r_LK wrote: 2 years ago Updated to 1.2
Add Nemesis Mod All Round At Some Map That Would Me Manage in zombie_escape.ini
Like This
Nemesis_Map = Any Map You Want To Run Nemesis Mod All Round Like De_dust etc
Also Add Cvar For Nemesis Map Time
I mean when choosen time came sv will vote our added nemesis map than change to nemesis map


Sorry For Bad English :( :lol:

Re: [Game Mode] Nemesis Round (v1.2)

Posted: 12 Sep 2021, 01:32
by z0h1r-LK
VicKy wrote: 2 years ago Add Nemesis Mod All Round At Some Map That Would Me Manage in zombie_escape.ini
Like This
Nemesis_Map = Any Map You Want To Run Nemesis Mod All Round Like De_dust etc
Also Add Cvar For Nemesis Map Time
I mean when choosen time came sv will vote our added nemesis map than change to nemesis map


Sorry For Bad English :( :lol:
Method is easy:
- Add new folder in configs directory called 'maps'
- Add new file in new folder 'maps' called 'prefix_de.cfg', Don't forgot add extension .cfg is very important, and put it in 'prefix_de.cfg' this :
  1. // General
  2. mp_timeleft 45          // Timeleft, Time change map.
  3. mp_roundtime 9      // Time round end.
  4.  
  5. // Nemesis Round
  6. ze_nemesis_health 10000     // Nemesis health value (0=zombie health).
  7. ze_nemesis_base_hp 1000     // Base health (base_hp * count of players alive) require: ze_nemesis_health 0
  8. ze_nemesis_speed 310        // Nemesis speed value (0=zombie speed).
  9. ze_nemesis_gravity 500      // Nemesis gravity value (0=zombie gravity).
  10. ze_nemesis_glow 1       // Nemesis glow shell (0=no glow).
  11. ze_nemesis_glow_r 255       // Nemesis glow color red 0..255
  12. ze_nemesis_glow_g 255       // Nemesis glow color green 0..255
  13. ze_nemesis_glow_b 255       // Nemesis glow color blue 0..255
  14. ze_nemesis_frostnade 0      // Block frostnade from effect from nemesis (0=disable | 1=enable).
  15. ze_nemesis_firenade 1       // Block firenade from effect from nemesis. (0=disable | 1=enable)
  16. ze_nemesis_knockback 200        // Nemesis knockback value (0=zombie knockback).
  17. ze_nemesis_damage 4     // Nemesis multiple damage (0=normal).
  18.  
  19. // Gamemode Nemesis
  20. ze_nemesis_chance 20        // Chance nemesis round (1=Always).
  21. ze_nemesis_minplayers 4     // Minimum count of players to turn nemesis round.
  22. ze_nemesis_sound 1          // Sound notice (0=disable |1=enable)
  23. ze_nemesis_notice 3         // Notice message (0=Disable|1=Normal text|2=HUD|3=DHUD)
  24.  
  25. // Long-Jump
  26. ze_leap_zombie 0            // who will get a longjump? (0=Disable|1=All zombies|2=First zombies|3=Last zombies).
  27. ze_leap_zombie_height 300   // Height value when zombie use long-jump.
  28. ze_leap_zombie_force 500    // Force longjump.
  29. ze_leap_zombie_cooldown 10  // Delay before re-active long-jump for zombie(s).
  30.  
  31. ze_leap_nemesis 1           // who will get a longjump? (0=Disable|1=All nemesis|2=Last nemesis).
  32. ze_leap_nemesis_height 300  // Height value when nemesis use long-jump.
  33. ze_leap_nemesis_force 500   // Force longjump.
  34. ze_leap_nemesis_cooldown 5  // Delay before re-active long-jump for nemesis.
and save file.
If current map is de_ will turn nemesis round always.
If you set this cvar 'ze_nemesis_chance' to '1', Nemesis round will turn always.
save file like this: 'prefix_de.cfg' not like it: 'prefix_de.cfg.txt'

Re: [Game Mode] Nemesis Round (v1.2)

Posted: 12 Sep 2021, 12:20
by VicKy
Z0uha1r_LK wrote: 2 years ago
VicKy wrote: 2 years ago Add Nemesis Mod All Round At Some Map That Would Me Manage in zombie_escape.ini
Like This
Nemesis_Map = Any Map You Want To Run Nemesis Mod All Round Like De_dust etc
Also Add Cvar For Nemesis Map Time
I mean when choosen time came sv will vote our added nemesis map than change to nemesis map


Sorry For Bad English :( :lol:
Method is easy:
- Add new folder in configs directory called 'maps'
- Add new file in new folder 'maps' called 'prefix_de.cfg', Don't forgot add extension .cfg is very important, and put it in 'prefix_de.cfg' this :
  1. // General
  2. mp_timeleft 45          // Timeleft, Time change map.
  3. mp_roundtime 9      // Time round end.
  4.  
  5. // Nemesis Round
  6. ze_nemesis_health 10000     // Nemesis health value (0=zombie health).
  7. ze_nemesis_base_hp 1000     // Base health (base_hp * count of players alive) require: ze_nemesis_health 0
  8. ze_nemesis_speed 310        // Nemesis speed value (0=zombie speed).
  9. ze_nemesis_gravity 500      // Nemesis gravity value (0=zombie gravity).
  10. ze_nemesis_glow 1       // Nemesis glow shell (0=no glow).
  11. ze_nemesis_glow_r 255       // Nemesis glow color red 0..255
  12. ze_nemesis_glow_g 255       // Nemesis glow color green 0..255
  13. ze_nemesis_glow_b 255       // Nemesis glow color blue 0..255
  14. ze_nemesis_frostnade 0      // Block frostnade from effect from nemesis (0=disable | 1=enable).
  15. ze_nemesis_firenade 1       // Block firenade from effect from nemesis. (0=disable | 1=enable)
  16. ze_nemesis_knockback 200        // Nemesis knockback value (0=zombie knockback).
  17. ze_nemesis_damage 4     // Nemesis multiple damage (0=normal).
  18.  
  19. // Gamemode Nemesis
  20. ze_nemesis_chance 20        // Chance nemesis round (1=Always).
  21. ze_nemesis_minplayers 4     // Minimum count of players to turn nemesis round.
  22. ze_nemesis_sound 1          // Sound notice (0=disable |1=enable)
  23. ze_nemesis_notice 3         // Notice message (0=Disable|1=Normal text|2=HUD|3=DHUD)
  24.  
  25. // Long-Jump
  26. ze_leap_zombie 0            // who will get a longjump? (0=Disable|1=All zombies|2=First zombies|3=Last zombies).
  27. ze_leap_zombie_height 300   // Height value when zombie use long-jump.
  28. ze_leap_zombie_force 500    // Force longjump.
  29. ze_leap_zombie_cooldown 10  // Delay before re-active long-jump for zombie(s).
  30.  
  31. ze_leap_nemesis 1           // who will get a longjump? (0=Disable|1=All nemesis|2=Last nemesis).
  32. ze_leap_nemesis_height 300  // Height value when nemesis use long-jump.
  33. ze_leap_nemesis_force 500   // Force longjump.
  34. ze_leap_nemesis_cooldown 5  // Delay before re-active long-jump for nemesis.
and save file.
If current map is de_ will turn nemesis round always.
If you set this cvar 'ze_nemesis_chance' to '1', Nemesis round will turn always.
save file like this: 'prefix_de.cfg' not like it: 'prefix_de.cfg.txt'
Thanks Working

>> Block Zombie/Humans To Be Respawn After Nemesis Round Started !

>> I Want To Add Nemesis At Hud Like
Class :- Nemesis
  1.  
  2. ZOMBIE_SPEC = Spectating: %s^nHP: %i^nClass: Zombie^nEscape Coins: %i
  3. ZOMBIE_SPEC_COMMAS = Spectating: %s^nHP: %s^nClass: Zombie^nEscape Coins: %i
  4.  
  5. NEMESIS_SPEC = Spectating: %s^nHP: %i^nClass: Nemesis^nEscape Coins: %i
  6. NEMESIS_SPEC_COMMAS = Spectating: %s^nHP: %s^nClass: Nemesis^nEscape Coins: %i
  7.  
  8. HUMAN_SPEC = Spectating: %s^nHP: %i^nClass: Human^nEscape Coins: %i
  9. HUMAN_SPEC_COMMAS = Spectating: %s^nHP: %s^nClass: Human^nEscape Coins: %i
  10.  
  11. HUMAN_SPEC_LEADER = Spectating: %s^nHP: %i^nClass: Escape Leader^nEscape Coins: %i
  12. HUMAN_SPEC_COMMAS_LEADER = Spectating: %s^nHP: %s^nClass: Escape Leader^nEscape Coins: %i^
  13.  
  14. ZOMBIE = >> HP: %i | Class: Zombie | Escape Coins: %i <<
  15. ZOMBIE_COMMAS = >>  HP: %s | Class: Zombie | Escape Coins: %i <<
  16.  
  17. HUMAN_LEADER = >> HP: %i | Class: Escape Leader | Escape Coins: %i <<
  18. HUMAN_LEADER_COMMAS = >> HP: %s | Class: Escape Leader | Escape Coins: %i <<
  19.  
  20. HUMAN = >> HP: %i | Class: Human | Escape Coins: %i <<
  21. HUMAN_COMMAS = >> HP: %s | Class: Human | Escape Coins: %i <<
  22.  
  23. NEMESIS = >> HP: %i | Class: Nemesis | Escape Coins: %i <<
  24. NEMESIS_COMMAS = >> HP: %s | Class: Nemesis | Escape Coins: %i <<

Re: [Game Mode] Nemesis Round (v1.2)

Posted: 12 Sep 2021, 17:12
by z0h1r-LK
VicKy wrote: 2 years ago Thanks Working

>> Block Zombie/Humans To Be Respawn After Nemesis Round Started !

>> I Want To Add Nemesis At Hud Like
Class :- Nemesis
  1.  
  2. ZOMBIE_SPEC = Spectating: %s^nHP: %i^nClass: Zombie^nEscape Coins: %i
  3. ZOMBIE_SPEC_COMMAS = Spectating: %s^nHP: %s^nClass: Zombie^nEscape Coins: %i
  4.  
  5. NEMESIS_SPEC = Spectating: %s^nHP: %i^nClass: Nemesis^nEscape Coins: %i
  6. NEMESIS_SPEC_COMMAS = Spectating: %s^nHP: %s^nClass: Nemesis^nEscape Coins: %i
  7.  
  8. HUMAN_SPEC = Spectating: %s^nHP: %i^nClass: Human^nEscape Coins: %i
  9. HUMAN_SPEC_COMMAS = Spectating: %s^nHP: %s^nClass: Human^nEscape Coins: %i
  10.  
  11. HUMAN_SPEC_LEADER = Spectating: %s^nHP: %i^nClass: Escape Leader^nEscape Coins: %i
  12. HUMAN_SPEC_COMMAS_LEADER = Spectating: %s^nHP: %s^nClass: Escape Leader^nEscape Coins: %i^
  13.  
  14. ZOMBIE = >> HP: %i | Class: Zombie | Escape Coins: %i <<
  15. ZOMBIE_COMMAS = >>  HP: %s | Class: Zombie | Escape Coins: %i <<
  16.  
  17. HUMAN_LEADER = >> HP: %i | Class: Escape Leader | Escape Coins: %i <<
  18. HUMAN_LEADER_COMMAS = >> HP: %s | Class: Escape Leader | Escape Coins: %i <<
  19.  
  20. HUMAN = >> HP: %i | Class: Human | Escape Coins: %i <<
  21. HUMAN_COMMAS = >> HP: %s | Class: Human | Escape Coins: %i <<
  22.  
  23. NEMESIS = >> HP: %i | Class: Nemesis | Escape Coins: %i <<
  24. NEMESIS_COMMAS = >> HP: %s | Class: Nemesis | Escape Coins: %i <<
Ok.
I'm add that in this plugin.
Download this plugin and compile it, put it in plugins folder your server.
ze_hud_info.sma
HUD Info (Support Nemesis)
(11.89 KiB) Downloaded 217 times
ze_hud_info.sma
HUD Info (Support Nemesis)
(11.89 KiB) Downloaded 217 times