Sid Meier's Civilization VI

Sid Meier's Civilization VI

Cheat Menu Panel (R&F - GS)
bind Add +5 Movement to Selected Unit to any key not work
how to solve?
< >
1-8 van 8 reacties weergegeven
I also have this problem, and it's the ONLY thing I use the panel for!!!
Same here
I finally fixed the errors I kept getting from this mod:
ERROR: Invalid Reference on InputActionDefaultGestures.ActionId - "Toggle5movement"
and the ones about Localisations.sql.

First, I deleted the other languages besides English in the Localisation.sql, putting a semicolon at the end.

Then, to fix the "Toggle5movement", go into ' Input_Config.xml '
The very bottom line:
<Row ActionId="Toggle5movement" Index="0" GestureType="KBMouse" GestureData="NONE"/>

Change the "m" after 5 to a capital "M". so it matches the one above in InputActions.
<Row ActionId="Toggle5Movement" Index="0" GestureType="KBMouse" GestureData="NONE"/>

This will fix the keybind not working too
Origineel geplaatst door STuRoK:
I finally fixed the errors I kept getting from this mod:
ERROR: Invalid Reference on InputActionDefaultGestures.ActionId - "Toggle5movement"
and the ones about Localisations.sql.

First, I deleted the other languages besides English in the Localisation.sql, putting a semicolon at the end.

Then, to fix the "Toggle5movement", go into ' Input_Config.xml '
The very bottom line:
<Row ActionId="Toggle5movement" Index="0" GestureType="KBMouse" GestureData="NONE"/>

Change the "m" after 5 to a capital "M". so it matches the one above in InputActions.
<Row ActionId="Toggle5Movement" Index="0" GestureType="KBMouse" GestureData="NONE"/>

This will fix the keybind not working too
Sorry, can you explain this to me like I'm stupid? Where am I finding these .xml files?
Origineel geplaatst door LittleJerk:
Sorry, can you explain this to me like I'm stupid? Where am I finding these .xml files?
Go to Steam's mod directory. If you installed in the default location, it should be
C:\Program Files (x86)\Steam\steamapps\workshop\content\289070\1528155583\Base\UI\Text
(numbers are game's and mod's ids).
I changed the ActionId in the XML file, as well as truncated the localisations in the sql script, but hotkey still doesn't work. And "restore unit movement" action doesn't do anything useful...
I got it working.

Cause:
Entry for UnitAddMovement() was missing from the OnInputActionTriggered() function.

Solution:
1. Go to C:\Program Files (x86)\Steam\steamapps\workshop\content\289070\1528155583\Base\UI\Panels
2. Edit Cheat_Menu_Panel_Functions.lua file
3. Go into the
function OnInputActionTriggered( actionId )
(line 243 and below)
4. Add
if ( actionId == Input.GetActionId("Toggle5Movement") ) then UnitAddMovement(); end
before the last end in the last line - keep in mind the indentation level (just mirror the other entries)
5. Profit

Must have also applied the KeyBindings bugfix from post #4
Origineel geplaatst door springdancer:
I got it working.

Cause:
Entry for UnitAddMovement() was missing from the OnInputActionTriggered() function.

Solution:
1. Go to C:\Program Files (x86)\Steam\steamapps\workshop\content\289070\1528155583\Base\UI\Panels
2. Edit Cheat_Menu_Panel_Functions.lua file
3. Go into the
function OnInputActionTriggered( actionId )
(line 243 and below)
4. Add
if ( actionId == Input.GetActionId("Toggle5Movement") ) then UnitAddMovement(); end
before the last end in the last line - keep in mind the indentation level (just mirror the other entries)
5. Profit

Must have also applied the KeyBindings bugfix from post #4
Do you code?! Did you use chatGPT? YOU ARE SO SEXY. This fixed it!!!
< >
1-8 van 8 reacties weergegeven
Per pagina: 1530 50