Modding:Maps: Difference between revisions

Jump to navigation Jump to search
14 bytes added ,  02:17, 12 July 2023
m
Fix some more minor typos in one of the code examples
m (Fix typo ("Hight" -> "Height"))
m (Fix some more minor typos in one of the code examples)
Line 46: Line 46:
<code>My_TerrainEastJoppa</code> would be an object you define in the object blueprints to render the cell however you want, and you can then define your own "sub zone" within <code>Worlds.xml</code> attached to that Terrain tile via <code>&lt;cell ApplyTo="My_TerrainEastJoppa"></code>
<code>My_TerrainEastJoppa</code> would be an object you define in the object blueprints to render the cell however you want, and you can then define your own "sub zone" within <code>Worlds.xml</code> attached to that Terrain tile via <code>&lt;cell ApplyTo="My_TerrainEastJoppa"></code>


Example of edited <code>ObjectBlueprints.xml</code><syntaxhighlight lang="xml">
Example of edited <code>ObjectBlueprints.xml</code>:
 
<syntaxhighlight lang="xml">
<objects>
<objects>
 
   <object Name="My_TerrainEastJoppa" Inherits="Terrain">
   <object Name="My_TerrainEastJoppa" Inherits="Terrain">
  <part Name="Render"  
    <part Name="Render"  
        DisplayName="your display name here"  
      DisplayName="your display name here"  
        Tile="Terrain/yourcustomtile.png"   
      Tile="Terrain/yourcustomtile.png"   
        ColorString="&amp;G^k"   
      ColorString="&amp;G^k"   
        DetailColor="r"> <!-- sets a number or attributes such as the location of your custom tile (in a sub folder of your mod folder) and the colours to be applied to it -->
      DetailColor="r"> <!-- sets a number or attributes such as the location of your custom tile (in a sub folder of your mod folder) and the colours to be applied to it -->
  </part>
    </part>
  <part Name="Description" Short="your description here"></part>
    <part Name="Description" Short="your description here"></part>
  <tag Name="NoBiomes" Value="1"></tag>
    <tag Name="NoBiomes" Value="1"></tag>
  <tag Name="OverlayColor" Value="&amp;W"></tag>
    <tag Name="OverlayColor" Value="&amp;W"></tag>
    
   </object>
</object>
</objects>
</syntaxhighlight>Example of edited <code>Worlds.xml</code><syntaxhighlight lang="xml">
</syntaxhighlight>
 
Example of edited <code>Worlds.xml</code><syntaxhighlight lang="xml">:
<worlds>
<worlds>
   <world Name="JoppaWorld" Load="Merge">
   <world Name="JoppaWorld" Load="Merge">

Navigation menu