Fixed skidding and nitro particles.

Not perfect but at least working.
This commit is contained in:
Deve 2014-11-12 22:20:33 +01:00
parent 91d26e92ef
commit c1fd2d3614
4 changed files with 25 additions and 25 deletions

View File

@ -4,18 +4,18 @@
<spreading angle="30" />
<velocity x="0.0"
y="0.001"
z="-0.003" />
y="0.0"
z="-0.03" />
<material file="smoke_nitro.png" />
<!-- Amount of particles emitted per second -->
<rate min="200"
max="300" />
<rate min="1500"
max="2000" />
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
<lifetime min="400"
max="600" />
<lifetime min="30"
max="50" />
<!-- Size of the particles -->
<size min="0.20"

View File

@ -4,14 +4,14 @@
<spreading angle="2" />
<velocity x="0.0"
y="0.001"
z="0.000" />
y="0.0"
z="-0.03" />
<material file="nitro-particle.png" />
<!-- Amount of particles emitted per second -->
<rate min="100"
max="200" />
<rate min="1500"
max="1700" />
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
<lifetime min="10"

View File

@ -4,7 +4,7 @@
<spreading angle="5" />
<velocity x="0.0"
y="0.001"
y="0.0"
z="-0.003" />
<material file="skid-particle1.png" />
@ -12,16 +12,16 @@
<!-- Amount of particles emitted per second. The minimum rate
is used to show that the skidding bonus is now available,
the maximum is used when the skid bonus is applied to the kart -->
<rate min="900"
max="900" />
<rate min="1400"
max="1500" />
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
<lifetime min="10"
max="10" />
<lifetime min="20"
max="25" />
<!-- Size of the particles -->
<size min="0.35"
max="0.35" />
<size min="0.45"
max="0.45" />
<color min="255 255 255"
max="255 255 255" />

View File

@ -1,10 +1,10 @@
<?xml version="1.0"?>
<particles emitter="box" box_x="0.023" box_y="0.023" box_z="-0.5">
<spreading angle="5" />
<spreading angle="5" />
<velocity x="0.0"
y="0.001"
y="0.0"
z="-0.003" />
<material file="skid-particle2.png" />
@ -12,16 +12,16 @@
<!-- Amount of particles emitted per second. The minimum rate
is used to show that the skidding bonus is now available,
the maximum is used when the skid bonus is applied to the kart -->
<rate min="900"
max="900" />
<rate min="1400"
max="1500" />
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
<lifetime min="10"
max="10" />
<lifetime min="20"
max="25" />
<!-- Size of the particles -->
<size min="0.35"
max="0.75" />
<size min="0.45"
max="0.45" />
<color min="255 255 255"
max="255 255 255" />