Tactical Grenades (second chance)

Discussion in 'Archived: Plugin Requests' started by W&L-Craft, Aug 28, 2012.

  1. Offline

    W&L-Craft

    Hello,

    i want someone to make a new tactical grenades plugin, because the guy that was making this didn't respond anymore :(

    old post here: http://forums.bukkit.org/threads/ta...as-please-leave-a-message.89952/#post-1304749

    so this is the idea:


    i want to have a plugin that allows you to throw Tactical grenades, like:
    -FlashBang
    -StunGrenade
    -GasGrenade
    -SmokeGrenade
    -StrikeGrenade
    -NapalmGrenade

    What will it do:
    The Flashbang will Blind players for a few seconds (Blindness III effect)
    The StunGrenade will stun them for a few seconds(Nauseu III effect)
    The GasGrenade will be a SmokeGrenade but it damages the player
    The SmokeGrenade makes smoke (just an Explosion but without player and blockdamage)
    The StrikeGrenade will strike a player (lightning)
    The NapalmGrenade will set players on fire

    Suggested Items:
    For trowing grenades: snowball
    For Sticky Grenades: slimeball

    Permissions:
    tg.use.*
    tg.use.flashbang
    tg.use.stun
    tg.use.gas
    tg.use.smoke
    tg.use.strike
    tg.use.napalm

    This is just a suggestion for a plugin so, don't be to hard in comments​
     
  2. Offline

    Hectic_Will

    What item would you use for the grenades? A snowball? This seems diffucult to make since there are so many grenade types!
     
  3. Offline

    W&L-Craft

    It could be possible to just take a snowball in your hand and type: /FlashBang,StunGrenade,GasGrenade,SmokeGrenade,StrikeGrenade,NapalmGrenade
     
  4. Offline

    SirTyler

    I didn't post this cause you already had someone working on your version when I saw it. But just take a look at Grenades+
     
  5. Offline

    np98765

    I'm already making something similar to this. :) In fact, the bomb effects are exactly what you listed.

    Mine is ultra-configurable, so I'm sure it will work for you if you decide not to use something more complicated like Grenades+ or GrenadeCraft. :)
     
    W&L-Craft likes this.
  6. Offline

    W&L-Craft

    When can i download it?
    i can test it for you
    and maybe give some suggestions and ideas
     
  7. Offline

    np98765

    Yes, I will, please be patient -- No need to quote me twice and tag me (now deleted).

    More information will be released shortly.
     
  8. Offline

    W&L-Craft

    New idea: a freezegrenade!, will freeze players on hit
     
  9. Offline

    np98765

    I'll add that to the list.. I was just looking up how to freeze a player yesterday. :3
     
  10. Offline

    W&L-Craft

    Thanks!
     
  11. Offline

    RingOfStorms

    Add all your new ideas to the original post. It will make it easier for anyone developing the plugin to have a list of everything right at the top.
     
  12. Offline

    W&L-Craft

    np98765 what is progress so far with plugin? (just curious) :)
     
  13. Offline

    np98765

    Grenade types: Egg, Snowball, Enderpearl [XP Bottle and Arrow coming soon]
    Grenade effects: Confusion, blindness, real explosion, fake explosion, real lightning, fake lightning, igniting [Any more ideas?]

    I'm basically read to release. I'll clean up some code right now and submit it to BukkitDev, hopefully it will be approved by morning.

    Or... I may end up not submitting it tonight. :3

    Edit.: Oh, and damaging players will be available in the next release (after I allow for multiple grenade effects)
     
  14. Offline

    W&L-Craft

    i maybe have more ideas, the grenades that are made will almost all kill or damage players,
    But you can also add Friendly Grenades like a ProtectionGrenade, it will give players Strenght and Fire Resistance, so you can help friends and yourself
     
  15. Offline

    np98765

    Hmm, didn't think about grenades being good. :3

    How about I release this version (so I can at least see if it's stable), and then in v1.1 I'll add more grenade types.
     
  16. Offline

    W&L-Craft

    Ok,
     
  17. Offline

    np98765

    Ok... For some reason, it will add me to the HashMap, but won't actually make the bomb explode...

    So I'll shoot for a release tomorrow.
     
  18. Offline

    np98765

    Ok,

    I didn't get the release out today. I was busy with the HarryPotterSpells Official Server, homework, and then I ran into an issue with the config.

    I'm still not sure why the plugin refuses to work -- I'm sure the answer is simple -- But I'm going to try to finish it up by tomorrow.

    W&L-Craft
     
  19. Offline

    RingOfStorms

    When it is config related, I scrap the entire config and start anew, or if it is a huge config I will try a few things like search for tabs and such that may be getting errors for the stupid yml formatting ^_^ (I used notepad++)
     
  20. Offline

    np98765

    Actually, I partially figured that part out before posting, and figured the rest out now. Yep, I erased the entire thing and retyped it. ^_^

    The new problem is that the plugin isn't even registering the ProjectileHitEvent.

    Oh my gawd... registering... Did I forget that?!
     
  21. Offline

    RingOfStorms

    50% of the time I forget to do the registerEvents(lis, pl);
    And I rage for like 3 minutes going WTF, no errors in console, so what is going on!
     
  22. Offline

    np98765

    I've been raging for ~3 days! (Not really, more like 1 day)

    I can't believe I forgot to register... AGAIN... *sigh*


    Sometimes I feel like life is one big "derp" moment.

    Update:

    Well, I registered the events. I now get the debug message every time a projectile hits.

    It seems like there is an issue with my hashmap (that's what used to toggle grenades), but I'll fix that tomorrow; it's already late and I'm tired. *yawn*

    Tomorrow you can expect a release. ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 28, 2016
  23. Offline

    W&L-Craft

    np98765 when is release? (can't wait to test it out :D)
     
  24. Offline

    np98765

    I know I've said this a lot... But tomorrow. -_-

    I'm having issues reading values from a config (simple stuff) from a different class... Everything is there. Once I fix this issue (which should be tomorrow), I'll release it ASAP. :)
     
  25. Offline

    W&L-Craft

    Ok, no problem
     
  26. Offline

    Kiakaha

    Don't you guys feel like you're all working real hard on cloning existing splash potions with a new name?
    I could give you a bunch of more exciting ideas if you like.
     
  27. Offline

    W&L-Craft

    The effects that are made arent all splashpotion effect only 2 of the grenades are splashpotion effects, and this plugin is still in develoement, so more ideas will come

    Im brainstorming right now for new ideas!
     
    np98765 likes this.
  28. Offline

    Kiakaha

    okay well how about a frag grenade that hits a BIG AREA but without block damage
    like 20 radius 4 damage grenade thats good for big group fights.
     
  29. Offline

    W&L-Craft

    It could be possible, but a 20 radius? Isn't that a little bit to big?
     
  30. Offline

    Jake230599

    @np98765
    If you need help with freezing players ask me. I made a plugin to do just that :D
     

Share This Page