[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 00:21, 21. Oct 2019
Joined Jan 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
[TUTORIAL] How to make 3D rendered armor, with moving arms, legs and head.
Sun, 07/14/2019 - 08:23 (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 Sun, 07/14/2019 - 08:23
Last seen on 00:21, 21. Oct 2019
Joined Jan 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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 12:46, 23. Jul 2019
Joined Jul 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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 00:21, 21. Oct 2019
Joined Jan 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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:

Statistics:

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

also, origin points for boots?

 

Last seen on 01:54, 15. Nov 2019
Joined Aug 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Cool and nice tutorial !
Mon, 07/15/2019 - 13:58

Cool and nice tutorial !

Last seen on 00:21, 21. Oct 2019
Joined Jan 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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 12:46, 23. Jul 2019
Joined Jul 2015
User points:

Statistics:

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

Yeah if you could, that would be great