[Formatted] EvilMounts: Monsters spawn riding undead horse varients

Discussion in 'Archived: Plugin Requests' started by LlmDl, Aug 9, 2013.

  1. Offline

    LlmDl

    Plugin category: Monsters

    Suggested name: EvilMounts

    What I want: I would appreciate a plugin that adds mobs which spawn mounted on the undead horse varieties. The plugin would be configurable, with a list of mob-combination names, here is an example:

    Code:
    Example Config.yml:
     
    Combos:
        ZombieZombieMount:
          Mob: Zombie
          Mount: ZombieHorse
          Chance: 0.03
        SkeletonBoneMount:
          Mob: Skeleton
          Mount: SkeletonHorse
          Chance: 0.03
        WitherSkeleBoneMount:
          Mob: WitherSkeleton
          Mount: SkeletonHorse
          Chance: 0.03
    Instead of chance: another option would be trigger: if you would like to code it based on the other spawning mobs. Ex: Trigger: zombie:2,skeleton:3 (which would spawn the mount when 2 zombies and 3 skeletons spawn in close proximity.)

    There is a question of how the mounts would move, preferably the rider would be piloting the horse, similar to when skeletons spawn riding on spiders.

    What can be done using Commandblocks:
    As of now its possible to summon a combination of mobs:
    Code:
    /summon Skeleton x y z {Equipment:[{id:261},{},{},{},{}],Riding:{id:"EntityHorse",Type:4,Tame:1,Anger:1,Riding:{id:"Silverfish",ActiveEffects:[{Id:14,Amplifier:0,Duration:999999,Ambient:1}]}}}
    This summons a skeleton holding a bow, riding an undead skeletonhorse which is in turn riding an invisible silverfish. If the horse is not riding a skeleton they do not move, as they are not programmed with any AI for mobs riding them.

    The problem with this is that after you've killed the horse and skeleton you're stuck with an invisible silverfish. If the silverfish were killed when the skeleton is killed this would solve that problem.


    Ideas for commands: A plugin that reloads the config.yml of the plugin.

    Ideas for permissions: A node to reload the plugin.

    When I'd like it by: When its done :)

    <deleted double post. bumps are allowed only every 24 hours - Necrodoom>
     
  2. Offline

    metalhedd

    I took a stab at this about a week ago. Its quite easy to spawn a mob on an undead horse, but the horse won't move, You'd have to get into some nasty NMS code to transfer the rider's movements to the horse. I've been meaning to put a bit more time into it but haven't had the chance.

    Just fair warning for anyone who does take this up, the horse won't move on it's own, you'll need to solve that issue
     
  3. Offline

    IceBurgers

    I suggested this a while ago, and I definitely think this is possible and would be awesome to see, so... bump! :)
     
  4. Offline

    LlmDl

    I knew from the get-go that this would require some NMS code to get the horse moving, so this would require an update every 1-2 months. I think the benefits would out-weigh this, evil horses!

    I forgot to mention this earlier, but I would be willing to take on the position of Documenter/IRC/Forum Support for this plugin, as I am already doing the same for the Towny plugin. This would spare the developer the hassle of having to deal with most users directly.
     
  5. Offline

    timtower Moderator Moderator

    Unless you use reflection, pain in the ass to create though.
     
  6. Offline

    metalhedd

    I couldn't agree more! That's why I started on the plugin as soon as there was a horse api, I even had a similar name of 'UndeadMounts'. I just didn't have to patience to do all of leg-work to get them moving. Usually when I start on something like that, someone better comes along and finishes it before I can anyway :) Nevertheless, I'm going to make another attempt at this tomorrow. I've started a separate thread for discussing the specifics: http://forums.bukkit.org/threads/mob-controlled-horses.166676/ and If I do manage to get it working the code will be free for anyone to use, but I'll likely turn it into a plugin exactly as you've described here, nice and simple.
     
  7. Offline

    LlmDl

    metalhedd I've set up to watch that thread, and would help provide support/documentation for your plugin when it's created! Thanks!

    Giving this thread a bump as it is still a great idea.
     
  8. Offline

    LlmDl

    A concept on how to get around the undead horses not moving when monsters are mounted on them: Have the undead horses riding on top of invisible silverfish. When the horse is killed, the silverfish would also be killed.
     
  9. Offline

    Kiaeyi

    The horse would be seen floating though, which may be pretty cool for an undead horse concept. This would be easy to do.
     
  10. Offline

    LlmDl

    Yeah the floating/horse doesnt move its legs is something I could live with. The only other alternative is someone codes horse animation/spider AI into the horses that are mounted by mobs. Ugly stuff I'm sure.

    Another thing that happens is the skeleton shoots the horse/silverfish with its bow on accident, not sure how easy that is to overcome.
     
  11. Offline

    Onlineids

    EDIT: read this wrong xD
     

Share This Page