Odd light behaviour

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Tom
Spiderkin
Posts: 555
Joined: Wed Apr 27, 2011 11:04 pm

Odd light behaviour

#1 Post by Tom »

Hello

Im wearing a ring of sneakthief. Light radius -2.
As light source I have a lantern with light radius 2.
This means my rogue can not see anything but himself.
If I switch light source to the phial with light radius 4, all is fine.
But I like the lantern, which also gives life, so I turn on stealth.

In stealth, light radius is always 1 it seems, no matter how much, positive or negative, light you carry.
And this is probably a bug.

With stealth on, and light radius +2 and -2, light is not reliable.
Meeting a monster proptly switch off the light radius during the fight.
Then it takes a few moves after the fight until I can see again.
I assume this is because stealth mode is off during and short after the fight.
Still, this is very odd behaviour.

Tom

Grey
Loremaster
Posts: 3517
Joined: Thu Sep 23, 2010 10:18 pm
Location: London, England
Contact:

Re: Odd light behaviour

#2 Post by Grey »

Got some pics to help explain?

When in stealth mode I think your light source is automatically removed, and returned once the stealth is broken. I'm not sure why you wouldn't be able to see at all during battle.
http://www.gamesofgrey.com - My own T-Engine games!
Roguelike Radio - A podcast about roguelikes

tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

Re: Odd light behaviour

#3 Post by tiger_eye »

Light sources are indeed turned off while in stealth mode. You wouldn't be very stealthy if you were wearing a light, now would you?

So, rogues characters typically ignore increasing their light radius and instead increase their infra-vision/heightened senses. For every 4 infra-vision they have (including heightened senses), they can see things as if they had +1 light radius. For example, infra-vision of 8 is like having a light with radius of two. This should work while stealthed or not.

complexityQuantifier
Higher
Posts: 56
Joined: Sun Jan 16, 2011 2:52 pm

Re: Odd light behaviour

#4 Post by complexityQuantifier »

I think the bug they're suggesting is that light radius has a minimum of 0 when you're not-stealthed, but is set to exactly 1 when you're stealthed. So if your light radius is 0, going into stealth actually increases your vision.

Presumably the desired situation is either
1) Characters have a minimum light radius of 1. Going into stealth sets your light radius to 1.
2) Characters have a minimum light radius of 0. Going into stealth sets your light radius to 1, unless it was already 0.

(I think I like solution 1 slightly better?)

Post Reply