keeperfx icon indicating copy to clipboard operation
keeperfx copied to clipboard

Breaking aliance keeps minimap vision from AlliesShareVision

Open Loobinex opened this issue 1 year ago • 4 comments

reported by RauelON

Loobinex avatar Nov 01 '24 22:11 Loobinex

I tought this was by design?

walt253 avatar Nov 02 '24 07:11 walt253

it would not make sense to have this by design. it should be revealed the big map and the minimap or nothing of both.

benlp91 avatar Nov 02 '24 22:11 benlp91

It does not reproduce for me.

Loobinex avatar Nov 03 '24 14:11 Loobinex

To reproduce, load this map: map07117.terrain.zip See difference in minimap and ingame vision: image

Moving this script line: SET_GAME_RULE(AlliesShareVision,1) from line 33 to line 36 fixes the issue.

Loobinex avatar Nov 05 '24 00:11 Loobinex

After further investigation, there is a PLAYER6 in the script that gets vision through the script, and has the alliance updated through script as well based on view type.

Loobinex avatar Nov 11 '25 19:11 Loobinex

Fixed in https://github.com/dkfans/keeperfx/commit/2087a4d4b5d8a850ea6920681245d1f6cba38830

Loobinex avatar Nov 12 '25 16:11 Loobinex