Skip to content

Configuration of terrain visibility #25

@Philiquaz

Description

@Philiquaz

Hi, since fixing that bug I've opened up the repo again and started looking at things once more.
I'm considering how terrain visibility functions between different terrain types. I've not sighted anything regarding this already within C3X, outside of a couple mapped addresses used for current-visibility modifications.

So this issue functions both as feature request, and also as a request for information.

Are you aware of where this system lies? Earlier you mentioned sharing your ghidra repo - if developing this isn't immediately on the table for you but is still a reasonably achievable goal, is this option still on the table?

As for architecting an extension, I believe it can be boiled down to a couple of values per terrain type - notably a height, and then an adjustment that accounts for water granting additional visibility to adjacent tiles, and jungle preventing additional visibility to adjacent tiles. Finally, an adjustment from the unit can account for radar. Using larger numbers than the minimal and rounding, I think this can be extended for higher radius sightlines, though there should probably be some limit before the decision of which tile counts as intermediate makes everything appear wonky.

Cheers for your insights

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions