[Updated] Nemesis Round v1.1

Useless Stuffs, Spam ... etc
User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 391
Joined: 1 Year Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

Re: [Updated] Nemesis Round v1.1

#21

Post by Muhammet20 » 2 Months Ago

Raheem wrote:
2 Months Ago
Hello,

The nemesis will infect or kill players? It should kill but i can't find the usage of: ze_user_infected_pre() forward. Explain me how this will works.

Also upload files on our website better than using external links like Mediafire.
done.
.::Kaya Gaming || Never Give Up || Zombie Escape::. [Server is Under The Work]
https://kaya-gaming.ga/

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1962
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 21
Contact:

#22

Post by Raheem » 2 Months Ago

So bro the nemesis should kill humans now? or infect them?
You don't know? Learn and you will know.

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 391
Joined: 1 Year Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#23

Post by Muhammet20 » 2 Months Ago

Raheem wrote:
2 Months Ago
So bro the nemesis should kill humans now? or infect them?
kill
.::Kaya Gaming || Never Give Up || Zombie Escape::. [Server is Under The Work]
https://kaya-gaming.ga/

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1962
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 21
Contact:

#24

Post by Raheem » 2 Months Ago

Here added some missing things, try it and if it's OK update your post with it.

  1. /*
  2. Version 1.1:
  3. What is News ?
  4.  
  5. 1- Added Lonjump Plugin To Nemsesis Zombies
  6. 2- The Nemesis round now is in the last round
  7. 3- Fixed Bugs & Some Problems
  8.  
  9. And Special thanks to Jack Gameplay
  10. */
  11.  
  12.  
  13. #include <zombie_escape>
  14.  
  15. new MaxRounds
  16. new RoundCount
  17. new g_maxplayers
  18.  
  19. native give_longjump(id)
  20.  
  21. new const v_model[] = "models/zombie_escape/Nemesis_Claws.mdl"
  22. new const g_szNemsisModel[] = "Nemesis_Zombie"
  23.  
  24.  
  25. public plugin_init()
  26. {
  27.     register_plugin("[ZE] Nemsis round", "1.1", "Kaya Gaming")
  28.    
  29.     register_event("TextMsg", "new_map_or_restart", "a", "2&#Game_C", "2&#Game_w")
  30.    
  31.     MaxRounds = get_cvar_pointer("mp_maxrounds")
  32.     g_maxplayers = get_maxplayers()
  33.    
  34. }
  35.  
  36. public plugin_precache()
  37. {
  38.     precache_model(v_model)
  39.     formatex(szModelPath, charsmax(szModelPath), "models/player/%s/%s.mdl", g_szNemsisModel, g_szNemsisModel)
  40.     precache_model(szModelPath)
  41. }
  42.  
  43. public ze_roundend()
  44. {
  45.     RoundCount++
  46. }
  47.  
  48. public new_map_or_restart()
  49. {
  50.     RoundCount = 0
  51. }
  52.  
  53. public ze_zombie_appear(id)
  54. {
  55.     if(get_pcvar_num(MaxRounds) - RoundCount == 1)
  56.     {
  57.         set_task(0.01, "models", id)
  58.         claws_model(id)
  59.         messages(id)
  60.         give_longjump(id)
  61.        
  62.     }
  63. }
  64.  
  65. public ze_user_infected_pre(iVictim, iInfector, iDamage)
  66. {
  67.     if(get_pcvar_num(MaxRounds) - RoundCount != 1)
  68.         return
  69.        
  70.     new g_attacker = read_data(1);
  71.     new g_victim = read_data(2);
  72.    
  73.     if(g_victim != g_attacker && ze_is_user_zombie(g_attacker))
  74.     {
  75.         set_task(0.01, "kill_no_infect", g_victim)
  76.         return 1;
  77.     }
  78. }
  79.  
  80. public kill_no_infect(id)
  81. {
  82.     user_silentkill(id)
  83. }
  84.  
  85. public models(id)
  86. {
  87.     if(ze_is_user_zombie(id) && get_pcvar_num(MaxRounds) - RoundCount == 1)
  88.     {
  89.         rg_reset_user_model(id)
  90.         rg_set_user_model(id, g_szNemsisModel)
  91.     }
  92. }
  93.  
  94. public messages(id)
  95. {
  96.     PlaySound(id, "zombie_escape/Nemesis_scream.wav")
  97. }
  98.  
  99. public claws_model(id)
  100. {
  101.     if(get_pcvar_num(MaxRounds) - RoundCount == 1 && get_user_weapon(id) == CSW_KNIFE && ze_is_user_zombie(id))
  102.     {
  103.         rg_give_item(id, "weapon_knife")
  104.         set_pev(id, pev_viewmodel2, v_model)
  105.         set_pev(id, pev_weaponmodel2, "")
  106.     }
  107. }
You don't know? Learn and you will know.

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 525
Joined: 2 Years Ago
Has thanked: 19 times
Been thanked: 1 time
Contact:

#25

Post by czirimbolo » 2 Months Ago

Does it have some extra abilities or only longjump?

[ Post made via Android ]
Image

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 391
Joined: 1 Year Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#26

Post by Muhammet20 » 2 Months Ago

czirimbolo wrote:
2 Months Ago
Does it have some extra abilities or only longjump?
kill + longjump
.::Kaya Gaming || Never Give Up || Zombie Escape::. [Server is Under The Work]
https://kaya-gaming.ga/

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 391
Joined: 1 Year Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#27

Post by Muhammet20 » 2 Months Ago

Raheem wrote:
2 Months Ago
Here added some missing things, try it and if it's OK update your post with it.

  1. /*
  2. Version 1.1:
  3. What is News ?
  4.  
  5. 1- Added Lonjump Plugin To Nemsesis Zombies
  6. 2- The Nemesis round now is in the last round
  7. 3- Fixed Bugs & Some Problems
  8.  
  9. And Special thanks to Jack Gameplay
  10. */
  11.  
  12.  
  13. #include <zombie_escape>
  14.  
  15. new MaxRounds
  16. new RoundCount
  17. new g_maxplayers
  18.  
  19. native give_longjump(id)
  20.  
  21. new const v_model[] = "models/zombie_escape/Nemesis_Claws.mdl"
  22. new const g_szNemsisModel[] = "Nemesis_Zombie"
  23.  
  24.  
  25. public plugin_init()
  26. {
  27.     register_plugin("[ZE] Nemsis round", "1.1", "Kaya Gaming")
  28.    
  29.     register_event("TextMsg", "new_map_or_restart", "a", "2&#Game_C", "2&#Game_w")
  30.    
  31.     MaxRounds = get_cvar_pointer("mp_maxrounds")
  32.     g_maxplayers = get_maxplayers()
  33.    
  34. }
  35.  
  36. public plugin_precache()
  37. {
  38.     precache_model(v_model)
  39.     formatex(szModelPath, charsmax(szModelPath), "models/player/%s/%s.mdl", g_szNemsisModel, g_szNemsisModel)
  40.     precache_model(szModelPath)
  41. }
  42.  
  43. public ze_roundend()
  44. {
  45.     RoundCount++
  46. }
  47.  
  48. public new_map_or_restart()
  49. {
  50.     RoundCount = 0
  51. }
  52.  
  53. public ze_zombie_appear(id)
  54. {
  55.     if(get_pcvar_num(MaxRounds) - RoundCount == 1)
  56.     {
  57.         set_task(0.01, "models", id)
  58.         claws_model(id)
  59.         messages(id)
  60.         give_longjump(id)
  61.        
  62.     }
  63. }
  64.  
  65. public ze_user_infected_pre(iVictim, iInfector, iDamage)
  66. {
  67.     if(get_pcvar_num(MaxRounds) - RoundCount != 1)
  68.         return
  69.        
  70.     new g_attacker = read_data(1);
  71.     new g_victim = read_data(2);
  72.    
  73.     if(g_victim != g_attacker && ze_is_user_zombie(g_attacker))
  74.     {
  75.         set_task(0.01, "kill_no_infect", g_victim)
  76.         return 1;
  77.     }
  78. }
  79.  
  80. public kill_no_infect(id)
  81. {
  82.     user_silentkill(id)
  83. }
  84.  
  85. public models(id)
  86. {
  87.     if(ze_is_user_zombie(id) && get_pcvar_num(MaxRounds) - RoundCount == 1)
  88.     {
  89.         rg_reset_user_model(id)
  90.         rg_set_user_model(id, g_szNemsisModel)
  91.     }
  92. }
  93.  
  94. public messages(id)
  95. {
  96.     PlaySound(id, "zombie_escape/Nemesis_scream.wav")
  97. }
  98.  
  99. public claws_model(id)
  100. {
  101.     if(get_pcvar_num(MaxRounds) - RoundCount == 1 && get_user_weapon(id) == CSW_KNIFE && ze_is_user_zombie(id))
  102.     {
  103.         rg_give_item(id, "weapon_knife")
  104.         set_pev(id, pev_viewmodel2, v_model)
  105.         set_pev(id, pev_weaponmodel2, "")
  106.     }
  107. }
you just forgot this new szModelPath[32] so other things working success
Updated.
.::Kaya Gaming || Never Give Up || Zombie Escape::. [Server is Under The Work]
https://kaya-gaming.ga/

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1962
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 21
Contact:

#28

Post by Raheem » 2 Months Ago

OK, marked as approved.
These users thanked the author Raheem for the post:
Muhammet20 (2 Months Ago)
You don't know? Learn and you will know.

User avatar
lizoumapper
Senior Member
Senior Member
Morocco
Posts: 150
Joined: 8 Months Ago
Location: Morocco
Has thanked: 3 times
Been thanked: 7 times
Age: 17
Contact:

#29

Post by lizoumapper » 2 Months Ago

but this not nemesis true
nemesis have long jump & high health & high damage & red glow & red arena & red niv & nemesis i kill not infect
there cvars lonhjump hp and glow & damage ...
I Love Learn Languages Programmations

User avatar
lizoumapper
Senior Member
Senior Member
Morocco
Posts: 150
Joined: 8 Months Ago
Location: Morocco
Has thanked: 3 times
Been thanked: 7 times
Age: 17
Contact:

#30

Post by lizoumapper » 2 Months Ago

An enemy does not come in a final round
A random choice once a zombie tour once is a tour nemesis
i remember cvar in zp (zp_nemesis_chance 20)
I Love Learn Languages Programmations

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests