Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old June 17, 2009, 19:24   #1
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,712
PowerDiver is on a distinguished road
targetting and LOS

I think there is a fairly clean way to approach targeting and LOS. It requires a single change in viewpoint, but then everything flows.


Currently, walls are considered to take up entire spaces. If you change that
perspective so that walls in a corridor only extend halfway everything becomes easy. Define two squares to be visible with respect to each other if the line connecting their centers does not pass through a wall. Consider a passwall monster in a wall to be centered at the center, but partially extending outward if the wall is adjacent to a non-wall. After all, at a minimum the mouth has to be outside the wall if it can breathe at you.


Then for anything like

################D
@

the @ and D have LOS on each other, even if the D is an ethereal dragon in a wall.

The boundary case is

##D
##
@

and it could go either way without any particular benefits or disadvantages I can see. Probably it is better to say not visible.

IMO it is absolutely vital for

#m
#
@#

to be a case where the @ can see the death mold. Also, the player is allowed to move diagonally which does not make sense if the walls completely fill the #s and thus would touch. Once you accept these points, I think the argument proceeds in a straightforward manner to the interpretation I give above.

Even if you don't like the interpretation, it leads to a clean model with good gameplay properties, and that is the important thing.
PowerDiver is offline   Reply With Quote
Old June 17, 2009, 20:24   #2
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Seconded. This approach is used in wargaming for good reason.
Magnate is offline   Reply With Quote
Old June 17, 2009, 21:15   #3
Donald Jonker
Knight
 
Join Date: Jun 2008
Posts: 593
Donald Jonker is on a distinguished road
Quote:
Originally Posted by PowerDiver View Post
The boundary case is

##D
##
@

and it could go either way without any particular benefits or disadvantages I can see. Probably it is better to say not visible.
Besides making more intuitive sense, if that case remained not visible, it would offer a nice tactical wrinkle where you (or a monster) could flee around a corner.

This all looks very good.
__________________
Bands, / Those funny little plans / That never work quite right.
-Mercury Rev
Donald Jonker is offline   Reply With Quote
Old June 18, 2009, 00:02   #4
will_asher
DaJAngband Maintainer
 
will_asher's Avatar
 
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 927
Donated: $10
will_asher is on a distinguished road
I like that idea.
(wanted to just thumbs up the idea without having to leave a message with four words because I don't really have anything to add..)
__________________
Will_Asher

Play DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home
will_asher is offline   Reply With Quote
Old June 18, 2009, 01:26   #5
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 39
Posts: 1,516
d_m is on a distinguished road
This proposal is good--in particular it addresses some annoying inconsistencies with the current treatment of passwall.

Also, I assume your LOS would be symmetric. I consider that one of the most sorely-needed features.
d_m is offline   Reply With Quote
Old June 18, 2009, 03:11   #6
buzzkill
Prophet
 
buzzkill's Avatar
 
Join Date: May 2008
Location: Indiana, USA
Posts: 2,939
Donated: $8
buzzkill is on a distinguished road
AD&D (d20, new version) I think, has a detailed method dealing with LOS and targeting enemies with partial cover. I'm not very familiar with it, but I think it's similar to what's being proposed here. Something like if the center of the players grid can 'see' any portion of the enemies grid (or vice-versa).

I presume hat this method has already been extensively tested and works well.

I'm just throwing it out there. Please don't hurt me.
__________________
www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
My banding life on Buzzkill's ladder.
buzzkill is offline   Reply With Quote
Old June 18, 2009, 04:58   #7
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,712
PowerDiver is on a distinguished road
Quote:
Originally Posted by buzzkill View Post
AD&D (d20, new version) I think, has a detailed method dealing with LOS and targeting enemies with partial cover.
When I see D&D and LOS in the same sentence, I remember the rules that made it harder to miss something in between than to hit your target.

"No, no, I'm not shooting at the bat. I'm aiming at the tree behind it. Before you tell me the AC of the tree, let's see if I make the roll to miss the bat."
PowerDiver is offline   Reply With Quote
Old June 18, 2009, 05:46   #8
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 39
Posts: 1,516
d_m is on a distinguished road
Quote:
Originally Posted by PowerDiver View Post
"No, no, I'm not shooting at the bat. I'm aiming at the tree behind it. Before you tell me the AC of the tree, let's see if I make the roll to miss the bat."
Kind of like learning to fly in the Hitchhiker's Guide...
d_m is offline   Reply With Quote
Old June 18, 2009, 07:34   #9
will_asher
DaJAngband Maintainer
 
will_asher's Avatar
 
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 927
Donated: $10
will_asher is on a distinguished road
Quote:
Originally Posted by PowerDiver View Post
When I see D&D and LOS in the same sentence, I remember the rules that made it harder to miss something in between than to hit your target.

"No, no, I'm not shooting at the bat. I'm aiming at the tree behind it. Before you tell me the AC of the tree, let's see if I make the roll to miss the bat."
The thing wrong with this is that the roll to-hit something assumes that you're trying to hit it. It seems to me that any competent DM would make it very unlikely to hit something like that bat in between by accident.
__________________
Will_Asher

Play DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home
will_asher is offline   Reply With Quote
Old June 18, 2009, 09:09   #10
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,712
PowerDiver is on a distinguished road
Quote:
Originally Posted by will_asher View Post
The thing wrong with this is that the roll to-hit something assumes that you're trying to hit it. It seems to me that any competent DM would make it very unlikely to hit something like that bat in between by accident.
Either it is hard to miss something when targeting something else, or it isn't. The rule, which ISTR was described prominently in the early rules, erred ridiculously in the direction of "it's hard to miss".

The rule was introduced to stop players shooting "through" party members. However, it is exceptionally hard to get these things right and still playable, and the D&D combination of evasion and damage reduction into a single value called AC makes it impossible. The only way to fix the rule is to throw it away. That is a lesson to be considered when thinking about things like "cover" bonuses in an angband framework.
PowerDiver is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
feature request - disturb on reverse LOS PowerDiver Vanilla 2 May 18, 2009 07:46


All times are GMT +1. The time now is 12:26.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.