Xah Particle Maker Manual: Advanced
This page shows you the advanced use of Xah Particle Maker. If you don't know the basics, see: Xah Particle Maker Tutorial.
For advanced users, you can set particle parameters by typing it in chat.
When a parameter doesn't make sense, it is displayed as a diamond ♢. For example, StartAngle and EndAngle have no effect when the particle pattern is not “angle” or “angle cone”, so, they are displayed as ♢.
Type the commands in open chat to set them.
For example, type “SecPerBurst 2” to set burst rate to 2.
Command's letter case does not matter. “SecPerBurst 2” is the same as “secperburst 2” or “spb 2”.
The capitalized letter means the abbreviation. Examples:
EmitterAge = ea SecPerBurst = spb BurstSpeedRange = bsr … StartColor = sc EndColor = ec … etc.
All useful commands are displayed in the parameter display green text. So, you can just look at the green text and type your command there.
The only command not show in the parameter display is “EmitterAge”. You normally don't want to set that.
Anytime, you can type “help” to see the full command list. The following table explains in detail what they mean.
|EmitterAge 0||Sets how long the particle effect lasts, in seconds. “0” is special, it means non-stop.||Leave this to 0. Otherwise, you won't see any particles after that. If you want the emiter to stop after some time in your build, you can change the value of PSYS_PART_MAX_AGE after you generate the particle source code.|
|SecPerBurst .3||Sets the period for each particle creation, in seconds.||For example, a value of 2 means a burst every 2 second. A value of “.5” means a burst every half second.|
|NumPerBurst 50||The number of particle images (called sprites) per burst.||In general, when your burst rate is fast, your burst count should be small. You can try NumPerBurst 0 to turn the machine off.|
|age 5||The duration each sprite exists.|
|BurstSpeedRange 1 3||A range for speed of burst, in meters per second. First number is the range minimum, the second number is max.||The particles will burst out at a random speed from your min max range. If the min and max are the same, that means the sprites flow out at the same speed.|
|ForceVector 0 0 -1||A force applied to the sprites.||For example, a value of “0 0 -0.5” emulates leafs falling down by gravity. If you want it to fall fast, try “0 0 -2” or larger negative z value. A value of “0 0 1” will make the sprites go up, such as smoke. A value of “2 0 0” will make the sprites flow towards east. If your pattern is Drop (the cylinder shaped prim), you almost always want some “ForceVector” value, since that pattern does not move sprites at all.|
|BeginRadius 10||The distance sprites start to appear from the emitter.||Set it to 0 if you want particles to flow out right from the emitter. If a value is 1 for example, then there will be no particles within 1 radius of the emitter. This parameter has no effect when the particle pattern is set to Drop, since Drop does not burst.|
|AngleRange 10 80||A range, in degrees, where particle will bust out. Applies to Angle Cone and Angle (fan shaped) patterns.||This is a very useful parameter. Common values are around “0 10”, for emulating a narrow nozzle, or around “90 90”, emulating a ring or circle.|
|SpinVector 0 0 30||Rotates the emitter, in degrees, on x, y, z axes, per second.||Useful for only Angle Cone and Angle (fan shaped) patterns. For example, if you have a Angle pattern, then 0 0 30 will make the pattern rotate 30° per second around the emitter's z axis.|
|texture ‹uuid of a texture›||Sets a image as the sprites.||This command is handy if you know a texture's uuid but don't have the image in your inventory. Normally, just drop textures to the Xah Particle Maker Texture Tool to set texture.|
|TargetKey ‹uuid of a prim or agent›||Set the target for the particles to flow to.||Also, try the Target You panel to set UUID to yourself. Particle target can be a agent (avatar) or object. When the agent or obj is more than about 90 meters away, the particles will target itself instead.|
|StartColor 1 0 0||Applies a color to the sprite image. The values are R G B, from 0 to 1.||The input can be a hex number or 0 to 255 based value. For example, to set it to red, the following are equivalent: “startcolor ff0000”, “startcolor 1 0 0”, “startcolor 255 0 0”.|
|EndColor 0 1 0||Applies a color to the sprites, so that the images will change its color from start to end.|
|StartAlpha 1||Sets the transparency of the sprite image. Valid values are 0 to 1. When “0”, it is completely transparent.|
|EndAlpha .5||Sets the ending transparency.|
|StartScale 4 1||Sets the starting scale of the sprite. First number is width, second is height.||Remember, particles are just floating images.|
|EndScale 1 4||Sets the ending scale of the sprite.||This value is particularly useful when you have “Shooting” on.|
For advanced scripters who are familiar with the LSL particle system, the following table lists all parameters in llParticleSystem, and the corresponding commands in Xah Particle Maker.
|Parameter Name||Type in chat|
|PSYS_SRC_PATTERN||(touch burst pattern prim)|
|PSYS_SRC_BURST_SPEED_MAX||BurstSpeedRange ‹min› ‹max›|
|PSYS_SRC_BURST_SPEED_MIN||BurstSpeedRange ‹min› ‹max›|
|PSYS_SRC_ANGLE_BEGIN||AngleRange ‹min› ‹max›|
|PSYS_SRC_ANGLE_END||AngleRange ‹min› ‹max›|
|PSYS_SRC_OMEGA||SpinVector ‹x› ‹y› ‹z›|
|PSYS_SRC_ACCEL||ForceVector ‹x› ‹y› ‹z›|
|Parameter Name||Type in chat|
|PSYS_PART_START_COLOR||StartColor ‹x› ‹y› ‹z›|
|PSYS_PART_END_COLOR||EndColor ‹x› ‹y› ‹z›|
|PSYS_PART_START_SCALE||StartScale ‹x› ‹y›|
|PSYS_PART_END_SCALE||EndScale ‹x› ‹y›|
|Parameter Name||On/Off Panel|
|PSYS_PART_BOUNCE_MASK||Touch the Bounce panel|
|PSYS_PART_EMISSIVE_MASK||Touch the Glow panel|
|PSYS_PART_FOLLOW_SRC_MASK||(feature removed from current release, because it is confusing to beginners and does not have any effect on emitters that is not moving. If you need it, just add it in the particle script.)|
|PSYS_PART_FOLLOW_VELOCITY_MASK||Touch the Shooting panel|
|PSYS_PART_INTERP_COLOR_MASK||Touch the “Color Changing” panel|
|PSYS_PART_INTERP_SCALE_MASK||Touch the Size Changing panel|
|PSYS_PART_TARGET_LINEAR_MASK||(feature removed from current release, because it is not that commonly needed. If you need it, just add it in the particle script.)|
|PSYS_PART_TARGET_POS_MASK||Touch the Target You panel|
|PSYS_PART_WIND_MASK||Touch the Follow Wind panel|