Skip to content

Allow configuration of unit view distance#41

Open
Philiquaz wants to merge 10 commits into
maxpetul:masterfrom
Philiquaz:viewdistance
Open

Allow configuration of unit view distance#41
Philiquaz wants to merge 10 commits into
maxpetul:masterfrom
Philiquaz:viewdistance

Conversation

@Philiquaz
Copy link
Copy Markdown
Contributor

@Philiquaz Philiquaz commented May 22, 2026

Adds configuration of unit visibility ranges.
Adds configuration of terrain visibility behaviours.
Supports fortification bonuses, euclidean radii, the sea being flat, and all the bells and whistles.
The default configuration should match vanilla, but on a basis of caution everything is toggled under 1 flag. There is also a performance reason for this, as at a high visibility with hundreds of units around this can become a taxing system.
Resolves #25

This was tested on the Steam version of the game.
Exe offsets should be correct for GoG as there is where most RE took place, but a test should be performed.

OFFSETS FOR PCG.DE ARE UNCHECKED, AS IS THE GAME.
UPDATE BEFORE MERGE.

@Philiquaz Philiquaz marked this pull request as ready for review June 5, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configuration of terrain visibility

1 participant