Files
LuaCsForBarotraumaEP/Barotrauma/BarotraumaShared/Content/Particles/ParticlePrefabs.xml
T
Joonas Rikkonen bcd2582cf9 - More gore particles when severing limbs!
- Explosions can sever limbs even if the target character is dead. Now explosive projectiles can explode creatures into pieces even if the creature dies of the initial projectile impact and not the explosion.
- Disabled blood particles on carriers and fractal guardians.
2017-12-29 21:06:11 +02:00

459 lines
17 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<prefabs>
<watersplash
startsizemin="0.15,0.15" startsizemax="0.3,0.3"
sizechangemin="0.9,0.9" sizechangemax="1.2,1.2"
startrotationmin ="0.0" startrotationmax="360"
startcolor="1.0, 1.0, 1.0" startalpha="0.8"
colorchange="0.0, 0.0, 0.0, -0.8"
lifetime="2"
growtime ="0.2"
collideswithwalls="true"
friction="0.01"
restitution="0.2"
collisionradius="30.0"
velocitychange="0.0, -9.8">
<sprite texture="Content/Particles/spatter.png" sourcerect="0,0,128,128"/>
<sprite texture="Content/Particles/spatter.png" sourcerect="128,0,128,128"/>
<sprite texture="Content/Particles/spatter.png" sourcerect="0,128,128,128"/>
</watersplash>
<mist
startsizemin="0.4,0.4" startsizemax="0.5,0.5"
sizechangemin="0.25,0.25" sizechangemax="0.3,0.3"
startrotationmin ="0.0" startrotationmax="360"
startcolor="1.0, 1.0, 1.0" startalpha="0.5"
colorchange="0.0, 0.0, 0.0, -0.25"
growtime ="0.2"
lifetime="3"
velocitychange="0.0, -0.05">
<sprite texture="Content/Particles/spatter.png" sourcerect="128,128,128,128"/>
</mist>
<dustcloud
startsizemin="0.8,0.8" startsizemax="1.0,1.0"
sizechange="0.0,0.0"
startrotationmin ="0.0" startrotationmax="360"
startcolor="0.2, 0.2, 0.2" startalpha="0.5"
colorchange="0.0, 0.0, 0.0, -0.3"
lifetime="3"
velocitychange="0.0, -5.0">
<sprite texture="Content/Particles/spatter.png" sourcerect="0,0,128,128"/>
<sprite texture="Content/Particles/spatter.png" sourcerect="128,0,128,128"/>
<sprite texture="Content/Particles/spatter.png" sourcerect="0,128,128,128"/>
</dustcloud>
<bubbles
startsizemin="0.4,0.4" startsizemax="0.5,0.5"
sizechangemin="0.1,0.1" sizechangemax="0.3,0.3"
startrotationmin ="0.0" startrotationmax="360"
startcolor="1.0, 1.0, 1.0" startalpha="0.8"
colorchange="0.0, 0.0, 0.0, -0.5"
lifetime="3"
deleteoncollision="true"
drawtarget="water"
velocitychange="0.0, 0.1">
<sprite texture="Content/Particles/bubbles.png"/>
</bubbles>
<blood
startsizemin="0.5,0.5" startsizemax="1.0,1.0"
startrotationmin ="0.0" startrotationmax="360"
startcolor="0.5, 0.0, 0.0" startalpha="1.0"
lifetime="1"
growtime ="0.1"
velocitychange="0.0, -0.1">
<animatedsprite texture="Content/Particles/Spatter1.png" sourcerect="0,0,1024,1024" columns="4" rows="8" origin="0.2,0.5"/>
<animatedsprite texture="Content/Particles/Spatter2.png" sourcerect="0,0,1024,1024" columns="4" rows="8" origin="0.5,0.5"/>
<animatedsprite texture="Content/Particles/Spatter3.png" sourcerect="0,0,1024,1024" columns="4" rows="8" origin="0.3,0.5"/>
</blood>
<waterblood
startsizemin="0.1,0.1" startsizemax="0.3,0.3"
sizechangemin="0.1,0.1" sizechangemax="0.2,0.2"
startrotationmin ="0.0" startrotationmax="360"
startcolor="0.3, 0.0, 0.0" startalpha="1.0"
animduration="5"
colorchange="0.0, 0.0, 0.0, -0.2"
growtime ="0.1"
lifetime="5.0"
drawtarget="water"
velocitychange="0.0, 0.0">
<animatedsprite texture="Content/Particles/Smoke.png" sourcerect="0,0,4096,4096" columns="8" rows="8" origin="0.5,0.5"/>
</waterblood>
<bloodtrail
lifetime="0.5"
angularvelocitymin="0"
angularvelocitymax="0"
startrotationmin="0"
startrotationmax="360"
rotatetodirection="False"
drag="0"
waterdrag="0.8"
velocitychange="0,0"
collisionradius="30"
collideswithwalls="False"
deleteoncollision="False"
friction="0.01"
restitution="0.2"
startsizemin="0.6,0.6"
startsizemax="1,1"
sizechangemin="0.2,0.2"
sizechangemax="0.5,0.5"
growtime="0.05"
startcolor="0.4941176,0,0,0.4941176"
startalpha="0.5"
colorchange="0,0,0,-1"
drawtarget="Both"
blendstate="AlphaBlend"
animduration="1"
loopanim="True">
<sprite texture="Content/Particles/spatter.png" sourcerect="0,0,128,128"/>
<sprite texture="Content/Particles/spatter.png" sourcerect="128,0,128,128"/>
<sprite texture="Content/Particles/spatter.png" sourcerect="0,128,128,128"/>
</bloodtrail>
<gib
lifetime="5"
angularvelocitymin="-500"
angularvelocitymax="500"
startrotationmin="0"
startrotationmax="360"
rotatetodirection="True"
drag="0"
waterdrag="0.3"
velocitychange="0,-8"
velocitychangewater="0,-1"
collisionradius="10"
collideswithwalls="True"
deleteoncollision="False"
friction="0.5"
restitution="0.1"
startsizemin="0.3,0.3"
startsizemax="0.6,0.6"
sizechangemin="-0.1,-0.1"
sizechangemax="-0.1,-0.1"
growtime="0"
startcolor="0.2980392,0,0,1"
startalpha="1"
colorchange="0,0,0,-0.3"
drawtarget="Both"
blendstate="AlphaBlend"
animduration="1"
loopanim="True">
<sprite texture="Content/Particles/shrapnel.png" sourcerect="0,64,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="32,64,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="64,64,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="96,64,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="128,64,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="160,64,48,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="208,64,48,32"/>
</gib>
<heavygib
lifetime="1"
angularvelocitymin="-500"
angularvelocitymax="500"
startrotationmin="0"
startrotationmax="360"
rotatetodirection="False"
drag="0"
waterdrag="0.3"
velocitychange="0,-8"
velocitychangewater="0,-1"
collisionradius="10"
collideswithwalls="True"
deleteoncollision="True"
friction="0.5"
restitution="0.5"
startsizemin="0.8,0.8"
startsizemax="1,1"
sizechangemin="-0.5,-0.5"
sizechangemax="-0.5,-0.5"
growtime="0"
startcolor="0.2980392,0,0,1"
startalpha="1"
colorchange="0,0,0,-0.3"
drawtarget="Both"
blendstate="AlphaBlend"
animduration="1"
loopanim="True">
<sprite texture="Content/Particles/shrapnel.png" sourcerect="0,64,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="32,64,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="64,64,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="96,64,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="128,64,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="160,64,48,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="208,64,48,32"/>
<ParticleEmitter
particle="bloodtrail"
particlespersecond="10"
position="0,0"
anglemin="0"
anglemax="360"
velocitymin="10"
velocitymax="20"/>
</heavygib>
<spark
startsizemin="0.5,0.2" startsizemax="1.0,0.7"
sizechangemin="-0.5,-0.5" sizechangemax="-1.0,-1.0"
startrotationmin ="0.0" startrotationmax="360"
startcolor="1.0, 1.0, 1.0" startalpha="1.0"
colorchange="0.0, 0.0, 0.0, -0.3"
lifetime="5.0"
drawtarget="air"
growtime ="0.1"
deleteoncollision="true"
rotatetodirection="true"
blendstate="additive"
velocitychange="0.0, -5.0">
<sprite texture="Content/Particles/explosion.png" sourcerect="128,0,128,64"/>
</spark>
<shockwave
startsize="0.1,0.1"
sizechange="15.0,15.0"
startrotationmin ="0.0" startrotationmax="360"
startcolor="1.0, 1.0, 1.0" startalpha="1.0"
colorchange="0.0, 0.0, 0.0, -2.0"
lifetime="1.0"
drawtarget="both"
velocitychange="0.0, 0.0">
<sprite texture="Content/Particles/explosion.png" sourcerect="0,128,128,128"/>
</shockwave>
<flame
startsizemin="0.5,0.3" startsizemax="1.0,0.5"
sizechangemin="0.1,0.1" sizechangemax="0.2,0.2"
startrotationmin ="-20.0" startrotationmax="20"
startcolor="1.0, 1.0, 1.0" startalpha="1.0"
colorchange="-0.9, -1.5, -6.3, -1.2"
lifetime="2.5"
growtime ="0.2"
drawtarget="air"
collideswithwalls="true"
blendstate="additive"
velocitychange="0.0, 2.5"
animduration="1.2"
loopanim="false">
<animatedsprite texture="Content/Particles/FlameRoundParticleSheet.png" sourcerect="0,0,2048,2048" columns="10" rows="5" origin="0.5,0.8"/>
</flame>
<steam
startsizemin="0.4,0.4" startsizemax="0.5,0.5"
sizechangemin="0.25,0.25" sizechangemax="0.3,0.3"
startrotationmin ="0.0" startrotationmax="360"
startcolor="1.0, 1.0, 1.0" startalpha="0.5"
colorchange="0.0, 0.0, 0.0, -0.25"
growtime ="0.2"
lifetime="3"
collideswithwalls="true"
collisionradius="30.0"
velocitychange="0.0, 2.5">
<sprite texture="Content/Particles/spatter.png" sourcerect="128,128,128,128"/>
</steam>
<smoke
startsizemin="0.4,0.4" startsizemax="0.5,0.5"
sizechangemin="0.25,0.25" sizechangemax="0.3,0.3"
startrotationmin ="0.0" startrotationmax="360"
startcolor="0.0, 0.0, 0.0" startalpha="1.0"
colorchange="0.0, 0.0, 0.0, -0.25"
growtime ="0.2"
lifetime="5"
collideswithwalls="true"
collisionradius="80.0"
velocitychange="0.0, 2.5"
animduration="4"
friction="0.01"
restitution="0.01"
loopanim="false">
<animatedsprite texture="Content/Particles/SmokeParticleSheet.png" sourcerect="0,0,1024,1024" columns="5" rows="5"/>
</smoke>
<hydrosmoke
startsizemin="10.0,10.0" startsizemax="30.0,30.0"
sizechangemin="5.0,5.0" sizechangemax="10.0,10.0"
startrotationmin="0.0" startrotationmax="360"
angularvelocitymin="-20" angularvelocitymax="20"
startcolor="0.2, 0.2, 0.2, 1.0"
colorchange="0.0, 0.0, 0.0, -0.1"
growtime="10"
lifetime="25"
drawtarget="water"
velocitychange="0.0, 0.0">
<sprite texture="Content/Particles/SmokeParticleSheet.png" sourcerect="0,410,204,204"/>
<sprite texture="Content/Particles/SmokeParticleSheet.png" sourcerect="204,410,204,204"/>
<sprite texture="Content/Particles/SmokeParticleSheet.png" sourcerect="410,410,204,204"/>
<sprite texture="Content/Particles/SmokeParticleSheet.png" sourcerect="614,410,204,204"/>
<sprite texture="Content/Particles/SmokeParticleSheet.png" sourcerect="819,410,204,204"/>
</hydrosmoke>
<hydrosmokesmall
startsizemin="2.0,2.0" startsizemax="5.0,5.0"
sizechangemin="0.25,0.25" sizechangemax="0.3,0.3"
startrotationmin ="0.0" startrotationmax="360"
startcolor="0.2, 0.2, 0.2" startalpha="1.0"
angularvelocitymin="-20" angularvelocitymax="20"
colorchange="0.0, 0.0, 0.0, -0.16"
growtime="1"
lifetime="6"
drawtarget="water"
animduration="3"
loopanim="false">
<animatedsprite texture="Content/Particles/SmokeParticleSheet.png" sourcerect="0,0,1024,1024" columns="5" rows="5"/>
</hydrosmokesmall>
<explosionfire
startsizemin="0.25,0.15" startsizemax="0.5,0.25"
sizechangemin="0.2,0.2" sizechangemax="0.3,0.3"
startrotationmin ="-50.0" startrotationmax="50"
startcolor="1.0, 1.0, 1.0" startalpha="1.0"
colorchange="-0.6, -0.6, -0.6, -0.5"
lifetime="5.0"
growtime ="0.05"
drawtarget="air"
collideswithwalls="true"
collisionradius="100"
blendstate="additive"
velocitychange="0.0, 1.0"
animduration="1.2"
loopanim="false">
<animatedsprite texture="Content/Particles/FlameRoundParticleSheet.png" sourcerect="0,0,2048,2048" columns="10" rows="5" origin="0.5,0.8"/>
</explosionfire>
<weld
startsizemin="0.9,0.9" startsizemax="1.1,1.1"
sizechangemin="-4.0,-0.1" sizechangemax="-4.0,-0.5"
startcolor="1.0, 1.0, 1.0" startalpha="1.0"
colorchange="0.0, 0.0, 0.0, -4.0"
lifetime="0.25"
drawtarget="both"
blendstate="additive"
velocitychange="0.0, 0.0">
<sprite texture="Content/Particles/flames.png" sourcerect="0,0,128,64" origin="0.15,0.5"/>
</weld>
<plasma
startsizemin="0.9,0.9" startsizemax="1.1,1.1"
sizechange="-4.0,-0.5"
startcolor="1.0, 1.0, 1.0" startalpha="1.0"
colorchange="0.0, 0.0, 0.0, -4.0"
lifetime="0.25"
drawtarget="both"
blendstate="additive"
velocitychange="0.0, 0.0">
<sprite texture="Content/Particles/flames.png" sourcerect="0,64,128,64" origin="0.15,0.5"/>
</plasma>
<largeplasma
startsizemin="0.9,3.0" startsizemax="5.0,5.0"
sizechange="20.0,-0.5"
startcolor="1.0, 1.0, 1.0" startalpha="1.0"
colorchange="0.0, 0.0, 0.0, -4.0"
lifetime="0.25"
drawtarget="both"
blendstate="additive"
velocitychange="0.0, 0.0">
<sprite texture="Content/Particles/flames.png" sourcerect="0,64,128,64" origin="0.0,0.5"/>
</largeplasma>
<extinguisher
startsizemin="1.2,1.2" startsizemax="1.5,1.5"
sizechangemin="1.5,1.5" sizechangemax="2.0,2.0"
startrotationmin ="0.0" startrotationmax="360"
startcolor="1.0, 1.0, 1.0" startalpha="0.5"
colorchange="0.0, 0.0, 0.0, -0.8"
collideswithwalls="true"
growtime ="0.3"
lifetime="3"
collisionradius="30.0"
friction="0.01"
restitution="0.1"
velocitychange="0.0, -0.5">
<sprite texture="Content/Particles/spatter.png" sourcerect="128,128,128,128"/>
</extinguisher>
<flare
startsizemin="0.1,0.1" startsizemax="0.2,0.2"
sizechangemin="0.1,0.1" sizechangemax="0.2,0.2"
startrotationmin ="-180.0" startrotationmax="180"
startcolor="1.0, 1.0, 1.0" startalpha="1.0"
colorchange="-0.5, -1.0, -1.0, -0.5"
lifetime="2.5"
growtime ="0.05"
drawtarget="both"
collideswithwalls="true"
blendstate="additive"
velocitychange="0.0, 1.0">
<sprite texture="Content/Particles/spatter.png" sourcerect="128,128,128,128"/>
</flare>
<shrapnel
startsizemin="0.1,0.1" startsizemax="1.0,1.0"
startrotationmin ="0.0" startrotationmax="360"
startcolor="1.0, 1.0, 1.0" startalpha="1.0"
colorchange="0.0, 0.0, 0.0, -0.3"
lifetime="10.0"
drawtarget="both"
collideswithwalls="true"
collisionradius="10.0"
restitution="0.2"
waterdrag="0.1"
growtime ="0.0"
velocitychange="0.0, -5.0">
<sprite texture="Content/Particles/shrapnel.png" sourcerect="0,0,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="32,0,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="64,0,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="96,0,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="128,0,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="160,0,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="192,0,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="224,0,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="0,32,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="32,32,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="64,32,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="96,32,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="128,32,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="160,32,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="192,32,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="224,32,32,32"/>
</shrapnel>
<iceshards
startsizemin="0.1,0.1" startsizemax="1.0,1.0"
startrotationmin ="0.0" startrotationmax="360"
startcolor="1.0, 1.0, 1.0" startalpha="1.0"
colorchange="0.0, 0.0, 0.0, -0.3"
lifetime="10.0"
drawtarget="water"
collideswithwalls="true"
collisionradius="10.0"
restitution="0.2"
waterdrag="0.3"
growtime ="0.0"
velocitychange="0.0, -5.0">
<sprite texture="Content/Particles/shrapnel.png" sourcerect="0,64,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="32,64,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="64,64,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="96,64,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="128,64,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="160,64,48,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="208,64,48,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="0,96,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="32,96,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="64,96,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="96,96,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="128,96,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="160,96,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="192,96,32,32"/>
<sprite texture="Content/Particles/shrapnel.png" sourcerect="224,96,32,32"/>
</iceshards>
</prefabs>