summaryrefslogtreecommitdiff
path: root/graphics/particles/portal.particle.xml
blob: ea574ae6c6c048c8cf501d2db27e69d57c551498 (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
37
38
39
40
41
42
43
<?xml version="1.0"?>
<!--
A red and yellow blaze. Does not really look like fire but looks awesome
nevertheless. Maybe we could modify this effect and use it for some persistent
AoE fire magic spell.

It is about 100 pixels wide and 200 pixels high, takes about 280 particles and
lowers my FPS by about 30%.
-->
<effect>
	<particle
		position-x = "0"
		position-y = "0"
		position-z = "150"
		>
		<emitter>
			<property name="position-z" value="-150" />
			<property name="position-y" value="32" />
			<property name="acceleration" value="0.05"/>
			<property name="momentum" value="0.95"/>
			<property name="image" value="graphics/particles/glow-medium.png|W:#000099"/>
			<property name="lifetime" min="60" max="140"/>
			<property name="fade-in" value="30"/>
			<property name="fade-out" value="30"/>
			<property name="output" min="1" max="2"/>
			<property name="horizontal-angle" min="0" max="360" />
			<property name="power" min="1" max="3" />
		</emitter>
		<emitter>
			<property name="position-z" value="-150" />
			<property name="position-y" value="32" />
			<property name="acceleration" value="0.05"/>
			<property name="momentum" value="0.95"/>
			<property name="image" value="graphics/particles/glow-medium.png|W:#000022"/>
			<property name="lifetime" min="40" max="140"/>
			<property name="fade-in" value="10"/>
			<property name="fade-out" value="30"/>
			<property name="output" min="0" max="1"/>
			<property name="horizontal-angle" min="0" max="360" />
			<property name="power" min="0" max="2" />
		</emitter>
	</particle>
</effect>