Update 1.2.0 is now available! See this post for more info on what's changed: https://www.tt-forums.net/viewtopic.php?f=67&t=69607&start=60#p1219869[1.1.0 (1-30-19)]
After over 5 years since release, NightGFX has finally received an update! This new release brings a major change by decreasing the level of darkness by 15%, making it much more bearable to play with while still giving a night-time feel. I also added the one missing sprite that OpenTTD has been complaining about for the last 4 years or so, making it finally "up-to-date", although I haven't (yet) included the 2x zoom GUI sprites found in standard OpenGFX. Other than that the set is basically still the same, so no big changes to the lighting effects yet, although I still would like to at some point, along with a few other ideas I have.
See below for the comparison pics, and as before the set can only be downloaded via the online content. Enjoy
Welcome to my latest "just for fun" project.
ngfx1.png [ 637.49 KiB | Viewed 2411 times ]
ngfx2.png [ 687.98 KiB | Viewed 2411 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 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: