Sid Meier's Civilization VI

Sid Meier's Civilization VI

Z Unit Marks
brelgo 2 May, 2020 @ 5:12pm
[SUGGESTION / HOW TO] Disable the clickable flags
I enjoy this mod to a great extent as use it oftenly! However, I do not enjoy the markers being clickable, as I often click them on accident. How do you feel about adding an option in user settings to disable that?

For now, this is an easy fix for others: In UnitFlagManager.lua, comment out every line in
function OnZumFlagSettingsClick( playerID : number, unitID : number )
(that means, it should look like this:
-- print( "ZUM flag click", playerID, unitID );
--ZumUpdateTopBar( playerID, unitID ); -- Zur13
--ExposedMembers.ZUM.OnZumSettingsOpen( playerID, unitID );
--ZumUpdateTopBar( playerID, unitID ); -- Zur13
[...] )

Greets
< >
Showing 1-4 of 4 comments
Zur13  [developer] 7 Sep, 2020 @ 7:28am 
With new mod update, this became obsolete but thanks anyway.
brelgo 7 Sep, 2020 @ 11:26am 
What a great update to a great mod! I totally love it :)

Have you thought about making this mod compatible with CQUI's "show unit paths upon hover" or adding that capability yourself? Of course it can be easily done manually, but right now I think that is the only thing missing from this mod :)

If you are interested in adding that capability, I will gladly help if you want me to :)
Zur13  [developer] 8 Sep, 2020 @ 4:35am 
I like the idea to show movement path on hover and I might implement it. It does not look like anything hard.
But I can't find a way to make my mod compatible with CQUI. The problem is that sometimes game thinks CQUI files should be loaded AFTER my files completely ignoring LoadOrder and dependencies settings and that is ruining my mod's logic.
ubereffect 14 Feb, 2021 @ 3:50pm 
For anyone looking to have clickable flags disabled by default.

1) Open the following file with a text editor like notepad, or Notepad++
\Steam\steamapps\workshop\content\289070\1780895460\ZUM_SettingsManager.lua

2) Find the following line
allow_panel_click = true

3) Change the value from true to false, and save the file.
allow_panel_click = false

As long as the file isn't overwritten in a future mod update, the setting should stick.
< >
Showing 1-4 of 4 comments
Per page: 1530 50