Files
BarotraumaModServer/LocalMods/More Level Content/Map/Biomes/ThalamusCave/ThalamusCaveHazards.xml
T
2026-06-09 00:42:10 +03:00

51 lines
5.6 KiBLFS
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<!-- Thalamus Cave -->
<levelobjects>
<!-- Common Objects -->
<watercurrentcave identifier="watercurrent_thalamuscave" spawnpos="CaveWall" alignment="TopLeft, BottomRight" minsize="0.5" maxsize="2" randomrotation="0,360" commonness="0" depthrange="0,1" clusteringamount="0" clusteringgroup="0" alignwithsurface="False" minsurfacewidth="0" swingamount="0" swingfrequency="0" scaleoscillation="0,0" scaleoscillationfrequency="0" sonardisruption="0" maxcount="10" randomoffset="0,0">
<Sound file="Content/Sounds/Water/BlackSmoker.ogg" range="800" position="0,0" />
<Trigger position="0,0" radius="500" camerashake="0.5" triggeredby="Character" networksyncing="true" force="0,50" forcemode="Acceleration" forcefalloff="true" forcevelocitylimit="480" forcefluctuationstrength="1.0" forcefluctuationinterval="10" />
<overridecommonness leveltype="thalamuscave" commonness="10" />
</watercurrentcave>
<ballastfloraspores identifier="ballastfloraspores_thalamuscave" spawnpos="CaveWall" alignment="TopLeft, BottomRight" minsize="1" maxsize="2" randomrotation="0,360" commonness="0" maxcount="3" depthrange="0,1" clusteringamount="0" clusteringgroup="0" alignwithsurface="False" minsurfacewidth="0" swingamount="0" swingfrequency="0" scaleoscillation="0,0" scaleoscillationfrequency="0" sonardisruption="0">
<overridecommonness leveltype="thalamuscave" commonness="10" />
<Trigger position="0,0" radius="1500" triggeredby="Submarine" infectidentifier="ballastflora" infectionchance="0.05" />
<!--InnerSpores,
Inner and Outer are separate because X amount of particles in a big radius tend to clamp up
in center. Having Inner and Outer spreads them more evenly.-->
<ParticleEmitter particle="spore" particlespersecond="10" position="0,0" anglemin="0" anglemax="360" velocitymin="0" velocitymax="10" scalemin="1" scalemax="1.5" distancemin="100" distancemax="600" />
<ParticleEmitter particle="toxinmistlargefade" particlespersecond="5" position="0,0" anglemin="0" anglemax="360" scalemin="4.0" scalemax="5.0" distancemin="100" distancemax="600" velocitymin="0" velocitymax="10" />
<!--OuterSpores-->
<ParticleEmitter particle="spore" particlespersecond="50" position="0,0" anglemin="0" anglemax="360" velocitymin="0" velocitymax="10" scalemin="1" scalemax="1.5" distancemin="615" distancemax="1600" />
<ParticleEmitter particle="toxinmistlargefade" particlespersecond="30" position="0,0" anglemin="0" anglemax="360" scalemin="4.0" scalemax="5.0" distancemin="615" distancemax="1600" velocitymin="0" velocitymax="10" />
</ballastfloraspores>
<!-- Specific Objects -->
<teethwall identifier="teethwall" spawnpos="Wall, RuinWall" minsurfacewidth="390" minsize="0.9" maxsize="1.1" randomrotation="0,0" randomoffset="20,20" commonness="0" depthrange="-1,-0.1" alignment="TopLeft, BottomRight" clusteringamount="0" clusteringgroup="0" alignwithsurface="True" swingamount="0" swingfrequency="0" scaleoscillation="0,0" scaleoscillationfrequency="0" sonardisruption="0" TakeLevelWallDamage="true" HideWhenBroken="true" Health="100" maxcount="100">
<Sprite texture="%ModDir%/Map/Biomes/ThalamusCave/CaveHazards.png" sourcerect="0,113,402,71" origin="0.5,0.5" />
<Trigger position="0,0" width="300" height="75" sensor="false" triggeredby="Human">
<StatusEffect target="This" interval="5" disabledeltatime="true">
<Conditional currentspeed="gt 0.15" />
<Affliction identifier="bleeding" strength="1" />
<Affliction identifier="lacerations" strength="1" />
</StatusEffect>
</Trigger>
<Trigger position="0,0" radius="300" triggeredby="Human" staytriggereddelay="10000000" triggeronce="true">
<StatusEffect target="This" type="OnBroken">
<sound file="Content/Sounds/Damage/ArmorBreak2.ogg" />
<sound file="Content/Sounds/Damage/ArmorBreak3.ogg" />
<ParticleEmitter particle="organeruption" particleamount="50" scalemin="0.5" scalemax="1" velocitymin="100" velocitymax="500" anglemin="0" anglemax="360" />
<ParticleEmitter particle="heavygib" drawontop="true" particleamount="1" scalemin="1" scalemax="1" velocitymin="0" velocitymax="0" anglemin="0" anglemax="360" />
<ParticleEmitter particle="gib" particleamount="100" scalemin="0.25" scalemax="1" velocitymin="100" velocitymax="300" anglemin="0" anglemax="360" />
<ParticleEmitter particle="bloodsplash" particleamount="30" velocitymin="0" velocitymax="300" anglemin="0" anglemax="360" scalemin="1" scalemax="1.5" />
</StatusEffect>
</Trigger>
<overridecommonness leveltype="thalamuscave" commonness="30" />
</teethwall>
<deadmeat identifier="deadmeat" spawnpos="Wall, RuinWall" minsurfacewidth="390" minsize="1.5" maxsize="2" randomrotation="0,0" randomoffset="20,20" commonness="0" depthrange="-1,-0.1" alignment="TopLeft, BottomRight" clusteringamount="0" clusteringgroup="0" alignwithsurface="True" swingamount="0" swingfrequency="0" scaleoscillation="0,0" scaleoscillationfrequency="0" sonardisruption="0" maxcount="1000">
<Sprite texture="%ModDir%/Map/Biomes/ThalamusCave/CaveHazards2.png" sourcerect="55,312,199,56" origin="0.5,0.5" />
<Sprite texture="%ModDir%/Map/Biomes/ThalamusCave/CaveHazards2.png" sourcerect="268,309,199,56" origin="0.5,0.5" />
<Sprite texture="%ModDir%/Map/Biomes/ThalamusCave/CaveHazards2.png" sourcerect="72,377,158,73" origin="0.5,0.5" />
<Sprite texture="%ModDir%/Map/Biomes/ThalamusCave/CaveHazards2.png" sourcerect="269,397,171,55" origin="0.5,0.5" />
<overridecommonness leveltype="thalamuscave" commonness="70" />
</deadmeat>
</levelobjects>