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 |
|
---|
| 44 |
|
---|
[1061] | 45 | GameTools/Little
|
---|
| 46 | {
|
---|
| 47 | material Flare
|
---|
| 48 | particle_width 20
|
---|
| 49 | particle_height 20
|
---|
| 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
|
---|
| 60 |
|
---|
| 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 | affector ColourFader2
|
---|
| 72 | {
|
---|
| 73 | alpha1 +0.5
|
---|
| 74 | alpha2 -0.5
|
---|
| 75 | state_change 0.5
|
---|
| 76 | }
|
---|
| 77 | }
|
---|
| 78 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.