Bunch of new level types, WIP hydrothermal vents

This commit is contained in:
Joonas Rikkonen
2017-08-22 21:12:29 +03:00
parent 6cf0f966aa
commit f9504d0d76
5 changed files with 119 additions and 7 deletions

View File

@@ -30,6 +30,9 @@
<Content Include="$(MSBuildThisFileDirectory)Content\BackgroundSprites\ice.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="$(MSBuildThisFileDirectory)Content\BackgroundSprites\seafloor.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="$(MSBuildThisFileDirectory)Content\BackgroundSprites\vegetation.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>

View File

@@ -26,6 +26,7 @@
<leaves spawnpos="Wall, RuinWall" minsize="0.5" maxsize="1.5" alignwithsurface="true" commonness="3">
<Sprite texture="Content/BackgroundSprites/vegetation.png" sourcerect="305,722,461,301" origin="0.6,0.8"/>
<overridecommonness commonness="0" leveltype="Wastes" />
</leaves>
<branches1 spawnpos="Wall, RuinWall" minsize="0.5" maxsize="2.0" alignwithsurface="true" swingamount="3" randomrotation="-20,20" commonness="4">
@@ -55,6 +56,7 @@
<branch spawnpos="Wall, RuinWall" alignment="Top" minsize="1" maxsize="3" randomrotation="-30,30" swingamount="10" commonness="10">
<overridecommonness commonness="0" leveltype="Open" />
<overridecommonness commonness="0" leveltype="Wastes" />
<overridecommonness commonness="1" leveltype="Pillars" />
<overridecommonness commonness="1" leveltype="Slabs" />
<Sprite texture="Content/BackgroundSprites/vegetation3.png" origin="0.5,0.95"/>
@@ -62,6 +64,7 @@
<branch spawnpos="Wall, RuinWall" alignment="Top" minsize="1" maxsize="3" randomrotation="-30,30" swingamount="8" commonness="10">
<overridecommonness commonness="0" leveltype="Open" />
<overridecommonness commonness="0" leveltype="Wastes" />
<overridecommonness commonness="1" leveltype="Pillars" />
<overridecommonness commonness="1" leveltype="Slabs" />
<Sprite texture="Content/BackgroundSprites/vegetation4.png" sourcerect="0,0,818,1024" origin="0.5,0.95"/>
@@ -69,18 +72,21 @@
<hay spawnpos="Wall, RuinWall" alignment="Top" minsize="0.5" maxsize="1.5" randomrotation="-10,10" swingamount="5" commonness="3">
<overridecommonness commonness="0" leveltype="Open" />
<overridecommonness commonness="0" leveltype="Wastes" />
<Sprite texture="Content/BackgroundSprites/vegetation4.png" sourcerect="820,245,204,779" origin="0.5,0.95"/>
</hay>
<branch spawnpos="Wall, RuinWall" minsize="1" maxsize="3" alignwithsurface="true" randomrotation="-30,30" swingamount="10" commonness="0">
<overridecommonness commonness="10" leveltype="Pillars" />
<overridecommonness commonness="10" leveltype="Slabs" />
<overridecommonness commonness="0" leveltype="Wastes" />
<Sprite texture="Content/BackgroundSprites/vegetation5.png" sourcerect="0,0,555,1024" origin="0.6,0.95"/>
</branch>
<branch spawnpos="Wall, RuinWall" minsize="1" maxsize="3" alignwithsurface="true" randomrotation="-30,30" swingamount="10" commonness="0">
<overridecommonness commonness="10" leveltype="Pillars" />
<overridecommonness commonness="10" leveltype="Slabs" />
<overridecommonness commonness="0" leveltype="Wastes" />
<Sprite texture="Content/BackgroundSprites/vegetation5.png" sourcerect="580,151,444,873" origin="0.3,0.95"/>
</branch>
@@ -99,4 +105,45 @@
<icechunk spawnpos="Wall, RuinWall" minsize="5" maxsize="8" randomrotation="-180,180" swingamount="0" commonness="10" depthrange="100,2000">
<Sprite texture="Content/BackgroundSprites/ice.png" sourcerect="702,513,322,511" origin="0.5,0.5"/>
</icechunk>
<blacksmoker spawnpos="SeaFloor" alignment="Top" minsize="1" maxsize="2" randomrotation="-5,5" commonness="0">
<overridecommonness commonness="1" leveltype="Wastes" />
<overridecommonness commonness="1" leveltype="Ridge" />
<Sprite texture="Content/BackgroundSprites/seafloor.png" sourcerect="0,443,455,1605" origin="0.5,0.9"/>
<ParticleEmitter
particle="hydrosmoke"
particlespersecond="2"
position="0,1400"
anglemin="80"
anglemax="100"
velocitymin="500"
velocitymax="6000"/>
</blacksmoker>
<blacksmoker spawnpos="SeaFloor" alignment="Top" minsize="1" maxsize="2" randomrotation="-5,5" commonness="0">
<overridecommonness commonness="1" leveltype="Wastes" />
<Sprite texture="Content/BackgroundSprites/seafloor.png" sourcerect="463,1329,525,719" origin="0.5,0.9"/>
<ParticleEmitter
particle="hydrosmoke"
particlespersecond="2"
position="-20,570"
anglemin="80"
anglemax="100"
velocitymin="500"
velocitymax="6000"/>
</blacksmoker>
<blacksmoker spawnpos="SeaFloor" alignment="Top" minsize="1" maxsize="2" randomrotation="-5,5" commonness="0">
<overridecommonness commonness="1" leveltype="Wastes" />
<Sprite texture="Content/BackgroundSprites/seafloor.png" sourcerect="1030,1245,440,803" origin="0.5,0.9"/>
<ParticleEmitter
particle="hydrosmoke"
particlespersecond="2"
position="-50,700"
anglemin="80"
anglemax="100"
velocitymin="500"
velocitymax="600"/>
</blacksmoker>
</backgroundsprites>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

View File

@@ -123,17 +123,59 @@
VoronoiSiteInterval="1500,1500"
VoronoiSiteVariance="700,700"
MainPathNodeIntervalRange="6000,10000"
BackgroundColor="25,23,10"
SmallTunnelCount="10"
WallColor="160,150,150"
BackgroundColor="20,15,13"
SmallTunnelCount="1"
SmallTunnelLengthRange="5000,50000"
RuinCount="3"
BottomHoleProbability="0.5"
RuinCount="1"
BottomHoleProbability="0.8"
BackgroundSpriteAmount="1000"
MountainCountMin="2"
MountainCountMax="3"
SeaFloorDepth="-50000.0"
SeaFloorVariance="2000"
MountainHeightMin="40000"
MountainHeightMax="50000"
/>
<Ridge
biomes="Volcanic Ridge"
width="100000"
height="50000"
VoronoiSiteInterval="1500,1500"
VoronoiSiteVariance="700,700"
MainPathNodeIntervalRange="6000,10000"
WallColor="200,150,150"
BackgroundColor="25,15,10"
SmallTunnelCount="10"
SmallTunnelLengthRange="5000,50000"
RuinCount="3"
BottomHoleProbability="0.6"
BackgroundSpriteAmount="1500"
MountainCountMin="1"
MountainCountMax="1"
SeaFloorDepth="-100000.0"
SeaFloorVariance="2000"
MountainHeightMin="50000"
MountainHeightMax="60000"
MountainHeightMin="80000"
MountainHeightMax="120000"
/>
<Plateau
biomes="Cold Caverns"
width="200000"
height="25000"
VoronoiSiteInterval="2000,2000"
VoronoiSiteVariance="800,800"
MainPathNodeIntervalRange="5000,10000"
BackgroundColor="29,36,50"
RuinCount="1"
BottomHoleProbability="0.9"
BackgroundSpriteAmount="1000"
SeaFloorDepth="0.0"
SeaFloorVariance="500"
MountainCountMin="1"
MountainCountMax="2"
MountainHeightMin="1000"
MountainHeightMax="5000"
/>
</LevelGenerationParameters>

View File

@@ -157,7 +157,27 @@
restitution="0.01"
loopanim="false">
<animatedsprite texture="Content/Particles/SmokeParticleSheet.png" sourcerect="0,0,1024,1024" columns="5" rows="5"/>
</smoke>
</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"
collideswithwalls="true"
collisionradius="102.0"
velocitychange="0.0, 2.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>
<explosionfire
startsizemin="0.25,0.15" startsizemax="0.5,0.25"