Sid Meier's Civilization VI

Sid Meier's Civilization VI

Cheat Menu Panel (R&F - GS)
PeakFire 2024년 6월 1일 오후 4시 08분
bind Add +5 Movement to Selected Unit to any key not work
how to solve?
< >
전체 댓글 8개 중 1~8개 표시 중
LittleJerk 2024년 6월 7일 오후 8시 35분 
I also have this problem, and it's the ONLY thing I use the panel for!!!
Litcube 2024년 6월 30일 오전 10시 42분 
+1
pehadzick 2024년 8월 27일 오전 8시 17분 
Same here
STuRoK 2024년 8월 30일 오후 9시 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 2025년 1월 22일 오전 7시 48분 
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 2025년 1월 28일 오후 2시 12분 
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 2025년 1월 31일 오전 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 2025년 2월 6일 오전 8시 35분 
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!!!
< >
전체 댓글 8개 중 1~8개 표시 중
페이지당 표시 개수: 1530 50