Rev | Line | |
---|
[777] | 1 | GameTools/DemoParticle1
|
---|
| 2 | {
|
---|
[1061] | 3 | //renderer sprite
|
---|
| 4 | //material GameTools/SpriteShader
|
---|
| 5 | material GameTools/HPS
|
---|
[777] | 6 | particle_width 200
|
---|
| 7 | particle_height 200
|
---|
| 8 | cull_each false
|
---|
| 9 | quota 30
|
---|
| 10 | billboard_type point
|
---|
| 11 |
|
---|
| 12 | // Area emitter
|
---|
| 13 | emitter Box
|
---|
| 14 | {
|
---|
| 15 | // colour 0.7 0.8 0.3 0
|
---|
| 16 | colour_range_start 1 1 1 0
|
---|
| 17 | colour_range_end 0.8 1 0.5 0
|
---|
| 18 |
|
---|
| 19 | angle 30
|
---|
[847] | 20 | emission_rate 6
|
---|
[777] | 21 | time_to_live 3
|
---|
| 22 | direction 0 1 0
|
---|
| 23 | velocity 0
|
---|
| 24 | width 120
|
---|
| 25 | height 120
|
---|
| 26 | depth 30
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | // Make em float upwards
|
---|
| 30 | affector LinearForce
|
---|
| 31 | {
|
---|
| 32 | force_vector 0 40 0
|
---|
| 33 | force_application add
|
---|
| 34 | }
|
---|
| 35 |
|
---|
| 36 | affector ColourFader2
|
---|
| 37 | {
|
---|
[847] | 38 | alpha1 +0.5
|
---|
| 39 | alpha2 -0.5
|
---|
[777] | 40 | state_change 0.5
|
---|
| 41 | }
|
---|
| 42 | }
|
---|
| 43 |
|
---|
[1336] | 44 | GameTools/Big
|
---|
| 45 | {
|
---|
| 46 | material GameTools/HPS
|
---|
| 47 | //material Flare
|
---|
| 48 | particle_width 200
|
---|
| 49 | particle_height 200
|
---|
| 50 | cull_each false
|
---|
| 51 | quota 30
|
---|
| 52 | billboard_type point
|
---|
| 53 |
|
---|
| 54 | // Area emitter
|
---|
| 55 | emitter Box
|
---|
| 56 | {
|
---|
| 57 | // colour 0.7 0.8 0.3 0
|
---|
| 58 | // colour_range_start 1 1 1 0
|
---|
| 59 | //colour_range_end 0.8 1 0.5 0
|
---|
[777] | 60 |
|
---|
[1336] | 61 | angle 30
|
---|
| 62 | emission_rate 6
|
---|
| 63 | time_to_live 3
|
---|
| 64 | direction 0 1 0
|
---|
| 65 | velocity 0
|
---|
| 66 | width 120
|
---|
| 67 | height 120
|
---|
| 68 | depth 30
|
---|
| 69 | }
|
---|
| 70 |
|
---|
| 71 | // Make em float upwards
|
---|
| 72 | affector LinearForce
|
---|
| 73 | {
|
---|
| 74 | force_vector 0 40 0
|
---|
| 75 | force_application add
|
---|
| 76 | }
|
---|
| 77 |
|
---|
| 78 | affector ColourFader2
|
---|
| 79 | {
|
---|
| 80 | alpha1 +0.5
|
---|
| 81 | alpha2 -0.5
|
---|
| 82 | state_change 0.5
|
---|
| 83 | }
|
---|
| 84 | }
|
---|
| 85 |
|
---|
| 86 |
|
---|
[1061] | 87 | GameTools/Little
|
---|
| 88 | {
|
---|
| 89 | material Flare
|
---|
| 90 | particle_width 20
|
---|
| 91 | particle_height 20
|
---|
| 92 | cull_each false
|
---|
| 93 | quota 30
|
---|
| 94 | billboard_type point
|
---|
| 95 |
|
---|
| 96 | // Area emitter
|
---|
| 97 | emitter Box
|
---|
| 98 | {
|
---|
| 99 | // colour 0.7 0.8 0.3 0
|
---|
| 100 | colour_range_start 1 1 1 0
|
---|
| 101 | colour_range_end 0.8 1 0.5 0
|
---|
| 102 |
|
---|
| 103 | angle 30
|
---|
| 104 | emission_rate 6
|
---|
| 105 | time_to_live 3
|
---|
| 106 | direction 0 1 0
|
---|
| 107 | velocity 0
|
---|
| 108 | width 120
|
---|
| 109 | height 120
|
---|
| 110 | depth 30
|
---|
| 111 | }
|
---|
| 112 |
|
---|
| 113 | affector ColourFader2
|
---|
| 114 | {
|
---|
| 115 | alpha1 +0.5
|
---|
| 116 | alpha2 -0.5
|
---|
| 117 | state_change 0.5
|
---|
| 118 | }
|
---|
| 119 | }
|
---|
| 120 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.