Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2013
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 22.80 KB | None | 0 0
  1. <!--*************************  CustomOreGen Configuration *****************************************
  2. *
  3. *   CustomOreGen allows you to customize the generation of Ore within your worlds.  This file
  4. *   contains a list of "distributions", which place a specific block according to a specific
  5. *   algorithm.  You can have as many distributions as you want, including multiple distributions for
  6. *   the same block type.
  7. *  
  8. *   There are four basic algorithms available, "StandardGen", "Susbstitute", "Veins", and "Cloud".
  9. *
  10. *   This file is written in XML.  All names and values are ***CASE SENSISTIVE***.  
  11. *
  12. *   For details on how to edit this file, please see the online CustomOreGen documentation:
  13. *
  14. *       http://customoregen.shoutwiki.com/wiki/Main_Page
  15. *
  16. ***********************************************************************************************-->
  17. <Config>
  18.            
  19.     <!--************************   Global Config Options   *********************************
  20.    *   Below are options to control the general behavior of all distributions.
  21.    *************************************************************************************-->
  22.     <ConfigSection>
  23.    
  24.         <OptionDisplayGroup name='groupGeneral' displayName='General' displayState='shown'>
  25.             <Description>
  26.                 Options affecting all ore distributions.
  27.             </Description>
  28.         </OptionDisplayGroup>
  29.        
  30.         <OptionNumeric name='oreFreq' default='1' min='0' max='5' displayState='shown' displayGroup='groupGeneral'>
  31.             <Description>
  32.                 A global multiplier for the frequency of all ore distributions.
  33.             </Description>
  34.             <DisplayName>Ore Frequency</DisplayName>
  35.         </OptionNumeric>
  36.        
  37.         <OptionNumeric name='oreSize' default='1' min='0' max='5' displayState='shown' displayGroup='groupGeneral'>
  38.             <Description>
  39.                 A global multiplier for the size of all ore distributions.
  40.             </Description>
  41.             <DisplayName>Ore Deposit Size</DisplayName>
  42.         </OptionNumeric>
  43.        
  44.         <OptionChoice name='debugMode' default='false' displayState='shown_dynamic' displayGroup='groupGeneral'>
  45.             <Description>
  46.                 Enable/disable debugging mode, which allows the use of in-game wireframe models and console commands.  Also controls the visibility of some advanced options.
  47.             </Description>
  48.             <Comment>          
  49.                 This is a "magic" option - it has meaning outside of this file in the COG engine itelf.  You can change the value, obviously, but do not remove the option itself or change the possible values.
  50.             </Comment>
  51.             <DisplayName>Debugging Mode</DisplayName>
  52.             <Choice value='true' displayValue='On'/>
  53.             <Choice value='false' displayValue='Off'/>
  54.         </OptionChoice>
  55.        
  56.         <OptionNumeric name='deferredPopulationRange' default='32' displayGroup='groupGeneral'>
  57.             <Description>
  58.                 How much area around a chunk must be generated before COG will add ores to it.
  59.             </Description>
  60.             <Comment>
  61.                 This is a "magic" option - it has meaning outside of this file in the COG engine itelf.  You can change the value, but do not remove the option itself or change the allowed range.  Changing this value is really not recommended unless you know what you are doing.
  62.             </Comment>
  63.             <DisplayState>:= if(?debugMode,"shown","hidden")</DisplayState>
  64.             <DisplayName>Deferred Chunk Gen. Range</DisplayName>
  65.             <Min>0</Min>
  66.             <Max>128</Max>
  67.             <DisplayIncrement>16</DisplayIncrement>
  68.         </OptionNumeric>
  69.        
  70.         <OptionChoice name='vanillaOreGen' default='true' displayGroup='groupGeneral'>
  71.             <Description>
  72.                 Enable/disable the vanilla ore generators for coal, iron, gold, redstone, lapis lazuli, and diamond.  
  73.             </Description>
  74.             <Comment>    
  75.                 This is a "magic" option - it has meaning outside of this file in the COG engine itelf. You can change the value, but do not remove the option itself.  Recommended values are True/On for new worlds and False/Off for pre-1.4.2 worlds (for compatibility).
  76.             </Comment>
  77.             <Comment>
  78.                 This option completely prevents these ores from being spawned by the vanilla terrain generator. It is more efficient than a Substitute distribution, which lets the generator place an ore and then removes it.  However, for technical reasons this option cannot disable vanilla emerald generation. It also has mixed results with mod generation - mods that recycle the vanilla generator get disabled, while those that use their own do not.  Finally, it is an "all-or-nothing" approach that doesn't distinguish between ore types or world properties.  For these reasons this option defaults to "true", and a Substitute distribution is used below to selectively remove the vanilla ore deposits as needed.
  79.             </Comment>
  80.             <DisplayState>:= if(?debugMode,"shown","hidden")</DisplayState>
  81.             <DisplayName>Vanilla Ore Gen.</DisplayName>
  82.             <Choice value='true' displayValue='On'/>
  83.             <Choice value='false' displayValue='Off'/>
  84.         </OptionChoice>
  85.        
  86.         <OptionChoice name='drawWireframes' default='true' displayGroup='groupGeneral'>
  87.             <Description>
  88.                 Default wireframe state for distributions.  
  89.             </Description>
  90.             <Comment>    
  91.                 Enabling this is only one of the requirements to actually use wireframes - debugging mode must be on and the client must have Forge and COG installed, cheats enabled, and the wireframe rendering mode set up.      
  92.             </Comment>
  93.             <DisplayState>:= if(?debugMode,"shown","hidden")</DisplayState>
  94.             <DisplayName>Distribution Wireframes</DisplayName>
  95.             <Choice value='true' displayValue='On'/>
  96.             <Choice value='false' displayValue='Off'/>
  97.         </OptionChoice>    
  98.        
  99.         <OptionChoice name='debugDist' default='false' displayGroup='groupGeneral'>
  100.             <Description> Enable/disable testing distributions. </Description>
  101.             <DisplayState>:= if(?debugMode,"shown","hidden")</DisplayState>
  102.             <DisplayName>Test Distributions</DisplayName>
  103.             <Choice value='true' displayValue='On'/>
  104.             <Choice value='false' displayValue='Off'/>
  105.         </OptionChoice>  
  106.        
  107.     </ConfigSection>
  108.    
  109.     <!--*******************************   Presets   ****************************************
  110.    *   Below are useful "preset" distributions.  These don't generate any ore by themselves,
  111.    *   but they can be used as a base for other distributions.
  112.    *************************************************************************************-->
  113.     <ConfigSection>
  114.    
  115.         <StandardGenPreset name='PresetStandardGen'>  
  116.             <Description>
  117.                 A master preset for standardgen ore distributions.
  118.             </Description>
  119.             <Setting name='Size' avg=':= 8 * oreSize' range='0'/>
  120.             <Setting name='Frequency' avg=':= 20 * oreFreq' range='0'/>
  121.             <Setting name='Height' avg=':= 64/64 * dimension.groundLevel' range=':= 64/64 * dimension.groundLevel'/>
  122.             <Setting name='ParentRangeLimit' avg='32' range='32' type='normal'/>
  123.             <Replaces block='stone'/>
  124.             <Biome name='.*'/>
  125.         </StandardGenPreset>
  126.        
  127.         <VeinsPreset name='PresetLayeredVeins' branchType='Bezier'>  
  128.             <Description>
  129.                 Small, fairly rare motherlodes with 2-4 horizontal veins each.
  130.             </Description>
  131.             <Setting name='MotherlodeFrequency' avg=':= 0.025 * oreFreq'/>
  132.             <Setting name='MotherlodeSize' avg=':= 2.5 * oreSize' range=':= 1 * oreSize'/>
  133.             <Setting name='MotherlodeHeight' avg=':= 32/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel' type='normal'/>
  134.             <Setting name='MotherlodeRangeLimit' avg='32' range='32' type='normal'/>
  135.             <Setting name='BranchFrequency' avg='3' range='2'/>
  136.             <Setting name='BranchInclination' avg='0' range='0.55'/>
  137.             <Setting name='BranchLength' avg='120' range='60'/>
  138.             <Setting name='BranchHeightLimit' avg='16'/>
  139.             <Setting name='SegmentForkFrequency' avg='0.20'/>  
  140.             <Setting name='SegmentForkLengthMult' avg='0.75' range='0.25' />
  141.             <Setting name='SegmentLength' avg='15' range='6'/>
  142.             <Setting name='SegmentAngle' avg='0.50' range='0.50'/>
  143.             <Setting name='SegmentRadius' avg=':= 0.5 * oreSize' range=':= 0.3 * oreSize'/>
  144.             <Setting name='OreDensity' avg='1' range='0'/>
  145.             <Setting name='OreRadiusMult' avg='1.0' range='0.1'/>
  146.             <Replaces block='stone'/>
  147.             <Biome name='.*'/>
  148.         </VeinsPreset>
  149.        
  150.         <VeinsPreset name='PresetVerticalVeins' branchType='Bezier'>    
  151.             <Description>
  152.                 Single vertical veins that occur with no motherlodes.
  153.             </Description>  
  154.             <Setting name='MotherlodeFrequency' avg=':= 0.080 * oreFreq'/>
  155.             <Setting name='MotherlodeSize' avg='0' range='0'/>
  156.             <Setting name='MotherlodeHeight' avg=':= 76/64 * dimension.groundLevel' range='4'/>
  157.             <Setting name='MotherlodeRangeLimit' avg='32' range='32' type='normal'/>
  158.             <Setting name='BranchFrequency' avg='1' range='0'/>
  159.             <Setting name='BranchInclination' avg='-1.31' range='0.22'/>
  160.             <Setting name='BranchLength' avg=':= 48/64 * dimension.groundLevel' range='16' type='normal'/>
  161.             <Setting name='BranchHeightLimit' avg='1000'/>
  162.             <Setting name='SegmentForkFrequency' avg='0.10'/>  
  163.             <Setting name='SegmentAngle' avg='0' range='0.3'/>
  164.             <Setting name='SegmentLength' avg='8' range='4' type='normal'/>
  165.             <Setting name='SegmentRadius' avg=':= 0.30 * oreSize' range=':= 0.1 * oreSize'/>
  166.             <Setting name='OreDensity' avg='1' range='0'/>
  167.             <Setting name='OreRadiusMult' avg='1.0' range='0.1'/>
  168.             <Replaces block='stone'/>
  169.             <Biome name='.*'/>
  170.         </VeinsPreset>
  171.        
  172.         <VeinsPreset name='PresetSmallDeposits'>
  173.             <Description>
  174.                 Small motherlodes without any branches.
  175.                 Similar to the deposits produced by StandardGen distributions.
  176.             </Description>        
  177.             <Setting name='MotherlodeFrequency' avg=':= 1.0 * oreFreq' range=':= 0.3 * oreFreq'/>
  178.             <Setting name='MotherlodeSize' avg=':= 0.9 * oreSize' range=':= 0.3 * oreSize'/>
  179.             <Setting name='MotherlodeHeight' avg=':= 32/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel' type='normal'/>
  180.             <Setting name='MotherlodeRangeLimit' avg='32' range='32' type='normal'/>
  181.             <Setting name='BranchFrequency' avg='0' range='0'/>
  182.             <Setting name='OreDensity' avg='1' range='0'/>
  183.             <Setting name='OreRadiusMult' avg='1.0' range='0.1'/>
  184.             <Replaces block='stone'/>
  185.             <Biome name='.*'/>
  186.         </VeinsPreset>
  187.        
  188.         <VeinsPreset name='PresetLavaDeposits'>
  189.             <Description>
  190.                 Small motherlodes without any branches.  Instead of spawning in stone,
  191.                 these will only spawn in lava pools near the bottom of the map.
  192.                 Note that these lava pools are produced by the vanilla cave generator - any mod
  193.                 that changes or removes cave generation will indirectly affect these deposits.
  194.             </Description>          
  195.             <Setting name='MotherlodeFrequency' avg=':= 6.0 * oreFreq' range=':= 2.0 * oreFreq'/>
  196.             <Setting name='MotherlodeSize' avg=':= 1.5 * oreSize' range=':= 0.8 * oreSize'/>
  197.             <Setting name='MotherlodeHeight' avg='8' range='8' type='uniform'/>
  198.             <Setting name='MotherlodeRangeLimit' avg='32' range='32' type='normal'/>
  199.             <Setting name='BranchFrequency' avg='0' range='0'/>
  200.             <Setting name='OreDensity' avg='1' range='0'/>
  201.             <Setting name='OreRadiusMult' avg='1.0' range='0.1'/>
  202.             <Replaces block='lava'/>
  203.             <Biome name='.*'/>
  204.         </VeinsPreset>
  205.        
  206.         <VeinsPreset name='PresetHugeVeins' branchType='Bezier'>
  207.             <Description>
  208.                 Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
  209.                 parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
  210.                 branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
  211.                 enough ore to keep a player supplied for a very long time.
  212.                 The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork
  213.                 could make finding them much easier and the motherlodes are big enough to supply several people without
  214.                 shortage.  This might be a good way to add challenge to multiplayer worlds.
  215.                 Credit: based on feedback by dyrewulf from the MC forums.
  216.             </Description>  
  217.             <Setting name='MotherlodeFrequency' avg=':= 0.00025 * oreFreq'/>
  218.             <Setting name='MotherlodeSize' avg=':= 10 * oreSize' range=':= 6 * oreSize' type='normal'/>
  219.             <Setting name='MotherlodeHeight' avg=':= 45/64 * dimension.groundLevel' range=':= 9/64 * dimension.groundLevel' type='normal'/>
  220.             <Setting name='MotherlodeRangeLimit' avg='32' range='32' type='normal'/>
  221.             <Setting name='BranchFrequency' avg='8' range='4'/>
  222.             <Setting name='BranchInclination' avg='0.7' range='0.85'/>
  223.             <Setting name='BranchLength' avg=':= 500 * oreSize' range=':= 400 * oreSize' type='normal'/>
  224.             <Setting name='BranchHeightLimit' avg='1000'/>
  225.             <Setting name='SegmentForkFrequency' avg='0.02'/>
  226.             <Setting name='SegmentForkLengthMult' avg='0.5' range='0.25'/>
  227.             <Setting name='SegmentLength' avg=':= 30 * oreSize' range=':= 6 * oreSize' />
  228.             <Setting name='SegmentAngle' avg='0.30' range='0.30'/>
  229.             <Setting name='SegmentRadius' avg=':= 0.025 * oreSize' range=':= 0.2 * oreSize'/>
  230.             <Setting name='OreDensity' avg='1' range='0'/>
  231.             <Setting name='OreRadiusMult' avg='1' range='0.25'/>
  232.             <Replaces block='stone'/>
  233.             <Replaces block='grass'/>
  234.             <Replaces block='dirt'/>
  235.             <Replaces block='sand'/>
  236.             <Replaces block='gravel'/>
  237.             <Replaces block='sandstone'/>
  238.             <Biome name='.*'/>
  239.         </VeinsPreset>
  240.        
  241.         <VeinsPreset name='PresetHintVeins'>
  242.             <Description>
  243.                 Single blocks, generously scattered through all heights (density is about that of vanilla iron ore).
  244.                 They will replace dirt and sandstone (but not grass or sand), so they can be found nearer
  245.                 to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic
  246.                 deposits that would otherwise be very difficult to find.
  247.                 Note that the frequency is multiplied by ground level to maintain a constant density, but not by
  248.                 ore frequency because it is assumed that the frequency of the parent distribution will already
  249.                 be scaled by that.
  250.             </Description>  
  251.             <Setting name='MotherlodeFrequency' avg=':= 80 * dimension.groundLevel/64' range=':= 30 * dimension.groundLevel/64'/>
  252.             <Setting name='MotherlodeSize' avg='0.6' range='0'/>
  253.             <Setting name='MotherlodeHeight' avg=':= 50/64 * dimension.groundLevel' range=':= 46/64 * dimension.groundLevel'/>
  254.             <Setting name='MotherlodeRangeLimit' avg=':= 45 * oreSize' range=':= 30 * oreSize' type='uniform'/>
  255.             <Setting name='BranchFrequency' avg='0' range='0'/>
  256.             <Setting name='OreDensity' avg='1' range='0'/>
  257.             <Setting name='OreRadiusMult' avg='1.0' range='0'/>
  258.             <Replaces block='stone'/>
  259.             <Replaces block='dirt'/>
  260.             <Replaces block='gravel'/>
  261.             <Replaces block='sandstone'/>
  262.             <Biome name='.*'/>
  263.         </VeinsPreset>
  264.        
  265.         <VeinsPreset name='PresetSparseVeins' branchType='Bezier'>    
  266.             <Description>
  267.                 Large veins filled very lightly with ore.  Because they contain less ore per volume,
  268.                 these veins are relatively wide and long.  Mining the ore from them is time consuming
  269.                 compared to solid ore veins.  They are also more difficult to follow, since it is
  270.                 harder to get an idea of their direction while mining.
  271.             </Description>
  272.             <Setting name='MotherlodeFrequency' avg=':= 0.0065 * oreFreq'/>            
  273.             <Setting name='MotherlodeSize' avg=':= 2.3 * oreSize' range=':= 0.5 * oreSize'/>
  274.             <Setting name='MotherlodeHeight' avg=':= 32/64 * dimension.groundLevel' range=':= 32/64 * dimension.groundLevel' type='uniform'/>
  275.             <Setting name='MotherlodeRangeLimit' avg='32' range='32' type='normal'/>
  276.             <Setting name='BranchFrequency' avg='1' range='0'/>
  277.             <Setting name='BranchInclination' avg='0' range='0.75'/>
  278.             <Setting name='BranchLength' avg='180' range='90'/>
  279.             <Setting name='BranchHeightLimit' avg='1000'/>
  280.             <Setting name='SegmentForkFrequency' avg='0' range='0'/>
  281.             <Setting name='SegmentForkLengthMult' avg='0' range='0'/>
  282.             <Setting name='SegmentLength' avg='20' range='8'/>
  283.             <Setting name='SegmentAngle' avg='0.35' range='0.35'/>
  284.             <Setting name='SegmentRadius' avg=':= 2.0 * oreSize' range=':= 1.0 * oreSize'/>
  285.             <Setting name='OreDensity' avg='0.04' range='0'/>
  286.             <Setting name='OreRadiusMult' avg='1.0' range='0.1'/>
  287.             <Replaces block='stone'/>
  288.             <Biome name='.*'/>
  289.         </VeinsPreset>
  290.  
  291.         <VeinsPreset name='PresetPipeVeins' branchType='Bezier'>    
  292.             <Description>
  293.                 Short sparsely filled veins sloping up from near the bottom of the map.
  294.             </Description>
  295.             <Setting name='MotherlodeFrequency' avg=':= 0.06 * oreFreq'/>            
  296.             <Setting name='MotherlodeSize' avg=':= 2.3 * oreSize' range=':= 0.5 * oreSize'/>
  297.             <Setting name='MotherlodeHeight' avg=':= 8/64 * dimension.groundLevel' range=':= 8/64 * dimension.groundLevel' type='uniform'/>
  298.             <Setting name='MotherlodeRangeLimit' avg='32' range='32' type='normal'/>
  299.             <Setting name='BranchFrequency' avg='1' range='0'/>
  300.             <Setting name='BranchInclination' avg='0.75' range='0.7' type='normal'/>
  301.             <Setting name='BranchLength' avg='40' range='10'/>
  302.             <Setting name='BranchHeightLimit' avg='1000'/>
  303.             <Setting name='SegmentForkFrequency' avg='0' range='0'/>
  304.             <Setting name='SegmentForkLengthMult' avg='0' range='0'/>
  305.             <Setting name='SegmentLength' avg='8' range='3'/>
  306.             <Setting name='SegmentAngle' avg='0' range='0.25'/>
  307.             <Setting name='SegmentRadius' avg=':= 2.0 * oreSize' range=':= 0.5 * oreSize'/>
  308.             <Setting name='OreDensity' avg='0.04' range='0'/>
  309.             <Setting name='OreRadiusMult' avg='1.0' range='0.1'/>
  310.             <Replaces block='stone'/>
  311.             <Biome name='.*'/>
  312.         </VeinsPreset>        
  313.  
  314.         <CloudPreset name='PresetStrategicCloud'>
  315.             <Description>
  316.                 Large irregular clouds filled lightly with ore.  These are huge, spanning several
  317.                 adjacent chunks, and consequently rather rare.  They contain a sizeable amount of
  318.                 ore, but it takes some time and effort to mine due to low density.
  319.                 The intent for strategic clouds is that the player will need to actively search for
  320.                 one and then set up a semi-permanent mining base and spend some time actually mining
  321.                 the ore.
  322.             </Description>
  323.             <Setting name='DistributionFrequency' avg=':= 0.001 * oreFreq'/>
  324.             <Setting name='ParentRangeLimit' avg='32' range='32' type='normal'/>
  325.             <Setting name='CloudRadius' avg=':= 25 * oreSize' range=':= 10 * oreSize'/>
  326.             <Setting name='CloudThickness' avg=':= 14 * oreSize' range=':= 6 * oreSize'/>
  327.             <Setting name='CloudSizeNoise' avg='0.2'/>
  328.             <Setting name='CloudHeight' avg=':= 32/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel' type='normal'/>
  329.             <Setting name='CloudInclination' avg='0' range='0.35'/>
  330.             <Setting name='OreRadiusMult' avg='1' range='0.1'/>
  331.             <Setting name='OreDensity' avg='0.1'/>
  332.             <Setting name='OreVolumeNoiseCutoff' avg='0.5'/>
  333.             <Replaces block='stone'/>
  334.             <Biome name='.*'/>
  335.         </CloudPreset>
  336.        
  337.     </ConfigSection>
  338.    
  339.     <!--****************************   Standard Ores   *************************************
  340.    *   Import the standard ores module, containing options, presets, and distributions
  341.    *   for coal, iron, gold, redstone, diamond, lapis lazuli, and emeralds.
  342.    *************************************************************************************-->
  343.     <OptionalImport file='CustomOreGen Standard Modules/MinecraftOres.xml'/>
  344.    
  345.     <!--*******************************   Mod Ores   ***************************************
  346.    *   Import modules for supported mods if they are present.
  347.    *************************************************************************************-->
  348.     <OptionalImport file='CustomOreGen Standard Modules/IndustrialCraft2.xml'/>
  349.     <OptionalImport file='CustomOreGen Standard Modules/Forestry.xml'/>
  350.     <OptionalImport file='CustomOreGen Standard Modules/Redpower2.xml'/>
  351.  
  352.     <!--************************   User-added Distributions   ******************************
  353.    *   If you add your own distributions, you can put them here.
  354.    *   You can also put them in a seperate file in the "CustomOreGen Extra Modules" folder.
  355.    *************************************************************************************-->
  356.     <OptionalImport file='CustomOreGen Extra Modules/*'/>
  357.    
  358.     <!--*************************   Testing & Debugging   **********************************
  359.    *   I use this section for quick-and-dirty experiments
  360.    *************************************************************************************-->
  361.     <IfChoice name='debugDist' value='true'>
  362.        
  363.         <!-- Experimental distributions should go here -->
  364.        
  365.     </IfChoice>
  366.    
  367. </Config>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement