-
Notifications
You must be signed in to change notification settings - Fork 0
/
UndergroundHazards.xml
315 lines (289 loc) · 18.1 KB
/
UndergroundHazards.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
<!--************************ CustomOreGen Underground Hazards Module ****************
:set ai et ts=4 sw=4
*
* This file contains Presets, Options, and Distributions for several
* underground hazards:
* Volatile Gas, Fractured Unstable Stone, and Unstable Cobblestone
*
* This file does not regenerate. If you wish to revert to the default,
* delete or rename this file.
*
******************************************************************************-->
<IfModInstalled name='HarderUnderground'>
<ConfigSection>
<!--*************************** Options + Symbols ***********************
*
* Below are options and symbols for gas veins, fault lines, and cobble pockets.
* Each ore has a "type" option corresponding to select which distribution
* is used for that ore in the overworld.
*
* Each ore also has its own overall "frequency" and "size" multipliers.
* These are provided so people can tweak the rarity of each ore
* from the options file rather than having to edit the config directly.
*
**************************************************************************-->
<ConfigSection>
<OptionDisplayGroup name='groupHazards' displayName='Hazards' displayState='shown'>
<Description>
Distribution options for various underground hazards
</Description>
</OptionDisplayGroup>
<!--******************* Volatile Gas ***********************-->
<ConfigSection>
<OptionChoice name='hazardGasDist' default='layeredVeins' displayState=':= if(blockExists("HarderUnderground:volatile_gas"),"shown","hidden")' displayGroup='groupHazards'>
<Description>Controls how Volatile Gas is generated </Description>
<DisplayName>Gas Type</DisplayName>
<Choice value='layeredVeins' displayValue='Veins'>
<Description>
Single short, wide veins found filled with volatile gas.
</Description>
</Choice>
<!--<Choice value='strategicClouds' displayValue='Clouds'>
<Description>
Rare, sparsely populated clouds of volatile gas extending over several chunks.
</Description>
</Choice>-->
<Choice value='vanillaStdGen' displayValue='Clusters'>
<Description>
Small evenly scattered clusters of volatile gas. This is similar to vanilla ore generation.
</Description>
</Choice>
<Choice value='none' displayValue='None' description='No gas is generated at all.'/>
</OptionChoice>
<OptionNumeric name='hazardGasFreq' default='1' min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupHazards'>
<Description>Frequency multiplier for gas distributions</Description>
<DisplayName>Gas Freq.</DisplayName>
</OptionNumeric>
<OptionNumeric name='hazardGasSize' default='1' min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupHazards'>
<Description>Size multiplier for gas distributions </Description>
<DisplayName>Gas Size</DisplayName>
</OptionNumeric>
</ConfigSection>
<ConfigSection>
<OptionChoice name='hazardFracDist' default='layeredVeins' displayState=':= if(blockExists("HarderUnderground:unstable_stone"),"shown","hidden")' displayGroup='groupHazards'>
<Description>Controls how Fault Lines are generated </Description>
<DisplayName>Fault Lines</DisplayName>
<Choice value='layeredVeins' displayValue='Veins'>
<Description>
Broad, flat zones of stone fractures.
</Description>
</Choice>
<Choice value='strategicClouds' displayValue='Clouds'>
<Description>
Rare, sparsely populated clouds of volatile gas extending over several chunks.
</Description>
</Choice>
<Choice value='none' displayValue='None' description='No fault lines are generated at all.'/>
</OptionChoice>
<OptionNumeric name='hazardFracSize' default='1' min='0' max='2' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupHazards'>
<Description>Size multiplier for fault line distributions </Description>
<DisplayName>Fractures Size</DisplayName>
</OptionNumeric>
</ConfigSection>
<ConfigSection>
<OptionChoice name='hazardCobbleDist' displayState='shown' displayGroup='groupHazards'>
<Description>Controls how unstable cobble is generated.</Description>
<DisplayName>Cobble Type</DisplayName>
<Default>strategicClouds</Default>
<Choice value='strategicClouds' displayValue='Clouds'>
<Description>
Rare, dense cluusters of cobble found spread between bedrock and sealevel.
</Description>
</Choice>
<Choice value='vanillaStdGen' displayValue='Clusters'>
<Description>
Small clusters of ore scattered about similar to vanilla ore gen.
</Description>
</Choice>
<Choice value='none' displayValue='None' description='No Cobble is generated at all.'/>
<Choice value='disabled' displayValue='Disabled' description='No Cobble is generated, and no Cobble symbols are available in Mystcraft ages.'/>
</OptionChoice>
<OptionNumeric name='hazardCobbleFreq' default='1' min='0' max='5' displayState=':= if(?advOptions & hazardCobbleDist != "disabled","shown","hidden")' displayGroup='groupHazards'>
<Description> Frequency multiplier for IndustrialCraft^2 Cobble distributions </Description>
<DisplayName>IC2 Cobble Freq.</DisplayName>
</OptionNumeric>
<OptionNumeric name='hazardCobbleSize' default='1' min='0' max='5' displayState=':= if(?advOptions & hazardCobbleDist != "disabled","shown","hidden")' displayGroup='groupHazards'>
<Description> Size multiplier for IndustrialCraft^2 Cobble distributions </Description>
<DisplayName>IC2 Cobble Size</DisplayName>
</OptionNumeric>
<IfCondition condition=':= hazardCobbleDist != "disabled"'>
<MystcraftSymbol name='hazardCobbleClusters' displayName='Cobble Clusters'/>
<MystcraftSymbol name='hazardCobbleVeins' displayName='Cobble Veins'/>
<MystcraftSymbol name='hazardCobbleClouds' displayName='Cobble Clouds'>
<Instability>:= 50 * (age.ic2CobbleClusters + age.ic2CobbleVeins + age.ic2CobbleClouds - 1)^3</Instability>
</MystcraftSymbol>
</IfCondition>
</ConfigSection>
</ConfigSection>
<!--***************************** Distributions *************************
*
* Below are the actual distributions for the vanilla ores in the
* overworld and mystcraft ages. There are currently 3 types of
* distribution for each ore:
* Layered Veins:
* Some form of veins or clusters arranged loosely by height and
* more common in affiliated biomes.
* Strategic Clouds:
* Huge, rare, low-density clouds. Size and frequency are
* fairly consistent; density is varied to reflect ore rarity.
* May be surrounded by a scattering of single blocks as
* hints to help guide players in.
* Vanilla Clusters:
* A re-creation of the vanilla ore generation using the
* StandardGen algorithm.
*
**************************************************************************-->
<IfCondition condition=':= ?COGActive'>
<!--******************* Volatile Gas ***********************-->
<ConfigSection>
<IfCondition condition=':= hazardGasDist = "vanillaStdGen"'>
<StandardGen name='GasStandard' block='HarderUnderground:volatile_gas:8' inherits='PresetStandardGen'>
<Description>Equivalent to vanilla minecraft ore distribution</Description>
<DrawWireframe>:=drawWireframes</DrawWireframe>
<WireframeColor>0x40b2b2b2</WireframeColor>
<Setting name='Size' avg=':= 2 * hazardGasSize * _default_'/>
<Setting name='Frequency' avg=':= hazardGasFreq * _default_'/>
</StandardGen>
</IfCondition>
<IfCondition condition=':= hazardGasDist = "layeredVeins"'>
<Veins name='GasVeins' block='HarderUnderground:volatile_gas:8' inherits='PresetSparseVeins'>
<Description>
Gas spawns just near the surface, and up into hills and mountains. The veins are
long and thick, but sparsely filled with ore and often broken up by caves or depressions
in the terrain.
</Description>
<DrawWireframe>:=drawWireframes</DrawWireframe>
<WireframeColor>0x40b2b2b2</WireframeColor>
<Setting name='MotherlodeFrequency'
avg=':= 10.7 * hazardGasFreq * _default_'/>
<Setting name='MotherlodeSize' avg=':= 0.65 * hazardGasSize * _default_' range=':= hazardGasSize * _default_'/>
<Setting name='MotherlodeHeight' avg='40'
range='10' scaleTo='sealevel'/>
<Setting name='BranchLength' avg=':= 0.45 * _default_' range=':= 0.45 * _default_'/>
<Setting name='BranchInclination' avg='0' range='0.35'/>
<Setting name='BranchHeightLimit' avg='10'/>
<Setting name='SegmentRadius' avg=':= 0.65 * hazardGasSize * _default_' range=':= hazardGasSize * _default_'/>
<Setting name='OreDensity' avg='1' range='0'/>
</Veins>
<Veins name='GasVeinsSwamp' inherits='GasVeins'>
<Description>This roughly triples the chance of finding gas in a swamp. </Description>
<Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
<Setting name='MotherlodeHeight' avg=':= _default_' range=':= 2 * _default_'/>
<Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>
<Setting name='OreDensity' avg='1' range='0'/>
<BiomeType name='Swamp'/>
</Veins>
</IfCondition>
<!--<IfCondition condition=':= hazardGasDist = "strategicClouds"'>
<Cloud name='GasCloud' block='HarderUnderground:volatile_gas:8' inherits='PresetStrategicCloud'>
<Description>
Diffuse gas cloud surrounded by single-block "hint" veins, found in swamps.
</Description>
<DrawWireframe>:=drawWireframes</DrawWireframe>
<WireframeColor>0x40b2b2b2</WireframeColor>
<Setting name='DistributionFrequency' avg=':= 5 * hazardGasFreq *_default_'/>
<Setting name='CloudRadius' avg=':= 1.2 * hazardGasSize * _default_' range=':= 1.2 * hazardGasSize * _default_'/>
<Setting name='CloudThickness' avg=':= hazardGasSize * _default_' range=':= hazardGasSize * _default_'/>
<Setting name='OreDensity' avg=':= 0.75 * _default_'/>
<BiomeType name='Swamp'/>
<Veins name='GasHintVeins' block='HarderUnderground:volatile_gas:8' inherits='PresetHintVeins'>
<DrawWireframe>:=drawWireframes</DrawWireframe>
<WireframeColor>0x60101010</WireframeColor>
<Setting name='MotherlodeFrequency' avg=':= 1.2 * _default_' range=':= _default_'/>
<Setting name='MotherlodeRangeLimit' avg=':= hazardGasSize * _default_' range=':= hazardGasSize * _default_'/>
</Veins>
</Cloud>
</IfCondition>-->
</ConfigSection>
<!--******************* Fault Lines ***********************-->
<ConfigSection>
<IfCondition condition=':= hazardFracDist = "layeredVeins"'>
<Cloud name='FaultLineCloud' block='HarderUnderground:unstable_stone:5' inherits='PresetStrategicCloud'>
<Description>
Broad flat areas of fractured stone.
</Description>
<DrawWireframe>:=drawWireframes</DrawWireframe>
<WireframeColor>0x80BFBFBF</WireframeColor>
<Setting name='CloudHeight' avg='24' range='8' />
<Setting name='CloudSizeNoise' avg='0.3' range='0.1' />
<Setting name='DistributionFrequency' avg='0.03'/>
<Setting name='CloudRadius' avg=':= 1.3 * hazardFracSize * _default_' range=':= 0.6 * hazardFracSize * _default_'/>
<Setting name='CloudThickness' avg='1.0' range='0.15'/>
<Setting name='OreDensity' avg='0.85'/>
</Cloud>
<Cloud name='FaultLineCloud2' block='HarderUnderground:unstable_stone:5' inherits='PresetStrategicCloud'>
<Description>
Broad flat areas of fractured stone.
</Description>
<DrawWireframe>:=drawWireframes</DrawWireframe>
<WireframeColor>0x80404040</WireframeColor>
<Setting name='CloudHeight' avg='48' range='8' />
<Setting name='CloudSizeNoise' avg='0.3' range='0.1' />
<Setting name='DistributionFrequency' avg='0.03'/>
<Setting name='CloudRadius' avg=':= 1.3 * hazardFracSize * _default_' range=':= 0.6 * hazardFracSize * _default_'/>
<Setting name='CloudThickness' avg='1.0' range='0.15'/>
<Setting name='OreDensity' avg='0.85'/>
</Cloud>
</IfCondition>
</ConfigSection>
<!--******************* Cobble Pockets ***********************-->
<ConfigSection>
<IfCondition condition=':= hazardGasDist = "vanillaStdGen"'>
<StandardGen name='GasStandard' block='HarderUnderground:unstable_stone:7' inherits='PresetStandardGen'>
<Description>Equivalent to vanilla minecraft ore distribution</Description>
<DrawWireframe>:=drawWireframes</DrawWireframe>
<WireframeColor>0x20202020</WireframeColor>
<Setting name='Size' avg=':= hazardCobbleSize * _default_'/>
<Setting name='Frequency' avg=':= hazardCobbleFreq * _default_'/>
</StandardGen>
</IfCondition>
<IfCondition condition=':= hazardCobbleDist = "strategicClouds"'>
<Cloud name='hazardCobblePocket16' block='HarderUnderground:unstable_stone:7' inherits='PresetStrategicCloud'>
<DrawWireframe>:=drawWireframes</DrawWireframe>
<WireframeColor>0x20202020</WireframeColor>
<Setting name='CloudHeight' avg=':= 16/64 * dimension.groundLevel' range='4' />
<Setting name='ParentRangeLimit' avg='48' range='6' />
<Setting name='CloudSizeNoise' avg='0.3' range='0.025' />
<Setting name='DistributionFrequency' avg='0.075' range='0'/>
<Setting name='CloudRadius' avg=':= 5 * hazardCobbleSize' range='2'/>
<Setting name='CloudThickness' avg=':= 3.5 * hazardCobbleSize' range='2'/>
<Setting name='OreDensity' avg='1'/>
</Cloud>
<Cloud name='hazardCobblePocket32' block='HarderUnderground:unstable_stone:7' inherits='PresetStrategicCloud'>
<DrawWireframe>:=drawWireframes</DrawWireframe>
<WireframeColor>0x20202020</WireframeColor>
<Setting name='CloudHeight' avg=':= 32/64 * dimension.groundLevel' range='4' />
<Setting name='ParentRangeLimit' avg='48' range='6' />
<Setting name='CloudSizeNoise' avg='0.3' range='0.025' />
<Setting name='DistributionFrequency' avg='0.075' range='0'/>
<Setting name='CloudRadius' avg=':= 5 * hazardCobbleSize' range='2'/>
<Setting name='CloudThickness' avg=':= 3.5 * hazardCobbleSize' range='2'/>
<Setting name='OreDensity' avg='1'/>
</Cloud>
<Cloud name='hazardCobblePocket48' block='HarderUnderground:unstable_stone:7' inherits='PresetStrategicCloud'>
<DrawWireframe>:=drawWireframes</DrawWireframe>
<WireframeColor>0x20202020</WireframeColor>
<Setting name='CloudHeight' avg=':= 48/64 * dimension.groundLevel' range='4' />
<Setting name='ParentRangeLimit' avg='48' range='6' />
<Setting name='CloudSizeNoise' avg='0.3' range='0.025' />
<Setting name='DistributionFrequency' avg='0.075' range='0'/>
<Setting name='CloudRadius' avg=':= 5 * hazardCobbleSize' range='2'/>
<Setting name='CloudThickness' avg=':= 3.5 * hazardCobbleSize' range='2'/>
<Setting name='OreDensity' avg='1'/>
</Cloud>
<Cloud name='hazardCobblePocket64' block='HarderUnderground:unstable_stone:7' inherits='PresetStrategicCloud'>
<DrawWireframe>:=drawWireframes</DrawWireframe>
<WireframeColor>0x20202020</WireframeColor>
<Setting name='CloudHeight' avg=':= 64/64 * dimension.groundLevel' range='4' />
<Setting name='ParentRangeLimit' avg='48' range='6' />
<Setting name='CloudSizeNoise' avg='0.3' range='0.025' />
<Setting name='DistributionFrequency' avg='0.075' range='0'/>
<Setting name='CloudRadius' avg=':= 5 * hazardCobbleSize' range='2'/>
<Setting name='CloudThickness' avg=':= 3.5 * hazardCobbleSize' range='2'/>
<Setting name='OreDensity' avg='1'/>
</Cloud>
</IfCondition>
</ConfigSection>
</IfCondition>
</ConfigSection>
</IfModInstalled>