Page 1 of 1

Negative Lighting

Posted: Sun Dec 14, 2008 5:56 am
by Lord_BoNes
I know that it may be a while before you read this George, but I'd like to request negative lighting (both for FLOORITEM_LIGHT and equipped items). I'd like this to affect the maximum light level aswell EG:
Normal light level/maximum: 80/100
Negative light level/maximum: (-10) 70/90

The main reason I'd use this would be for purposely darkened areas of the dungeon, and for cursed items (items that darken the dungeon, until the curse is removed)

Thanx

Posted: Sun Dec 14, 2008 1:26 pm
by Gambit37
I haven't looked at the lighting side of things much yet. Is this not already possible using ACTION_DARK_AMBIENT?

Posted: Mon Dec 15, 2008 10:50 am
by Lord_BoNes
The DARK_AMBIENT approach may sorta work but not the way I'm referring to. For example: imagine a torch that eminates darkness instead of light, or armor that drains light (irrelevent of how many light spells you cast).

Posted: Mon Dec 15, 2008 7:20 pm
by beowuuf
Can you not use some spell intercepts to have armour block light spells, after first casting darkness itself? And putting the ambient light to a lower level for each level?

For the torch, surely you can have it trigger a constantly re-triggering wall obect that sets the light to a certain level, aping darkness