Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: using multiple graphic sets  (Read 1001 times)

Areyar

  • Bay Watcher
  • Ecstatic about recieving his own E:4 mug recently
    • View Profile
using multiple graphic sets
« on: February 12, 2009, 02:02:32 pm »

So, sorry can't find the answer by searching.

Using DF40d9 windows.

and several graphical tilesets,
some are 16x16 some 12x12, namely those by Bane18 and Sphr.
All description files are in the raws/graphics folder as are the PNGs.

only some creatures are actually replaced with the graphics, most still use the basic tileset.

What is the problem here?
Sets needs have identical dimensions (16x16 OR 12x12) ?
Logged
My images bucket for WIPs and such: link

SolarShado

  • Bay Watcher
  • Psi-Blade => Your Back
    • View Profile
Re: using multiple graphic sets
« Reply #1 on: February 13, 2009, 09:17:04 pm »

Sets needs have identical dimensions (16x16 OR 12x12) ?
I would immagine so.

I hate to sound condescending, but that should be obvious.
Logged
Avid (rabid?) Linux user. Preferred flavor: Arch

Areyar

  • Bay Watcher
  • Ecstatic about recieving his own E:4 mug recently
    • View Profile
Re: using multiple graphic sets
« Reply #2 on: March 08, 2009, 08:00:01 pm »

Not that obvious, else I'd not have to ask. :P

Don't worry about sounding condescending.
I know I have a gap in my knowledge of using tile/graphics sets in DF.
Being blunt (without being deliberately offensive) is a good quality in question answerers. :D
Logged
My images bucket for WIPs and such: link

Areyar

  • Bay Watcher
  • Ecstatic about recieving his own E:4 mug recently
    • View Profile
Re: using multiple graphic sets
« Reply #3 on: March 12, 2009, 07:53:20 pm »

multiple sets are entirely possible AS LONG AS THERE ARE NO OVERLAPPING ENTITIES.
So delete the entries for those that are duplicate in all but one of the sets you are using.

Also converting to png is not mandatory, but does improve the visual aspect, with better alpha layer support.

I've not yet tried mixing 12x12... well I have but the above rule blocked the second set from showing. Not sure which criteria determine which set gets preference.
 
Logged
My images bucket for WIPs and such: link

Shoku

  • Bay Watcher
    • View Profile
Re: using multiple graphic sets
« Reply #4 on: April 03, 2009, 02:41:57 pm »

If you have multiple entries for various creatures in the txt that points to your graphics (like you've got cave crocs defined for the first graphics but also the second,) then the game keeps using the first image but the part of that image to point to gets overwritten so you get stuff like all your stingrays looking like the right half of a skeletal tiger and the left half of an Elephant.

I never even considered mixing different size sets but if the game could handle that you'd either end up with the stuff from the smaller set all looking miniature compared to everything else or it would be stretched all ugly like.
Logged
Please get involved with my making worlds thread.

SolarShado

  • Bay Watcher
  • Psi-Blade => Your Back
    • View Profile
Re: using multiple graphic sets
« Reply #5 on: April 04, 2009, 02:32:49 pm »

never tried it, but i'd guess that the size of the font determines the size for gfx tiles too. that is, the files specified by the [GRAPHICS_FONT] and [GRAPHICS_FULLFONT] tags in init.txt
Logged
Avid (rabid?) Linux user. Preferred flavor: Arch

Areyar

  • Bay Watcher
  • Ecstatic about recieving his own E:4 mug recently
    • View Profile
Re: using multiple graphic sets
« Reply #6 on: April 05, 2009, 06:47:25 am »

I doubt that duplicate tiles will be drawn on top of each other, even if they were, I'd suspect the alpha layer data (and blackspace) to prevent a larger underlying tile from showing around the edges of a latter smaller one.

I rather suspect a set with duplicate tiles will be culled at startup.

Personally I resized the tilesets I combined (not fused!) to 16x16, so I can't say anything definitive about combining sets with varying dimensions... my gut feels the smaller tiles just will be surrounded by more 'blackspace'.
Logged
My images bucket for WIPs and such: link