Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Model Engine 4 Model Engine 4
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 125
    • Issues 125
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • Model Engine 4Model Engine 4
  • Wiki
    • Skills
    • Mechanics
  • VFX

VFX · Changes

Page history
wiki standardization authored Oct 21, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 1 addition and 1 deletion
+1 -1
  • Skills/Mechanics/VFX.md Skills/Mechanics/VFX.md +1 -1
  • No files found.
Skills/Mechanics/VFX.md 0 → 100644
View page @ 058ef9f7
[< Back to mechanic page](/Skills/Mechanics#vfx-mechanics)
Mechanic: VFX
===============
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.<br/>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 |
| bvisible | bv | Is the base entity visible by default.<br/>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.
```yaml
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}
]}
```
\ 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
  • 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