Last change
on this file since 5739 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.
|
File size:
1.1 KB
|
Line | |
---|
1 | |
---|
2 | particle_system Orxonox/FireComp2 |
---|
3 | { |
---|
4 | quota 10000 |
---|
5 | material PE/smoke |
---|
6 | particle_width 4 |
---|
7 | particle_height 4 |
---|
8 | cull_each true |
---|
9 | renderer billboard |
---|
10 | sorted true |
---|
11 | local_space true |
---|
12 | iteration_interval 0 |
---|
13 | nonvisible_update_timeout 0 |
---|
14 | billboard_type point |
---|
15 | billboard_origin center |
---|
16 | billboard_rotation_type texcoord |
---|
17 | common_up_vector 0 1 0 |
---|
18 | point_rendering false |
---|
19 | accurate_facing true |
---|
20 | |
---|
21 | emitter HollowEllipsoid |
---|
22 | { |
---|
23 | angle 1.69 |
---|
24 | colour 1 1 1 0.506173 |
---|
25 | colour_range_start 1 1 1 0.506173 |
---|
26 | colour_range_end 1 1 1 0.506173 |
---|
27 | direction 0 1 0 |
---|
28 | emission_rate 1680 |
---|
29 | position 0 60 0 |
---|
30 | velocity 300 |
---|
31 | velocity_min 300 |
---|
32 | velocity_max 300 |
---|
33 | time_to_live 0.2 |
---|
34 | time_to_live_min 0.2 |
---|
35 | time_to_live_max 0.2 |
---|
36 | duration 0 |
---|
37 | duration_min 0 |
---|
38 | duration_max 0 |
---|
39 | repeat_delay 0 |
---|
40 | repeat_delay_min 0 |
---|
41 | repeat_delay_max 0 |
---|
42 | width 28.83 |
---|
43 | height 39.64 |
---|
44 | depth 88.29 |
---|
45 | inner_width 0.5 |
---|
46 | inner_height 0.5 |
---|
47 | inner_depth 0.5 |
---|
48 | } |
---|
49 | |
---|
50 | affector DirectionRandomiser |
---|
51 | { |
---|
52 | randomness 250 |
---|
53 | scope 0.4865 |
---|
54 | keep_velocity false |
---|
55 | } |
---|
56 | |
---|
57 | affector Scaler |
---|
58 | { |
---|
59 | rate 20 |
---|
60 | } |
---|
61 | |
---|
62 | affector ColourFader |
---|
63 | { |
---|
64 | red -1 |
---|
65 | green -1 |
---|
66 | blue -1 |
---|
67 | alpha 0.1351 |
---|
68 | } |
---|
69 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.