[REQUEST] More realistic line of sight
Galactygon
Member, Developer Posts: 412
I'd like to request (all) characters' line of sight to be adjusted in the following ways:
- The default line of sight becomes much (perhaps even 2 times) larger. This gives an advantage to ranged combat (by countering the effects of increased walking speed) as well as allow you to see more on larger monitors. Taller creatures like dragons or giants might have greater LOS.
- When indoors or during the night, the line of sight decreases depending on the "lightness" of the lightmap of the point the character is standing on. If there are lighter spots (such as near torches) close to the character but outside the characters' immediate visual range, then they can be "lit up" from the fog of war to add to the realism. Perhaps also add an opcode (for spells and items) that grants light with some strength and some radius and some falloff that modders can specify.
- The infravision spell can be more usefull, if it would give you a line of sight equivalent to daytime. Maybe undead and coldblooded creatures would still be invisible outside a much closer LOS? There could be a .2da file with a list of race and class values representing who can be seen from a distance via infravision. Many creatures that lurk the dungeons will have an advantage of seeing you before you see them.
- For modders: at the moment STAT VISUALRANGE is hardcoded so that it never gives you a larger LOS than 15. It would be nice to break this restriction.
-Galactygon
- The default line of sight becomes much (perhaps even 2 times) larger. This gives an advantage to ranged combat (by countering the effects of increased walking speed) as well as allow you to see more on larger monitors. Taller creatures like dragons or giants might have greater LOS.
- When indoors or during the night, the line of sight decreases depending on the "lightness" of the lightmap of the point the character is standing on. If there are lighter spots (such as near torches) close to the character but outside the characters' immediate visual range, then they can be "lit up" from the fog of war to add to the realism. Perhaps also add an opcode (for spells and items) that grants light with some strength and some radius and some falloff that modders can specify.
- The infravision spell can be more usefull, if it would give you a line of sight equivalent to daytime. Maybe undead and coldblooded creatures would still be invisible outside a much closer LOS? There could be a .2da file with a list of race and class values representing who can be seen from a distance via infravision. Many creatures that lurk the dungeons will have an advantage of seeing you before you see them.
- For modders: at the moment STAT VISUALRANGE is hardcoded so that it never gives you a larger LOS than 15. It would be nice to break this restriction.
-Galactygon
21
Comments
Currently, it appears to do basically nothing. Instead of Infravision just making other creatures have a reddish colour, I think it would be more interesting if characters without Infravision suffered a THAC0 penalty while fighting in the dark.
I'm not sure how easy this would be to implement though. I know that in Icewind Dale 2 they managed to have Drow specific penalties during daytime, but I have no idea if the coding used for that is easily applied to BG.
I agree that infravision could use a major tweak though.
I don't know, I just think Infravision should actually do something.
Shooting them with an arrow? Not so much.
note: probably extremely hard to implement.