Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Adding custom images to the game [HELP] [Premium Mode]  (Read 347 times)

alamoes

  • Bay Watcher
    • View Profile
Adding custom images to the game [HELP] [Premium Mode]
« on: December 29, 2022, 10:08:40 pm »

I have this sprite sheet, and I'm trying to add in an image from it.  Here's what I tried:

Code: [Select]
graphics_musket

[OBJECT:GRAPHICS]

[WEAPON_GRAPHICS:ITEM_WEAPON_MUSKET]
[WEAPON_GRAPHICS_DEFAULT:MUSKETS:0:0]
[WEAPON_GRAPHICS_MATERIAL:MUSKETS:0:0]
[WEAPON_GRAPHICS_WOOD_GROWN:MUSKETS:0:0]
[WEAPON_GRAPHICS_WOOD:MUSKETS:0:0]

This is for the tile page muskets:

Code: [Select]
tile_page_muskets

[OBJECT:TILE_PAGE]

[TILE_PAGE:MUSKETS]
[FILE:images/muskets.png]
[TILE_DIM:32:32]
[PAGE_DIM_PIXELS:167:167]

Now I have no idea what any of that does, I just copied off vanilla to no avail.  I've tried both 32 and 167 in tile dim.  I'm gonna try a couple things, and if I figure it out, I'll tell you. 
Logged