Advanced Zombies

Discussion in 'Archived: Plugin Requests' started by Monkah, Apr 6, 2011.

  1. Offline

    Monkah

    Zombies are simply too generic. This plugin would mainly focus on spicing them up a bit. It would be a great improvement for survival servers to have something that would spice them up a bit.

    A few things the options file should have:

    Zombie Spawnrate: (Default at 1)
    Can break through: (Item ID's here)
    Block Breaking Speed:
    Attack Damage:
    Movement Speed:

    If anyone could make this, I would be extremely grateful,
    - Monkah
     
    KeithGB likes this.
  2. Offline

    Hero_In_Green

    Once Notch implements "Realistic Mode", this project will be a go.
     
  3. Offline

    Monkah

    Haha, my server is trying to replicate that, and then just add zombies in there to freak everyone out at night.
    I hope someone takes the request.
     
  4. Offline

    KeithGB

    It'll be forever before Notch implements Realistic at this rate. It took him a month to release some dogs that I thought were fun for 10min before they started jumping up and down so fast they were vibrating, yapping and jumping into lava all because I was busy building something. In the end I put my furry companion down.

    I would like to see a mobspawn-variable plugin, I can't imagine it would be too hard. It would be interesting being able to crank the zombie spawn up high (and not tell the players on my server beforehand). >:-D
     
  5. Offline

    ssell

  6. Offline

    KeithGB

    Oooooh, thx, looks interesting, although apparently doesn't work on 617. I'll give it a go. Thanks very much!
     
  7. Offline

    McSpazzy

    Dogs annoyed me so much I made a plugin specifically to disable just them =\
     
    KeithGB likes this.
  8. Offline

    Monkah

  9. Offline

    ssell

    @Monkah

    I was more addressing KeithGB's request for a 'mobspawn-variable plugin'. Unfortunately, I do not know of any plugins that allows mobs to break through blocks.
     
    KeithGB likes this.
  10. Offline

    retsrif

    Ok. Zombies can't hit blocks, so they can't break. What I could do is that if they stay next to a block for a specific time the block breaks? Problem is not a lot of events related to mobs. I'll see about this.
     
    KeithGB likes this.
  11. Offline

    Monkah

    Sounds great! Thanks for making this, your awesome.
     
  12. Offline

    retsrif

    I never said I would :p I'll just take a look at this.
     
  13. Offline

    ssell

    @retsrif

    You can also check to see if the zombie has a player target (with getTarget() ). If they don't, then do not worry about the zombie.
     
  14. Offline

    McSpazzy

    Well mobs have a vector location. Take their block location, and the direction they are facing. Add 0.5 to that value, and that should be the block they are trying to move through.
     
  15. Offline

    ssell

    Wish the term wasn't ending soon, or else I would try this out. More I think about it, the more feasible it seems.
     
    KeithGB likes this.
  16. Offline

    retsrif

    Is there an ENTITY_MOVE event? If there is, this can probably be done.
     
  17. Offline

    ssell

    @retsrif

    I do not see one, and since I have never messed with the Entities I am unsure if there is a work-around.

    But, I see there is the onEntityTarget() method. Maybe you can listen for zombies to target a player. When they do, periodically check in on them (perhaps once or twice a second).

    This check would get their position (to see if they have not moved/being blocked by a block), and also would see if they stopped targeting. If they have stopped, then no longer check in on them (also do this when they die).
     
  18. Offline

    retsrif

    @ssell yes that would work... maybe a formula according to the strength of the block too... if i can get that...
     
  19. Offline

    ssell

    @retsrif

    If you can not get the block durability, perhaps just use a config file. This will allow the users to specify what blocks they want the zombies to be able to break, as well as setting how long it takes to break.

    Since you are already checking in on the zombies periodically, every check you can increment a counter (unless they have moved away from the block that 'they are breaking down'). Once this counter has reached a threshold (as specified by the user in the config), destroy the block.
     
  20. Offline

    retsrif

    Actually i was think that whenever a zombie targets a player, i thought i would start a scheduler that would allow me to check if the zombie is still next to the block :p
     
  21. Offline

    Monkah

    Thats why I put the idea of a config file up in the first post. It provides freedom and less worries about what would be breakable, etc.
     
  22. Offline

    Monkah

    Hey, hows the plugin going?

    Prehaps the abillity to climb walls too?

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

    retsrif

    Still didn't start :p Busy currently so I don't even know if I'm doing it.
     
  24. Offline

    JoeJoeMcBean

    I've taken some of this up, check out zombieattack.
    Link in my sig.

    More than happy to add in additional features!
     

Share This Page