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.
|
File size:
1.1 KB
|
Line | |
---|
1 | |
---|
2 | particle_system Orxonox/ExplosionComp1 |
---|
3 | { |
---|
4 | quota 150 |
---|
5 | material PE/explosion |
---|
6 | particle_width 20 |
---|
7 | particle_height 40 |
---|
8 | cull_each true |
---|
9 | renderer billboard |
---|
10 | sorted false |
---|
11 | local_space false |
---|
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 false |
---|
20 | |
---|
21 | emitter Ellipsoid |
---|
22 | { |
---|
23 | angle 180 |
---|
24 | colour 1 1 1 1 |
---|
25 | colour_range_start 1 1 1 1 |
---|
26 | colour_range_end 1 1 1 1 |
---|
27 | direction 0 1 0 |
---|
28 | emission_rate 300 |
---|
29 | position 0 0 0 |
---|
30 | velocity 75 |
---|
31 | velocity_min 75 |
---|
32 | velocity_max 75 |
---|
33 | time_to_live 0.6 |
---|
34 | time_to_live_min 0.4 |
---|
35 | time_to_live_max 0.8 |
---|
36 | duration 0.4 |
---|
37 | duration_min 0.3 |
---|
38 | duration_max 0.6 |
---|
39 | repeat_delay 2.5 |
---|
40 | repeat_delay_min 2.5 |
---|
41 | repeat_delay_max 2.5 |
---|
42 | width 20 |
---|
43 | hight 20 |
---|
44 | depth 0 |
---|
45 | } |
---|
46 | |
---|
47 | affector Scaler |
---|
48 | { |
---|
49 | rate 5 |
---|
50 | } |
---|
51 | |
---|
52 | affector DirectionRandomiser |
---|
53 | { |
---|
54 | randomness 130.6 |
---|
55 | scope 0.4505 |
---|
56 | keep_velocity false |
---|
57 | } |
---|
58 | |
---|
59 | affector ColourFader |
---|
60 | { |
---|
61 | red 1 |
---|
62 | green 1 |
---|
63 | blue 1 |
---|
64 | alpha -0.06306 |
---|
65 | } |
---|
66 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.