Page 1 of 1

Tilesets organisation

Posted: Mon Jul 18, 2011 9:10 am
by NickGen
Hello, anyone there could help ...? (Rudankort or Kerensky in particular)
I would create a new tileset (with highways), but I can not understand how
the tiles are organized within a tileset. I know the height and width of the hexagons,
and the height and width of tiles (having watched the file "tileset.pzdat")
but what does the "TileOffset"? This is an "offset" in the tileset, or for the map engine?
Is there a template to create new tileset? with guides, for example? it would be very useful...

thank you

Nick

Posted: Mon Jul 18, 2011 9:23 am
by Rudankort
Tile offset is offset of tile top-left corner relative to the hex top-left corner. As you can see in tileset.pzdat file, offsets are set so that the tile is centered relative to the hex. Same is true for unit size, which is even bigger.

There is no modding guide for tiles yet, this is a task for the future to create. But feel free to aks any questions here, we'll do our best to help.

Posted: Mon Jul 18, 2011 9:30 am
by NickGen
Rudankort wrote:Tile offset is offset of tile top-left corner relative to the hex top-left corner. As you can see in tileset.pzdat file, offsets are set so that the tile is centered relative to the hex. Same is true for unit size, which is even bigger.

There is no modding guide for tiles yet, this is a task for the future to create. But feel free to aks any questions here, we'll do our best to help.
Thank you very much for the quick response,
now I understand better how the tileset is organized...
Another thing I noticed while testing the map editor is missing tiles for the roads,
for exemple, there is no tiles of for N-NE road connection, is that intentional?
If I create complete tilesets for this, the engine is able to use it or i need to add them manually in the map editor?

Nick

Posted: Mon Jul 18, 2011 1:30 pm
by Rudankort
NickGen wrote: Thank you very much for the quick response,
now I understand better how the tileset is organized...
Another thing I noticed while testing the map editor is missing tiles for the roads,
for exemple, there is no tiles of for N-NE road connection, is that intentional?
If I create complete tilesets for this, the engine is able to use it or i need to add them manually in the map editor?

Nick
If you add missing tiles, the editor should be able to place them for you.

Posted: Mon Jul 18, 2011 2:12 pm
by NickGen
nice to hear, I am doing a new road tileset for test,
but I can not understand why some tiles have several identical copies,
while others are missing ....

Posted: Tue Jul 19, 2011 3:43 am
by Razz1
Is it for weather pattern?

Posted: Tue Jul 19, 2011 7:10 am
by NickGen
Razz1 wrote:Is it for weather pattern?
no, I do not think , this is obviously to be variations of tiles,
I now understand how the tiles are arranged inside a tileset,
and I created a new tileset for roads,
as well as a template to create other tilesets...
if people are interested I can post it all ....

Posted: Tue Jul 19, 2011 9:20 am
by El_Condoro
Yes, please. :)

Posted: Tue Jul 19, 2011 5:19 pm
by NickGen
Here as promised a new version of the road tileset,
and a template to create new tilesets, in photoshop CS5 format,
and for those who have not, a template in *. png

sorry for the download link, but I did not find a way to post a rar file directly to the forum



http://hotfile.com/dl/124498513/79f9127 ... e.rar.html

Nick

Posted: Tue Jul 19, 2011 5:35 pm
by HBalck
The layer road looks bad - not the same quality like the original, but your template is usefull.

Thank you !

Posted: Tue Jul 19, 2011 6:55 pm
by NickGen
HBalck wrote:The layer road looks bad - not the same quality like the original, but your template is usefull.

Thank you !
Sorry ... but you have tested the tileset in the editor or the game?
on my pc, it gives pretty good ....
in fact the tileset is slightly transparent, and therefore may not give very good if you look in a graphics program ...
It's a first version, which does not completely suit me ....
my project is to create a tileset of modern roads, and a highway tileset to replace the rails...

Nick