Sid Meier's Civilization VI

Sid Meier's Civilization VI

Cheat Menu Panel (R&F - GS)
PeakFire 1 czerwca 2024 o 16:08
bind Add +5 Movement to Selected Unit to any key not work
how to solve?
< >
Wyświetlanie 1-8 z 8 komentarzy
LittleJerk 7 czerwca 2024 o 20:35 
I also have this problem, and it's the ONLY thing I use the panel for!!!
Litcube 30 czerwca 2024 o 10:42 
+1
pehadzick 27 sierpnia 2024 o 8:17 
Same here
STuRoK 30 sierpnia 2024 o 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 stycznia o 7:48 
Początkowo opublikowane przez 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 stycznia o 14:12 
Początkowo opublikowane przez 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 stycznia o 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
Początkowo opublikowane przez 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!!!
< >
Wyświetlanie 1-8 z 8 komentarzy
Na stronę: 1530 50