Skip to content

Generator Documentation

nasafrasa edited this page Apr 15, 2023 · 11 revisions

All of these properties change how the generator works and generates particles.

time

The time (in beats) when the generator starts generating particles.

PS.generator.time = 8; // The generator will start producing particles at beat 8

duration

The duration (in beats) of how long the generator will produce particles for.

PS.generator.duration = 16; // The generator will produce particles for 16 beats

amount

The amount of particles produced during the duration of the generator.

PS.generator.amount = 1000; // The generator will produce 1000 particles over its lifetime

shape

The shape of the generator. "Sphere" creates particles from one point and fires them in any direction. "Direction" creates particles and fires them in one direction. "Field" creates particles in a field where each particle has its own start and end point within the specified area.

PS.generator.shape = "Direction"; // The generator's type will be set to "Direction"

type

The type of particles the generator produces. "Wall" will produce walls as particles, "Note" will produce notes as particles, and "Bomb" will produce bombs as particles.

PS.generator.type = "Note"; // The generator will produce notes as particles

scale

Sets the volume of where particles can be generated, does not work on the generator type "Sphere".

PS.generator.scale = [10,5,10]; // The generator will spawn particles in a volume of [10,5,10]

position

Sets the position of the generator by moving the parent track.

PS.generator.position = [0,0,20]; // The generator will have a position of [0,0,20]

rotation

Sets the rotation of the generator by rotation the parent track.

PS.generator.rotation = [-45,0,0]; // The generator will have a rotation of [-45,0,0]

expansion

If the generator shape is "Direction", expansion expands the possible area particles can end in. If the generator shape is "Sphere", expansion expands the area where the particles start from. If the generator shape is "Field", expansion currently does not affect anything.

PS.generator.expansion = 5; // The generator will have an expansion value of 5

name

Names the parent track of all particles, defaults to "ParticleSystem". Use this when making more than one particle system in your map to avoid overlapping track names.

PS.generator.name = "FirePS"; // The generator's parent track name will be set to "FirePS".

ReMapper Particle System Wiki

Documentation

Example Effects

Clone this wiki locally