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
check the mobdisguise source code https://github.com/desmin88/MobDisguise/tree/master/src/me/desmin88/mobdisguise
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.
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.
looks like you'd have to use a bunch of obfuscated methods... https://github.com/desmin88/MobDisg...min88/mobdisguise/utils/PacketUtils.java#L114
honestly though, you may not even need to change these methods, what _exactly_ do you need to disguise a player for?
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
er, im not sure what youre asking that mobdisguise cant do, tbh 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!)
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
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
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.
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.