Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old May 14, 2011, 18:15   #1
juggle5
Scout
 
Join Date: Feb 2009
Posts: 30
juggle5 is on a distinguished road
Path to target request

I've noticed the change in the nightlies to show the NPP "path to target" -- very cool!

My only negative comment on this is that it looks a little odd when the game is played with tiles. Would it be possible to have the path to target be shown with some appropriate tile rather than hardcoded as an asterisk?

I'm happy to create the necessary tiles to help out with this.
juggle5 is offline   Reply With Quote
Old May 14, 2011, 23:47   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 51
Posts: 6,241
Donated: $60
Nick is on a distinguished road
I have/had this feature in FA, using the tiles that exploding spells use.
__________________
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.
Nick is offline   Reply With Quote
Old May 15, 2011, 07:15   #3
buzzkill
Prophet
 
buzzkill's Avatar
 
Join Date: May 2008
Location: Indiana, USA
Posts: 2,937
Donated: $8
buzzkill is on a distinguished road
Quote:
Originally Posted by Nick View Post
I have/had this feature in FA, using the tiles that exploding spells use.
Is that hard coded, or stuffed in a prf somewhere? I've never been crazy about that choice of tile, something more discreet maybe.
__________________
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 May 15, 2011, 11:45   #4
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 51
Posts: 6,241
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by buzzkill View Post
Is that hard coded, or stuffed in a prf somewhere? I've never been crazy about that choice of tile, something more discreet maybe.
It's currently hard-coded to use the spell explosions, which are read in from a .prf. It would be feasible to use different tiles, though.

Looking at the code has also made me realise that spell explosions are now broken in FA, so thanks.
__________________
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.
Nick is offline   Reply With Quote
Old May 15, 2011, 17:59   #5
buzzkill
Prophet
 
buzzkill's Avatar
 
Join Date: May 2008
Location: Indiana, USA
Posts: 2,937
Donated: $8
buzzkill is on a distinguished road
Quote:
Originally Posted by Nick View Post
It's currently hard-coded to use the spell explosions, which are read in from a .prf. It would be feasible to use different tiles, though.
Would it be trivial to change it, so that the targeting graphic has it's own unique prf entry (or maybe two entries, one for the targeting LOS and and a second for the target itself).
__________________
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 May 15, 2011, 21:20   #6
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 51
Posts: 6,241
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by buzzkill View Post
Would it be trivial to change it, so that the targeting graphic has it's own unique prf entry (or maybe two entries, one for the targeting LOS and and a second for the target itself).
It would be pretty easy in current FA, or in V 3.2, and probably in current V (pref files have changed in a way I don't get yet).
__________________
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.
Nick is offline   Reply With Quote
Old May 15, 2011, 22:18   #7
buzzkill
Prophet
 
buzzkill's Avatar
 
Join Date: May 2008
Location: Indiana, USA
Posts: 2,937
Donated: $8
buzzkill is on a distinguished road
Quote:
Originally Posted by Nick View Post
It would be pretty easy in current FA, or in V 3.2, and probably in current V (pref files have changed in a way I don't get yet).
Excellent, I'll be looking forward to the change .
__________________
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 May 17, 2011, 04:31   #8
juggle5
Scout
 
Join Date: Feb 2009
Posts: 30
juggle5 is on a distinguished road
Here are some 32x32 tiles that may be used for targeting. I made a few different colors since there was some coloring logic in the code.
Attached Images
 
juggle5 is offline   Reply With Quote
Old May 17, 2011, 12:44   #9
buzzkill
Prophet
 
buzzkill's Avatar
 
Join Date: May 2008
Location: Indiana, USA
Posts: 2,937
Donated: $8
buzzkill is on a distinguished road
Quote:
Originally Posted by juggle5 View Post
Here are some 32x32 tiles that may be used for targeting. I made a few different colors since there was some coloring logic in the code.
That's about what I was thinking, some sort of small dot or diamond and a cross-hairs type thing for the actual target.

With the different colors supplied, we could have short, medium, long and out-of-range color coded.
__________________
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 May 17, 2011, 13:07   #10
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,794
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by buzzkill View Post
That's about what I was thinking, some sort of small dot or diamond and a cross-hairs type thing for the actual target.

With the different colors supplied, we could have short, medium, long and out-of-range color coded.
If someone wants to do an overlay crosshair, then at some point I'll work out how to add it to V...
__________________
"Physician, heal thyself."
takkaria 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
minor bug - can shoot but not target PowerDiver Vanilla 7 July 15, 2010 16:59
*** no rule to make target JDTAY Development 9 March 3, 2010 19:58
New command: (h) fires default ammo at nearest target d_m Vanilla 52 February 10, 2010 21:02
Target in range indicator? ChodTheWacko Vanilla 1 November 28, 2009 16:14
Special macro command - interrupt for direction / target PaulBlay Development 0 February 25, 2009 11:24


All times are GMT +1. The time now is 00:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.