Multiple particle emitters can be be attached to a background sprite, hydrothermal vents push characters and subs upwards, tweaked hydrothermal smoke particles & trigger positioning

This commit is contained in:
Joonas Rikkonen
2017-08-26 17:07:13 +03:00
parent 1a12f46708
commit 362428280a
8 changed files with 128 additions and 48 deletions
@@ -107,15 +107,14 @@
</icechunk>
<blacksmoker spawnpos="SeaFloor" alignment="Top" minsize="1" maxsize="2" randomrotation="-5,5" commonness="0">
<blacksmoker spawnpos="SeaFloor" alignment="Top" minsize="1" maxsize="1.2" randomrotation="-5,5" commonness="0">
<overridecommonness commonness="1" leveltype="Wastes" />
<overridecommonness commonness="3" leveltype="Ridge" />
<Sprite texture="Content/BackgroundSprites/seafloor.png" sourcerect="0,443,455,1605" origin="0.5,0.9"/>
<Sound file ="Content/Sounds/Water/BlackSmoker.ogg" range="7000" position="0,4000"/>
<Trigger position="0,5500" radius="2000" height="10000" camerashake="5">
<Attack damage="10.0" duration="1.0" targetforce="10.0" damagetype="Burn" onlyhumans="true"/>
</Trigger>
<Trigger position="0,7000" radius="2000" height="10000" camerashake="5" force="0,500">
<Attack damage="10.0" duration="1.0" damagetype="Burn" onlyhumans="true"/>
</Trigger>
<ParticleEmitter
particle="hydrosmoke"
particlespersecond="4"
@@ -124,14 +123,22 @@
anglemax="100"
velocitymin="500"
velocitymax="2000"/>
<ParticleEmitter
particle="hydrosmokesmall"
particlespersecond="10"
position="0,1400"
anglemin="60"
anglemax="120"
velocitymin="100"
velocitymax="600"/>
</blacksmoker>
<blacksmoker spawnpos="SeaFloor" alignment="Top" minsize="1" maxsize="2" randomrotation="-10,10" commonness="0">
<blacksmoker spawnpos="SeaFloor" alignment="Top" minsize="1" maxsize="1.2" randomrotation="-10,10" commonness="0">
<overridecommonness commonness="1" leveltype="Wastes" />
<Sprite texture="Content/BackgroundSprites/seafloor.png" sourcerect="463,1329,525,719" origin="0.5,0.9"/>
<Sound file ="Content/Sounds/Water/BlackSmoker.ogg" range="7000" position="0,4000"/>
<Trigger position="0,5500" radius="2000" height="10000" camerashake="5">
<Attack damage="10.0" duration="1.0" targetforce="10.0" damagetype="Burn" onlyhumans="true"/>
<Trigger position="0,7000" radius="2000" height="10000" camerashake="5" force="0,500">
<Attack damage="10.0" duration="1.0" damagetype="Burn" onlyhumans="true"/>
</Trigger>
<ParticleEmitter
particle="hydrosmoke"
@@ -141,14 +148,22 @@
anglemax="100"
velocitymin="500"
velocitymax="2000"/>
<ParticleEmitter
particle="hydrosmokesmall"
particlespersecond="10"
position="-20,570"
anglemin="60"
anglemax="120"
velocitymin="100"
velocitymax="600"/>
</blacksmoker>
<blacksmoker spawnpos="SeaFloor" alignment="Top" minsize="1" maxsize="2" randomrotation="-10,10" commonness="0">
<blacksmoker spawnpos="SeaFloor" alignment="Top" minsize="1" maxsize="1.2" randomrotation="-10,10" commonness="0">
<overridecommonness commonness="1" leveltype="Wastes" />
<Sprite texture="Content/BackgroundSprites/seafloor.png" sourcerect="1030,1245,440,803" origin="0.5,0.9"/>
<Sound file ="Content/Sounds/Water/BlackSmoker.ogg" range="7000" position="0,4000"/>
<Trigger position="0,5500" radius="2000" height="10000" camerashake="5">
<Attack damage="10.0" duration="1.0" targetforce="10.0" damagetype="Burn" onlyhumans="true"/>
<Trigger position="0,7000" radius="2000" height="10000" camerashake="5" force="0,500">
<Attack damage="10.0" duration="1.0" damagetype="Burn" onlyhumans="true"/>
</Trigger>
<ParticleEmitter
particle="hydrosmoke"
@@ -158,5 +173,13 @@
anglemax="100"
velocitymin="500"
velocitymax="2000"/>
<ParticleEmitter
particle="hydrosmokesmall"
particlespersecond="10"
position="-50,700"
anglemin="60"
anglemax="120"
velocitymin="100"
velocitymax="600"/>
</blacksmoker>
</backgroundsprites>