Converted Knockback Bomb

Zombies/Humans Extra-Items
User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1720
Joined: 1 Year Ago
Location: Egypt
Has thanked: 28 times
Been thanked: 78 times
Age: 21
Contact:

Re: Knockback Bomb

#11

Post by Raheem » 11 Months Ago

Rain1153 wrote:
11 Months Ago
This is the knockback bomb section i guess
You guess or sure? :lol: :lol:
You don't know? Learn and you will know.

Rain1153
Senior Member
Senior Member
India
Posts: 275
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 18
Contact:

#12

Post by Rain1153 » 11 Months Ago

-_-
Last edited by Rain1153 on 09 Feb 2018, 16:40, edited 1 time in total.
LOL

Rain1153
Senior Member
Senior Member
India
Posts: 275
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 18
Contact:

#13

Post by Rain1153 » 11 Months 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: 68
Joined: 5 Months Ago
Donation: 1x donated in total €6.00
Has thanked: 16 times
Been thanked: 0
Contact:

#14

Post by DarkZombie » 5 Months 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
Egypt
Posts: 1720
Joined: 1 Year Ago
Location: Egypt
Has thanked: 28 times
Been thanked: 78 times
Age: 21
Contact:

#15

Post by Raheem » 5 Months 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.
These users thanked the author Raheem for the post:
DarkZombie (5 Months Ago)
You don't know? Learn and you will know.

User avatar
DarkZombie
Member
Member
Hungary
Posts: 68
Joined: 5 Months Ago
Donation: 1x donated in total €6.00
Has thanked: 16 times
Been thanked: 0
Contact:

#16

Post by DarkZombie » 5 Months 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
Egypt
Posts: 1720
Joined: 1 Year Ago
Location: Egypt
Has thanked: 28 times
Been thanked: 78 times
Age: 21
Contact:

#17

Post by Raheem » 5 Months Ago

Only Zombie Escape.
You don't know? Learn and you will know.

User avatar
Muhammet20
Member
Member
Turkey
Posts: 43
Joined: 4 Months Ago
Has thanked: 2 times
Been thanked: 0
Contact:

#18

Post by Muhammet20 » 4 Days Ago

Raheem wrote:
11 Months 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: 565
Joined: 1 Year Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 6 times
Age: 19
Contact:

#19

Post by Spir0x » 3 Days Ago

Yes i need it too !

Rain1153
Senior Member
Senior Member
India
Posts: 275
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 18
Contact:

#20

Post by Rain1153 » 3 Days 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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest