Tilesets organisation

A forum to discuss custom scenarios, campaigns and modding in general.

Moderators: Slitherine Core, Panzer Corps Moderators, Panzer Corps Design

Post Reply
NickGen
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 169
Joined: Thu Jun 28, 2007 6:39 pm
Location: Belgium
Contact:

Tilesets organisation

Post 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
Rudankort
FlashBack Games
FlashBack Games
Posts: 3836
Joined: Sat Aug 21, 2010 2:23 pm
Contact:

Post 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.
NickGen
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 169
Joined: Thu Jun 28, 2007 6:39 pm
Location: Belgium
Contact:

Post 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
Rudankort
FlashBack Games
FlashBack Games
Posts: 3836
Joined: Sat Aug 21, 2010 2:23 pm
Contact:

Post 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.
NickGen
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 169
Joined: Thu Jun 28, 2007 6:39 pm
Location: Belgium
Contact:

Post 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 ....
Razz1
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 3308
Joined: Tue Jan 18, 2011 4:49 am
Location: USA

Post by Razz1 »

Is it for weather pattern?
NickGen
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 169
Joined: Thu Jun 28, 2007 6:39 pm
Location: Belgium
Contact:

Post 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 ....
El_Condoro
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 2119
Joined: Tue Jun 03, 2008 9:32 am

Post by El_Condoro »

Yes, please. :)
NickGen
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 169
Joined: Thu Jun 28, 2007 6:39 pm
Location: Belgium
Contact:

Post 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
HBalck
1st Lieutenant - Grenadier
1st Lieutenant - Grenadier
Posts: 786
Joined: Thu May 21, 2009 9:28 pm
Location: Augsburg / Bavaria / Germany...but I am from Eastern Germany !

Post by HBalck »

The layer road looks bad - not the same quality like the original, but your template is usefull.

Thank you !
NickGen
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 169
Joined: Thu Jun 28, 2007 6:39 pm
Location: Belgium
Contact:

Post 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
Post Reply

Return to “Panzer Corps : Scenario Design”