[TUTORIAL] Summoning particles in a circle shape (with template procedure)

Started by SomeoneElse on

Topic category: User side tutorials

Last seen on 14:12, 3. Jun 2023
Joined Nov 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[TUTORIAL] Summoning particles in a circle shape (with template procedure)
Wed, 10/30/2019 - 19:10 (edited)

For this tutorial, I'll provide a procedure template that you can use to summon a ring of particles. You can download the template here.

Procedure

This procedure will require the world, x, y, z dependencies.
Before importing the procedure, you need to add these local variables: "loop", "particleAmount", "xRadius" and "zRadius". All of them are number variables.
After importing the procedure, it should look like this:
Procedure 1

You can change some parameters to customize your ring:
Parameters

The red one is the particle amount: make sure it's greater than 0
The yellow ones are the radii of the ring on the X and on the Z axes. If they're the same value, the ring will be a circle. Otherwise, the ring will be an ellipse
The green ones are the center of the ring.

Examples

This is what the default ring looks like:
particleAmount = 8, xRadius = zRadius = 1

Another ring. particleAmount is set to 16, xRadius and zRadius are set to 2:
particleAmount = 16, xRadius = zRadius = 2

Yet another ring. particleAmount is set to 14, xRadius is set to 3, zRadius is set to 1:
particleAmount = 14, xRadius = 3, zRadius = 1

Edited by SomeoneElse on Wed, 10/30/2019 - 19:10
Last seen on 16:44, 2. Mar 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How did you get that one…
Sun, 08/28/2022 - 18:12

How did you get that one strange symbol?

Last seen on 16:44, 2. Mar 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind.
Thu, 09/08/2022 - 14:38

Nevermind.

Last seen on 15:28, 18. Apr 2024
Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
All right, I got it. But how…
Wed, 03/15/2023 - 04:01

All right, I got it. But how I can spawn a half circle in front of a player? I've already did the half circle, but I don't know how I can align it to were the player is looking. Is this possible?

Last seen on 23:57, 3. Feb 2024
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Dartrix, just make that…
Mon, 07/24/2023 - 21:05

Dartrix, just make that instead of the circle being on X and Z, make it on Y and Z or X and Y by transfering the big messy code for X and Z to Y and setting the parameters to Y. 

Last seen on 19:33, 27. Apr 2024
Joined Apr 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you copy the everything…
Wed, 08/23/2023 - 00:54

If you copy the everything in the "at x" and put it in the "vx" but also minus the whole thing by (x+.5), then do the same for z, the particles expand out! 

Last seen on 20:22, 22. Apr 2024
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
After quite a bit of trial…
Sun, 12/31/2023 - 03:04

After quite a bit of trial and error I managed to figure out how to modify this procedure to make a sphere instead of just a circle, and thought I share it here in the comments so anyone who want's to use it for there own mod can do so! :D

Here's a download link ( download )

 

After downloading just go into a new procedure and click the "import procedure" button up in the top right and select the downloaded file, and that's it have fun! :D

Last seen on 11:01, 29. Apr 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@GamerDragon525 Thanks a lot…
Sat, 01/27/2024 - 09:35

@GamerDragon525 Thanks a lot for your work !

Last seen on 15:47, 24. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do I use it to make a…
Thu, 04/04/2024 - 16:24

how do I use it to make a shockwave