Converted Knockback Bomb

Zombies/Humans Extra-Items
User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#11

Post by Raheem » 6 years ago

Rain1153 wrote: 6 years ago This is the knockback bomb section i guess
You guess or sure? :lol: :lol:
He who fails to plan is planning to fail

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#12

Post by Rain1153 » 6 years ago

-_-
Last edited by Rain1153 6 years ago, edited 1 time in total.
LOL

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#13

Post by Rain1153 » 6 years ago

raheem when the bomb blast the human always fly up with much greater velocity can we lower the velocity? and if yes how?
LOL

User avatar
DarkZombie
Member
Member
Hungary
Posts: 76
Joined: 5 years ago
Contact:

#14

Post by DarkZombie » 5 years ago

I would ask for help, I have copied all the files into the mod but in the menu, I can not find this plugin(the grande), I use this mod(Linux server):http://zppv.boards.net/thread/305/zombi ... xed-addons

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

#15

Post by Raheem » 5 years ago

Hi DarkZombie,

I'm sorry to tell you that i stopped supporting this scince we make our new Mod.

Please take time to see our new Mod: viewforum.php?f=6.
He who fails to plan is planning to fail

User avatar
DarkZombie
Member
Member
Hungary
Posts: 76
Joined: 5 years ago
Contact:

#16

Post by DarkZombie » 5 years ago

Hi,
Okay, tomorrow I'm installing on my server the new mod. A question :Anyway, do you make Zombie Plague mods or just a Zombie Escape?

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

#17

Post by Raheem » 5 years ago

Only Zombie Escape.
He who fails to plan is planning to fail

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

#18

Post by Muhammet20 » 5 years ago

Raheem wrote: 6 years ago
Knockback Bomb

Description:
  • A new extra-item for Zombies, It's Knockback Bomb. Original plugin Here.
Installation & Instructions:
  • Simply install it like any plugin and Don't forget to copy Models, Sounds.
Screenshots:
  • ImageImageImage
Downloads:
  • [ZE] Knockback bomb.zip
can you give me infection storm item's code please ?

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#19

Post by Spir0x » 5 years ago

Yes i need it too !

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#20

Post by Rain1153 » 5 years ago

  1. #include <zombie_escape>
  2.  
  3. new g_storm
  4. new light
  5.  
  6. public plugin_init()
  7. {  
  8.     register_plugin("[ZE] Extra Item: Infection Storm","1.0","fiendshard")
  9.     g_storm = ze_register_item("Infection Storm", 15, 0)
  10. }
  11.  
  12. public plugin_precache()
  13. {
  14.     light = precache_model("sprites/lgtning.spr")
  15. }
  16.  
  17. public ze_select_item_pre(id, itemid)
  18. {
  19.     // Return Available and we will block it in Post, So it dosen't affect other plugins
  20.     if (itemid != g_storm)
  21.         return ZE_ITEM_AVAILABLE
  22.    
  23.     // Available for Zombies only, So don't show it for Humans
  24.     if (!ze_is_user_zombie(id))
  25.         return ZE_ITEM_DONT_SHOW
  26.    
  27.     return ZE_ITEM_AVAILABLE
  28. }
  29.  
  30. public ze_select_item_post(id, itemid)
  31. {
  32.     if (itemid != g_storm)
  33.         return
  34.    
  35.     set_task(0.5,"lightning0",id+1,"",0,"a",60)
  36.     set_task(1.0,"lightning1",id+2,"",0,"a",60)
  37.     set_task(1.5,"lightning2",id+3,"",0,"a",60)
  38.     set_task(2.0,"lightning3",id+4,"",0,"a",60)
  39.     set_task(2.5,"lightning4",id+5,"",0,"a",60)
  40.     set_task(3.0,"lightning5",id+6,"",0,"a",60)
  41. }
  42.  
  43. public lightning0(id)
  44. {
  45.     new xy[2]
  46.     xy[0] = random_num(-2000,2200)
  47.     xy[1] = random_num(-2000,2200)
  48.     message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
  49.     write_byte(0)
  50.     write_coord(xy[0])
  51.     write_coord(xy[1])
  52.     write_coord(4000)
  53.     write_coord(xy[0])
  54.     write_coord(xy[1])
  55.     write_coord(-2000)
  56.     write_short(light)
  57.     write_byte(1) // framestart
  58.     write_byte(5) // framerate
  59.     write_byte(2) // life
  60.     write_byte(200) // width
  61.     write_byte(100) // noise
  62.     write_byte(0) // r, g, b
  63.     write_byte(255) // r, g, b
  64.     write_byte(0) // r, g, b
  65.     write_byte(200) // brightness
  66.     write_byte(200) //  
  67.     message_end()
  68.    
  69.     new origin[3];
  70.     get_user_origin(id, origin, 0)
  71.     {
  72.         if((origin[0] = xy[0]) && (origin[1] = xy[1]))
  73.         ze_set_user_zombie(id)
  74.     }
  75. }
  76.  
  77. public lightning1(id)
  78. {
  79.     new xy[2]
  80.     xy[0] = random_num(-2000,2200)
  81.     xy[1] = random_num(-2000,2200)
  82.     message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
  83.     write_byte(0)
  84.     write_coord(xy[0])
  85.     write_coord(xy[1])
  86.     write_coord(4000)
  87.     write_coord(xy[0])
  88.     write_coord(xy[1])
  89.     write_coord(-2000)
  90.     write_short(light)
  91.     write_byte(1) // framestart
  92.     write_byte(5) // framerate
  93.     write_byte(2) // life
  94.     write_byte(10) // width
  95.     write_byte(10) // noise
  96.     write_byte(0) // r, g, b
  97.     write_byte(255) // r, g, b
  98.     write_byte(0) // r, g, b
  99.     write_byte(200) // brightness
  100.     write_byte(200) //  
  101.     message_end()
  102.    
  103.     new origin[3];
  104.     get_user_origin(id, origin)
  105.     {
  106.         if((origin[0] = xy[0]) && (origin[1] = xy[1]))
  107.         ze_set_user_zombie(id)
  108.     }
  109. }
  110.  
  111. public lightning2(id)
  112. {
  113.     new xy[2]
  114.     xy[0] = random_num(-2000,2200)
  115.     xy[1] = random_num(-2000,2200)
  116.     message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
  117.     write_byte(0)
  118.     write_coord(xy[0])
  119.     write_coord(xy[1])
  120.     write_coord(4000)
  121.     write_coord(xy[0])
  122.     write_coord(xy[1])
  123.     write_coord(-2000)
  124.     write_short(light)
  125.     write_byte(1) // framestart
  126.     write_byte(5) // framerate
  127.     write_byte(2) // life
  128.     write_byte(50) // width
  129.     write_byte(50) // noise
  130.     write_byte(0) // r, g, b
  131.     write_byte(255) // r, g, b
  132.     write_byte(0) // r, g, b
  133.     write_byte(200) // brightness
  134.     write_byte(200) //  
  135.     message_end()
  136.    
  137.     new origin[3];
  138.     get_user_origin(id, origin)
  139.     {
  140.         if((origin[0] = xy[0]) && (origin[1] = xy[1]))
  141.         ze_set_user_zombie(id)
  142.     }
  143. }
  144.  
  145. public lightning3(id)
  146. {
  147.     new xy[2]
  148.     xy[0] = random_num(-2000,2200)
  149.     xy[1] = random_num(-2000,2200)
  150.     message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
  151.     write_byte(0)
  152.     write_coord(xy[0])
  153.     write_coord(xy[1])
  154.     write_coord(4000)
  155.     write_coord(xy[0])
  156.     write_coord(xy[1])
  157.     write_coord(-2000)
  158.     write_short(light)
  159.     write_byte(1) // framestart
  160.     write_byte(5) // framerate
  161.     write_byte(2) // life
  162.     write_byte(200) // width
  163.     write_byte(150) // noise
  164.     write_byte(0) // r, g, b
  165.     write_byte(255) // r, g, b
  166.     write_byte(0) // r, g, b
  167.     write_byte(200) // brightness
  168.     write_byte(200) //  
  169.     message_end()
  170.    
  171.     new origin[3];
  172.     get_user_origin(id, origin)
  173.     {
  174.         if((origin[0] = xy[0]) && (origin[1] = xy[1]))
  175.         ze_set_user_zombie(id)
  176.     }
  177. }
  178.  
  179. public lightning4(id)
  180. {
  181.     new xy[2]
  182.     xy[0] = random_num(-2000,2200)
  183.     xy[1] = random_num(-2000,2200)
  184.     message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
  185.     write_byte(0)
  186.     write_coord(xy[0])
  187.     write_coord(xy[1])
  188.     write_coord(4000)
  189.     write_coord(xy[0])
  190.     write_coord(xy[1])
  191.     write_coord(-2000)
  192.     write_short(light)
  193.     write_byte(1) // framestart
  194.     write_byte(5) // framerate
  195.     write_byte(2) // life
  196.     write_byte(220) // width
  197.     write_byte(50) // noise
  198.     write_byte(0) // r, g, b
  199.     write_byte(255) // r, g, b
  200.     write_byte(0) // r, g, b
  201.     write_byte(200) // brightness
  202.     write_byte(200) //  
  203.     message_end()
  204.    
  205.     new origin[3];
  206.     get_user_origin(id, origin)
  207.     {
  208.         if((origin[0] = xy[0]) && (origin[1] = xy[1]))
  209.         ze_set_user_zombie(id)
  210.     }
  211. }
  212.  
  213. public lightning5(id)
  214. {
  215.     new xy[2]
  216.     xy[0] = random_num(-2000,2200)
  217.     xy[1] = random_num(-2000,2200)
  218.     message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
  219.     write_byte(0)
  220.     write_coord(xy[0])  // Start X
  221.     write_coord(xy[1])  // Start Y
  222.     write_coord(4000)   // Start Z
  223.     write_coord(xy[0])  // End X
  224.     write_coord(xy[1])  // End Y
  225.     write_coord(-2000)  // End Z
  226.     write_short(light)
  227.     write_byte(1) // framestart
  228.     write_byte(5) // framerate
  229.     write_byte(2) // life
  230.     write_byte(180) // width
  231.     write_byte(70) // noise
  232.     write_byte(0) // r, g, b
  233.     write_byte(255) // r, g, b
  234.     write_byte(0) // r, g, b
  235.     write_byte(200) // brightness
  236.     write_byte(200) //  
  237.     message_end()
  238.    
  239.     new origin[3];
  240.     get_user_origin(id, origin)
  241.     {
  242.         if((origin[0] = xy[0]) && (origin[1] = xy[1]))
  243.         ze_set_user_zombie(id)
  244.     }  
  245. }
  246.  
  247. public ze_user_humanized(id)
  248. {
  249.     if(task_exists(id+1))
  250.         remove_task(id+1)
  251.     if(task_exists(id+2))
  252.         remove_task(id+2)
  253.     if(task_exists(id+3))
  254.         remove_task(id+3)
  255.     if(task_exists(id+4))
  256.         remove_task(id+4)
  257.     if(task_exists(id+5))
  258.         remove_task(id+5)
  259.     if(task_exists(id+6))
  260.         remove_task(id+6)
  261. }
LOL

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#21

Post by Spir0x » 5 years ago

Thanks bro where the sprites of this plugin ?
and please can you help me there ?
viewtopic.php?f=12&p=9272#p9272

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

#22

Post by Muhammet20 » 5 years ago

Rain1153 wrote: 5 years ago
  1. #include <zombie_escape>
  2.  
  3. new g_storm
  4. new light
  5.  
  6. public plugin_init()
  7. {  
  8.     register_plugin("[ZE] Extra Item: Infection Storm","1.0","fiendshard")
  9.     g_storm = ze_register_item("Infection Storm", 15, 0)
  10. }
  11.  
  12. public plugin_precache()
  13. {
  14.     light = precache_model("sprites/lgtning.spr")
  15. }
  16.  
  17. public ze_select_item_pre(id, itemid)
  18. {
  19.     // Return Available and we will block it in Post, So it dosen't affect other plugins
  20.     if (itemid != g_storm)
  21.         return ZE_ITEM_AVAILABLE
  22.    
  23.     // Available for Zombies only, So don't show it for Humans
  24.     if (!ze_is_user_zombie(id))
  25.         return ZE_ITEM_DONT_SHOW
  26.    
  27.     return ZE_ITEM_AVAILABLE
  28. }
  29.  
  30. public ze_select_item_post(id, itemid)
  31. {
  32.     if (itemid != g_storm)
  33.         return
  34.    
  35.     set_task(0.5,"lightning0",id+1,"",0,"a",60)
  36.     set_task(1.0,"lightning1",id+2,"",0,"a",60)
  37.     set_task(1.5,"lightning2",id+3,"",0,"a",60)
  38.     set_task(2.0,"lightning3",id+4,"",0,"a",60)
  39.     set_task(2.5,"lightning4",id+5,"",0,"a",60)
  40.     set_task(3.0,"lightning5",id+6,"",0,"a",60)
  41. }
  42.  
  43. public lightning0(id)
  44. {
  45.     new xy[2]
  46.     xy[0] = random_num(-2000,2200)
  47.     xy[1] = random_num(-2000,2200)
  48.     message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
  49.     write_byte(0)
  50.     write_coord(xy[0])
  51.     write_coord(xy[1])
  52.     write_coord(4000)
  53.     write_coord(xy[0])
  54.     write_coord(xy[1])
  55.     write_coord(-2000)
  56.     write_short(light)
  57.     write_byte(1) // framestart
  58.     write_byte(5) // framerate
  59.     write_byte(2) // life
  60.     write_byte(200) // width
  61.     write_byte(100) // noise
  62.     write_byte(0) // r, g, b
  63.     write_byte(255) // r, g, b
  64.     write_byte(0) // r, g, b
  65.     write_byte(200) // brightness
  66.     write_byte(200) //  
  67.     message_end()
  68.    
  69.     new origin[3];
  70.     get_user_origin(id, origin, 0)
  71.     {
  72.         if((origin[0] = xy[0]) && (origin[1] = xy[1]))
  73.         ze_set_user_zombie(id)
  74.     }
  75. }
  76.  
  77. public lightning1(id)
  78. {
  79.     new xy[2]
  80.     xy[0] = random_num(-2000,2200)
  81.     xy[1] = random_num(-2000,2200)
  82.     message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
  83.     write_byte(0)
  84.     write_coord(xy[0])
  85.     write_coord(xy[1])
  86.     write_coord(4000)
  87.     write_coord(xy[0])
  88.     write_coord(xy[1])
  89.     write_coord(-2000)
  90.     write_short(light)
  91.     write_byte(1) // framestart
  92.     write_byte(5) // framerate
  93.     write_byte(2) // life
  94.     write_byte(10) // width
  95.     write_byte(10) // noise
  96.     write_byte(0) // r, g, b
  97.     write_byte(255) // r, g, b
  98.     write_byte(0) // r, g, b
  99.     write_byte(200) // brightness
  100.     write_byte(200) //  
  101.     message_end()
  102.    
  103.     new origin[3];
  104.     get_user_origin(id, origin)
  105.     {
  106.         if((origin[0] = xy[0]) && (origin[1] = xy[1]))
  107.         ze_set_user_zombie(id)
  108.     }
  109. }
  110.  
  111. public lightning2(id)
  112. {
  113.     new xy[2]
  114.     xy[0] = random_num(-2000,2200)
  115.     xy[1] = random_num(-2000,2200)
  116.     message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
  117.     write_byte(0)
  118.     write_coord(xy[0])
  119.     write_coord(xy[1])
  120.     write_coord(4000)
  121.     write_coord(xy[0])
  122.     write_coord(xy[1])
  123.     write_coord(-2000)
  124.     write_short(light)
  125.     write_byte(1) // framestart
  126.     write_byte(5) // framerate
  127.     write_byte(2) // life
  128.     write_byte(50) // width
  129.     write_byte(50) // noise
  130.     write_byte(0) // r, g, b
  131.     write_byte(255) // r, g, b
  132.     write_byte(0) // r, g, b
  133.     write_byte(200) // brightness
  134.     write_byte(200) //  
  135.     message_end()
  136.    
  137.     new origin[3];
  138.     get_user_origin(id, origin)
  139.     {
  140.         if((origin[0] = xy[0]) && (origin[1] = xy[1]))
  141.         ze_set_user_zombie(id)
  142.     }
  143. }
  144.  
  145. public lightning3(id)
  146. {
  147.     new xy[2]
  148.     xy[0] = random_num(-2000,2200)
  149.     xy[1] = random_num(-2000,2200)
  150.     message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
  151.     write_byte(0)
  152.     write_coord(xy[0])
  153.     write_coord(xy[1])
  154.     write_coord(4000)
  155.     write_coord(xy[0])
  156.     write_coord(xy[1])
  157.     write_coord(-2000)
  158.     write_short(light)
  159.     write_byte(1) // framestart
  160.     write_byte(5) // framerate
  161.     write_byte(2) // life
  162.     write_byte(200) // width
  163.     write_byte(150) // noise
  164.     write_byte(0) // r, g, b
  165.     write_byte(255) // r, g, b
  166.     write_byte(0) // r, g, b
  167.     write_byte(200) // brightness
  168.     write_byte(200) //  
  169.     message_end()
  170.    
  171.     new origin[3];
  172.     get_user_origin(id, origin)
  173.     {
  174.         if((origin[0] = xy[0]) && (origin[1] = xy[1]))
  175.         ze_set_user_zombie(id)
  176.     }
  177. }
  178.  
  179. public lightning4(id)
  180. {
  181.     new xy[2]
  182.     xy[0] = random_num(-2000,2200)
  183.     xy[1] = random_num(-2000,2200)
  184.     message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
  185.     write_byte(0)
  186.     write_coord(xy[0])
  187.     write_coord(xy[1])
  188.     write_coord(4000)
  189.     write_coord(xy[0])
  190.     write_coord(xy[1])
  191.     write_coord(-2000)
  192.     write_short(light)
  193.     write_byte(1) // framestart
  194.     write_byte(5) // framerate
  195.     write_byte(2) // life
  196.     write_byte(220) // width
  197.     write_byte(50) // noise
  198.     write_byte(0) // r, g, b
  199.     write_byte(255) // r, g, b
  200.     write_byte(0) // r, g, b
  201.     write_byte(200) // brightness
  202.     write_byte(200) //  
  203.     message_end()
  204.    
  205.     new origin[3];
  206.     get_user_origin(id, origin)
  207.     {
  208.         if((origin[0] = xy[0]) && (origin[1] = xy[1]))
  209.         ze_set_user_zombie(id)
  210.     }
  211. }
  212.  
  213. public lightning5(id)
  214. {
  215.     new xy[2]
  216.     xy[0] = random_num(-2000,2200)
  217.     xy[1] = random_num(-2000,2200)
  218.     message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
  219.     write_byte(0)
  220.     write_coord(xy[0])  // Start X
  221.     write_coord(xy[1])  // Start Y
  222.     write_coord(4000)   // Start Z
  223.     write_coord(xy[0])  // End X
  224.     write_coord(xy[1])  // End Y
  225.     write_coord(-2000)  // End Z
  226.     write_short(light)
  227.     write_byte(1) // framestart
  228.     write_byte(5) // framerate
  229.     write_byte(2) // life
  230.     write_byte(180) // width
  231.     write_byte(70) // noise
  232.     write_byte(0) // r, g, b
  233.     write_byte(255) // r, g, b
  234.     write_byte(0) // r, g, b
  235.     write_byte(200) // brightness
  236.     write_byte(200) //  
  237.     message_end()
  238.    
  239.     new origin[3];
  240.     get_user_origin(id, origin)
  241.     {
  242.         if((origin[0] = xy[0]) && (origin[1] = xy[1]))
  243.         ze_set_user_zombie(id)
  244.     }  
  245. }
  246.  
  247. public ze_user_humanized(id)
  248. {
  249.     if(task_exists(id+1))
  250.         remove_task(id+1)
  251.     if(task_exists(id+2))
  252.         remove_task(id+2)
  253.     if(task_exists(id+3))
  254.         remove_task(id+3)
  255.     if(task_exists(id+4))
  256.         remove_task(id+4)
  257.     if(task_exists(id+5))
  258.         remove_task(id+5)
  259.     if(task_exists(id+6))
  260.         remove_task(id+6)
  261. }
it's working but the plugin is not nice , because it's infects more than one player and it's infects a custom player , if this player with his team in the heli and an zombie used this he / she will infect all other humans

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#23

Post by Spir0x » 5 years ago

i guess someone removed his reply then my reply still appear.

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#24

Post by Rain1153 » 5 years ago

ita not what u asked for plus its raheem's code bro
LOL

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 3 guests