Modding:Tiles: Difference between revisions

Jump to navigation Jump to search
131 bytes added ,  16:10, 23 May 2019
no edit summary
imported>CaptainTechnicality54384
(Created page with "Category:Modding == Tile modding toolkit == This file contains the raw tiles imported into the game, which will help you figure out the right name and folder for each tile...")
 
imported>CaptainTechnicality54384
No edit summary
Line 14: Line 14:
'''Sample ObjectBlueprints.xml updating Mehmet's tile to creatures/new_mehmet.png'''
'''Sample ObjectBlueprints.xml updating Mehmet's tile to creatures/new_mehmet.png'''


<?xml version="1.0" encoding="utf-8"?>
<syntaxhighlight lang="xml">
<objects>
<?xml version="1.0" encoding="utf-8"?>
    <object Name="Mehmet" Load="Merge">
<objects>
        <part Name="Render" Tile="creatures/new_mehmet.png"></part>
    <object Name="Mehmet" Load="Merge">
    </object>
        <part Name="Render" Tile="creatures/new_mehmet.png"></part>
</objects>
    </object>
</objects>
</syntaxhighlight>


== Supported File Types ==
== Supported File Types ==
Line 42: Line 44:
'''Sample <u>%appdata%\Caves of Qud\Mods[your mod name]\modconfig.json</u> enabling truecolor shader mode'''
'''Sample <u>%appdata%\Caves of Qud\Mods[your mod name]\modconfig.json</u> enabling truecolor shader mode'''


{
<syntaxhighlight lang="json">
  "shadermode":"1"
{
}
  "shadermode":"1"
}
</syntaxhighlight>


== Tile Size ==
== Tile Size ==
Line 51: Line 55:
'''sample display.txt'''
'''sample display.txt'''


{
<syntaxhighlight lang="json">
    "tiles":{
{
        "width":"24",
    "tiles":{
        "height":"24"
        "width":"24",
    }
        "height":"24"
}
    }
}
</syntaxhighlight>

Navigation menu