Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old December 20, 2008, 18:11   #1
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
targeting differences between 3.0.9b and HEAD

So I tried playing 3.0.9b recently. While I missed most of the improvements of HEAD, one thing in particular that stood out as being better was the targeting interface.

In 3.0.9b, if there is a pack of monsters and you hit "*" you start highlighting one of them, but can then use the direction keys to toggle between all the visible monsters. In HEAD you can only toggle between what I'll call "border monsters".

It seems to me that some spells (stinking cloud in particular) allow one to target interior monsters in a pack. But maybe I'm wrong. If I manually target an interior monster, does the spell still go off when it hits the border monster? If so, then that explains this change: it shows the player which monsters are valid targets.

If interior monster *are* valid targets, then was this change made explicitly, or is it a bug or regression?
d_m is offline   Reply With Quote
Old December 21, 2008, 18:19   #2
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,936
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by d_m View Post
So I tried playing 3.0.9b recently. While I missed most of the improvements of HEAD, one thing in particular that stood out as being better was the targeting interface.

In 3.0.9b, if there is a pack of monsters and you hit "*" you start highlighting one of them, but can then use the direction keys to toggle between all the visible monsters. In HEAD you can only toggle between what I'll call "border monsters".

It seems to me that some spells (stinking cloud in particular) allow one to target interior monsters in a pack. But maybe I'm wrong. If I manually target an interior monster, does the spell still go off when it hits the border monster? If so, then that explains this change: it shows the player which monsters are valid targets.

If interior monster *are* valid targets, then was this change made explicitly, or is it a bug or regression?
It's a regression (filed as bug 644).
takkaria is offline   Reply With Quote
Old December 21, 2008, 18:54   #3
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 takkaria View Post
It's a regression (filed as bug 644).
Great. I just posted a patch to revert the behavior, but then I thought that maybe the old behavior wasn't ideal either. Certainly for arrows, there is never any utility in targeting an interior monster, because it will never "beam".

Based on the code, it seems like rewriting the look/target code to pay attention to what kind of spell/attack the user is doing will be kind of hard.
d_m is offline   Reply With Quote
Old December 21, 2008, 19:25   #4
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,712
PowerDiver is on a distinguished road
Quote:
Originally Posted by d_m View Post
Great. I just posted a patch to revert the behavior, but then I thought that maybe the old behavior wasn't ideal either. Certainly for arrows, there is never any utility in targeting an interior monster, because it will never "beam".
There is definitely utility in targeting a tough guy in the center even when just shooting arrows, so that you can just keep hitting 'n' and shoot wimps when they get in the way and your main foe when the path is clear.
PowerDiver is offline   Reply With Quote
Old December 21, 2008, 23:22   #5
andrewdoull
Unangband maintainer
 
andrewdoull's Avatar
 
Join Date: Apr 2007
Location: Sydney, Australia
Age: 45
Posts: 872
andrewdoull is on a distinguished road
Quote:
Originally Posted by d_m View Post
Based on the code, it seems like rewriting the look/target code to pay attention to what kind of spell/attack the user is doing will be kind of hard.
I've done this for Unangband, and it requires a surprising amount of rearchitecting of the whole code base... I'd need to look at the current Angband code for this area as Unangband diverged some time ago and I know there have been a number of changes here on the vanilla side of things as well.

Ironically the changes to the project and targetting parts of the code are relatively straight forward. It's getting all the spells/attacks defined in a way that allows you to specify how the spell projects and aims that is the hard part.

Andrew
__________________
The Roflwtfzomgbbq Quylthulg summons L33t Paladins -more-
In UnAngband, the level dives you.
ASCII Dreams: http://roguelikedeveloper.blogspot.com
Unangband: http://unangband.blogspot.com
andrewdoull 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
DaJAngband -I'm in over my head will_asher Idle chatter 15 February 27, 2008 10:04


All times are GMT +1. The time now is 09:42.


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