WASD instead of arrow keys

Discussion in 'Mods and Skins' started by flyboy463, Aug 12, 2013.

  1. flyboy463

    flyboy463
    Expand Collapse

    Joined:
    Aug 8, 2013
    Messages:
    5
    I find WASD to be much more comfortable and practical to use instead of the arrow keys for movement, and honestly never use wasd for the camera, so I switched them.

    Have at it, goes in scripts/client/inputmaps/
    Remember to backup your original incase you wish to revert.
     

    Attached Files:

    • Like Like x 1
  2. blinkingyellow

    blinkingyellow
    Expand Collapse

    Joined:
    Mar 9, 2013
    Messages:
    276
    I doubt that you made it.. i saw this on russian site, russians made it i think. nice change, but i prefer the arrow keys for some reasons.
     
  3. flyboy463

    flyboy463
    Expand Collapse

    Joined:
    Aug 8, 2013
    Messages:
    5
    ...
    Hey man, I dunno if you looked into the file itself, but it is such a simple change anyone can do it.
    Here is the original, untouched code from the file.
    Code:
    moveMap.bind( keyboard, a, moveleft );
    moveMap.bind( keyboard, d, moveright );
    moveMap.bind( keyboard, w, moveforward );
    moveMap.bind( keyboard, s, movebackward );
    
    moveMap.bind( keyboard, left, steer_left );
    moveMap.bind( keyboard, right, steer_right );
    moveMap.bind( keyboard, up, accelerate );
    moveMap.bind( keyboard, down, brake );
    And here is the switched version:

    Code:
    moveMap.bind( keyboard, left, moveleft );
    moveMap.bind( keyboard, right, moveright );
    moveMap.bind( keyboard, up, moveforward );
    moveMap.bind( keyboard, down, movebackward );
    
    moveMap.bind( keyboard, a, steer_left );
    moveMap.bind( keyboard, d, steer_right );
    moveMap.bind( keyboard, w, accelerate );
    moveMap.bind( keyboard, s, brake );
    The ol' switcheroo.
     
  4. blinkingyellow

    blinkingyellow
    Expand Collapse

    Joined:
    Mar 9, 2013
    Messages:
    276
    Anyway, good work.
     
  5. squidiskool

    squidiskool
    Expand Collapse
    Banned

    Joined:
    Apr 6, 2016
    Messages:
    44
    Does not work-
     
  6. MisterKenneth

    MisterKenneth
    Expand Collapse

    Joined:
    Mar 26, 2016
    Messages:
    1,747
    It dates back to 2013, so it's outdated.
     
  7. squidiskool

    squidiskool
    Expand Collapse
    Banned

    Joined:
    Apr 6, 2016
    Messages:
    44
    and there is no scripts folder
     
  8. Giraffinator

    Giraffinator
    Expand Collapse

    Joined:
    Sep 5, 2016
    Messages:
    702
    Again, this is an outdated mod, so it won't work. You can easily remap the keys yourself ingame.
     
    • Agree Agree x 1
  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