-
Notifications
You must be signed in to change notification settings - Fork 11
Skinpaint Distribute (Effects)
This component is used to distribute one or more skinpaint particles over the skin of a creature/plant. You must specify which skinpaint particle components to use (it's possible to pick one random from a list), and configurate which regions of the body are affected.
Keyword: SPSkinPaintDistribute
particle <SPSkinpaintParticle>
The value expects the name of the SPSkinpaintParticle
component that will be distributed.
Alternatively to particle
, you can choose randomly from a list of skinpaint particles by using the particleSelect
block (it's a block, so it has attributes inside and it finishes with the end
keyword). Just add the names of the components, one on each line.
By default all components have the same probability of being chosen; optionally, you can specify a -prob
option (with a value between 0.0 and 1.0) to the component names so that they have a different probability. The sum of all probabilities must be 1 (100%).
particleSelect
skin_particles_0
skin_particles_1 -prob 0.5 # this has 50% chance, the rest will have 25% each
skin_particles_2
end
It's also possible to select all particles by adding the -all
flag. Each option can have a -prob
option too, independent from each other.
# Will use the 3 particles
particleSelect -all
skin_particles_0
skin_particles_1
skin_particles_2
end
spacing <float> -cover -ordered
limit <int>
region -torso -limbs -parts -joints -back <float> -belly <float> -bodyRange <float> <float> -inverse -centerOnly
Which regions of the creature/plant are affected by this skinpaint distribution. You can combine more than one option.
The values for -back
and -belly
are angles, in degrees.