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
  • VFX

Last edited by Lxlp Oct 23, 2024
Page history

VFX

< Back to mechanic page

Description

Assign or remove a VFX from an entity or a projectile.
The VFX will automatically be spawned and move with the target.
Similarly, the VFX will despawn when the target is removed.

Attributes

Attribute Aliases Description Type Default
modelid m, mid, model Model of the VFX String
partid p, pid, part Bone of the VFX. The bone must be a renderer bone String
remove r Is this mechanic used for removing VFX Boolean false
radius rad Visible radius of the VFX.
Values less than or equal to 0 will not be read
Integer 0
color c Default color of the VFX in hex Color FFFFFF
visible v Is the VFX visible by default Boolean true
enchant en Whether the vfx should be enchanted Boolean False
bvisible bv Is the base entity visible by default.
Has no effect when the target is a projectile.
Boolean true

Examples

Applying VFX to a projectile:

This will spawn a projectile using the fire_bolt bone model from weapon_vfx model blueprint.

  Skills:
  - projectile{v=20;i=1;hR=0.25;vR=0.25;hnp=true;
    oS=[
      - vfx{mid=weapon_vfx;pid=fire_bolt}
    ];
    oT=[
      - effect:particles{particle=flame;amount=1;hS=0;vS=0;speed=0} @origin
    ];
    oH=[
      - damage{a=1}
    ]}
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