Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/resource2/data/particle/smoke1.particle @ 5732

Last change on this file since 5732 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: 815 bytes
RevLine 
[5352]1// Example particle systems
2
3// smoke
[5689]4particle_system Examples/Smoke
[5352]5{
6        material                Examples/Smoke
7        particle_width          55
8        particle_height         55
9        cull_each               true
10        quota                   500
11        billboard_type          point
12                sorted                          true
13   
14        // Area emitter
15        emitter Point
16        {
17                angle                           11
18                emission_rate                   15
19                time_to_live                    4
20                direction                       0 1 0
21                velocity_min                    150
22                velocity_max                    240     
23        }
24
25        affector ColourImage
26        {
27                image           smokecolors.tga
28        }
29
30        affector Rotator
31        {
32                rotation_range_start            0
33                rotation_range_end              360
34                rotation_speed_range_start      -60
35                rotation_speed_range_end        200
36        }
37
38        affector Scaler
39        {
40        rate    100
41        }
42
43}
Note: See TracBrowser for help on using the repository browser.