Sid Meier's Civilization VI

Sid Meier's Civilization VI

Z Unit Marks
brelgo 2 maja 2020 o 17:12
[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
< >
Wyświetlanie 1-4 z 4 komentarzy
Zur13  [producent] 7 września 2020 o 7:28 
With new mod update, this became obsolete but thanks anyway.
brelgo 7 września 2020 o 11:26 
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  [producent] 8 września 2020 o 4:35 
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 lutego 2021 o 15:50 
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.
< >
Wyświetlanie 1-4 z 4 komentarzy
Na stronę: 1530 50