Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion simulation_parameters/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,11 @@ public static class Constants
/// If too low, then pop in is visible and the spawn system can spawn stuff in that then gets covered
/// by the terrain.
/// </summary>
public const int TERRAIN_SPAWN_AREA_NUMBER = 4;
public const int TERRAIN_SPAWN_AREA_NUMBER = 2;

public const int TERRAIN_VENT_OVERLAP_MARGIN = 2;
public const int TERRAIN_VENT_RING_HEIGHT_REDUCTION = 10;
public const int TERRAIN_VENT_OUTER_RING_HEIGHT = -27;

public const int MEMBRANE_RESOLUTION = 10;
public const int MEMBRANE_VERTICAL_RESOLUTION = 7;
Expand Down
245 changes: 233 additions & 12 deletions simulation_parameters/microbe_stage/biomes.json
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,229 @@
"MinClusters": 0,
"MaxClusters": 5,
"PotentialClusters": [
{
"RelativeChance": 2,
"SpawnStrategy": "Vent",
"DynamicParameters": {
"MinSegments": 3,
"MaxSegments": 5,
"SegmentSize": 6
},
"TerrainGroups": [
{
"RelativePosition": {
"x": 0,
"y": 0,
"z": 0
},
"Chunks": [
{
"Visuals": "PyriteTerrain1",
"CollisionShapePath": "res://assets/models/microbe_terrain/PyriteTerrainChunk1.shape",
"Radius": 15,
"RelativePosition": {
"x": 0,
"y": 0,
"z": 0
},
"RandomRotation": "Slight"
},
{
"Visuals": "PyriteTerrain2",
"CollisionShapePath": "res://assets/models/microbe_terrain/PyriteTerrainChunk2.shape",
"Radius": 15,
"RelativePosition": {
"x": 0,
"y": 0,
"z": 0
},
"RandomRotation": "Slight"
}
]
}
]
},
{
"RelativeChance": 2,
"SpawnStrategy": "Vent",
"DynamicParameters": {
"MinSegments": 2,
"MaxSegments": 5,
"SegmentSize": 7
},
"TerrainGroups": [
{
"RelativePosition": {
"x": 0,
"y": 0,
"z": 0
},
"Chunks": [
{
"Visuals": "CalciteTerrainChunk1",
"CollisionShapePath": "res://assets/models/microbe_terrain/CalciteTerrainChunk1.shape",
"Radius": 15.5,
"RelativePosition": {
"x": 0,
"y": 0,
"z": 0
},
"RandomRotation": "Yaw"
},
{
"Visuals": "CalciteTerrainChunk2",
"CollisionShapePath": "res://assets/models/microbe_terrain/CalciteTerrainChunk2.shape",
"Radius": 15.5,
"RelativePosition": {
"x": 0,
"y": 0,
"z": 0
},
"RandomRotation": "Yaw"
}
]
}
]
},
{
"RelativeChance": 1,
"SpawnStrategy": "Vent",
"DynamicParameters": {
"MinSegments": 2,
"MaxSegments": 5,
"SegmentSize": 6
},
"TerrainGroups": [
{
"RelativePosition": {
"x": 0,
"y": 0,
"z": 0
},
"Chunks": [
{
"Visuals": "ChalcopyriteTerrain1",
"CollisionShapePath": "res://assets/models/microbe_terrain/ChalcopyriteTerrainChunk1.shape",
"Radius": 14.8,
"RelativePosition": {
"x": 0,
"y": 0,
"z": 0
},
"RandomRotation": "Slight"
},
{
"Visuals": "ChalcopyriteTerrain2",
"CollisionShapePath": "res://assets/models/microbe_terrain/ChalcopyriteTerrainChunk2.shape",
"Radius": 14.8,
"RelativePosition": {
"x": 0,
"y": 0,
"z": 0
},
"RandomRotation": "Slight"
}
]
}
]
},
{
"RelativeChance": 2,
"SpawnStrategy": "Vent",
"DynamicParameters": {
"MinSegments": 2,
"MaxSegments": 5,
"SegmentSize": 8
},
"TerrainGroups": [
{
"RelativePosition": {
"x": 0,
"y": 0,
"z": 0
},
"Chunks": [
{
"Visuals": "SerpentiniteTerrain1",
"CollisionShapePath": "res://assets/models/microbe_terrain/SerpentiniteTerrainChunk1.shape",
"Radius": 15,
"RelativePosition": {
"x": 0,
"y": 0,
"z": 0
},
"RandomRotation": "Full"
},
{
"Visuals": "SerpentiniteTerrain2",
"CollisionShapePath": "res://assets/models/microbe_terrain/SerpentiniteTerrainChunk2.shape",
"Radius": 15,
"RelativePosition": {
"x": 0,
"y": 0,
"z": 0
},
"RandomRotation": "Full"
}
]
}
]
},
{
"RelativeChance": 2,
"SpawnStrategy": "Vent",
"DynamicParameters": {
"MinSegments": 3,
"MaxSegments": 6,
"SegmentSize": 7
},
"TerrainGroups": [
{
"RelativePosition": {
"x": 0,
"y": 0,
"z": 0
},
"Chunks": [
{
"Visuals": "QuartzTerrain1",
"CollisionShapePath": "res://assets/models/microbe_terrain/QuartzTerrainChunk1.shape",
"Radius": 12,
"RelativePosition": {
"x": 0,
"y": 0,
"z": 0
},
"RandomRotation": "Yaw"
},
{
"Visuals": "QuartzTerrain2",
"CollisionShapePath": "res://assets/models/microbe_terrain/QuartzTerrainChunk2.shape",
"Radius": 12,
"RelativePosition": {
"x": 0,
"y": 0,
"z": 0
},
"RandomRotation": "Yaw"
},
{
"Visuals": "QuartzTerrain3",
"CollisionShapePath": "res://assets/models/microbe_terrain/QuartzTerrainChunk3.shape",
"Radius": 12,
"RelativePosition": {
"x": 0,
"y": 0,
"z": 0
},
"RandomRotation": "Yaw"
}
]
}
]
},
{
"RelativeChance": 3,
"TerrainGroups": [
{
"RelativePosition": {
Expand All @@ -573,7 +794,7 @@
]
},
{
"RelativeChance": 1,
"RelativeChance": 3,
"TerrainGroups": [
{
"RelativePosition": {
Expand All @@ -598,7 +819,7 @@
]
},
{
"RelativeChance": 1,
"RelativeChance": 3,
"TerrainGroups": [
{
"RelativePosition": {
Expand All @@ -623,7 +844,7 @@
]
},
{
"RelativeChance": 1,
"RelativeChance": 3,
"TerrainGroups": [
{
"RelativePosition": {
Expand All @@ -648,7 +869,7 @@
]
},
{
"RelativeChance": 1,
"RelativeChance": 3,
"TerrainGroups": [
{
"RelativePosition": {
Expand All @@ -673,7 +894,7 @@
]
},
{
"RelativeChance": 1,
"RelativeChance": 3,
"TerrainGroups": [
{
"RelativePosition": {
Expand All @@ -698,7 +919,7 @@
]
},
{
"RelativeChance": 1,
"RelativeChance": 3,
"TerrainGroups": [
{
"RelativePosition": {
Expand All @@ -723,7 +944,7 @@
]
},
{
"RelativeChance": 1,
"RelativeChance": 3,
"TerrainGroups": [
{
"RelativePosition": {
Expand All @@ -748,7 +969,7 @@
]
},
{
"RelativeChance": 1,
"RelativeChance": 3,
"TerrainGroups": [
{
"RelativePosition": {
Expand All @@ -773,7 +994,7 @@
]
},
{
"RelativeChance": 1,
"RelativeChance": 3,
"TerrainGroups": [
{
"RelativePosition": {
Expand All @@ -798,7 +1019,7 @@
]
},
{
"RelativeChance": 1,
"RelativeChance": 3,
"TerrainGroups": [
{
"RelativePosition": {
Expand All @@ -823,7 +1044,7 @@
]
},
{
"RelativeChance": 1,
"RelativeChance": 3,
"TerrainGroups": [
{
"RelativePosition": {
Expand All @@ -848,7 +1069,7 @@
]
},
{
"RelativeChance": 1,
"RelativeChance": 3,
"TerrainGroups": [
{
"RelativePosition": {
Expand Down
1 change: 1 addition & 0 deletions src/microbe_stage/MicrobeCamera.tscn

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these changes in this file should be reverted.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh sorry, I missed that!

Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ backgroundPlane = NodePath("BackgroundPlane")
current = true

[node name="BackgroundPlane" parent="." unique_id=949185612 instance=ExtResource("2_yrakl")]
transform = Transform3D(1.05, 0, 0, 0, 1.05, 0, 0, 0, 1.05, 0, 0, -15)
Loading