Changeset 5352 for data/media/particle/emitted_emitter.particle
- Timestamp:
- Dec 12, 2008, 4:45:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/media/particle/emitted_emitter.particle
- Property svn:eol-style set to native
r5023 r5352 1 1 // Example emitted emitters 2 Examples/Fireworks 3 { 4 material Examples/Flare 5 point_rendering false 6 particle_width 10 7 particle_height 10 8 cull_each false 9 quota 1000 10 emit_emitter_quota 10 11 billboard_type point 12 13 // Emitter that emits multiple Point emitters with name 'explosion' 14 emitter Box 15 { 16 name mainEmitter 17 emit_emitter explosion 18 angle 30 19 emission_rate 1000 20 time_to_live 3 21 direction 0 1 0 22 velocity 200 23 } 2 24 3 Examples/Fireworks 25 // This Point emitter is emitted by the Box emitter and emits billboard particles itself 26 emitter Point 27 { 28 name explosion 29 angle 360 30 emission_rate 1000 31 time_to_live 2 32 direction 0 1 0 33 velocity 80 34 duration 0.1 35 repeat_delay_min 2 36 repeat_delay_max 3 37 } 4 38 5 { 39 // Make em float downwards 40 affector LinearForce 41 { 42 force_vector 0 -100 0 43 force_application add 44 } 6 45 7 material Examples/Flare 8 9 point_rendering false 10 11 particle_width 10 12 13 particle_height 10 14 15 cull_each false 16 17 quota 1000 18 19 emit_emitter_quota 10 20 21 billboard_type point 22 23 24 25 // Emitter that emits multiple Point emitters with name 'explosion' 26 27 emitter Box 28 29 { 30 31 name mainEmitter 32 33 emit_emitter explosion 34 35 angle 30 36 37 emission_rate 1000 38 39 time_to_live 3 40 41 direction 0 1 0 42 43 velocity 200 44 45 } 46 47 48 49 // This Point emitter is emitted by the Box emitter and emits billboard particles itself 50 51 emitter Point 52 53 { 54 55 name explosion 56 57 angle 360 58 59 emission_rate 1000 60 61 time_to_live 2 62 63 direction 0 1 0 64 65 velocity 80 66 67 duration 0.1 68 69 repeat_delay_min 2 70 71 repeat_delay_max 3 72 73 } 74 75 76 77 // Make em float downwards 78 79 affector LinearForce 80 81 { 82 83 force_vector 0 -100 0 84 85 force_application add 86 87 } 88 89 90 91 // Give em some nice colours 92 93 affector ColourInterpolator 94 95 { 96 97 time0 0 98 99 colour0 1 1 0 100 101 time1 0.5 102 103 colour1 1 0 0 104 105 time2 0.9 106 107 colour2 0 0 1 108 109 } 110 111 } 112 46 // Give em some nice colours 47 affector ColourInterpolator 48 { 49 time0 0 50 colour0 1 1 0 51 time1 0.5 52 colour1 1 0 0 53 time2 0.9 54 colour2 0 0 1 55 } 56 }
Note: See TracChangeset
for help on using the changeset viewer.