nuclear@13: # Particle system definition file format example nuclear@13: # nuclear@13: # lines of key = value pairs. nuclear@13: # animated attributes can be defined as key(time) = value. nuclear@13: # time defaults to 0 if missing. time values can have an optional s suffix, nuclear@13: # signifying seconds, otherwise they are assumed to be in milliseconds. nuclear@13: # nuclear@13: # string values enclosed in double quotes nuclear@13: # vector values enclosed in square brackets [x y z] nuclear@13: # randomized values have a pair of values/vectors separated by a tilde: nuclear@13: # center ~ range. If the range is missing, it's assumed to be 0. nuclear@13: nuclear@13: # texture: string nuclear@13: texture = "pimg.png" nuclear@13: # spawn_range: track3 nuclear@13: spawn_range = [0.3 0.3 0.3] nuclear@13: # rate: track nuclear@13: # life: randomized track nuclear@13: life = 2 nuclear@13: # size: randomized track nuclear@13: # dir: randomized track3 nuclear@13: dir = [0 0 0] ~ [4 4 4] nuclear@13: # grav: track3 nuclear@13: grav = [0 -4 0] nuclear@13: # drag: val nuclear@13: drag = 2 nuclear@13: nuclear@13: # particle attributes nuclear@13: # pcolor: track3 nuclear@13: pcolor(0) = [1 0.6 0.4] nuclear@13: pcolor(1000) = [0.6 0.3 1] nuclear@13: # palpha: track nuclear@13: palpha(0) = 1 nuclear@13: palpha(700) = 1 nuclear@13: palpha(1000) = 0 nuclear@13: # psize: track