Singularity Grenade

Discussion in 'Archived: Plugin Requests' started by CaptainWalrus, May 24, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    CaptainWalrus

    I was looking for a plugin that could add this item.




    Commands: /sg give [amount] (Gives you that number of Singularity Grenades.)
    Permissions: sg.give (Allows access to /sg give)
     
  2. Offline

    C0nsole

    Impossible to add all the effects. It would be possible to simply make grenades...
     
  3. Online

    timtower Administrator Administrator Moderator

    C0nsole how about falling sand blocks?
     
  4. Offline

    CaptainWalrus

    It's not impossible, that video was taken on a bukkit server without any client mods, just the plugin.
     
  5. Offline

    C0nsole

    timtower
    Maybe, but it still wouldn't work for the whole swirling thing.

    CaptainWalrus
    Wait wait wait, if you already have the plugin why are you requesting it?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
  6. Offline

    RingOfStorms

    Uh... lol it obviously is possible as it is in the video, on a server, and used by hundreds in either ShotBow or Hypixle (can't remember which).
     
  7. Offline

    CaptainWalrus

    Go on us.shotbow.net
    play smash, and you can use that exact item...
    (It's possible.)

    I don't have it?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
  8. Offline

    CMG

    This would be so cool if somebody made this :D
     
  9. Offline

    Allek

    I agree, this would be awesome. I would try to make this but I looked at the video and didn't have the slightest idea at where to start. The grenade part and the block breaking/explosion wouldn't be too bad, but the effects are beyond me.
     
  10. Offline

    bradicaljh

    What part of this would be at all "impossible" ? Timer for the grenade, grab a few blocks around where the grenade is and start jumbling them around in a similar way and then give an explosion similar to tnt.

    Not gonna deny that this would involve a bit of code, but I don't understand at all how this would be impossible...

    Ah screw it, this is too awesome to pass up, I'll figure out how exactly I'm gonna do things and get coding shortly. I'll keep you updated.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
  11. I'm pretty sure something like this would be possible with spout
     
  12. Offline

    AndyMcB1

    It's also possible without spout :)
     
  13. Offline

    Codisimus

    There is a reason a plugin like this is not available to the public. Any dev experienced enough to make this is either too busy or works privately for a server.
     
    microgeek and InspectorFacepalm like this.
  14. Offline

    Greengreengene

    The dev for shotbow server (lazertester) made the plugin privately for the server.
     
  15. Offline

    bradicaljh

    I've started working on it and will aim for similar to what's in the video, it will be public.
     
    toxictroop and xxldoener like this.
  16. Offline

    Allek

  17. Offline

    andrewabosh

    good luck, would love to see this :)
     
  18. Offline

    toxictroop

    good luck!
     
  19. Offline

    kuuhgle

  20. Offline

    bradicaljh

  21. Offline

    kuuhgle

    ok, but it looked like the requested plugin.
     
  22. Offline

    bradicaljh

    kuuhgle

    I understand the confusion, if you watch the video you'll see what I mean by the effect he is asking for, it's a very interesting effect before the explosion happens. :)
     
  23. Offline

    AndyMcB1

    You mean how the blocks jumble around?
    You could set one block from the affected radius to move, giving all the other blocks a set of 'rules' to follow.
    Example :
    - Follow the closest two blocks to you
    - Don't go outside a x block radius from the center point.
    - Add a jitter effect to each block. Getting a random number better (1-5, for example) to determine speed and how many time to 'jitter'
    - Make each block cross the 'center' once every %random%
    - Sway, meaning turn all this movement into a smoother effect (good luck on that one)

    Then the explosion set all block velocity to 0 and either:
    place a hidden, floating, more powerful TNT (while making all the blocks' blast resistance to more than what the TNT would do)
    OR
    Make each block repel other blocks at a high speed
    OR
    Reset their velocity outward.
     
  24. Offline

    microgeek

    I've done something like this before, it's really not that complicated. I'll be happy to give bradicaljh a hand if he needs it.
     
  25. Offline

    AndyMcB1

    Was the way I described it close at all, if not how would you do it?
    I'm currently learning Java and would like to know or see the code itself :)
     
    legostarwarszach likes this.
  26. Offline

    microgeek

    In a way

    What I did:
    1. establish the center
    2. get all nearby blocks
    3. turn all blocks into falling blocks
    4. have a repeating task that sets the direction to the center
    5. after a few seconds create an explosion and send the blocks flying
     
  27. Offline

    AndyMcB1

    Close enough! Would that make it though so the blocks jumble around??
     
  28. Offline

    microgeek

    Just add a random y value to vector when you set the velocity.
     
  29. Offline

    AndyMcB1

    Thanks :)
     
  30. Offline

    bradicaljh

    Hey guys,

    The jumbling in fact isn't really complicated, the only problem I face is the problem of time, in the real world, unfortunately HAHA. I do hope to be able to finish this shortly, I have started working on it but as I said I have other things like study etc that keep me busy too, so I can't give an ETA. If it would be faster, I have no problem with someone else making it, I just think this sounds like a plugin that should be public as a few people might find it cool.

    AndyMcB1
    As for the code, almost everything I code I release under GPLv3 and put all of the code on github, so if I do finish this, anyone will be able to get the code.
     
Thread Status:
Not open for further replies.

Share This Page