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 110
    • Issues 110
    • 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
  • FAQ

FAQ · Changes

Page history
Update FAQ authored Oct 01, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 27 additions and 1 deletion
+27 -1
  • FAQ.md FAQ.md +27 -1
  • No files found.
FAQ.md
View page @ 44f2d6e0
......@@ -13,4 +13,30 @@ Use the generated resource pack, located in the plugin's folder.
### Model using parts of a different model
Update the resource pack.
\ No newline at end of file
Update the resource pack.
### I want my Modeled Entity to perform a custom attack animation
While you could play a state with a onAttack trigger, there will be no delay between the start of the attack animation and the damage itself, so a different solution is required.
A popular and effective method is to:
- Cancel the attack event
- Play the state
- Delay the execution of the skilltree
- Deal Damage
And this is usually done via the use, in some form, of the following base metaskill:
```yaml
ExampleMob:
Type: ZOMBIE
Skills:
- model{mid=examplemob} @self ~onSpawn
- skill{s=ExampleModelAttack;sync=true} @self ~onAttack
```
```yaml
ExampleModelAttack:
Skills:
- cancelevent
- state{...}
- delay 17
- damage{...} @trigger
```
\ No newline at end of file
Clone repository
Home
FAQ / Common Issues
Commands & Permissions
Configuration
Modeling
  • Creating a Model
    • Hitbox & Eye Height
    • Shadow
  • Bone Behaviors
  • Animating a Model
  • Importing a Model
  • Scriptable Keyframes
MythicMobs
  • Mechanics: Model
  • Mechanics: VFX
  • Conditions
  • Targeters
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