User Tools

Site Tools


ded:generator_syntax

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ded:generator_syntax [2017-03-20 08:28]
skyjake
ded:generator_syntax [2017-03-20 08:34] (current)
skyjake
Line 221: Line 221:
   ; Radius Rnd   ; Radius Rnd
   : Randomness of particle radius. The radius of a particle during this stage will be chosen randomly from the range: [ ((1 - RadiusRnd) x Radius) .. Radius ]   : Randomness of particle radius. The radius of a particle during this stage will be chosen randomly from the range: [ ((1 - RadiusRnd) x Radius) .. Radius ]
 +  ; Flags
 +  : Flags affecting the particle stage: ​
 +^ Flag^ Description |
 +| stagetouch| When touching a wall or a plane, the particle will immediately skip to the next stage. |
 +| stagevtouch| Same as //​stagetouch//​ but only applies to walls. |
 +| stagehtouch| Same as //​stagetouch//​ but only applies to floor/​ceiling planes. |
 +| dietouch| Particle will die when it touches a wall or floor/​ceiling plane. |
 +| bright| Particle color is not affected by the light level of the sector it is in. |
 +| flat| When touching a wall or floor/​ceiling plane, the particle is drawn flat against the surface. |
 +| vflat| Same as //flat// but only applies to walls. |
 +| hflat| Same as //flat// but only applies to floor/​ceiling planes. |
 +| force| Particle is affected by the sphere force. |
 +| zeroyaw| Set particle yaw to zero. |
 +| zeropitch| Set particle pitch to zero. |
 +| rndyaw| Set particle yaw to a random value. |
 +| rndpitch| Set particle pitch to a random value. |
  
  
 +  ; Bounce
 +  : Determines how '​bouncy'​ the particle is [0..1]. Note that particles will only collide with walls and floor/​ceiling planes.\\ 0 = Particle loses all its momentum when it hits something (in the direction of the collision).\\ 1 = Particle retains all its momentum and continues moving in the opposite direction after a collision.\\ >1 = Particle gains extra speed in collisions.
 +  ; Gravity
 +  : Determines how strong an effect gravity has on the particle. The default factor is 1.0.
 +  ; Force
 +  : A linear force that affects the particle during this stage, applied independently of sphere force. **Tip:** A gravity factor of 1.0 is equivalent to ''​Force { 0 0 -1 }''​
 +  ; Resistance
 +  : Air resistance for the particle [0..1]:\\ 0.0 = Particle moves without friction.\\ 0.5 = Particle loses half of its momentum each tic.\\ 1.0 = All movement of the particle will stop in one tic.
 +  ; Spin Resistance
 +  : Spin resistance for the particle (yaw and pitch, respectively) [0..1]:\\ 0.0 = Particle spins without resistance.\\ 0.5 = Particle loses half of its spin velocity each tic.\\ 1.0 = All spin velocity of the particle will be lost in one tic.
 +  ; Frame
 +  : First model frame in the animation sequence of a model particle. The animation will interpolate through all the frames between this and //End frame//.
 +  ; End Frame
 +  : Last model frame in the animation sequence of a model particle.
 +  ; Spin
 +  : Model particle spinning velocity (yaw and pitch, respectively) in degrees per second. Each particle will randomly change the sign of the spinning velocity when the particle is first spawned.
 +  ; Sound
 +  : ID of the sound to play when a particle enters this stage. Sound will use the particle'​s coordinates as its origin. <​note>​Use carefully as starting a lot of sounds is a heavy operation.</​note>​
 +  ; Volume
 +  : Volume of //Sound// [0..1].
 +  ; Hit Sound
 +  : ID of the sound to play when a particle hits a surface while in this stage. The sound will use the particle'​s coordinates as its origin. <​note>​Use carefully as starting a lot of sounds is a heavy operation.</​note>​
 +  ; Hit Volume
 +  : Volume of //Hit sound// [0..1].
  
ded/generator_syntax.txt ยท Last modified: 2017-03-20 08:34 by skyjake