tile_bank_create - ryzom/ryzomcore GitHub Wiki


title: Creating the tile bank description: published: true date: 2023-03-01T05:21:14.849Z tags: editor: markdown dateCreated: 2022-03-13T04:50:36.346Z

Images have red highlighted areas to give focus to the area of discussion, or part of the interface, you will interact with.

Launch the Tile Editor tool (Y:\ryzomcore\tile_edit)
You should get...

tut1.jpg

Click on the button next to "Absolute path".
Change the path to Y:\ryzomcore\graphics\landscape\_texture_tiles\.

Adding a land

Adding a land just needs you to enter the name you want to call the land.

tile_bank_manager_step_a.png

tile_bank_manager_step_b.png

tile_bank_manager_step_c.png

Adding a tile set

Adding a tileset requires you to enter a name too.

tile_bank_manager_step_d.png

tile_bank_manager_step_b.png

tile_bank_manager_step_c.png

Editing a tile set

This might be the most important part. After you click on the lower edit tileset button you get the tile bank manager. Here you can add any type of tiles you need for drawing them to a landscape. When you have opened the manager this brings us directly to Step4.

tile_bank_manager_edit_tileset.png

tile_bank_manager_add_bank.png

Adding tiles to a tile set

On the left side of this editor dialog you will find five groups of radio buttons.

  • Texture allows you to select the type of texture you want to add or modify.
  • Size allows you to alter the size the textures are displayed as in the editor.
  • Texte info lets you choose whether you want to see the filename or the index number of the tile displayed under each image.
  • Tiles allows you to switch between the size, alpha and dispalcement tile types for adding or modifyication
  • Subtileset is depreceated and can be safely ignored.

Transitions are alpha maps for merging and overlapping between different tilesets. {.is-info}

Displacements are for making the landscape a bit more non-uniform. {.is-info}

The first you should add some textures start with Diffuse and the size of the texture (128x128 or 256x256) depending on the size of your TGA file.

tile_bank_manager_add_diffuse.png

tile_bank_manager_add_diffuse_128.png

Now right click on the large empty area of the window and left click the Add option on the menu that pops up.

Using the file dialog that is opened browse for the TGA tile image you want to add to the tile set.

The TGA images must be saved as uncompressed!
{.is-info}

tile_bank_manager_add_menu.png

tile_bank_manager_step_xxx.png

tile_bank_manager_batch_load.png

After we have added the diffuse and additive tiles we need to add transitions for your texture types.

tile_bank_manager_add_transitions.png

tile_bank_manager_add_diffuse_transitions.png

Now you select the tile slot you wish to alter.

tile_bank_manager_add_diffuse_transitions_tile.png

Rright click and choose Replace from the menu that pops up.

tile_bank_manager_replace_tile.png

tile_bank_manager_step_xxxx.png

Using the file dialog that is opened browse for the TGA tile image you want to add to the tile set.

tile_bank_manager_batch_load.png

You add the alpha maps with the same method.

tile_bank_manager_add_alpha_transitions.png

tile_bank_manager_add_alpha_transitions_tile.png

You add the displacement maps with the same method.

tile_bank_manager_add_displacement.png

Assigning tile set order to a land

After you have successfully edited a tileset you need to add this tileset to your land.

tile_bank_manager_edit_land.png

tile_bank_manager_add_tileset_to_land_a.png

tile_bank_manager_add_tileset_to_land_b.png

tile_bank_manager_add_tileset_to_land_c.png

Terminology

Term Description
Tilebank A Group Of Lands
Land An Ordered Group Of TileSets
Tileset A Group Of Tiles
Tile A 128x128 Or 256x256 Pixel Square Image Block Of Terrain Surface
TGA The Native Format Required For Tiles
DDS The Compressed Converted Form Of Tiles (Direct Draw Surface)
Alpha A Unit Of Opacity Defining A Level Of Transparency An Image Has
⚠️ **GitHub.com Fallback** ⚠️