Last change
on this file since 5730 was
5689,
checked in by rgrieder, 15 years ago
|
Experimental support for OGRE v1.6 "Shoggoth".
I had to write a little script that removes all the "particle_system" keywords from the particle scripts. But since we can't write to the media folder and creating unique temporary folders is quite tedious, I derived from Ogre::Archive and created a little MemoryArchive that accepts those new particle scripts and feeds them back to the Ogre::ResourceGroupManager.
Also adjusted all particle scripts for the new script compiler (i.e. just added "particle_system" everywhere).
Note: It seems that overlays don't work anymore on Windows, compiling with MinGW.
|
-
Property svn:eol-style set to
native
|
File size:
856 bytes
|
Rev | Line | |
---|
[5689] | 1 | particle_system Orxonox/thruster1 |
---|
[5352] | 2 | { |
---|
| 3 | quota 100 |
---|
| 4 | material PE/bigFlame |
---|
| 5 | particle_width 15 |
---|
| 6 | particle_height 15 |
---|
| 7 | cull_each false |
---|
| 8 | renderer billboard |
---|
| 9 | billboard_type point |
---|
| 10 | |
---|
| 11 | emitter HollowEllipsoid |
---|
| 12 | { |
---|
| 13 | angle 0 |
---|
| 14 | colour 0.493151 0.246575 0.0410959 1 |
---|
| 15 | colour_range_start 0.493151 0.246575 0.0410959 1 |
---|
| 16 | colour_range_end 0.684932 0.547945 0.315068 1 |
---|
| 17 | direction 0 1 0 |
---|
| 18 | emission_rate 300 |
---|
| 19 | position 0 0 0 |
---|
| 20 | velocity 100 |
---|
| 21 | velocity_min 18 |
---|
| 22 | velocity_max 30 |
---|
| 23 | time_to_live 0.25 |
---|
| 24 | time_to_live_min 0 |
---|
| 25 | time_to_live_max 0.25 |
---|
| 26 | duration 0 |
---|
| 27 | duration_min 0 |
---|
| 28 | duration_max 0 |
---|
| 29 | repeat_delay 0 |
---|
| 30 | repeat_delay_min 0 |
---|
| 31 | repeat_delay_max 0 |
---|
| 32 | width 5 |
---|
| 33 | height 5 |
---|
| 34 | depth 2.8 |
---|
| 35 | inner_width 0.8 |
---|
| 36 | inner_height 0.8 |
---|
| 37 | inner_depth 0.8 |
---|
| 38 | } |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | affector ColourFader2 |
---|
| 42 | { |
---|
| 43 | red1 0 |
---|
| 44 | green1 0 |
---|
| 45 | blue1 0 |
---|
| 46 | alpha1 0 |
---|
| 47 | red2 -0.3 |
---|
| 48 | green2 -0.6 |
---|
| 49 | blue2 -0.6 |
---|
| 50 | alpha2 0 |
---|
| 51 | state_change 0.25 |
---|
| 52 | } |
---|
| 53 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.