Modding:Tiles: Difference between revisions

No change in size ,  01:31, 22 September 2020
m
no edit summary
mNo edit summary
Line 79: Line 79:
<part Name="Render" Tile="items/sw_spray.bmp" DisplayName="&amp;ySpray&amp;r-&amp;ya&amp;r-&amp;yBrain" ColorString="&amp;G" TileColor="&amp;G" DetailColor="r" RenderString="012" RenderLayer="5"></part>
<part Name="Render" Tile="items/sw_spray.bmp" DisplayName="&amp;ySpray&amp;r-&amp;ya&amp;r-&amp;yBrain" ColorString="&amp;G" TileColor="&amp;G" DetailColor="r" RenderString="012" RenderLayer="5"></part>
</syntaxhighlight>
</syntaxhighlight>
Where <code>TileColor</code> represents the the white part of the unfiltered image, and <code>DetailColor</code> will recolor the black part. Transparent pixels will change to the background color of the game, known as viridian.
Where <code>TileColor</code> represents the the black part of the unfiltered image, and <code>DetailColor</code> will recolor the white part. Transparent pixels will change to the background color of the game, known as viridian.


See [[Modding: Text Color Codes & Object Rendering]] for more details on the exact colors and how they are specified.
See [[Modding: Text Color Codes & Object Rendering]] for more details on the exact colors and how they are specified.