Sid Meier's Civilization VI

Sid Meier's Civilization VI

Cheat Menu Panel (R&F - GS)
PeakFire 1. juni 2024 kl. 16:08
bind Add +5 Movement to Selected Unit to any key not work
how to solve?
< >
Viser 1-8 af 8 kommentarer
LittleJerk 7. juni 2024 kl. 20:35 
I also have this problem, and it's the ONLY thing I use the panel for!!!
Litcube 30. juni 2024 kl. 10:42 
+1
pehadzick 27. aug. 2024 kl. 8:17 
Same here
STuRoK 30. aug. 2024 kl. 21:54 
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
LittleJerk 22. jan. kl. 7:48 
Oprindeligt skrevet af 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?
springdancer 28. jan. kl. 14:12 
Oprindeligt skrevet af 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...
springdancer 31. jan. kl. 2:24 
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
LittleJerk 6. feb. kl. 8:35 
Oprindeligt skrevet af 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!!!
< >
Viser 1-8 af 8 kommentarer
Per side: 1530 50