Terrain and terrain definition file

Here you may find answers to your questions.
Post Reply
Stratego (dev)
Site Admin
Posts: 15748
Joined: Fri Apr 25, 2014 9:28 pm

Terrain and terrain definition file

Post by Stratego (dev) »

If u plan to design a terrain tile, or tileset you should take these in consideration
(this is a list that will be expanded with ideas we face during development)

Terrain tileset file
- image tileset size should be always a power of two in both horizontal and vertical dimensions independently (examples: 128x128, 128x256, 256x256, 128x512, 512x512, 1024x1024, 1024x128)
- transparent png


Terrain definition json

- the all_terrain.json tiles "tilesetposition" value starts from 0, so first tile is on position 0
- if a tile got an ID than it must not be changed ever, it would cause major problems on maps made by these tiles.
- a tile (tileID) that is on the terrain_decor layer, than later we must not change it to be in terrain layer (and vica versa) because any map was designed by users using that tile might have major problems.
User avatar
Hardeep
Posts: 1121
Joined: Mon May 05, 2014 11:06 pm
Location: Isengard, middle earth

Re: Terrain and terrain definition file

Post by Hardeep »

Request:
Can you make it so the cliff tiles have a transparent ground before them rather than grass?
And also hill tiles transition into grass as well, not sure if anything can be done bout that though
Sorry if this isnt the correct thread :)
There never was much hope... just a fool's hope
User avatar
COOLguy
Posts: 4005
Joined: Sat Jul 12, 2014 2:58 am
Location: Nenuial, Arnor

Re: Terrain and terrain definition file

Post by COOLguy »

We can't change the current cliffs to transparent backgrounds because then we would have to change the layer that it fills from TERRAIN to TERRAIN_DECOR. That would mess up every other map that already uses those cliffs.

The only way that that would work would be to make 'another' cliff that would have a transparent background. And actually we have 1-2 more cliffs like it (that look a little different) that we could put in.
Thanks!
Josh
Stratego (dev)
Site Admin
Posts: 15748
Joined: Fri Apr 25, 2014 9:28 pm

Re: Terrain and terrain definition file

Post by Stratego (dev) »

also we can disable the non-decoraition version, so in the editor it will not show but old maps will still work.
User avatar
Hardeep
Posts: 1121
Joined: Mon May 05, 2014 11:06 pm
Location: Isengard, middle earth

Re: Terrain and terrain definition file

Post by Hardeep »

That would be nice if you could disable the old one, its important cause you can't really make a jagged ridge in a barren plain or anything to do with harsh climbing.
There never was much hope... just a fool's hope
Post Reply

Return to “FAQ”