User Tools

Site Tools


cw2:custom_maps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
cw2:custom_maps [2021/03/09 16:44] – created Karsten75cw2:custom_maps [2021/03/09 16:50] (current) Karsten75
Line 17: Line 17:
  
 {{game-chars.png}} {{game-chars.png}}
 +
 +=====Custom Tiles=====
 +
 +There are 12 total tiles,
 +  * Ground Normal 0
 +  * Ground Normal 1
 +  * Ground Normal 2
 +  * Ground Decayable 0
 +  * Ground Decayable 1
 +  * Ground Decayable 2
 +  * Ground Solid
 +  * Damage Overlay 0
 +  * Damage Overlay 1
 +  * Damage Overlay 2
 +  * Damage Overlay 3
 +  * Damage Overlay 4
 +
 +Each tile is 28x28.  The center 24x24 is the main tile and there is an optional 2 pixel overlap border around that.  The overlap border only shows when that edge is exposed.
 +
 +All 12 tiles must be in a single PNG image where each 28x28 tile is arranged horizontally resulting in a 336x28 image.  PNG is used as alpha transparency is supported.
 +
 +Tiles may be 'randomly' rotated by the game when displayed (optional in the editor).
 +
 +The last 5 tiles are the damage overlay tiles.  These are the smudges that appear over a terrain tile as the terrain is dug/decays.  They are drawn over the tile being damaged.
 +
 +{{default.png}}
 +{{defaulttiles.png}}
cw2/custom_maps.txt · Last modified: 2021/03/09 16:50 by Karsten75