Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Model Engine Model Engine
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 35
    • Issues 35
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • Model EngineModel Engine
  • Wiki
  • Making your first model

Making your first model · Changes

Page history
Updated to R3 standards authored May 24, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 24 additions and 3 deletions
+24 -3
  • Making-your-first-model.md Making-your-first-model.md +24 -3
  • No files found.
Making-your-first-model.md
View page @ 0d299017
......@@ -93,10 +93,31 @@ To display the name of the model, or add an HP bar on top, you would need a name
Each model can have as many name tag bones as you need. They don't need to be centered, and they can have animations.
To create a name tag bone, add `tag_` in front of the bone name.
## Hand Item
## Item Bone(s)
Sometimes you would like items to be synced in your model.
You can do so by creating a bone and add either `ir_` or `il_` to the front, which represents the right item and the left item respectively.
> Note: The displayed item **IS NOT** displayed using the right and left hand, but rather the head slot. It might sound counter-intuitive, but this preserves animation accuracy.
You can do so by creating special, cube-less bones with a specific tag written before the actual bone name. Depending of the the tag used, the item that will be displayed will be treated as if it was equipped in the corresponding slot.
**The tags for an item bone are:**
- **`ih_` for head display**
- **`ir_` for main hand display**
- **`il_` for offhand display**
You can create as many item bones as you want. You can then equip items there via the [SetItemModel](/Mechanics:-Model#setitemmodel) mechanic. The partid of the bone will be its name minus the tag used, like always.
## Leash Bone(s)
By making a cube-less bone and using a special tag before the bone name, you can mark a bone as the attachment point when being leashed.
**The tag for a leash bone is `l_`**
You can create as many bones as you want. You can leash the model using the [Leash](/Mechanics:-Model#leash) or [LeashSelf](/Mechanics:-Model#leashself) mechanics. The partid of the bone will be its name minus the tag used, like always.
##Rendered Ghost Bone
Mark a ghost bone as rendered in-game.
Normal ghost bones (bones without cubes inside) are only used internally and do not spawn armor stands. Marking them as rendered would cause them to spawn an armor stand, but will not display any models.
**The tag for a rendered ghost bone is `g_`**
You can set the model of a rendered ghost bone using the [ChangePart](/Mechanics:-Model#changepart) mechanic
## Segments
> Caution: This feature is still experimental. No animations would be played to segmented bones.
......
Clone repository
  • Before You Start
    • Home
    • Limitations
    • Temp Wiki for R3
    • Comparison: ItemsAdder
    • Where is MoLang support?
    • Converting RP to 1.19.3
  • Modeling
    • Recommended tool
    • Making your first model
    • Importing and Exporting
    • Animating your model
    • Scriptable Keyframes
  • Mythic Mobs Integration
    • Mechanics: Model
    • Mechanics: VFX
    • Targeters
    • Conditions
  • API
    • Javadoc