Surface (Effects) - emd4600/SporeModder-FX GitHub Wiki

Surfaces are not effect components, but they are used in some components like particles, metaParticles and distribute. They are used to describe how particles will behave when colliding with certain surfaces, such as the planet terrain surface.

Surfaces are a single command with many options. Optionally, the surface command can have one argument:

surface <resourceID: surfaceMapID> [-option1] [-option2] [etc]

Available options

-pin


-pinMove


-pinEmit (<float: surfaceOffset>)


-align


-bounce <float>


-slide <float>


-slide <float>


-death <float>

In the [0.0, 1.0] range, how likely the particle is to die on collision. If value is 1.0, particles will always die; if it's 0, particles will never die.


-collideEffect <effect>

The name of an effect that will be played when a particle collides with the surface.


-deathEffect <effect>

The name of an effect that will be played when a particle dies colliding with the surface.


-sourceSpace


-worldSpace


-basis <vector3...>

Points that define the surface?

⚠️ **GitHub.com Fallback** ⚠️