Jump to content
  • 0

.mimodel question


Message added by TopicLocker3000

This topic was automatically locked after 6 months of inactivity. If you are the topic owner, please contact a moderator to have it unlocked.

Question

6 answers to this question

Recommended Posts

  • 1

It impresses me that more people are interested in the code of the .mimodel files
I modeled a complete character only by code hehe so I learned how to modify them.

here is the corrected code, just missing a little more order, and the code "parts" to indicate the parts that mine-imator create in the timeline.

Spoiler

{
    "name": "Custom Part Fix",
    "texture": "entity/steve",
    "texture_size": [ 64, 64 ],
    "player_skin": true,
    "parts": [
        {
            "name": "right_arm",
            "position": [ -6, 10, 0 ],
            "bend": {
                "part": "lower",
                "axis": "x",
                "direction": "both",
                "offset": -4
            },
            "shapes": [
                {
                    "type": "block",
                    "from": [ -2, -10, -2 ],
                    "to": [ 2, 2, 2 ],
                    "uv": [ 44, 20 ]
                },
                {
                    "type": "block",
                    "position": [ 0, -4, 0 ],
                    "scale": [ 1.125, 1.042, 1.125 ],
                    "from": [ -2, -6, -2 ],
                    "to": [ 2, 6, 2 ],
                    "uv": [ 44, 36 ]   
                }        
            ]
        }
        
    ]
}

 

 

Link to post
Share on other sites

  • 0
19 minutes ago, Nimi said:

You'll still need the root part in the model with the parts list.

Here's the code I used:

Spoiler

{
    "name": "steve",
    "texture": "entity/steve",
    "texture_size": [ 64, 64 ],
    "player_skin": true,

                    "name": "right_arm",
                    "position": [ -6, 10, 0 ],
                    "bend": {
                        "part": "lower",
                        "axis": "x",
                        "direction": "both",
                        "offset": -4
                    },
                    "shapes": [
                        {
                            "type": "block",
                            "from": [ -2, -10, -2 ],
                            "to": [ 2, 2, 2 ],
                            "uv": [ 44, 20 ]
                        },
                        {
                            "type": "block",
                            "from": [ -2, -6, -2 ],
                            "to": [ 2, 6, 2 ],
                            "position": [ 0, -4, 0 ],
                            "scale": [ 1.125, 1.042, 1.125 ],
                            "uv": [ 44, 36 ]
                        }
                                        ]
                }
            ]
        }
    ]
}

Can you tell me what I did wrong?

Also, I have no idea how to do what you just said.

Edited by RedAnimator
Link to post
Share on other sites

  • 0
7 hours ago, Marioandsonic07 said:

It impresses me that more people are interested in the code of the .mimodel files
I modeled a complete character only by code hehe so I learned how to modify them.

here is the corrected code, just missing a little more order, and the code "parts" to indicate the parts that mine-imator create in the timeline.

  Hide contents

{
    "name": "Custom Part Fix",
    "texture": "entity/steve",
    "texture_size": [ 64, 64 ],
    "player_skin": true,
    "parts": [
        {
            "name": "right_arm",
            "position": [ -6, 10, 0 ],
            "bend": {
                "part": "lower",
                "axis": "x",
                "direction": "both",
                "offset": -4
            },
            "shapes": [
                {
                    "type": "block",
                    "from": [ -2, -10, -2 ],
                    "to": [ 2, 2, 2 ],
                    "uv": [ 44, 20 ]
                },
                {
                    "type": "block",
                    "position": [ 0, -4, 0 ],
                    "scale": [ 1.125, 1.042, 1.125 ],
                    "from": [ -2, -6, -2 ],
                    "to": [ 2, 6, 2 ],
                    "uv": [ 44, 36 ]   
                }        
            ]
        }
        
    ]
}

 

 

ThankyouThankyouThankyou!

15 hours ago, Nimi said:

You can't import a specific part from a custom .mimodel file.

Would this be a good feature to add?

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...