Ticket #1870: stop-hotkey.patch
File stop-hotkey.patch, 1.9 KB (added by , 11 years ago) |
---|
-
binaries/data/config/default.cfg
171 171 hotkey.showsky = "Alt+Z" ; Toggle sky 172 172 173 173 ; > CAMERA SETTINGS 174 hotkey.camera.reset = " H" ; Reset camera rotation to default.174 hotkey.camera.reset = "R" ; Reset camera rotation to default. 175 175 hotkey.camera.follow = "F" ; Follow the first unit in the selection 176 176 hotkey.camera.zoom.in = Plus, Equals, NumPlus ; Zoom camera in (continuous control) 177 177 hotkey.camera.zoom.out = Minus, NumMinus ; Zoom camera out (continuous control) … … 243 243 244 244 ; > SESSION CONTROLS 245 245 hotkey.session.kill = Delete ; Destroy selected units 246 hotkey.session.stop = "H" ; Stop the current action 246 247 hotkey.session.attack = AltGr ; Modifier to force attack instead of another action 247 248 hotkey.session.garrison = Ctrl ; Modifier to garrison when clicking on building 248 249 hotkey.session.attackmove = Ctrl ; Modifier to attackmove when clicking on a point -
binaries/data/mods/public/gui/session/session.xml
97 97 <action on="Press">setCameraFollow(g_Selection.toList()[0]);</action> 98 98 </object> 99 99 100 <!-- Stop the selected units --> 101 <object hotkey="session.stop"> 102 <action on="Press">stopUnits(g_Selection.toList());</action> 103 </object> 104 100 105 <!-- queue first unit in the training queue --> 101 106 <object hotkey="session.queueunit.1"> 102 107 <action on="Press">addTrainingByPosition(0);</action>