Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/resource2/data/particle/smoke2.particle @ 5689

Last change on this file since 5689 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: 731 bytes
Line 
1
2particle_system Orxonox/smoke2
3{
4        quota   1000
5        material        PE/smoke
6        particle_width  4
7        particle_height 4
8        cull_each       false
9        renderer        billboard
10        billboard_type  point
11
12        emitter Ellipsoid
13        {
14                angle   150
15                colour  0.0547945 0.0547945 0.0547945 0.9
16                colour_range_start      0.0547945 0.0547945 0.0547945 0.9
17                colour_range_end        0.0547945 0.0547945 0.0547945 0.9
18                direction       0 1 0
19                emission_rate   40
20                position        0 0 0
21                velocity        2
22                velocity_min    2
23                velocity_max    2
24                time_to_live    3
25                time_to_live_min        3
26                time_to_live_max        5
27                duration        0
28                duration_min    0
29                duration_max    0
30                repeat_delay    0
31                repeat_delay_min        0
32                repeat_delay_max        0
33                width   0.2
34                height  0.2
35                depth   0.2
36        }
37
38        affector ColourFader
39        {
40                red     0.3
41                green   0.3
42                blue    0.3
43                alpha   -0.35
44        }
45}
Note: See TracBrowser for help on using the repository browser.