Ticket #1870: stop-hotkey.2.patch

File stop-hotkey.2.patch, 3.1 KB (added by alpha123, 11 years ago)

Update manual to list the new hotkey.

  • binaries/data/config/default.cfg

     
    171171hotkey.showsky = "Alt+Z"                    ; Toggle sky
    172172
    173173; > CAMERA SETTINGS
    174 hotkey.camera.reset = "H"                                   ; Reset camera rotation to default.
     174hotkey.camera.reset = "R"                                   ; Reset camera rotation to default.
    175175hotkey.camera.follow = "F"                                  ; Follow the first unit in the selection
    176176hotkey.camera.zoom.in = Plus, Equals, NumPlus               ; Zoom camera in (continuous control)
    177177hotkey.camera.zoom.out = Minus, NumMinus                    ; Zoom camera out (continuous control)
     
    243243
    244244; > SESSION CONTROLS
    245245hotkey.session.kill = Delete                ; Destroy selected units
     246hotkey.session.stop = "H"                   ; Stop the current action
    246247hotkey.session.attack = AltGr               ; Modifier to force attack instead of another action
    247248hotkey.session.garrison = Ctrl              ; Modifier to garrison when clicking on building
    248249hotkey.session.attackmove = Ctrl            ; Modifier to attackmove when clicking on a point
  • binaries/data/mods/public/gui/session/session.xml

     
    9797        <action on="Press">setCameraFollow(g_Selection.toList()[0]);</action>
    9898    </object>
    9999   
     100    <!-- Stop the selected units -->
     101    <object hotkey="session.stop">
     102        <action on="Press">stopUnits(g_Selection.toList());</action>
     103    </object>
     104   
    100105    <!-- queue first unit in the training queue  -->
    101106    <object hotkey="session.queueunit.1">
    102107        <action on="Press">addTrainingByPosition(0);</action>
  • binaries/data/mods/public/gui/manual/intro.txt

     
    6262Delete: Delete currently selected unit/units/building/buildings
    6363,: Select idle fighters
    6464.: Select idle workers (including citizen soldiers)
     65H: Stop (halt) the currently selected units.
    6566Ctrl + 1 (and so on up to Ctrl + 0): Create control group 1 (to 0) from the selected units/buildings
    66671 (and so on up to 0): Select the units/buildings in control group 1 (to 0)
    6768Shift + 1 (to 0): Add selected units/buildings to control group 1 (to 0)
     
    101102Shift + Mouse Wheel Rotate Up: Rotate camera clockwise around terrain
    102103Shift + Mouse Wheel Rotate Down: Rotate camera anticlockwise around terrain
    103104F: Follow the selected unit (move the camera to stop the camera from following the unit/s)
    104 H: Reset camera zoom/orientation
     105R: Reset camera zoom/orientation
    105106+: Zoom in (keep pressed for continuous zoom)
    106107-: Zoom out (keep pressed for continuous zoom)
    107108Alt+W: Toggle through wireframe modes