- 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.
This commit is contained in:
Joonas Rikkonen
2017-12-29 21:06:11 +02:00
parent 454e0def3b
commit bcd2582cf9
11 changed files with 184 additions and 30 deletions
@@ -17,7 +17,7 @@
<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"
@@ -81,7 +81,122 @@
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"
@@ -314,7 +429,7 @@
startcolor="1.0, 1.0, 1.0" startalpha="1.0"
colorchange="0.0, 0.0, 0.0, -0.3"
lifetime="10.0"
drawtarget="both"
drawtarget="water"
collideswithwalls="true"
collisionradius="10.0"
restitution="0.2"