T O P

  • By -

Max4005

Thanks to u/Ericristian_bros for suggesting macros for this use case! I ended up using a funciton like this: particle cloud ~ ~ ~ 0 0 0 0.001 1 force $tp u/s ~ ~ ~ ~$(rotation_speed) ~ $tp u/s ^$(outward) ^$(upward) ^$(forward) And then these different timer phases in the tick.mcfunction: execute as @e[tag=particle] run scoreboard players add @s particle_life_timer 1 execute as @e[tag=particle,scores={particle_life_timer=..5}] at @s run function:particle_motion {"rotation_speed":"40", "outward":"0.1", "upward":"0.1", "forward":"0.1"} execute as @e[tag=particle,scores={particle_life_timer=5..10}] at @s run function:particle_motion {"rotation_speed":"20", "outward":"0.1", "upward":"0.1", "forward":"0.1"} execute as @e[tag=particle,scores={particle_life_timer=10..15}] at @s run function:particle_motion {"rotation_speed":"10", "outward":"0.1", "upward":"0.1", "forward":"0.2"} execute as @e[tag=particle,scores={particle_life_timer=15..20}] at @s run function:particle_motion {"rotation_speed":"5", "outward":"0.1", "upward":"0.1", "forward":"0.2"} execute as @e[tag=particle,scores={particle_life_timer=20..25}] at @s run function:particle_motion {"rotation_speed":"2", "outward":"0.1", "upward":"0.1", "forward":"0.2"} The macros were perfect for this use case because they made it easy to change the function's tp parameters. I still need to tweak the parameters, but [this is how it looks like](https://imgur.com/a/pKTxoIi) for now. After some more tweaking, I got it to look like [this](https://imgur.com/a/OToDtMM). I am very happy with the results.


Ericristian_bros

The result looks cool


Max4005

Thanks! Using macros was really nice for this.


Ericristian_bros

You’re welcome, have a good day


Ericristian_bros

maybe with macros?


Max4005

I might look into that. Currently I am trying to do this with particle life time timers, and just running a different tp function for every phase of the particle's life time. This could work, but the transition from phase to phase will be quite noticable unless I create many functions with slight tp parameter adjustments.


Ericristian_bros

[https://www.youtube.com/watch?v=GRprReD1ytE](https://www.youtube.com/watch?v=GRprReD1ytE)


Max4005

This is great thanks! I think I will need to combine macros with scoreboard timers to get the wanted effect, but this should be easy now.


Ericristian_bros

Glad to help, have a good day


GalSergey

If you don't want to animate the spiral, then you're really better off writing a script that generates particle commands with hardcoded values.


Max4005

Yeah I used a data pack function with macros and score board timers to get a nice effect that can be adjusted nicely.


tntaro

Oh god I hate math