Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Custom tileset - can't see highlighted selections anymore  (Read 675 times)

Moogie

  • Bay Watcher
    • View Profile
Custom tileset - can't see highlighted selections anymore
« on: November 15, 2013, 07:35:47 pm »

I've been picking apart some different tilesets to create a personal mixture, but I've run into a problem. If I make the letter tiles with a transparent background, then all of the text on the menu screen and in various locations has an ugly coloured background. But if I make the letter tiles with an opaque black background, then certain menus such as the embark preparation screen (adding 'n'ew items) have no visual way to discern which item you currently have selected, which makes navigating those lists impossible.

How should I colour the letter tiles, so that they only have an opaque background when needed for selecting from lists? I started with the Ironhand set and customised the tiles from there, if that helps.

Thank you for any advice. :)

Spoiler (click to show/hide)
Logged
I once shot a bear in the eye with a bow on the first shot, cut it up, found another one, and shot it in the eye too. The collective pile of meat weighed more than my house.

Moogie

  • Bay Watcher
    • View Profile
Re: Custom tileset - can't see highlighted selections anymore
« Reply #1 on: November 19, 2013, 12:26:23 pm »

Maybe I haven't explained this very well...

I changed some things and managed to get some of the lists to highlight, but I still can't see what I'm selecting in the stocks/animals ('z' status) screens.

Current tileset:
Spoiler (click to show/hide)

Colours:
Spoiler (click to show/hide)

How it looks in-game:

What am I doing wrong? Should I even be using transparency at all?
« Last Edit: November 19, 2013, 12:31:26 pm by Moogie »
Logged
I once shot a bear in the eye with a bow on the first shot, cut it up, found another one, and shot it in the eye too. The collective pile of meat weighed more than my house.

Wannabehero

  • Bay Watcher
    • View Profile
Re: Custom tileset - can't see highlighted selections anymore
« Reply #2 on: November 19, 2013, 03:01:31 pm »

One thing you can try is to change the background color on the letter tiles to solid magenta (R:255 / G:0 / B:255).

DF will render alpha layers against a black background to come up with the display color.  Solid colors are displayed as is.  But magenta is rendered by the game into the colors is wants, usually black, but it might fix your highlighting issue.

Worth a try I think
Logged

Moogie

  • Bay Watcher
    • View Profile
Re: Custom tileset - can't see highlighted selections anymore
« Reply #3 on: November 19, 2013, 09:36:51 pm »

Thank you, I tried it but...

Spoiler (click to show/hide)

...It didn't quite work out that way. :)

I made absolutely sure that the background was 255/0/255 and 100% opaque. Did I misunderstand something? Does having Truetype enabled have any effect on how this works?

Sorry about this, I do very little modding and haven't really touched tilesets before. I underestimated how complicated this would be. I just really liked jollybastion's letters and phoebus' walls and wanted to merge them into ironhand's graphics.

I keep studying their tilesets and try to figure out how it all fits, but I can't see any similarities. The ONLY thing I managed to figure out was the first and third tiles on the far left column should be the same colour as the background of the letter tiles, otherwise weirdness tends to happen.
Logged
I once shot a bear in the eye with a bow on the first shot, cut it up, found another one, and shot it in the eye too. The collective pile of meat weighed more than my house.

Wannabehero

  • Bay Watcher
    • View Profile
Re: Custom tileset - can't see highlighted selections anymore
« Reply #4 on: November 19, 2013, 09:40:55 pm »

Oops.  Well thats wierd.  I could have sworn magenta was masked out by DF.

I'm out of ideas.  Sorry mate  :-[
Logged

Wannabehero

  • Bay Watcher
    • View Profile
Re: Custom tileset - can't see highlighted selections anymore
« Reply #5 on: November 19, 2013, 10:07:30 pm »

Ah, I found the problem with the magenta thing.  It doesn't work if you have any transparency in your image.  You get that wierd hueing effect.  Well poo.


Edit:  Sidebar.  I loaded your tileset image you posted and fired up DF.  All of my menu highlighting worked fine.  I have no clue why you are experiencing this fluke.

Sidenote: I like your tileset mashup.
« Last Edit: November 19, 2013, 10:12:52 pm by Wannabehero »
Logged

Moogie

  • Bay Watcher
    • View Profile
Re: Custom tileset - can't see highlighted selections anymore
« Reply #6 on: November 19, 2013, 10:16:34 pm »

Edit: Ugh, nevermind... thought I'd made progress, but it didn't work at all.

I made the main menu selections work, but stocks screens are still blind. This is frustrating, I'd rather just be playing the game at this point. :P
« Last Edit: November 19, 2013, 11:06:06 pm by Moogie »
Logged
I once shot a bear in the eye with a bow on the first shot, cut it up, found another one, and shot it in the eye too. The collective pile of meat weighed more than my house.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Custom tileset - can't see highlighted selections anymore
« Reply #7 on: November 19, 2013, 11:18:36 pm »

You must have transparency on your letters' background.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Moogie

  • Bay Watcher
    • View Profile
Re: Custom tileset - can't see highlighted selections anymore
« Reply #8 on: November 20, 2013, 03:24:16 pm »

That was the first thing I tried, having started with jollybastion's partially transparent letter tiles.

Transparency just makes any backgrounds that I can make appear, harder to see. So they essentially do the exact opposite of what I need.

Edit: Heh, I just tried loading the game with a completely unaltered ironhand tileset, and the stocks screen selection is blind. So whatever the problem is, it either already exists in ironhand, or something else is to blame.
« Last Edit: November 20, 2013, 03:29:47 pm by Moogie »
Logged
I once shot a bear in the eye with a bow on the first shot, cut it up, found another one, and shot it in the eye too. The collective pile of meat weighed more than my house.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Custom tileset - can't see highlighted selections anymore
« Reply #9 on: November 24, 2013, 03:54:12 pm »

Do you run it on SDL or Legacy version?
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository