![]() |
#11 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,481
Donated: $60
![]() ![]() |
Context: I'm doing a hacky copy of the Sil (former NPP) code for line-of-fire, as a temporary measure to get stuff working.
Question: My understanding is that you can't shoot at every grid you can see in Sil. But can you see every grid you can shoot at?
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#12 |
Rookie
Join Date: Jan 2020
Location: Europe
Posts: 3
![]() |
You can (try to) shoot at any grid (within bow range) for which there is a line unobstructed by walls that the player has seen. For example the target grid might be a wall that hasn't been seen yet but you can still shoot at the grid (I think the arrow might break but I don't actually know). So no, you can't see every grid you can shoot at.
|
![]() |
![]() |
![]() |
#13 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,481
Donated: $60
![]() ![]() |
Quote:
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
#14 |
Prophet
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,614
![]() |
The 2nd statement would be true if you had infinite light radius. The current UI is a little buggy, you can move the target to a square you can't fire at, though it'll tell you its an illegal target when you actually try to shoot.
|
![]() |
![]() |
![]() |
#15 |
Knight
Join Date: Jan 2009
Posts: 910
![]() |
Setting aside issues of light and knowledge of the map (i.e. attempts to fire into the unknown), I believe you have LOF if there is a straight line from the centre of your square to the centre of the target's square (going through the very corner of an obstruction is fine). And that you have LOS if there is a straight line from the centre of your square to any part of their square. So LOF implies LOS, and LOF is symmetrical. I believe this is all inherited from NPP, and is an elegant way of doing it.
If I'd kept developing Sil, I'd also like to have implemented things like smoke and portcullises that block LOS but not LOF and vice versa. Chasms were kind of a first step at this (blocking movement but not LOS or LOF). I believe you (Nick) enumerated the possibilities many years back and I thought it was a great contribution to roguelike theory. |
![]() |
![]() |
![]() |
#16 | ||
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,481
Donated: $60
![]() ![]() |
Quote:
Quote:
![]()
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
||
![]() |
![]() |
![]() |
#17 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,481
Donated: $60
![]() ![]() |
Can you destroy artifacts?
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#18 |
Knight
Join Date: Sep 2010
Location: Stockholm
Posts: 701
![]() |
To get three Silmarils out of the crown you have to sacrifice one weapon that will break when attempting to cut it out, regardless of type. Fits with the lore. Not sure but I think it is the second. Might be the third.
|
![]() |
![]() |
![]() |
#19 |
Prophet
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,614
![]() |
You can't 'k' them but they can be broken on the crown, lost to lack of floor space or lost to leaving the level(even if not seen)
|
![]() |
![]() |
![]() |
#20 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,481
Donated: $60
![]() ![]() |
Thanks, that's what I thought.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
A thread for dumb questions | Angdrim | Vanilla | 80 | November 6, 2021 02:21 |
noobery (dumb questions) | Kneller | Sil | 22 | April 18, 2014 10:04 |
Tell me it's a dumb idea | Antoine | Variants | 14 | June 17, 2012 12:58 |
You might be a dumb fighter if... | slashme | Vanilla | 8 | February 27, 2008 17:41 |
I pulled a Dumb one | Shadow Knight | AAR | 37 | February 21, 2008 21:34 |