Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Model Engine 4 Model Engine 4
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 105
    • Issues 105
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • Model Engine 4Model Engine 4
  • Wiki
    • Skills
    • Mechanics
  • SubModel

Last edited by Lxlp Oct 21, 2024
Page history

SubModel

< Back to mechanic page

Description

Forcibly create or delete bones from a model.
This is mainly used for removing interactive bones such as sub-hitboxes or seats.
If you want to hide a renderer bone temporarily, use PartVisibility instead.

Attributes

Attribute Aliases Description Type Default
modelid m, mid, model Targeted model String
remove r Is this mechanic used for removing bones Boolean false

When remove = false

Attribute Aliases Description Type Default
partid p, pid, partid, part The parent of the added bone String
subpartid sp, spid, subpart The added bone. All child bone of this bone will also be added. String
prefix pfx Prefix of the newly added bones.
This is used to distinguish duplicate bones.
E.g.sp=test;pfx=custom_ will add a bone called custom_test.
This new bone name can be targeted by other mechanics.
String Empty String

When remove = true

Attribute Aliases Description Type Default
subpartid sp, spid, subpart The removed bone String
Clone repository
Home
FAQ / Common Issues
Commands & Permissions
Configuration

Modeling
  • Creating a Model
    • Hitbox & Eye Height
    • Shadow
  • Bone Behaviors
    • Player Limbs
  • Animating a Model
  • Importing a Model
  • Scriptable Keyframes
  • Optional Tools
MythicMobs
  • Mechanics
  • Conditions
  • Targeters
Citizens (R4.0.4)
  • Trait
  • Commands & Permissions

API
  • Basic
    • Apply / Remove Model
    • Play / Stop Animation
    • Configure Bone Behaviors
    • Mounting / Dismounting Model
    • Per-Player Model
    • Events
  • Advanced
    • Custom Base Entity
    • Custom Mount Controller
    • Custom Importer
    • Custom Bone Behaviors
    • Custom Script Reader
    • Custom Timeline
    • Custom Animation Handler
    • Custom Render Type

Technical
  • Terminology
  • Animation Systems
  • Mount Controllers
Promotional Material