Posted September 30, 201311 yr I have several Blender models which I wish to make into mobs, What are the requirements to code in the .obj files so they appear in game as mobs? I know how to do it using techne models (this is easy) but i am stumped by how to take a Blender model and code it in game. Are there tutorials for this?
September 30, 201311 yr As i refered to in another thread like this: I stumpled uppon this tutorial here: http://minalien.com/tutorial-advancedmodelloader/ Maybe it can help you out
September 30, 201311 yr sadly though .obj doesn't support animations, so there seems to be no easy way of doing that If you guys dont get it.. then well ya.. try harder...
October 1, 201311 yr Author Ya the whole no animations support thing for .obj seems to be an issue. I wonder if there is a way around it. I think the developer of Pixelmon has found a way to do it but other than that I dont think many people have.
October 1, 201311 yr Author If anyone knows how to get a .obj file into the game as a mob please let me know I will post anything I find on this subject
October 1, 201311 yr Same way as you would for any other model from .obj files. @SideOnly(Side.CLIENT) public class ModelFromOBJ extends ModelBase { private IModelCustom modelObj; public ModelFromOBJ () { modelObj = AdvancedModelLoader.loadModel(new ResourceLocation("/assets/my_mod_id/models/tutBox.obj")); } } If you guys dont get it.. then well ya.. try harder...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.