Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Overmap exploration more realistic #25157

Open
KurzedMetal opened this issue Aug 26, 2018 · 12 comments
Open

Make Overmap exploration more realistic #25157

KurzedMetal opened this issue Aug 26, 2018 · 12 comments
Labels
Game: Mechanics Change Code that changes how major features work Info / User Interface Game - player communication, menus, etc. stale Closed for lack of activity, but still valid. <Suggestion / Discussion> Talk it out before implementing

Comments

@KurzedMetal
Copy link
Contributor

KurzedMetal commented Aug 26, 2018

Describe the Problem
The issue with the current system is that it's too easy to explore cities.

Player gets a huge amount of information when simply walking on a city, even without binoculars: they can see what kind of buildings are available even a few blocks away without taking into account Line of Sight and other building blocking the view, letting the player easily strategize where to go to pick valuable armor/weapon/consumables.

Describe the solution you'd like
I'd like to see restriction of Line of Sight be applied to Overmap too.
If the player has buildings to the north and south, he won't be able to see more than a single building towards that direction (the tiles behind those buildings should still be unexplored).

An added implementation bonus could be a flag to mark certain type of buildings as "non-blocking", for example: A plaza has no building and few trees doesn't generate Overmap LoS blocking.

Describe alternatives you've considered
Another possible option would be hiding what type of building it is until the player is closer.
That means the player knows there's a building far in the distance, but has no clue what it may be (house, grocery or gun shop).

@CoroNaut
Copy link

We already have line of sight affected when coming up to a large forest, even with binoculars you can see less than half as much as just looking over plains. I don't know if line of sight is already reflecting that you see only the facing side of the city, but line of sight is implemented.

@KurzedMetal
Copy link
Contributor Author

KurzedMetal commented Aug 26, 2018

I wanted to do more tests and add some screenshots but I pressed SHIFT+ENTER by mistake and it submitted the issue. :/

You are right, it does have LoS, but I think it needs some tweaking.

Example, here I approached the city directly going south (I initially went diagonal so disregard the buildings closer to me), and I marked some buildings I wasn't expecting to see due to LoS and I wasn't even expecting to identify what type of building it was due to range. (This was with a binocular)
image

Another example (without binocular), This is probably an edge case scenario because it seems the player has LoS on the block he is in and he acquires vision even when he has a wall in his face:
20180826_134054

@KurzedMetal
Copy link
Contributor Author

KurzedMetal commented Aug 26, 2018

Another one (without bin):
The most surprising here is that I got view of the Manhole to the south west (yellow street), since it's behind of a grocery store. So I could efectively see it with 2 buildings blocking me.

20180826_135235

After adding binoculars and moving a 2 steps/turn north (to update overmap) from where I left in the video:

image

Binoculars shouldn't give X-Ray vision. 😄

@KurzedMetal
Copy link
Contributor Author

KurzedMetal commented Aug 26, 2018

As for Forest, I think the player can see like 3-4 tiles into the forest, I think it should be more restrictive (specially if it has high density).

Tweaking all this would have a huge impact on city exploration and I think the way the player approach early days

@KurzedMetal
Copy link
Contributor Author

Sorry, closed by mistake :/

@KurzedMetal KurzedMetal reopened this Aug 26, 2018
@CoroNaut
Copy link

This would definitely be a long term issue then, unless some genius can figure out all the math behind it 😄

@Phenomphear
Copy link
Contributor

Oh this is a very interesting idea. As a new player I am dying a lot and sometimes I'm tempted to re-roll my map because I see most of the city, what it has, and where the buildings are. I haven't yet, but, other new players may just re-roll maps until they see a city they like, adding this would prevent that and make early city exploring more interesting and maybe even prevent suicide runs straight to a gunshop or fire department.

Little idea: buildings that are considered "large" like a fire department or office building should probably be visible from quite a distance, but, I have no idea how you will implement this.

@Night-Pryanik Night-Pryanik added Game: Mechanics Change Code that changes how major features work <Suggestion / Discussion> Talk it out before implementing Info / User Interface Game - player communication, menus, etc. labels Aug 27, 2018
@Shinino
Copy link
Contributor

Shinino commented Aug 29, 2018

My guess on the 'large' buildings: Probably with a flag such as "LARGE" which would somehow show up on map from further away. I absolutely couldn't say on the -mechanics- of this though.

@kevingranade
Copy link
Member

We have a very functional LoS system, probably the most straightforward thing to do is to load the immediate neighbourhood of map tiles into an array as transparency values, and run the existing code over it. I'm guessing the existing code does something relatively ad-hoc to decide which map areas you can see.

@kevingranade kevingranade added this to the 0.E milestone Jun 7, 2019
@kevingranade kevingranade modified the milestones: 0.E, 0.F Nov 23, 2019
@ghost
Copy link

ghost commented Jan 3, 2020

in similar problem, a player can see what are inside houses without having to go inside and really look. what i often do is to pass along alley of aligned houses, i just walk following the houses lines from exterior and as i walk by whole content of houses is revealed to me, like if there's stairs or not etc .. it would be much more realistic to show houses roof all the time, except when we actually enter a house, only then reveal interior. we definately see too much, that is true for line of sight discussed in this PR which is good, but we also see too much of the buildings interiors without setting a foot inside.

@shahezad96
Copy link

shahezad96 commented Jul 4, 2020

you ppl are restricting players but how about monsters and NPC?
if all creatures in the game not get same restriction its gonna get hard to play the game.
right now its still too hard to play.
you should add sneak mode to walk, run and crouch.(i dont know where to say so i am saying here. i am not a dev)

@kevingranade kevingranade removed this from the 0.F milestone Dec 14, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

@github-actions github-actions bot added the stale Closed for lack of activity, but still valid. label Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game: Mechanics Change Code that changes how major features work Info / User Interface Game - player communication, menus, etc. stale Closed for lack of activity, but still valid. <Suggestion / Discussion> Talk it out before implementing
Projects
None yet
Development

No branches or pull requests

7 participants