Welcome to my latest "just for fun" project.
nightgfxpreview1.png [ 387.55 KiB | Viewed 22570 times ]
nightgfxpreview2.png [ 310.76 KiB | Viewed 22570 times ]
Inspired by those awesome mock-up screenshots
and the decade-old night conversion
by Andrex, I decided to breathe new life into the idea of a "night mode" in TTD. It's basically just a night version of OpenGFX, but by utilizing 32bpp capabilities I was able to break away from the restrictions of the TTD palette to get what I feel is a more realistic and 'clean' darkness compared to the old attempt. More importantly, this new implementation allows company colors and other recolor masks to work properly, something the old set simply couldn't do because of the palette.
I've also opted to build this as a base graphics set rather than a NewGRF, which allows you to switch freely between day and night by changing between NightGFX and OpenGFX in the main menu (or, optionally, forcing and unforcing the 8bpp palette by editing the openttd.cfg file, but that's a lot more work
). As fun as this set is to play with, being stuck in the dark for an entire game doesn't sound ideal, so I wanted to at least leave an option to switch sets during games - something not possible with a NewGRF.
Which brings me to the one major problem with this set; you can't use any NewGRFs if you want to be able to switch from day to night.
Besides the fact that there aren't any
NewGRFs compatible with this set yet, even if there were, they would be stored in the savegame and thus, you'd be 'stuck' in night mode for that whole game. Unfortunately there is no way for NewGRFs to detect which base graphics set is active, so automatic switching cannot be done that way, it would have to be done another way, and I'm not sure there is one. I'd love to be proven wrong though
So, taking that into consideration, NightGFX is effectively a standalone set, unless someone creates some night grfs and you don't mind always playing in the dark.
Is it perfect? No. In my eyes it's more or less just a proof-of-concept, especially taking into account the NewGRF situation, but it's still fun to play with, especially on a busy map.
Due to it being 32bpp, NightGFX is only compatible with OpenTTD 1.2.0 or newer. It is too big to upload to the forums so you will have to download it in-game or via the Bananas site
. It is of course released under the GPLv2, and you can obtain the source here
. There is also a simple guide I wrote up on how to make compatible graphics bundled with the source if you're interested in that. I'll post the guide separately later.
Please playtest it and tell me what you think, particularly about the level of darkness and the lighting effects, or if you encounter any glitches. Enjoy! P.S. I'm not very good with screenshots, so if you have some better ones, post them!
For those of you who don't have any active NewGRF-less maps to play around with, I've attached one of my own so you can at least see it in action: