Files
BarotraumaModServer/LocalMods/DynamicEuropa/Biomes/CommonLevelObjects.xml
2026-06-09 00:42:10 +03:00

85 lines
9.2 KiBLFS
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<!--COMMON-->
<levelobjects>
<!--Vents that spawn on main path walls and not just abyss-->
<lavaventde identifier="lavaventDE" SpawnPos="MainPathWall, SidePathWall" alignment="Top" minsize="0.5" maxsize="1" randomrotation="0,0" sonardisruption="0.5" depthrange="0,1" clusteringamount="0" clusteringgroup="0" alignwithsurface="False" minsurfacewidth="528" swingamount="0" swingfrequency="0" scaleoscillation="0,0" scaleoscillationfrequency="0" commonness="0" maxcount="10" randomoffset="0,0">
<Sprite texture="Content/Map/Biomes/Common/old/seafloor.png" sourcerect="1030,1247,440,803" origin="0.5,0.9" />
<Trigger randomtriggerinterval="10" randomtriggerprobability="0.5" staytriggereddelay="5" networksyncing="true">
<LightSource range="4000" color="255,0,0,255" flicker="0.5" pulseamount="0.3" pulsefrequency="0.5">
<LightTexture texture="Content/Lights/pointlight_rays.png" origin="0.5,0.6" />
</LightSource>
<Trigger position="0,1500" radius="500" height="1600" camerashake="3" triggeredby="Submarine, Character" force="0,5.0" forcemode="Acceleration" forcefalloff="false" forcevelocitylimit="200">
<Attack structuredamage="10" damagerange="500" emitstructuredamageparticles="false">
<Affliction identifier="burn" strength="20" />
</Attack>
</Trigger>
<Sound file="Content/Sounds/Ambient/Thunder1.ogg" range="20000" position="0,700" />
<Sound file="Content/Sounds/Water/BlackSmoker.ogg" range="7000" position="0,700" />
<ParticleEmitter particle="volcanosmokefast" particlespersecond="10" position="-50,700" anglemin="60" anglemax="120" velocitymin="100" velocitymax="600" />
<ParticleEmitter particle="lavasplash" particlespersecond="50" position="-50,700" anglemin="70" anglemax="110" velocitymin="0" velocitymax="8000" />
<ParticleEmitter particle="lavachunk" particlespersecond="80" position="-50,700" anglemin="80" anglemax="100" velocitymin="1000" velocitymax="6000" />
<ParticleEmitter particle="volcanofire" particlespersecond="5" emitinterval="2" particleamount="10" position="-50,700" anglemin="50" anglemax="130" velocitymin="100" velocitymax="1000" />
</Trigger>
<ParticleEmitter particle="volcanosmoke" particlespersecond="5" position="-50,700" anglemin="60" anglemax="120" velocitymin="100" velocitymax="600" />
<LightSource color="50,0,0,255" range="2048" flicker="0.2" flickerspeed="0.1" pulseamount="0.5" pulsefrequency="0.3" />
<overridecommonness leveltype="hydrothermalwastes" commonness="5" />
<overridecommonness leveltype="wastesoutpost" commonness="0" />
</lavaventde>
<lavavent2de identifier="lavavent2DE" SpawnPos="MainPathWall, SidePathWall" alignment="Top" minsize="0.5" maxsize="1" randomrotation="0,0" sonardisruption="0.5" depthrange="0,1" clusteringamount="0" clusteringgroup="0" alignwithsurface="False" minsurfacewidth="528" swingamount="0" swingfrequency="0" scaleoscillation="0,0" scaleoscillationfrequency="0" commonness="0" maxcount="10" randomoffset="0,0">
<Sprite texture="Content/Map/Biomes/Common/old/seafloor.png" sourcerect="503,375,475,801" origin="0.5,0.9" />
<Trigger randomtriggerinterval="10" randomtriggerprobability="0.5" staytriggereddelay="5" networksyncing="true">
<LightSource range="4000" color="255,0,0,255" flicker="0.5" pulseamount="0.3" pulsefrequency="0.5">
<LightTexture texture="Content/Lights/pointlight_rays.png" origin="0.5,0.6" />
</LightSource>
<Trigger position="0,1500" radius="500" height="1600" camerashake="3" triggeredby="Submarine, Character" force="0,5.0" forcemode="Acceleration" forcefalloff="false" forcevelocitylimit="200">
<Attack structuredamage="10" damagerange="500" emitstructuredamageparticles="false">
<Affliction identifier="burn" strength="20" />
</Attack>
</Trigger>
<Sound file="Content/Sounds/Ambient/Thunder1.ogg" range="20000" position="0,700" />
<Sound file="Content/Sounds/Water/BlackSmoker.ogg" range="7000" position="0,700" />
<ParticleEmitter particle="volcanosmokefast" particlespersecond="10" position="-50,700" anglemin="60" anglemax="120" velocitymin="100" velocitymax="600" />
<ParticleEmitter particle="lavasplash" particlespersecond="50" position="-50,700" anglemin="70" anglemax="110" velocitymin="0" velocitymax="8000" />
<ParticleEmitter particle="lavachunk" particlespersecond="80" position="-50,700" anglemin="80" anglemax="100" velocitymin="1000" velocitymax="6000" />
<ParticleEmitter particle="volcanofire" particlespersecond="5" emitinterval="2" particleamount="10" position="-50,700" anglemin="50" anglemax="130" velocitymin="100" velocitymax="1000" />
</Trigger>
<ParticleEmitter particle="volcanosmoke" particlespersecond="5" position="-50,700" anglemin="60" anglemax="120" velocitymin="100" velocitymax="600" />
<LightSource color="50,0,0,255" range="2048" flicker="0.2" flickerspeed="0.1" pulseamount="0.5" pulsefrequency="0.3" />
<overridecommonness leveltype="hydrothermalwastes" commonness="5" />
<overridecommonness leveltype="wastesoutpost" commonness="0" />
</lavavent2de>
<!-- wastes smoke chunks -->
<Smokechunks identifier="Smokechunkswhite" spawnpos="MainPath" minsurfacewidth="0" minsize="1" maxsize="1.2" randomrotation="-180,180" commonness="0" depthrange="100,200" alignment="TopLeft, BottomRight" clusteringamount="3" clusteringgroup="0" alignwithsurface="False" swingamount="1" swingfrequency="1" scaleoscillation="0.2,0.2" scaleoscillationfrequency="0.2" sonardisruption="0" maxcount="100000" randomoffset="5000,5000" spritecolor="255,255,255,100">
<overridecommonness leveltype="hydrothermalwastes" commonness="90" />
<Sprite texture="%ModDir:2532991202%/Biomes/Smokechunks.png" sourcerect="0,0,2048,1931" origin="0.5,0.5" />
</Smokechunks>
<Smokechunks2 identifier="Smokechunksorange" spawnpos="MainPath" minsurfacewidth="0" minsize="1.2" maxsize="1.5" randomrotation="-180,180" commonness="0" depthrange="800,1200" alignment="TopLeft, BottomRight" clusteringamount="3" clusteringgroup="0" alignwithsurface="False" swingamount="1" swingfrequency="1" scaleoscillation="0.2,0.2" scaleoscillationfrequency="0.2" sonardisruption="0" maxcount="100000" randomoffset="5000,5000" spritecolor="255,100,0,120">
<overridecommonness leveltype="hydrothermalwastes" commonness="90" />
<Sprite texture="%ModDir:2532991202%/Biomes/Smokechunks.png" sourcerect="0,0,2048,2048" origin="0.5,0.5" />
</Smokechunks2>
<!-- pondering adding background chunks to outpost levels so the outpost isnt floating but it's not encased in ceiling either -->
<!-- COLD CAVERNS OUTPOST CHUNKS -->
<!-- <BackgroundChunksOutpost identifier="coldcavernsBackgroundChunksOutpost" spawnpos="OutpostWall" minsurfacewidth="500" minsize="2" maxsize="3" randomrotation="-180,180" commonness="0" depthrange="1500,2500" alignment="TopLeft, BottomRight" clusteringamount="0" clusteringgroup="0" alignwithsurface="False" swingamount="0" swingfrequency="0" scaleoscillation="0,0" scaleoscillationfrequency="0" sonardisruption="0" maxcount="20" randomoffset="1000,1000">
<overridecommonness leveltype="coldcavernsoutpost" commonness="100" />
<Sprite texture="Content/Map/Biomes/ColdCaverns/BackgroundChunks.png" sourcerect="1365,0,683,1024" origin="0.5,0.5" />
<Sprite texture="Content/Map/Biomes/ColdCaverns/BackgroundChunks.png" sourcerect="0,0,683,1024" origin="0.5,0.5" />
<Sprite texture="Content/Map/Biomes/ColdCaverns/BackgroundChunks.png" sourcerect="683,0,683,1024" origin="0.5,0.5" />
</BackgroundChunksOutpost> -->
<!--
<barnaclespawner identifier="barnaclespawner" spritecolor="255,246,228,255" spawnpos="MainPathWall" allowatstart="True" takelevelwalldamage="true" health="20" hidewhenbroken="true" minsurfacewidth="100" minsize="0.5" maxsize="0.8" randomrotation="0,0" randomoffset="0,0" commonness="0" depthrange="-1,-0.1" alignment="Bottom" clusteringamount="0" clusteringgroup="0" alignwithsurface="True" swingamount="0" swingfrequency="0" scaleoscillation="0,0" scaleoscillationfrequency="0" sonardisruption="0.1" maxcount="20">
<Sprite name="alienturret" texture="Content/Items/Alien/AlienTurret.png" depth="0.1" sourcerect="4,318,251,192" canflipy="false" />
<overridecommonness leveltype="europanridge" commonness="500" />
<Trigger position="0,0" width="70" height="350" sensor="false" triggeredby="Human" staytriggereddelay="10000000" triggeronce="true">
<OverrideProperties>
<Sprite name="alienturret" texture="Content/Items/Alien/AlienTurret.png" depth="0.1" sourcerect="0,0,1,1" canflipy="false" />
</OverrideProperties>
<StatusEffect target="This">
<SpawnItem identifier="barnaclething" spawnposition="this" rotationtype="random" rotation="0" />
<Sound file="Content/Sounds/Damage/GlassBreak4.ogg" range="1000" dontmuffle="true" volume="0.5" />
<particleemitter particle="iceshards" particleamount="50" velocitymin="0" velocitymax="1000" distancemin="0" distancemax="100" anglemin="0" anglemax="360" scalemin="1" scalemax="1.5" />
</StatusEffect>
</Trigger>
<LightSource range="500" color="250,25,250,250" drawbehindsubs="true" pulseamount="0.3" pulsefrequency="0.1" />
</barnaclespawner>
-->
</levelobjects>