This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| crpl:docs:createeffect [2018/07/23 12:03] – info Grabz | crpl:docs:createeffect [2025/07/24 19:28] (current) – Fixed animated gifs not autoplaying Up-Level | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~DISCUSSION~~ | ||
| <- [[crpl: | <- [[crpl: | ||
| ===== CreateEffect | ===== CreateEffect | ||
| Line 13: | Line 12: | ||
| * X,Y,Z - The world pixel coordinates where to play the effect (0,0 is the lower left of the map in pixel coordinates). | * X,Y,Z - The world pixel coordinates where to play the effect (0,0 is the lower left of the map in pixel coordinates). | ||
| * ScaleX, ScaleY - Used to change the size of the effect. 1 is the normal scale. | * ScaleX, ScaleY - Used to change the size of the effect. 1 is the normal scale. | ||
| - | * Speed - How fast to play the effect. | + | * Speed - How fast to play the effect. |
| Effects are useful for visual flare. | Effects are useful for visual flare. | ||
| Line 46: | Line 45: | ||
| CreateEffect(14 CellToPixel(CurrentCoords) -1 1.5 1.5 0.05) | CreateEffect(14 CellToPixel(CurrentCoords) -1 1.5 1.5 0.05) | ||
| </ | </ | ||
| - | < | + | < |
| - | desired duration of these effects, or clip any of the other effects short, see [[crpl: | + | |
| + | === Previews === | ||
| + | The previews below play at 1/30 speed. (0.033333...) | ||
| + | |||
| + | ^ Effect | ||
| + | ^ 0 | Shot \\ Explosion | ||
| + | ^ 1 | | ||
| + | ^ 2 | | ||
| + | ^ 3 | | ||
| + | ^ 4 | Spore \\ Explosion | ||
| + | ^ 5 | Totem \\ Explosion | ||
| + | ^ 6 | | ||
| + | ^ 7 | Unit \\ Explosion | ||
| + | ^ 8 | Move \\ Trail | {{: | ||
| + | ^ 9 | Short \\ Trail | {{: | ||
| + | ^ 10 | Spore \\ Trail | {{: | ||
| + | ^ 11 | Smoke \\ Ring \\ Effect | ||
| + | ^ 12 | | ||
| + | ^ 13 | Pulse \\ Cannon \\ Shell \\ Effect | ||
| + | ^ 14 | | ||
| + | ^ 15 | Terra \\ Mod \\ Cell | {{: | ||
| + | ^ 16 | Totem \\ Firing \\ | {{: | ||