Ticket #1312: t1312_added_hotkyes_to_construction_menu.patch

File t1312_added_hotkyes_to_construction_menu.patch, 2.2 KB (added by Sergey Kushnirenko, 8 years ago)
  • binaries/data/config/default.cfg

     
    3013016 = "N"            ; add sixth unit type to queue
    3023027 = "M"            ; add seventh unit type to queue
    3033038 = Comma          ; add eighth unit type to queue
     3049 = "Shift+Z"            ; add first unit type to queue
     30510 = "Shift+X"            ; add second unit type to queue
     30611 = "Shift+C"            ; add third unit type to queue
     30712 = "Shift+V"            ; add fourth unit type to queue
     30813 = "Shift+B"            ; add fivth unit type to queue
     30914 = "Shift+N"            ; add sixth unit type to queue
     31015 = "Shift+M"            ; add seventh unit type to queue
     31116 = "Shift+Comma"          ; add eighth unit type to queue
     31217 = "Alt+Z"            ; add first unit type to queue
     31318 = "Alt+X"            ; add second unit type to queue
     31419 = "Alt+C"            ; add third unit type to queue
     31520 = "Alt+V"            ; add fourth unit type to queue
     31621 = "Alt+B"            ; add fivth unit type to queue
     31722 = "Alt+N"            ; add sixth unit type to queue
     31823 = "Alt+M"            ; add seventh unit type to queue
     31924 = "Alt+Comma"          ; add eighth unit type to queue
    304320
    305321[hotkey.session.timewarp]
    306322fastforward = Space               ; If timewarp mode enabled, speed up the game
  • binaries/data/mods/public/gui/session/selection_panels.js

     
    334334    },
    335335    "setTooltip": function(data)
    336336    {
    337         var tooltip = getEntityNamesFormatted(data.template);
     337        var tooltip = "";
     338        var key = Engine.ConfigDB_GetValue("user", "hotkey.session.queueunit." + (data.i + 1));
     339        if (key)
     340            tooltip += "[color=\"255 251 131\"][font=\"sans-bold-16\"]\\[" + key + "][/font][/color] ";
     341        tooltip += getEntityNamesFormatted(data.template);
    338342        tooltip += getVisibleEntityClassesFormatted(data.template);
    339343        tooltip += getAurasTooltip(data.template);
    340344