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 111
    • Issues 111
    • 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

VFX · Changes

Page history
Update VFX authored Oct 23, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 3 additions and 4 deletions
+3 -4
  • Skills/Mechanics/VFX.md Skills/Mechanics/VFX.md +3 -4
  • No files found.
Skills/Mechanics/VFX.md
View page @ b021a2e6
[< Back to mechanic page](/Skills/Mechanics#vfx-mechanics) [< Back to mechanic page](/Skills/Mechanics#vfx-mechanics)
## Description ## Description
Assign or remove a VFX from an entity or a projectile. Assign or remove a VFX from an entity or a projectile.
The VFX will automatically be spawned and move with the target. The VFX will automatically be spawned and move with the target.
Similarly, the VFX will despawn when the target is removed. Similarly, the VFX will despawn when the target is removed.
## Attributes ## Attributes
| Attribute | Aliases | Description | Type | Default | | Attribute | Aliases | Description | Type | Default |
|-----------|---------------|-------------------------------------------------------------------------------------------|---------|---------| |-----------|---------------|-------------------------------------------------------------------------------------------|---------|---------|
...@@ -18,15 +18,14 @@ Similarly, the VFX will despawn when the target is removed. ...@@ -18,15 +18,14 @@ Similarly, the VFX will despawn when the target is removed.
| enchant | en | Whether the vfx should be enchanted | Boolean | False | | enchant | en | Whether the vfx should be enchanted | Boolean | False |
| bvisible | bv | Is the base entity visible by default.<br/>Has no effect when the target is a projectile. | Boolean | true | | bvisible | bv | Is the base entity visible by default.<br/>Has no effect when the target is a projectile. | Boolean | true |
Examples
--------
## Examples
#### Applying VFX to a projectile: #### Applying VFX to a projectile:
This will spawn a projectile using the `fire_bolt` bone model from `weapon_vfx` model blueprint. This will spawn a projectile using the `fire_bolt` bone model from `weapon_vfx` model blueprint.
```yaml ```yaml
Skills: Skills:
- projectile{v=20;i=1;hR=0.25;vR=0.25;hnp=true; - projectile{v=20;i=1;hR=0.25;vR=0.25;hnp=true;
oS=[ oS=[
- vfx{mid=weapon_vfx;pid=fire_bolt} - vfx{mid=weapon_vfx;pid=fire_bolt}
......
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