[TUTORIAL] How to make 3D rendered armor, with moving arms, legs and head.

Started by StrawS on Sun, 07/14/2019 - 08:10

Topic category: Advanced modding

Last seen on 05:14, 27. May 2020
Joined Jan 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
[TUTORIAL] How to make 3D rendered armor, with moving arms, legs and head.
Mon, 12/16/2019 - 19:40 (edited)

First, I recommend using Block Bench to make your models, as Techne is outdated and broken, and doesn't seem to work for this. I won't be giving a guide on how to use Block Bench as there are tutorials for that already, just how to make your model work with armor.

When making your model, you want to make sure everything you make is within groups. And you must have a group for each body part, head, body, right arm, left arm, right leg, left leg. For the boots, you're going to want to make a separate group exactly the same as the legs. When modeling the actual armor pieces, you want to make sure each piece is under the corresponding group you want it to be moving with. For example a helmet you made would be under the head group.

It is also VERY important the group's origin points are the same as the player model, so that they rotate together.

I recommend making a plain biped model to help guide you, but it is not required.

Example of how the groups are supposed to be set up:

Example

For a player model, the origin points are:

  • Head and Body: 0, 24, 0
  • Right Arm: 5, 22, 0
  • Left Arm: -5, 22, 0
  • Right Leg: 2, 12, 0
  • Left Leg: -2, 12, 0

After you're done, export it, and when MCreator asks which parts to animate, you can skip that, as that doesn't do anything.

When making your armor, select the group for each corresponding body part. Don't worry about the arms for now, for the helmet choose the head group, for the body choose the body group, and for the legs and boots, choose the left leg group for "L" and the right leg group for "R"

Animating arms is little bit more complicated as it requires you to put two lines of code:

NOTE: You must change the part where it says "name of x here" to whatever you made the name of the group  for that body part in Block Bench.

Under this line of code:

armorModel.bipedBody = new NameOfModelHere().NameOfBodyHere;

Put in these two lines of code.

armorModel.bipedRightArm = new NameOfModelHere().NameOfRightArmHere;
armorModel.bipedLeftArm = new NameOfModelHere().NameOfLeftArmHere;

After that everything should be working and animated!

Example of it working on armor:

Example

If you have questions or need help leave a comment.

Edited by StrawS on Mon, 12/16/2019 - 19:40
Last seen on 19:42, 11. Feb 2020
Joined Jul 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Hi, I've nearly got the…
Sun, 07/14/2019 - 09:38

Hi, I've nearly got the animations working but for some reason the arms get copied and pushed up when I put the code in?

This is what it currently looks like

This is what it is meant to look like

This is my code

What have I done wrong?

Last seen on 05:14, 27. May 2020
Joined Jan 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Does the copy of the arms…
Sun, 07/14/2019 - 19:40

Does the copy of the arms move aswell? If not then it might be because of the body. Make sure every piece is under a group, and in your code make sure the group HDD is your body, and just the body piece.

Last seen on 19:42, 11. Feb 2020
Joined Jul 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
I fixed the arms, turned out…
Sun, 07/14/2019 - 22:06

I fixed the arms, turned out that they were part of a bigger group so I fixed that but now the legs don’t attach around the feet area. I’ve tried as boots and as leggings but the exact same thing happens, they sink into the ground and split apart from the legs. Why does this happen?

Last seen on 05:14, 27. May 2020
Joined Jan 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Send a picture of how your…
Mon, 07/15/2019 - 08:01

Send a picture of how your groups are set up to me

Last seen on 14:54, 17. Jul 2019
Joined Apr 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
also, origin points for…
Mon, 07/15/2019 - 13:50

also, origin points for boots?

 

Last seen on 05:14, 27. May 2020
Joined Jan 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Yeah, looks fine to me, I…
Tue, 07/16/2019 - 03:20

Yeah, looks fine to me, I have no clue. I could send over my plain biped model and you can try remodeling on that if you want to see if it works. Otherwise I don't know why it would be causing that problem

Last seen on 19:42, 11. Feb 2020
Joined Jul 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Yeah if you could, that…
Tue, 07/16/2019 - 07:44

Yeah if you could, that would be great 

Last seen on 17:19, 1. Sep 2019
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
  make a tutorial on youtube…
Sat, 08/10/2019 - 21:18

 

make a tutorial on youtube pls

 

Last seen on 04:54, 2. Jun 2020
Joined Jul 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
When you mean left/right,…
Tue, 08/13/2019 - 14:34

When you mean left/right, are you talking about, when your the player? Or the model, from your "side" like the N in blockbench.