Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Help needed - RAW tileset  (Read 1711 times)

Zambaku

  • Bay Watcher
    • View Profile
Help needed - RAW tileset
« on: February 14, 2022, 11:58:38 am »

I'm trying to make a full tileset, and I just started and made a folder in raw/graphics containing my bmp.

I made the appropriate changes in graphics_example.txt:

[TILE_PAGE:DWARVES]
   [FILE:retro/retro.bmp]
   [TILE_DIM:16:16]
   [PAGE_DIM:3:1]


I load up my saved file, and the game loads the bmp from the example folder instead of my retro.bmp in my folder called retro.

Do I need to do something extra to enable my tileset in a save?
Logged

Zambaku

  • Bay Watcher
    • View Profile
Re: Help needed - RAW tileset
« Reply #1 on: February 14, 2022, 01:05:33 pm »

Okay, I managed to get the custom tileset to show up, I simply removed the sample folder.

However, I encountered another challenge: the game shows 2 sprites on every dwarf, the tileset is 16x16, how would I define this so there is only 1 tile per dwarf?

Current settings:

[OBJECT:GRAPHICS]

[TILE_PAGE:DWARVES]
   [FILE:retro/retro.bmp]
   [TILE_DIM:16:16]
   [PAGE_DIM:3:1]

[TILE_DIM:16:16]

[CREATURE_GRAPHICS:DWARF]
   [DEFAULT:DWARVES:0:0:AS_IS:DEFAULT]
   [MINER:DWARVES:1:0:AS_IS:DEFAULT]

   Custom position example:

   [MANAGER:DWARVES:2:0:AS_IS:DEFAULT]
   [WOODCUTTER:DWARVES:3:0:AS_IS:DEFAULT]
   [CARPENTER:DWARVES:4:0:AS_IS:DEFAULT]
Logged