effects yml - magemonkeystudio/fabled GitHub Wiki
The effects.yml file defines custom particle shapes and patterns that can be used in skills. These shapes are generated using math formulas and are most useful for creating dynamic visuals like spirals, rings, explosions, and more.
File location:
/plugins/Fabled/effects.yml
โ ๏ธ Important:effects.ymlis only used by theParticle Projectilemechanic.
To use a custom effect shape from this file:
- Create the shape in
effects.yml - In the skill editor, go to:
Mechanic โ Particle Projectile โ Effects - In the
effects:field, enter the name of the effect (e.g.spiral-up,circle-flat)
| Setting | Description |
|---|---|
effects |
Comma-separated list of effect names from effects.yml
|
effect-time |
Total duration the effect plays |
effect-delay |
Time before the effect begins |
effect-interval |
Delay between effect steps |
effect-speed |
Playback speed |
effect-forward |
Distance forward from the projectile (Z offset) |
effect-upward |
Distance above the projectile (Y offset) |
effects: spiral-up
effect-time: 20
effect-interval: 1
effect-delay: 0
effect-speed: 1
effect-forward: 0
effect-upward: 0.2๐งช Test effects by using visible projectiles and debug messages in your skills.
Each effect shape uses this structure:
<effect-name>:
steps: <number>
copies: <number>
domain: <range>
x: "<math expression>"
y: "<math expression>"
z: "<math expression>"-
steps: Number of points to plot in the shape -
copies: Rotated or repeated versions (for symmetry) -
domain: How wide the range of angles/inputs is (usually 360) -
x/y/z: Math formulas that define the shape's 3D coordinates
| Symbol | Meaning |
|---|---|
a |
Angle or loop step index |
t |
Time (for animations) |
c |
Copy index (for loops) |
cos(), sin(), tan()
|
Trig functions |
abs(), ^, *, /, +, -
|
Standard math operations |
Click a category to browse full examples:
- ๐ต Circular & Radial Effects
- ๐บ Geometric Shapes
- ๐ง 3D Effects & Structures
- ๐ Animated Waves & Pulses
- ๐ฅ Combat Trails & Bursts
- ๐ Magic, Auras & Energy Fields
- ๐ซ Symbols & Decorative Patterns
You can define unlimited shapes, and reuse them across multiple skills.