Epic Fight

Epic Fight

13M Downloads

For 3d armor glitches

Yesssssman opened this issue ยท 4 comments

commented

2021-09-07_20 30 59 (4)
2021-09-07_20 30 59 (3)
2021-09-07_20 30 59 (5)

[Applied examples (Ice and fire, Botania, Thaumcraft)]

2021-09-07_20 30 59 (2)
2021-09-07_20 30 59 (1)

[Broken examples (Botania, Dungeons gear)]

There are lots of ways to render custom armor, but Epic Fight can create an autogeneration model in a restricted way. This is not a fault for mod makers. They don't necessarily have to make custom armor working in Epic Fight.

Nevertheless, If someone wants to make custom armor visible with Epic Fight animation, I'll be willing to give them a solution on how to modify their code. If he says he doesn't want to fix their code, Don't bother him anymore.

Guideline

In the constructor of YourModel.class

this.bipedHead.addChild(your modelrenderer);
this.bipedRightArm.addChild(your modelrenderer);
this.bipedRightLeg.addChild(your modelrenderer);
this.bipedLeftLeg.addChild(your modelrenderer);
this.bipedBody.addChild(your modelrenderer);
this.bipedLeftArm.addChild(your modelrenderer);

Like the example above, make your ModelRenderer (or ModelPart in the official mapping) instance hierarchically. And recommend finishing all the transformation stuff in Constructor as possible, because my autogeneration mechanism is supposed to be executed without ModelRenderer#render method.

Cool example creating a fully compatible model.
# (Ice and Fire Dragonsteel armor model)

commented

But, what i have to do?, where is the model? what i have to add.

commented

@Pfr19 Are you a mod developer? If so, I attached the guideline so refer to it.

commented

but where do i find that. I am not a mod developer help pls