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

Actors under bridges and behind tall structures are not visible #15880

Open
dragunoff opened this Issue Dec 2, 2018 · 3 comments

Comments

Projects
None yet
4 participants
@dragunoff
Contributor

dragunoff commented Dec 2, 2018

Currently it's possible to conceal units and buildings under bridges, in tunnel entrances and behind tall structures. They are not visible unless selected. This is a problem for the player (forget what you have there) and for the enemy (for obvious reasons).

openra-2018-12-02t222528179z

Here's how Age of Empires II and Red Alert 2 have tackled this problem. AoE's aproach definitely being more elegant and RA's solution covering the basics:

aoe-ra2-render

@dragunoff dragunoff changed the title from Structures and units under bridges and behind structures are not visible to Actors under bridges and behind tall structures are not visible Dec 2, 2018

@FRenzy-OpenRA

This comment has been minimized.

FRenzy-OpenRA commented Dec 4, 2018

You also had suggested in Discord a transparent "shadow", that could use the player's color.

@dragunoff

This comment has been minimized.

Contributor

dragunoff commented Dec 15, 2018

Perhaps someone who knows the rendering code should chime in here and share their opinion on how this problem can be approached.

@reaperrr

This comment has been minimized.

Contributor

reaperrr commented Dec 15, 2018

To fix this, we'd first need logic that tells the actor (or at least its renderable) that it is hidden behind something.

Not sure how easy or hard that is with our current renderer, that's probably a question for @pchote to answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment