[Updated] Nemesis Round v1.1

Useless Stuffs, Spam ... etc
Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#21

Post by Muhammet20 » 4 years ago

Raheem wrote: 4 years 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.

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#22

Post by Raheem » 4 years ago

So bro the nemesis should kill humans now? or infect them?
He who fails to plan is planning to fail

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#23

Post by Muhammet20 » 4 years ago

Raheem wrote: 4 years ago So bro the nemesis should kill humans now? or infect them?
kill

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#24

Post by Raheem » 4 years 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. }
He who fails to plan is planning to fail

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#25

Post by czirimbolo » 4 years ago

Does it have some extra abilities or only longjump?
Image

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#26

Post by Muhammet20 » 4 years ago

czirimbolo wrote: 4 years ago Does it have some extra abilities or only longjump?
kill + longjump

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#27

Post by Muhammet20 » 4 years ago

Raheem wrote: 4 years 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.

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#28

Post by Raheem » 4 years ago

OK, marked as approved.
He who fails to plan is planning to fail

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 473
Joined: 5 years ago
Location: The Red City ❤
Contact:

#29

Post by z0h1r-LK » 4 years 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 ...

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 473
Joined: 5 years ago
Location: The Red City ❤
Contact:

#30

Post by z0h1r-LK » 4 years 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)

Templaso
Senior Member
Senior Member
Romania
Posts: 119
Joined: 5 years ago
Location: Bucharest
Contact:

#31

Post by Templaso » 4 years ago

Nemesis plugin code has to many errors on compiling. Please, fix it.

nemesis_round.sma(54) : error 025: function heading differs from prototype
nemesis_round.sma(71) : warning 209: function "ze_user_infected_pre" should return a value
nemesis_round.sma(77) : error 078: function uses both "return" and "return <value>"
nemesis_round.sma(79) : warning 209: function "ze_user_infected_pre" should return a value
nemesis_round.sma(34) : warning 204: symbol is assigned a value that is never used: "g_maxplayers"

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#32

Post by Muhammet20 » 4 years ago

lizoumapper wrote: 4 years 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)
bro, i already made longjump + the nemesis is killing , why need to more health ? , the zombie is already have so much health , and idk how to make the nemesis round in a random round , so i made it in the last round , where is the problem ? , idk !

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#33

Post by czirimbolo » 4 years ago

Can you guys add more addons to this Nemesis? Now its nothing special
Image

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#34

Post by Muhammet20 » 4 years ago

czirimbolo wrote: 4 years ago Can you guys add more addons to this Nemesis? Now its nothing special
bro tell me if you have an idea
i don't think there any other feature in the servers have nemesis round
just skin + claw + longjump , what more ?

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#35

Post by Muhammet20 » 4 years ago

Mystic Viper wrote: 4 years ago Nemesis plugin code has to many errors on compiling. Please, fix it.

nemesis_round.sma(54) : error 025: function heading differs from prototype
nemesis_round.sma(71) : warning 209: function "ze_user_infected_pre" should return a value
nemesis_round.sma(77) : error 078: function uses both "return" and "return <value>"
nemesis_round.sma(79) : warning 209: function "ze_user_infected_pre" should return a value
nemesis_round.sma(34) : warning 204: symbol is assigned a value that is never used: "g_maxplayers"
ok i will fix it when i open my pc
but its working with me success
so i will try help you

Templaso
Senior Member
Senior Member
Romania
Posts: 119
Joined: 5 years ago
Location: Bucharest
Contact:

#36

Post by Templaso » 4 years ago

i'm waiting

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#37

Post by Muhammet20 » 4 years ago

Mystic Viper wrote: 4 years ago i'm waiting
try this:

Code: Select all

/*
Version 1.1:
What is News ?
 
1- Added Lonjump Plugin To Nemsesis Zombies
2- The Nemesis round now is in the last round
3- Fixed Bugs & Some Problems
 
And Special thanks to Jack Gameplay
*/
 
 
#include <zombie_escape>
 
new MaxRounds
new RoundCount
 
native give_longjump(id)
 
new const v_model[] = "models/zombie_escape/Nemesis_Claws.mdl"
new const g_szNemsisModel[] = "Nemesis_Zombie"
 
 
public plugin_init()
{
    register_plugin("[ZE] Nemsis round", "1.1", "Kaya Gaming")
   
    register_event("TextMsg", "new_map_or_restart", "a", "2&#Game_C", "2&#Game_w")
   
    MaxRounds = get_cvar_pointer("mp_maxrounds")
}
public plugin_precache()
{
    new szModelPath[32]
    precache_model(v_model)
    formatex(szModelPath, charsmax(szModelPath), "models/player/%s/%s.mdl", g_szNemsisModel, g_szNemsisModel)
    precache_model(szModelPath)
}
public ze_roundend()
{
    RoundCount++
}
public new_map_or_restart()
{
    RoundCount = 0
}
public ze_zombie_appear(id)
{
    if(get_pcvar_num(MaxRounds) - RoundCount == 1)
    {
        set_task(0.1, "models", id)
        claws_model(id)
        messages(id)
        give_longjump(id)
    }
}
public ze_user_infected_pre(iVictim, iInfector, iDamage)
{
    if(get_pcvar_num(MaxRounds) - RoundCount != 1)
        return
       
    new g_attacker = read_data(1);
    new g_victim = read_data(2);
   
    if(g_victim != g_attacker && ze_is_user_zombie(g_attacker))
    {
        set_task(0.01, "kill_no_infect", g_victim)
    }
    return 1;
}
public kill_no_infect(id)
{
    user_silentkill(id)
}
public models(id)
{
    if(ze_is_user_zombie(id) && get_pcvar_num(MaxRounds) - RoundCount == 1)
    {
        rg_reset_user_model(id)
        rg_set_user_model(id, g_szNemsisModel)
    }
}
 
public messages(id)
{
    PlaySound(id, "zombie_escape/Nemesis_scream.wav")
}
 
public claws_model(id)
{
    if(get_pcvar_num(MaxRounds) - RoundCount == 1 && get_user_weapon(id) == CSW_KNIFE && ze_is_user_zombie(id))
    {
        rg_give_item(id, "weapon_knife")
        set_pev(id, pev_viewmodel2, v_model)
        set_pev(id, pev_weaponmodel2, "")
    }
}

Templaso
Senior Member
Senior Member
Romania
Posts: 119
Joined: 5 years ago
Location: Bucharest
Contact:

#38

Post by Templaso » 4 years ago

nemesis_round.sma(54) : error 025: function heading differs from prototype
nemesis_round.sma(71) : warning 209: function "ze_user_infected_pre" should return a value
nemesis_round.sma(77) : error 078: function uses both "return" and "return <value>"

now these :v

Templaso
Senior Member
Senior Member
Romania
Posts: 119
Joined: 5 years ago
Location: Bucharest
Contact:

#39

Post by Templaso » 4 years ago

  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.  
  18. native give_longjump(id)
  19.  
  20. new const v_model[] = "models/zombie_escape/Nemesis_Claws.mdl"
  21. new const g_szNemsisModel[] = "Nemesis_Zombie"
  22.  
  23.  
  24. public plugin_init()
  25. {
  26.     register_plugin("[ZE] Nemsis round", "1.1", "Kaya Gaming")
  27.    
  28.     register_event("TextMsg", "new_map_or_restart", "a", "2&#Game_C", "2&#Game_w")
  29.    
  30.     MaxRounds = get_cvar_pointer("mp_maxrounds")
  31. }
  32. public plugin_precache()
  33. {
  34.     new szModelPath[32]
  35.     precache_model(v_model)
  36.     formatex(szModelPath, charsmax(szModelPath), "models/player/%s/%s.mdl", g_szNemsisModel, g_szNemsisModel)
  37.     precache_model(szModelPath)
  38. }
  39. public ze_roundend()
  40. {
  41.     RoundCount++
  42. }
  43. public new_map_or_restart()
  44. {
  45.     RoundCount = 0
  46. }
  47. public ze_zombie_appear(id)
  48. {
  49.     if(get_pcvar_num(MaxRounds) - RoundCount == 1)
  50.     {
  51.         set_task(0.1, "models", id)
  52.         claws_model(id)
  53.         messages(id)
  54.         give_longjump(id)
  55.     }
  56. }
  57. public ze_user_infected_pre(iVictim, iInfector, iDamage)
  58. {
  59.     if(get_pcvar_num(MaxRounds) - RoundCount != 1)
  60.         return
  61.        
  62.     new g_attacker = read_data(1);
  63.     new g_victim = read_data(2);
  64.    
  65.     if(g_victim != g_attacker && ze_is_user_zombie(g_attacker))
  66.     {
  67.         set_task(0.01, "kill_no_infect", g_victim)
  68.     }
  69.     return 1;
  70. }
  71. public kill_no_infect(id)
  72. {
  73.     user_silentkill(id)
  74. }
  75. public models(id)
  76. {
  77.     if(ze_is_user_zombie(id) && get_pcvar_num(MaxRounds) - RoundCount == 1)
  78.     {
  79.         rg_reset_user_model(id)
  80.         rg_set_user_model(id, g_szNemsisModel)
  81.     }
  82. }
  83.  
  84. public messages(id)
  85. {
  86.     PlaySound(id, "zombie_escape/nemesis_fantasy_scream.wav")
  87. }
  88.  
  89. public claws_model(id)
  90. {
  91.     if(get_pcvar_num(MaxRounds) - RoundCount == 1 && get_user_weapon(id) == CSW_KNIFE && ze_is_user_zombie(id))
  92.     {
  93.         rg_give_item(id, "weapon_knife")
  94.         set_pev(id, pev_viewmodel2, v_model)
  95.         set_pev(id, pev_weaponmodel2, "")
  96.     }
  97. }
Compile this for me

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#40

Post by Muhammet20 » 4 years ago

Mystic Viper wrote: 4 years ago
  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.  
  18. native give_longjump(id)
  19.  
  20. new const v_model[] = "models/zombie_escape/Nemesis_Claws.mdl"
  21. new const g_szNemsisModel[] = "Nemesis_Zombie"
  22.  
  23.  
  24. public plugin_init()
  25. {
  26.     register_plugin("[ZE] Nemsis round", "1.1", "Kaya Gaming")
  27.    
  28.     register_event("TextMsg", "new_map_or_restart", "a", "2&#Game_C", "2&#Game_w")
  29.    
  30.     MaxRounds = get_cvar_pointer("mp_maxrounds")
  31. }
  32. public plugin_precache()
  33. {
  34.     new szModelPath[32]
  35.     precache_model(v_model)
  36.     formatex(szModelPath, charsmax(szModelPath), "models/player/%s/%s.mdl", g_szNemsisModel, g_szNemsisModel)
  37.     precache_model(szModelPath)
  38. }
  39. public ze_roundend()
  40. {
  41.     RoundCount++
  42. }
  43. public new_map_or_restart()
  44. {
  45.     RoundCount = 0
  46. }
  47. public ze_zombie_appear(id)
  48. {
  49.     if(get_pcvar_num(MaxRounds) - RoundCount == 1)
  50.     {
  51.         set_task(0.1, "models", id)
  52.         claws_model(id)
  53.         messages(id)
  54.         give_longjump(id)
  55.     }
  56. }
  57. public ze_user_infected_pre(iVictim, iInfector, iDamage)
  58. {
  59.     if(get_pcvar_num(MaxRounds) - RoundCount != 1)
  60.         return
  61.        
  62.     new g_attacker = read_data(1);
  63.     new g_victim = read_data(2);
  64.    
  65.     if(g_victim != g_attacker && ze_is_user_zombie(g_attacker))
  66.     {
  67.         set_task(0.01, "kill_no_infect", g_victim)
  68.     }
  69.     return 1;
  70. }
  71. public kill_no_infect(id)
  72. {
  73.     user_silentkill(id)
  74. }
  75. public models(id)
  76. {
  77.     if(ze_is_user_zombie(id) && get_pcvar_num(MaxRounds) - RoundCount == 1)
  78.     {
  79.         rg_reset_user_model(id)
  80.         rg_set_user_model(id, g_szNemsisModel)
  81.     }
  82. }
  83.  
  84. public messages(id)
  85. {
  86.     PlaySound(id, "zombie_escape/nemesis_fantasy_scream.wav")
  87. }
  88.  
  89. public claws_model(id)
  90. {
  91.     if(get_pcvar_num(MaxRounds) - RoundCount == 1 && get_user_weapon(id) == CSW_KNIFE && ze_is_user_zombie(id))
  92.     {
  93.         rg_give_item(id, "weapon_knife")
  94.         set_pev(id, pev_viewmodel2, v_model)
  95.         set_pev(id, pev_weaponmodel2, "")
  96.     }
  97. }
Compile this for me
wait the next update tommorow

Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 4 guests