KEYBINDING

Discussion in 'General Discussions' started by StylArts, Sep 21, 2016.

  1. StylArts

    StylArts Member

    I found the file to change the keys, I tested, it works!

    Original code

    Code:
    hotkeys : section.begin
       // buildings
       [*] : struct.begin
          Key = C
          Action = build|%nat%cen
       struct.end
       [*] : struct.begin
          Key = H
          Action = build|%nat%hou
       struct.end
       [*] : struct.begin
          Key = L
          Action = build|%nat%bla
       struct.end
       [*] : struct.begin
          Key = B
          Action = build|%nat%bar
       struct.end
       [*] : struct.begin
          Key = E
          Action = build|%nat%aca
       struct.end
       [*] : struct.begin
          Key = S
          Action = build|%nat%sta
       struct.end
       [*] : struct.begin
          Key = R
          Action = build|%nat%art
       struct.end
       [*] : struct.begin
          Key = D
          Action = build|%nat%dip
       struct.end
       [*] : struct.begin
          Key = K
          Action = build|%nat%ba2
       struct.end
       [*] : struct.begin
          Key = J
          Action = build|%nat%tem
       struct.end
       [*] : struct.begin
          Key = I
          Action = build|%com%mil
       struct.end
       [*] : struct.begin
          Key = O
          Action = build|%com%sto
       struct.end
       [*] : struct.begin
          Key = M
          Action = build|%com%mar
       struct.end
       [*] : struct.begin
          Key = N
          Action = build|%com%gol
       struct.end
       [*] : struct.begin
          Key = N
          Action = build|%com%iro
       struct.end
       [*] : struct.begin
          Key = N
          Action = build|%com%coa
       struct.end
       [*] : struct.begin
          Key = P
          Action = build|%com%por
       struct.end
       [*] : struct.begin
          Key = T
          Action = build|%com%tow
       struct.end
       [*] : struct.begin
          Key =
          Action = build|%com%wwa
       struct.end
       [*] : struct.begin
          Key =
          Action = build|%com%swa
       struct.end
       // unit commands
       [*] : struct.begin
          Key = A
          Action = unit|attack
       struct.end
       [*] : struct.begin
          Key = S
          Action = unit|standground
       struct.end
       [*] : struct.begin
          Key = C
          Action = unit|nostandground
       struct.end
       [*] : struct.begin
          Key = F
          Action = squad|fill
       struct.end
       [*] : struct.begin
          Key =
          Action = squad|disband
       struct.end
       [*] : struct.begin
          Key = G
          Action = unit|cancelguard
       struct.end
       [*] : struct.begin
          Key = G
          Action = unit|guard
       struct.end
       [*] : struct.begin
          Key = E
          Action = unit|enableattack
       struct.end
       [*] : struct.begin
          Key = D
          Action = unit|disableattack
       struct.end
       [*] : struct.begin
          Key = R
          Action = unit|attackpoint
       struct.end
       [*] : struct.begin
          Key = J
          Action = squad|rank
       struct.end
       [*] : struct.begin
          Key = K
          Action = squad|column
       struct.end
       [*] : struct.begin
          Key = L
          Action = squad|square
       struct.end
       [*] : struct.begin
          Key = Ctrl+S
          Action = unit|stop
       struct.end
       [*] : struct.begin
          Key = U
          Action = unit|unloadall
       struct.end
       // interface
       [*] : struct.begin
          Key = Alt+M
          Action = interface|minimap
       struct.end
       [*] : struct.begin
          Key = Q
          Action = interface|viewcollision
       struct.end
       [*] : struct.begin
          Key = Ctrl+Alt+A
          Action = select|militaryunits
          Repeat = True
       struct.end
       [*] : struct.begin
          Key = Ctrl+A
          Action = select|allunits
          Repeat = True
       struct.end
       //[*] : struct.begin
       //   Key = Shift+A
       //   Action = select|militaryunits
       //   Repeat = True
       //struct.end
       [*] : struct.begin
          Key = Ctrl+B
          Action = select|allbuildings
          Repeat = True
       struct.end
       [*] : struct.begin
          Key = Ctrl+P
          AlternativeKey = `
          Action = select|idlepeasants
          //Repeat = True
       struct.end
       [*] : struct.begin
          Key = Ctrl+`
          Action = select|allpeasants
          Repeat = True
       struct.end
       [*] : struct.begin
          Key = Ctrl+M
          Action = select|idlemines
          //Repeat = True
       struct.end
       [*] : struct.begin
          Key = Z
          Action = select|unitsofsametype
          Repeat = True
       struct.end
       [*] : struct.begin
          Key = Shift+Z
          Action = select|addunitsofsametype
          Repeat = True
       struct.end
       [*] : struct.begin
          Key = Ctrl+Shift+Z
          Action = select|addallunitsofsametype
          Repeat = True
       struct.end
       [*] : struct.begin
          Key = Ctrl+Z
          Action = select|allunitsofsametype
          Repeat = True
       struct.end
       //[*] : struct.begin
       //   Key = P
       //   Action = event|eventmainmenu|bprofile
       //   Up = True
       //struct.end
       [*] : struct.begin
          Key = C
          Action = event|eventmainmenu|bcampaign
          Up = True
       struct.end
       [*] : struct.begin
          Key = R
          Action = event|eventmainmenu|brandommap
          Up = True
       struct.end
       [*] : struct.begin
          Key = S
          Action = event|eventmainmenu|bsettings
          Up = True
       struct.end
       [*] : struct.begin
          Key = E
          Action = event|eventmainmenu|beditor
          Up = True
       struct.end
       [*] : struct.begin
          Key = L
          Action = event|eventmainmenu|bloadgame
          Up = True
       struct.end
       [*] : struct.begin
          Key = X
          Action = event|eventmainmenu|bexit
          Up = True
       struct.end
       [*] : struct.begin
          Key = M
          Action = event|eventmainmenu|bmultiplayer
          Up = True
       struct.end
    section.end
    
     
  2. StylArts

    StylArts Member

    My hotkeys

    Code:
    hotkeys : section.begin
       // buildings
       [*] : struct.begin
          Key = C
          Action = build|%nat%cen
       struct.end
       [*] : struct.begin
          Key = A
          Action = build|%nat%hou
       struct.end
       [*] : struct.begin
          Key = D
          Action = build|%nat%bla
       struct.end
       [*] : struct.begin
          Key = S
          Action = build|%nat%bar
       struct.end
       [*] : struct.begin
          Key = H
          Action = build|%nat%aca
       struct.end
       [*] : struct.begin
          Key = F
          Action = build|%nat%sta
       struct.end
       [*] : struct.begin
          Key = G
          Action = build|%nat%art
       struct.end
       [*] : struct.begin
          Key = W
          Action = build|%nat%dip
       struct.end
       [*] : struct.begin
          Key = X
          Action = build|%nat%ba2
       struct.end
       [*] : struct.begin
          Key = T
          Action = build|%nat%tem
       struct.end
       [*] : struct.begin
          Key = Z
          Action = build|%com%mil
       struct.end
       [*] : struct.begin
          Key = E
          Action = build|%com%sto
       struct.end
       [*] : struct.begin
          Key = Q
          Action = build|%com%mar
       struct.end
       [*] : struct.begin
          Key = R
          Action = build|%com%gol
       struct.end
       [*] : struct.begin
          Key = R
          Action = build|%com%iro
       struct.end
       [*] : struct.begin
          Key = R
          Action = build|%com%coa
       struct.end
       [*] : struct.begin
          Key = Y
          Action = build|%com%por
       struct.end
       [*] : struct.begin
          Key = N
          Action = build|%com%tow
       struct.end
       [*] : struct.begin
          Key = V
          Action = build|%com%wwa
       struct.end
       [*] : struct.begin
          Key = B
          Action = build|%com%swa
       struct.end
       // unit commands
       [*] : struct.begin
          Key = A
          Action = unit|attack
       struct.end
       [*] : struct.begin
          Key = S
          Action = unit|standground
       struct.end
       [*] : struct.begin
          Key = C
          Action = unit|nostandground
       struct.end
       [*] : struct.begin
          Key = F
          Action = squad|fill
       struct.end
       [*] : struct.begin
          Key =
          Action = squad|disband
       struct.end
       [*] : struct.begin
          Key = G
          Action = unit|cancelguard
       struct.end
       [*] : struct.begin
          Key = G
          Action = unit|guard
       struct.end
       [*] : struct.begin
          Key = E
          Action = unit|enableattack
       struct.end
       [*] : struct.begin
          Key = D
          Action = unit|disableattack
       struct.end
       [*] : struct.begin
          Key = R
          Action = unit|attackpoint
       struct.end
       [*] : struct.begin
          Key = J
          Action = squad|rank
       struct.end
       [*] : struct.begin
          Key = K
          Action = squad|column
       struct.end
       [*] : struct.begin
          Key = L
          Action = squad|square
       struct.end
       [*] : struct.begin
          Key = Ctrl+S
          Action = unit|stop
       struct.end
       [*] : struct.begin
          Key = U
          Action = unit|unloadall
       struct.end
       // interface
       [*] : struct.begin
          Key = Alt+M
          Action = interface|minimap
       struct.end
       [*] : struct.begin
          Key = Q
          Action = interface|viewcollision
       struct.end
       [*] : struct.begin
          Key = Ctrl+Alt+A
          Action = select|militaryunits
          Repeat = True
       struct.end
       [*] : struct.begin
          Key = Ctrl+A
          Action = select|allunits
          Repeat = True
       struct.end
       //[*] : struct.begin
       //   Key = Shift+A
       //   Action = select|militaryunits
       //   Repeat = True
       //struct.end
       [*] : struct.begin
          Key = Ctrl+B
          Action = select|allbuildings
          Repeat = True
       struct.end
       [*] : struct.begin
          Key = Ctrl+P
          AlternativeKey = `
          Action = select|idlepeasants
          //Repeat = True
       struct.end
       [*] : struct.begin
          Key = Ctrl+`
          Action = select|allpeasants
          Repeat = True
       struct.end
       [*] : struct.begin
          Key = Ctrl+M
          Action = select|idlemines
          //Repeat = True
       struct.end
       [*] : struct.begin
          Key = Z
          Action = select|unitsofsametype
          Repeat = True
       struct.end
       [*] : struct.begin
          Key = Shift+Z
          Action = select|addunitsofsametype
          Repeat = True
       struct.end
       [*] : struct.begin
          Key = Ctrl+Shift+Z
          Action = select|addallunitsofsametype
          Repeat = True
       struct.end
       [*] : struct.begin
          Key = Ctrl+Z
          Action = select|allunitsofsametype
          Repeat = True
       struct.end
       //[*] : struct.begin
       //   Key = P
       //   Action = event|eventmainmenu|bprofile
       //   Up = True
       //struct.end
       [*] : struct.begin
          Key = C
          Action = event|eventmainmenu|bcampaign
          Up = True
       struct.end
       [*] : struct.begin
          Key = R
          Action = event|eventmainmenu|brandommap
          Up = True
       struct.end
       [*] : struct.begin
          Key = S
          Action = event|eventmainmenu|bsettings
          Up = True
       struct.end
       [*] : struct.begin
          Key = E
          Action = event|eventmainmenu|beditor
          Up = True
       struct.end
       [*] : struct.begin
          Key = L
          Action = event|eventmainmenu|bloadgame
          Up = True
       struct.end
       [*] : struct.begin
          Key = X
          Action = event|eventmainmenu|bexit
          Up = True
       struct.end
       [*] : struct.begin
          Key = M
          Action = event|eventmainmenu|bmultiplayer
          Up = True
       struct.end
    section.end
    
     
  3. StylArts

    StylArts Member

  4. [WW]Prototype

    [WW]Prototype Active Member

    no UP,DOWN,LEFT,RIGHT keys ???
     
  5. Masher

    Masher Active Member

    Is it possible to make WASD scroll instead of arrow keys?
     
    [WW]Prototype likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice