summaryrefslogtreecommitdiff
path: root/graphics/particles/forge.particle.xml
blob: 10c8cfd628413f7c62cccd6d5244e85eb72931c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0"?>
<!--
Smoke and embers for a glowing forge effect
-->
<effect>
  <particle position-x="0" position-y="0" position-z="0">
    <emitter>
      <property name="position-x" min="-14" max="36"/>
      <property name="position-y" min="-30" max="-20"/>
      <property name="output-pause" value="250"/>
      <property name="output" value="5"/>
      <property name="image" value="graphics/particles/fog-medium-c.png|W:#9999bb"/>
      <property name="horizontal-angle" min="0" max="360"/>
      <property name="vertical-angle" min="50" max="90"/>
      <property name="power" value="0.5"/>
      <property name="momentum" value="0.99"/>
      <property name="gravity" value="0"/>
      <property name="lifetime" value="500"/>
      <property name="fade-out" value="100"/>
    </emitter>
  </particle>
  <!-- reduce to sparks -->
  <particle position-x="0" position-y="0" position-z="0">
    <emitter>
      <property name="position-x" min="8" max="28"/>
      <property name="position-y" min="30" max="-13"/>
      <animation imageset="graphics/particles/hot_coals.png" width="8" height="8">
        <sequence start="0" end="28" delay="100"/>
        <frame index="28" delay="1000"/>
      </animation>
      <property name="lifetime" value="2800"/>
      <property name="output" value="10"/>
      <property name="output-pause" value="200"/>
    </emitter>
  </particle>
</effect>