... | ... | @@ -141,6 +141,27 @@ NOTE: All particle configs will have different required values in `properties` d |
|
|
- `properties.waveCycles` - Float for how many complete cycles the wave should consist of<br>
|
|
|
- `properties.waveAmplitude` - Float for the maximum height in blocks of each wave relative to its midpoint
|
|
|
|
|
|
## Value randomisation
|
|
|
As of Aurora 1.2.0, value randomisation is supported in all subnodes of the `properties` node. What this means is that all values under `properties` will support the array datatype in addition to their original types. For instance, using the [Cube particle type](https://gitlab.com/Zenya4/aurora/-/wikis/Particle-Configuration/#cube-particle-type) as example,
|
|
|
```json
|
|
|
"properties": {
|
|
|
"length": 3.0,
|
|
|
...
|
|
|
```
|
|
|
can be changed to
|
|
|
```json
|
|
|
"properties": {
|
|
|
"length": [2.0, 5.0]
|
|
|
...
|
|
|
```
|
|
|
so that all newly spawned cubes will have a random length parameter between `2.0` and `5.0`. Here are a few notes when using the randomise feature:
|
|
|
- Only arrays with the following structure `[min, max]` will be accepted by the plugin
|
|
|
- Elements in the array **must** still obey the original datatype of the variable (see [properties](https://gitlab.com/Zenya4/aurora/-/wikis/Particle-Configuration/#point-particle-type))
|
|
|
- For example, if the original datatype is an integer, both array values must be integers as well
|
|
|
- For `properties.rotationAxis` arrays of any type will **not** be accepted
|
|
|
- Using ["x", "y"] or ["x", "y", "z"] will result in a parsing error
|
|
|
- To randomise this variable, use the character "r" instead
|
|
|
- This feature is only supported from Aurora 1.2.0 and up
|
|
|
|
|
|
## Troubleshooting
|
|
|
If your particle group does not show ingame even after you have reloaded the plugin, check for errors in the console. There should be a debug message before the error letting you know which particle file(s) are faulty and should be modified or removed.
|
... | ... | |