![]() |
#1 |
Swordsman
Join Date: Oct 2021
Location: WA
Posts: 318
![]() |
Where are "dark" terrain features used with tiles?
I stumbled across issue 4337 recently https://github.com/angband/angband/issues/4337 , which describes how the Gervais and Shockbolt tilesets currently have no visible floor around their rubble piles, just blackness--and a robust fix for that, which would support variants with different floor tiles than Angband's, would break save compatibility, so it's being held off on until 4.3, whenever that is.
I thought in the meantime I'd just go ahead and make my own local fix in the tileset graphic since I don't care about variant compatibility. In doing that, I noticed that in the Shockbolt tilesets, there are no partially lit tiles defined (in lib\tiles\shockbolt\graf-shb-dark.prf; I don't care about the Light version 'p', and rubble in it will end up looking oddly "Dark" with this crude temp "fix" to the tileset bitmap) for pile of passable rubble, just a single * one to cover all light levels Code:
feat:pile of passable rubble:*:0x88:0xBF If/when the lighting around the base of the rubble piles gets fixed, it seems to me this may result in passable rubble piles kind of glowing or something in the dark, especially as you move around them and they stay perfectly light while the regular rubble next to them--right there on the west half of town, say--is responding to illumination and shadow. So I figured well heck I'll make shaded versions of them in the bitmap; this is easy enough: there's plenty of blank space in the tileset to put in the two other gradations, and the darker ones just need 20% and 40% black over them, like the already created regular rubble ones have; then in the .prf define them something like Code:
feat:light rubble:torch:0x8C:0xB2 feat:light rubble:los:0x8C:0xB2 feat:light rubble:lit:0x88:0xBF feat:light rubble:dark:0x8C:0xB3 I wonder why that wasn't done in the first place? Gervais has illuminated passable rubble. Anyway, the part I'm really not sure about are the "dark" tiles. Where are those actually seen? I'm not sure what kind of ground would be expected to be around them--how dark it would be, I mean. As far as I can find running around in Shockbolt Dark tiles, I get only two levels of ground illumination--unless you count as a third the pure blackness of unknown or never-seen-illuminated ground. Is "dark" stuff on 100% black ground, then? Or is it somewhere else? "Fixed" Gervais and Shockbolt Dark rubble pile tiles on the left side of town: ![]()
__________________
My Angband videos Last edited by smbhax; October 25, 2022 at 00:23. |
![]() |
![]() |
![]() |
#2 | |
Swordsman
Join Date: Aug 2019
Posts: 340
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
#3 |
Swordsman
Join Date: Oct 2021
Location: WA
Posts: 318
![]() |
Oh, cool! Thanks! : D
__________________
My Angband videos |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Round" vs "Turn" and "Lightning" vs "Elec" | smbhax | Vanilla | 1 | May 16, 2022 01:55 |
roguelike keyset targeting mode: "k" key (up) only works in uppercase "K" | yendor | Vanilla | 2 | October 6, 2021 03:31 |
Bug with "Turn" in the "Player History" dump | bron | Vanilla | 3 | January 17, 2014 17:35 |
YAWP "Stabin the Dark" | BlackKite | AAR | 1 | September 14, 2011 11:09 |
"repeat" Command just little bit "smarter" | ClaytonAguiar | Vanilla | 8 | June 17, 2009 16:01 |