× Information, tutorials and more about building models

Rendering Issues

  • Posts: 4
  • Thank you received: 0

Ugh2460 created the topic: Rendering Issues

After tinkering with ToolBox and MCP for a day or two, I finally learned how to import 3D gun models to Minecraft. But, I have encountered two issues with my first model, which is a modified P90 from the Monolith pack that has been made to resemble the RCP-90 from GoldenEye N64 (which I am trying to make a content pack for). The first issue is that some of the smaller shapeboxes located on the gun handle aren't rendering properly in the game. I tested for this by giving a Custom NPC my gun and telling it to stand still and aim so I can see what the model looks like, and secondly by placing it on a CustomNPCs weapons rack, where it looked even worse. I know that other guns work properly with this mod, so I am led to believe that it is my model that is screwed up. The second issue is the reload animation, which needs to be realigned, but unfortunately I don't know how to do this, so please teach me so I don't have to bug you all again. I've got my Toolbox model file, Java source file, and content pack attached. Any assistance on either of these two issues would be quite appreciated.

File Attachment:

File Name: RCP90_2016...07-2.zip
File Size:107 KB

#78066
Attachments:
The topic has been locked.
  • Posts: 191
  • Karma: 11
  • Thank you received: 40

TheWillyJ replied the topic: Rendering Issues

As far as the model rendering, can you post a picture? I am not seeing any major issues when I look at it in-game. The ones I do see are lighting bugs caused by using triangles.



You can resolve this easily by avoiding triangle shapes (dont entirely remove a face from the shapebox) Build it in such a way as to avoid this or hide the face inside existing parts if really necessary.

Original -

How I would fix it -

I'll add another reply later regarding reloads.

#78068
The following user(s) said Thank You: Ugh2460
The topic has been locked.
  • Posts: 191
  • Karma: 11
  • Thank you received: 40

TheWillyJ replied the topic: Rendering Issues

I'm not seeing any reload animation at all currently, but I would recommend going to Model > Type Specific Settings > Reload Animation Type > set to P90.

See how that looks for starters, if it's not to your liking you can set that to custom and come up with your own with the settings near the bottom.

#78069
The topic has been locked.
  • Posts: 4
  • Thank you received: 0

Ugh2460 replied the topic: Rendering Issues

Thanks for your help thus far. I set it to the P90 animation before, but perhaps the model file didn't have that set up. I didn't know how to set it up in Toolbox, so I copied that line of code from the original Java source file. Oops. But, when I did set it up like you told me to do, and then used Show > Model Animation to see the animation, it doesn't do anything. Does this feature work at all for you, am I doing it wrong, or do I have to recompile my gun, run Minecraft, and unload 80 rounds of ammo every time I need to make an adjustment?

#78070
The topic has been locked.
  • Posts: 191
  • Karma: 11
  • Thank you received: 40

TheWillyJ replied the topic: Rendering Issues

I was able to get it working by doing nothing other then selecting P90 reload type in type specific settings and exporting. It was set to none in the toolbox file you uploaded.

#78071
The topic has been locked.
  • Posts: 4
  • Thank you received: 0

Ugh2460 replied the topic: Rendering Issues

Apparently I wasn't too clear in my earlier post. I set up the animation config in Toolbox (which was indeed missing from the .mtb file I uploaded, but was included in the Java file after I copied and pasted "animationType = EnumAnimationType.P90" from the source file of the gun I was modifying in the first place), updated the model file, and enabled Show > Model Animation in Toolbox, and no animation playback occurred, which means, until this problem is fixed, I have to recompile the gun and play the reload animation in Minecraft on a trial and error basis until I get it right, which would be a pain in the neck... Perhaps it would help if you uploaded the model you have.

#78072
The topic has been locked.
 
Latest Forum Posts
 
Latest Blog Posts
 
User Online
 
User Menu