Disguising as mobs

Discussion in 'Plugin Development' started by Asdjke, Jun 15, 2012.

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

    Asdjke

    Hey there fellow developers. Just wondering how I would go about making players be disguised as mobs. Would it involve making the player invisible then making a mob track it? I have a feeling it may involve packets. I am happy to use them if need be. Any help will be greatly appreciated!

    command structure:

    /deploy Spider - will disguise as a spider
    /deploy EnderDragon - will disguise as an EnderDragon
    /deploy Skeleton- will disguise as a Skeleton
    /deploy Zombie - will disguise as a Zombie
    /deploy Creeper - will disguise as a Creeper
    /deploy Spider - will disguise as a spider
    /deploy Golem - will disguise as a IronGolem
    /deploy CaveSpider - will disguise as a CaveSpider
    ect... for all hostile mobs

    I know that there are other plugins that do this but I need it for something very specific.

    Thank you in advance for any help

    -Asdjke
     
  2. Offline

    CorrieKay

  3. Offline

    Asdjke

  4. Offline

    David Knag

    Read closer, I think asdjke is asking how he could make it look like the player is a mob visible for Client Side instead of Server Side Which is what MobDisguise is.
     
  5. Offline

    CorrieKay

    if its client side, why would he be asking in a server plugin forum? :p
     
  6. Offline

    Asdjke


    Definitely server side. But i just need help figuring out how to go about it. I can read the source for MobDisguise all day but it aint going to help much. All i need is a way to make a player a mob, that is visible to all other players. ;)
     
  7. Offline

    CorrieKay

    Ill be taking a look at MD myself, ive been fairly interested on how it works too :p
     
  8. Offline

    Asdjke

    Sweet ill take a look also :D lets crack this code
     
  9. Offline

    CorrieKay

  10. Offline

    Asdjke

  11. Offline

    CorrieKay

    honestly though, you may not even need to change these methods, what _exactly_ do you need to disguise a player for?
     
  12. Offline

    Asdjke

    For a game I am working on, Aliens vs Humans based game. It will be my next big project for my channel. http://www.youtube.com/user/AsdjkeAndBro

    Yeah so I really need to get this to work as "Aliens" [the monsters retextured] need to be different from the players obviously. The plugin needs to cover what redstone cannot. And well It cannot do this ;)
     
  13. Offline

    CorrieKay

    er, im not sure what youre asking that mobdisguise cant do, tbh :eek:

    care to elaborate? (it'd make it easier to find out what we need to know how to modify, and maybe we can just use the mobdisguise api for it!)
     
  14. Offline

    Asdjke

    yeah sure sorry I just want a cut down version of it, with some adjustments that i will make later. I want to include a download to the server files when i release it, so therefore i cannot use MD as it is not my property for copyright reasons ;)
     
  15. Offline

    CorrieKay

    Hmm, I'd say honestly your best bet is to just use the MD api (im not sure if its complete or functional yet) and give credit. The developer gave it an api, hes gotta expect people to package it with their own code ;3
     
  16. Offline

    V10lator

    The license doesn't stop you from link to MD and/or from downloading it at runtime: http://dev.bukkit.org/licenses/1147-desmin88s-license-v1-0/ - You are even allowed to host MD for yourself (so include it in the jar and extract it at runtime), but I think that's a bad solution. I would just link to it so
    1. People know what runs at their server and
    2. You give credit to the author of the API you use.
    Also you could have 2 backends: MD and Spout. If the SpoutPlugin is enabled and the client uses SpoutCraft use that to change the skins, else fallback to MD.
     
  17. Offline

    Asdjke

    Yeah cool! thanks for the help
     
  18. Offline

    David Knag

    For other players, yes. It works fine. But aren't you trying to make the client look like a mob too?
     
  19. Offline

    Asdjke

    There is no need to. The main thing is that others will see it as an identifier.
     
  20. Offline

    FTWin01Gurl

    If you're trying to make it client-side, this is impossible unless you have Spout or Craftbukkit (if I recall correctly). Sorry for being late to the discussion, but I wanted to weigh in my perspective.
     
Thread Status:
Not open for further replies.

Share This Page