Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 9de3e74

Browse files
committed
Add Vegetation material so different types of plant don't spawn on top of each other
1 parent c81e914 commit 9de3e74

File tree

2 files changed

+25
-8
lines changed

2 files changed

+25
-8
lines changed

Base.rte/Materials.ini

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,24 @@ AddMaterial = Material
534534
G = 110
535535
B = 80
536536
537-
// Index 130 is undefined.
537+
AddMaterial = Material
538+
Index = 130
539+
PresetName = Vegetation
540+
Bounce = 0.05
541+
Friction = 1.0
542+
StructuralIntegrity = 3
543+
DensityKGPerVolumeL = 0.6
544+
GibImpulseLimitPerVolumeL = 20
545+
GibWoundLimitPerVolumeL = 0.2
546+
Priority = 5
547+
SettleMaterial = 136
548+
Color = Color
549+
R = 110
550+
G = 200
551+
B = 115
552+
TextureFile = ContentFile
553+
FilePath = Base.rte/Scenes/Textures/Grass.png
554+
538555
// Index 131 is undefined.
539556
// Index 132 is undefined.
540557
// Index 133 is undefined.

Base.rte/Scenes.ini

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ AddTerrainDebris = TerrainDebris
7070
FilePath = Base.rte/Scenes/Objects/Plants/Plant.bmp
7171
DebrisPieceCount = 51
7272
DebrisMaterial = Material
73-
CopyOf = Grass
73+
CopyOf = Vegetation
7474
TargetMaterial = Material
7575
CopyOf = Grass
7676
OnlyOnSurface = 1
@@ -86,7 +86,7 @@ AddTerrainDebris = TerrainDebris
8686
FilePath = Base.rte/Scenes/Objects/Plants/Cactus.bmp
8787
DebrisPieceCount = 14
8888
DebrisMaterial = Material
89-
CopyOf = Grass
89+
CopyOf = Vegetation
9090
TargetMaterial = Material
9191
CopyOf = Sand
9292
OnlyOnSurface = 1
@@ -102,7 +102,7 @@ AddTerrainDebris = TerrainDebris
102102
FilePath = Base.rte/Scenes/Objects/Plants/CactusSmall.bmp
103103
DebrisPieceCount = 16
104104
DebrisMaterial = Material
105-
CopyOf = Grass
105+
CopyOf = Vegetation
106106
TargetMaterial = Material
107107
CopyOf = Sand
108108
OnlyOnSurface = 1
@@ -119,7 +119,7 @@ AddTerrainDebris = TerrainDebris
119119
FilePath = Base.rte/Scenes/Objects/Plants/MushroomRed.bmp
120120
DebrisPieceCount = 6
121121
DebrisMaterial = Material
122-
CopyOf = Grass
122+
CopyOf = Vegetation
123123
TargetMaterial = Material
124124
CopyOf = Topsoil
125125
OnlyOnSurface = 1
@@ -135,7 +135,7 @@ AddTerrainDebris = TerrainDebris
135135
FilePath = Base.rte/Scenes/Objects/Plants/MushroomRedSmall.bmp
136136
DebrisPieceCount = 8
137137
DebrisMaterial = Material
138-
CopyOf = Grass
138+
CopyOf = Vegetation
139139
TargetMaterial = Material
140140
CopyOf = Topsoil
141141
OnlyOnSurface = 1
@@ -151,7 +151,7 @@ AddTerrainDebris = TerrainDebris
151151
FilePath = Base.rte/Scenes/Objects/Plants/MushroomYellow.bmp
152152
DebrisPieceCount = 6
153153
DebrisMaterial = Material
154-
CopyOf = Grass
154+
CopyOf = Vegetation
155155
TargetMaterial = Material
156156
CopyOf = Topsoil
157157
OnlyOnSurface = 1
@@ -167,7 +167,7 @@ AddTerrainDebris = TerrainDebris
167167
FilePath = Base.rte/Scenes/Objects/Plants/MushroomYellowSmall.bmp
168168
DebrisPieceCount = 8
169169
DebrisMaterial = Material
170-
CopyOf = Grass
170+
CopyOf = Vegetation
171171
TargetMaterial = Material
172172
CopyOf = Topsoil
173173
OnlyOnSurface = 1

0 commit comments

Comments
 (0)