this.Head.rotateAngleY = par4 / (180F / (float)Math.PI);
this.Head.rotateAngleX = par5 / (180F / (float)Math.PI);
/**altho i keep making my model invisible so just leave the head for now
So musn't I use this code? will it make the head invisable?
Rollback Post to RevisionRollBack
<---- CLICK Join my server: create.zapto.org or 219.89.124.82
the legs move only when the mob is active so yes the legs move obly when the mob walks as for the head code im not quite sure look at ModelPig for inspiration
could u please help
Rollback Post to RevisionRollBack
<---- CLICK Join my server: create.zapto.org or 219.89.124.82
However I see you have ears and other things on there, you're going to need that same two lines for all of those objects as well. Also the objects need to have the same rotation point (the blue dot in techne) as the head does. If you want the thing to look at you when your close add this to your entity class.
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
However I see you have ears and other things on there, you're going to need that same two lines for all of those objects as well. Also the objects need to have the same rotation point (the blue dot in techne) as the head does. If you want the thing to look at you when your close add this to your entity class.
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
so do I add
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
anywhere in entity??
and how do I make the tail move tail = shape1
para 5? and 4?
Also the 3 things at the top are all named Shape3
Is that right?
soz don't know much about java and that haha, I just wana make a mod
Here is my ModelSmoosh.java file:
Join my server: create.zapto.org or 219.89.124.82
(haven't done textures yet)
Join my server: create.zapto.org or 219.89.124.82
Join my server: create.zapto.org or 219.89.124.82
Thanks
So musn't I use this code? will it make the head invisable?
Join my server: create.zapto.org or 219.89.124.82
YEah I understand. so what's the code to make the head turn to look at players and does that code make the legs move only when they walk?
Join my server: create.zapto.org or 219.89.124.82
could u please help
Join my server: create.zapto.org or 219.89.124.82
Okay.. well to make the head move you need this code:
However I see you have ears and other things on there, you're going to need that same two lines for all of those objects as well. Also the objects need to have the same rotation point (the blue dot in techne) as the head does. If you want the thing to look at you when your close add this to your entity class.
so do I add
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
anywhere in entity??
and how do I make the tail move tail = shape1
Join my server: create.zapto.org or 219.89.124.82
para 5? and 4?
Also the 3 things at the top are all named Shape3
Is that right?
soz don't know much about java and that haha, I just wana make a mod
Join my server: create.zapto.org or 219.89.124.82
So would that work? is the in a good place?
Also there are 3 shapes which are named the same "shape3" but they are all on the head so will it still work?
this is my model file:
Join my server: create.zapto.org or 219.89.124.82
holy sh*t man! thnx a lot - lol u have helped me on other posts I see to.
Join my server: create.zapto.org or 219.89.124.82
sorry, one more question
where do I put the code????? here is where I put it:
thanks - I don't know if u said yes to my other question
Join my server: create.zapto.org or 219.89.124.82
I + 1'ed all ur comments!
Join my server: create.zapto.org or 219.89.124.82
My Model looks like a normal Zombie, I will edit this later.