[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:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
[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
2Upvote this forum topic
Last seen on 19:42, 11. Feb 2020
Joined Jul 2015
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
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?

0Upvote this forum topic
Last seen on 14:54, 17. Jul 2019
Joined Apr 2018
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
Okay so I followed your…
Sun, 07/14/2019 - 13:26

Okay so I followed your tutorial, but in my game model looks like this: https://i.imgur.com/iJt4IvW.png

And it should look like this: https://i.imgur.com/y3lzzfr.png
 
What went wrong? :/
 

1Upvote this forum topic
Last seen on 00:21, 21. Oct 2019
Joined Jan 2017
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
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.

0Upvote this forum topic
Last seen on 19:42, 11. Feb 2020
Joined Jul 2015
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
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?

0Upvote this forum topic
Last seen on 00:21, 21. Oct 2019
Joined Jan 2017
User points:

User statistics:

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

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

0Upvote this forum topic
Last seen on 19:42, 11. Feb 2020
Joined Jul 2015
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
This is how it is currently…
Mon, 07/15/2019 - 08:49

This is how it is currently set up

https://imgur.com/a/mdslm0L

0Upvote this forum topic
Last seen on 14:54, 17. Jul 2019
Joined Apr 2018
User points:

User statistics:

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

also, origin points for boots?

 

0Upvote this forum topic
Last seen on 13:20, 23. Feb 2020
Joined Aug 2016
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
Cool and nice tutorial !
Mon, 07/15/2019 - 13:58

Cool and nice tutorial !

0Upvote this forum topic
Last seen on 00:21, 21. Oct 2019
Joined Jan 2017
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
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

0Upvote this forum topic
Last seen on 19:42, 11. Feb 2020
Joined Jul 2015
User points:

User statistics:

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

Yeah if you could, that would be great 

0Upvote this forum topic