Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old November 20, 2009, 15:31   #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 change in HEAD

So, I have added a feature which I find useful, and hope that others will as well. It addresses bug #374 by adding (') as "target closest", similar to (*t).

The two ways this can be used are:

1. With the remember target option, you can use it first and then shoot/throw/aim at monsters until they die.

2. Without remember target, you can (f)ire, then choose ammo, then just hit (') to shoot at the closest monster.

I'd encourage anyone who plays nightlies to try this out and let me know what they think about it. I am also considering two other features and would be interested in your thoughts.

First, I am thinking of making the ammo prompt default to the cheapest kind of ammo (e.g. +0/+0 < +15/+9 < +6/+6 slay evil). Right now if you only have one kind of ammo you can hit RETURN to accept it as the default, but otherwise you have to choose manually. The only hitch I can see is that it will penalize people who mostly want to use good ammo but carry around bad ammo as a backup. I was also thinking of having the code check for an inscription first, and prefer that over the cheapest ammo, to give people in this situation a work-around.

Second, I am thinking of either getting rid of direction selection, or making it secondary to targeting. Right now after choosing (a)im or (f)ire you immediately get a directional prompt, and have to hit (*) or whatever to target. I submit that most of the time you want to b e targeting, and that direction should be the one that requires two keypresses to use.

Anyway, my track record on UI changes is spotty at best, hence your input. Thoughts?
__________________
linux->xterm->screen->pmacs
d_m is offline   Reply With Quote
Old November 20, 2009, 15:55   #2
pav
Administrator
 
pav's Avatar
 
Join Date: Apr 2007
Location: Prague, Czech republic
Age: 39
Posts: 783
pav is on a distinguished road
Send a message via ICQ to pav
How about auto-targeting the closest monster? It's in NPP and it's very useful. Make it also refresh monster memory subwindow at the same time.
__________________
See the elves and everything! http://angband.oook.cz
pav is offline   Reply With Quote
Old November 20, 2009, 16:44   #3
buzzkill
Prophet
 
buzzkill's Avatar
 
Join Date: May 2008
Location: Indiana, USA
Posts: 2,939
Donated: $8
buzzkill is on a distinguished road
I like Pav's notion of auto-targeting the closest monster by default, because most of the time that is who you are aiming at.

Without Pav's fix, I like the idea of your key target nearest. (I'd prefer it be the , (comma), but that's just me, I think it must be what FA uses).

I'm not sold on getting rid of the direction-prompt as the default, but I'm not dead set against it either. I probably use the directional keys to fire about 50% of the time, more in the early game, less in the later, but I don't use macros, maybe if I did use macros than that would change. If you could use the 'closest target selection key' to select the closest target at the directional prompt, then press it again to select the next nearest and so on, then I'd be on board.

I'd limit auto-ammo selection to when you only have one type of (suitable) ammo. If you are firing with a bow and only have one type of arrow in your inventory then there should be no prompt at all.
__________________
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 November 20, 2009, 17:37   #4
bron
Swordsman
 
Join Date: May 2008
Location: Saratoga, California (in the midst of Silicon Valley)
Posts: 493
bron is on a distinguished road
Perhaps this belongs in a separate thread, but if you're changing targeting, here is a problem I've encoutnered: the targeting code seems to require that you target a monster if there are any that are target_able. I (rarely, but occasionally) want to target a wall with Stone-to-Mud, or an empty space with a Ball spell (e.g. to kill the maximum number of lice in one shot). I can do this when there are no monsters, but not when there are. While it is certainly the case that I almost always want to target a monster, so that should continue to be the normal/default/easy case, there should be some way to break out of that targeting mode and be able to shoot at any target_able space.
bron is offline   Reply With Quote
Old November 20, 2009, 18:01   #5
RogerN
Swordsman
 
RogerN's Avatar
 
Join Date: Jul 2008
Posts: 308
RogerN is on a distinguished road
Quote:
Originally Posted by bron View Post
Perhaps this belongs in a separate thread, but if you're changing targeting, here is a problem I've encoutnered: the targeting code seems to require that you target a monster if there are any that are target_able.
While targeting, press 'o' in order to target freely without locking onto monsters.
RogerN is offline   Reply With Quote
Old November 20, 2009, 21:13   #6
tummychow
Apprentice
 
Join Date: Sep 2009
Posts: 93
tummychow is on a distinguished road
I do think that you should start in targeting mode rather than having to hit *; I honestly never use direction. It would also be nice to start on the nearest monster when in targeting mode, of course.
tummychow is offline   Reply With Quote
Old November 20, 2009, 21:22   #7
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
I'm at work so I can't write a detailed post right now, but:

1. I'm pretty sure that targeting has always highlighted the nearest monster by default. Certainly that is what the (existing) code says it is doing, and it is true in my experience as well.

2. Currently if you have only one (valid) type of ammo you can hit RETURN to have that ammo selected at the ammo selection prompt.

3. There is some new code introduced (written by rhinocesaurus) which is designed to increase accessibility by printing coordinates of targeted monsters, and a more verbose 3 line help message that is available with "?"
__________________
linux->xterm->screen->pmacs
d_m is offline   Reply With Quote
Old November 20, 2009, 21:23   #8
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,712
PowerDiver is on a distinguished road
I use direction fairly often when shooting aiming or zapping down a corridor. It is useful either when the target is unseen, or when there are a bunch of monsters to kill and you do not want to bother to retarget after each death.
PowerDiver is offline   Reply With Quote
Old November 20, 2009, 22:42   #9
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,394
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by buzzkill View Post
Without Pav's fix, I like the idea of your key target nearest. (I'd prefer it be the , (comma), but that's just me, I think it must be what FA uses).
FA uses the . actually - stolen from Steam, and possibly originally from Ey. And I also commonly use the direction keys too - but I'm not sure whether that's because they're only a single keypress...
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old November 21, 2009, 07:37   #10
bebo
Adept
 
bebo's Avatar
 
Join Date: Jan 2009
Location: Milan, Italy
Posts: 213
bebo is on a distinguished road
Quote:
Originally Posted by PowerDiver View Post
I use direction fairly often when shooting aiming or zapping down a corridor. It is useful either when the target is unseen, or when there are a bunch of monsters to kill and you do not want to bother to retarget after each death.
this

also the idea to add an inscription to set the default ammo for launchers looks like a really good idea to me; in any case as things are right now I use "@f1" for my default missile, and "\e\e\e\ef1*" as a macro to shoot, speeding up things considerably
bebo 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
Can of Worms - LOS / Targeting / Trick shots RogerN Variants 6 October 9, 2009 19:43
head of Vecna PowerDiver Idle chatter 3 September 7, 2009 18:46
improved GCU code in HEAD d_m Vanilla 23 August 19, 2009 19:59
targeting differences between 3.0.9b and HEAD d_m Vanilla 4 December 21, 2008 22:22
DaJAngband -I'm in over my head will_asher Idle chatter 15 February 27, 2008 09:04


All times are GMT +1. The time now is 19:48.


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