Advertisement
Pyromancer3D

Chisel.xml

Jan 13th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 10.49 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--************************ CustomOreGen Minecraft Ores Module *********************************
  3. *
  4. * This file contains Presets, Options, and Distributions for the
  5. * limestone and marble from the Chisel mod.
  6. *
  7. ***********************************************************************************************-->
  8. <IfModInstalled name="chisel">
  9.  
  10.   <!--*************************** Options + Symbols ***********************************
  11.      *
  12.      * Below are options and symbols for each ore, similar to those for the standard ores.
  13.      *
  14.      *************************************************************************************-->
  15.   <ConfigSection>
  16.    
  17.     <OptionDisplayGroup name='groupChisel' displayName='Chisel' displayState='shown'>
  18.       <Description>
  19.     Distribution options for the Chisel stones, Marble and Limestone.
  20.       </Description>
  21.     </OptionDisplayGroup>
  22.    
  23.     <!--******************* Limestone ***********************-->
  24.     <ConfigSection>
  25.      
  26.       <OptionChoice name='ChiselLimestone' default='disabled' displayState='shown' displayGroup='groupChisel'>
  27.     <Description> Controls how Limestone is generated </Description>
  28.     <DisplayName>Chisel Limestone Type</DisplayName>
  29.     <Choice value='layers' displayValue='Layers'>
  30.       <Description>
  31.         Limestone in relatively large layers. Most prevalent in Swamps.
  32.       </Description>
  33.     </Choice>
  34.     <Choice value='vanillaStdGen' displayValue='Clusters'>
  35.       <Description>
  36.         Small evenly scattered clusters of limestone. This is an approximation to the Chisel mod limestone generation.
  37.       </Description>
  38.     </Choice>
  39.     <Choice value='none' displayValue='None' description='No limestone is generated at all.'/>
  40.     <Choice value='disabled' displayValue='Disabled' description='No limestone is generated, and no Mystcraft symbols are available.'/>
  41.       </OptionChoice>
  42.      
  43.       <OptionNumeric name='ChiselLimestoneFreq' default='1' min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupChisel'>
  44.     <Description>Frequency multiplier for limestone distributions </Description>
  45.     <DisplayName>Chisel Limestone Freq.</DisplayName>
  46.       </OptionNumeric>
  47.      
  48.       <OptionNumeric name='ChiselLimestoneSize' default='1' min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupChisel'>
  49.     <Description>Size multiplier for limestone distributions </Description>
  50.     <DisplayName>Chisel Limestone Size</DisplayName>
  51.       </OptionNumeric>
  52.      
  53.       <IfCondition condition=':= ChiselLimestone != "disabled"'>
  54.     <MystcraftSymbol name='chiselLimestoneStd' displayName='Chisel Limestone Clusters'/>
  55.     <MystcraftSymbol name='chiselLimestoneLayers' displayName='Chisel Limestone Layers'>
  56.       <Instability>:= 50 * (age.chiselLimestoneStd + age.chiselLimestoneLayers - 1)^3</Instability>
  57.     </MystcraftSymbol>
  58.       </IfCondition>
  59.      
  60.     </ConfigSection>
  61.    
  62.     <!--******************* Marble ***********************-->
  63.     <ConfigSection>
  64.      
  65.       <OptionChoice name='ChiselMarble' default='disabled' displayState='shown' displayGroup='groupChisel'>
  66.     <Description> Controls how Marble is generated </Description>
  67.     <DisplayName>Chisel Marble Type</DisplayName>
  68.     <Choice value='layers' displayValue='Layers'>
  69.       <Description>
  70.         Marble in relatively large layers. Most prevalent in Mountains.
  71.       </Description>
  72.     </Choice>
  73.     <Choice value='vanillaStdGen' displayValue='Clusters'>
  74.       <Description>
  75.         Small evenly scattered clusters of marble. This is an approximation to the Chisel mod marble generation.
  76.       </Description>
  77.     </Choice>
  78.     <Choice value='none' displayValue='None' description='No marble is generated at all.'/>
  79.     <Choice value='disabled' displayValue='Disabled' description='No marble is generated, and no Mystcraft symbols are available.'/>
  80.       </OptionChoice>
  81.      
  82.       <OptionNumeric name='ChiselMarbleFreq' default='1' min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupChisel'>
  83.     <Description>Frequency multiplier for marble distributions</Description>
  84.     <DisplayName>Chisel Marble Freq.</DisplayName>
  85.       </OptionNumeric>
  86.      
  87.       <OptionNumeric name='ChiselMarbleSize' default='1' min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupChisel'>
  88.     <Description>Size multiplier for marble distributions</Description>
  89.     <DisplayName>Chisel Marble Size</DisplayName>
  90.       </OptionNumeric>
  91.      
  92.       <IfCondition condition=':= ChiselMarble != "disabled"'>
  93.     <MystcraftSymbol name='chiselMarbleStd' displayName='Chisel Marble Clusters'/>
  94.     <MystcraftSymbol name='chiselMarbleLayers' displayName='Chisel Marble Layers'>
  95.       <Instability>:= 50 * (age.chiselMarbleStd + age.chiselMarbleLayers - 1)^3</Instability>
  96.     </MystcraftSymbol>
  97.       </IfCondition>
  98.      
  99.     </ConfigSection>    
  100.  
  101.   </ConfigSection>
  102.    
  103.   <!--***************************** Distributions *************************************
  104.      *
  105.      *   Below are the actual distributions for the overworld and mystcraft ages.
  106.      *
  107.      *************************************************************************************-->
  108.   <IfCondition condition=':= ?COGActive'>
  109.    
  110.     <!--********** Vanilla Deposit Removal *************-->
  111.     <Substitute name='ChiselOreSubstitute' block='minecraft:stone'>
  112.       <Description>
  113.     Replace mod-generated clusters with stone.
  114.       </Description>
  115.       <Comment>
  116.     The global option deferredPopulationRange must be large enough to catch all ore clusters (>= 32).
  117.       </Comment>
  118.       <Replaces block='chisel:limestone:0'/>
  119.       <Replaces block='chisel:marble:0'/>
  120.       <Comment>
  121.     TODO: find right block names for Chisel stones.
  122.       </Comment>
  123.     </Substitute>
  124.    
  125.         <CloudPreset name='PresetChiselLayer'>
  126.             <Description>
  127.                 Fairly common layers, borrowed from PFAA.
  128.             </Description>
  129.             <Setting name='ParentRangeLimit' avg='32' range='32' type='normal'/>
  130.             <Setting name='DistributionFrequency' avg='0.02'/>
  131.             <Setting name='CloudRadius' avg='16' range='0' type='normal'/>
  132.             <Setting name='CloudThickness' avg='3' range='3' type='normal'/>
  133.             <Setting name='CloudHeight'  range='5'
  134.                     type='uniform' scaleTo='sealevel'/>
  135.             <Setting name='CloudInclination' avg='0' range='0.35'/>
  136.             <Setting name='CloudSizeNoise' avg='0.2'/>
  137.             <Setting name='OreRadiusMult' avg='1' range='0.1'/>
  138.             <Setting name='OreDensity' avg='1.0'/>
  139.             <Setting name='OreVolumeNoiseCutoff' avg='0.1'/>
  140.             <ReplacesOre block='minecraft:stone'/>
  141.             <Biome name='.*'/>
  142.         </CloudPreset>
  143.  
  144.     <!--******************* Limestone ***********************-->
  145.     <ConfigSection>
  146.      
  147.       <IfCondition condition=':= if(age, age.chiselLimestoneStd > 0, ChiselLimestone = "vanillaStdGen")'>
  148.     <StandardGen name='ChiselLimestoneClusters' block='chisel:limestone:0' inherits='PresetStandardGen'>
  149.       <Description>
  150.             Equivalent to mod standard limestone distribution
  151.           </Description>
  152.       <DrawWireframe>:=drawWireframes</DrawWireframe>
  153.         <WireframeColor>0x40606060</WireframeColor>
  154.       <Setting name='Size'
  155.                   avg=':= ChiselLimestoneSize * _default_ * 2'/>
  156.       <Setting name='Frequency'
  157.                   avg=':= ChiselLimestoneFreq * if(age,age.chiselLimestoneStd,1) * _default_'/>
  158.       <Setting name='Height'
  159.                   avg=':= 54/64 * dimension.groundLevel'
  160.                   range=':= 10/64 * dimension.groundLevel'
  161.                   type='uniform'/>
  162.     </StandardGen>
  163.       </IfCondition>
  164.      
  165.       <IfCondition condition=':= if(age, age.chiselLimestoneLayers > 0, ChiselLimestone = "layers")'>
  166.     <Cloud name='ChiselLimestoneLayers' block='chisel:limestone:0' inherits='PresetChiselLayer'>
  167.       <Description>
  168.         Limestone layers spawn in the height 44-64 range.
  169.       </Description>
  170.       <DrawWireframe>:=false</DrawWireframe>
  171.         <WireframeColor>0x40606060</WireframeColor>
  172.       <Setting name='CloudRadius'
  173.                   avg=':= ChiselLimestoneSize * _default_'/>
  174.       <Setting name='DistributionFrequency'
  175.                   avg=':= ChiselLimestoneFreq * if(age,age.chiselLimestoneLayers,1) * _default_'/>
  176.           <Setting name='CloudHeight' avg='54' range='10'/>
  177.     </Cloud>
  178.     <Cloud name='ChiselLimestoneLayerSwamp' inherits='ChiselLimestoneLayers'>
  179.       <Description> This makes Limestone very common in swamp biomes.</Description>
  180.       <Setting name='DistributionFrequency'
  181.                   avg=':= 9 * ChiselLimestoneFreq * if(age,age.chiselLimestoneLayers,1) * _default_'/>
  182.       <BiomeType name='Swamp'/>
  183.     </Cloud>
  184.       </IfCondition>
  185.            
  186.     </ConfigSection>
  187.  
  188.     <!--******************* Marble ***********************-->
  189.     <ConfigSection>
  190.      
  191.       <IfCondition condition=':= if(age, age.chiselMarbleStd > 0, ChiselMarble = "vanillaStdGen")'>
  192.     <StandardGen name='ChiselMarbleClusters' block='chisel:marble:0' inherits='PresetStandardGen'>
  193.       <Description>Roughly equivalent to standard marble distribution</Description>
  194.       <DrawWireframe>:=drawWireframes</DrawWireframe>
  195.         <WireframeColor>0x40FFFFFF</WireframeColor>
  196.       <Setting name='Size' avg=':= ChiselMarbleSize * _default_ * 2'/>
  197.       <Setting name='Frequency' avg=':= ChiselMarbleFreq * if(age,age.chiselMarbleStd,1) * _default_'/>
  198.       <Setting name='Height'
  199.                   avg=':= 35/64 * dimension.groundLevel'
  200.                   range=':= 20/64 * dimension.groundLevel'
  201.                   type='uniform'/>
  202.     </StandardGen>
  203.       </IfCondition>
  204.      
  205.       <IfCondition condition=':= if(age, age.chiselMarbleLayers > 0, ChiselMarble = "layers")'>
  206.  
  207.     <Cloud name='ChiselMarbleLayers' block='chisel:marble:0' inherits='PresetChiselLayer'>
  208.       <Description>
  209.         Marble spawns in the height 50-100 range. The layers occur mostly in mountains.
  210.       </Description>
  211.       <DrawWireframe>:=false</DrawWireframe>
  212.         <WireframeColor>0x40FFFFFF</WireframeColor>
  213.           <Setting name='CloudRadius'
  214.                   avg=':= ChiselMarbleSize * _default_'/>
  215.       <Setting name='DistributionFrequency'
  216.                   avg=':= 3 * ChiselMarbleFreq * if(age,age.chiselMarbleLayers,1) * _default_'/>
  217.           <Setting name='CloudHeight' avg='75' range='25'/>
  218.     </Cloud>
  219.     <Cloud name='ChiselMarbleLayerMountain' inherits='ChiselMarbleLayers'>
  220.       <Description>
  221.             This roughly triples the chance of finding marble in
  222.             mountain biomes.
  223.           </Description>
  224.       <Setting name='DistributionFrequency'
  225.                   avg=':= 25 * ChiselMarbleFreq * if(age,age.chiselMarbleLayers,1) * _default_'/>
  226.       <BiomeType name='Mountain'/>
  227.     </Cloud>
  228.       </IfCondition>
  229.      
  230.      
  231.     </ConfigSection>
  232.    
  233.   </IfCondition>
  234.  
  235. </IfModInstalled>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement