1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

Unrebindable chat keys causing problems on non-QWERTY layouts

Discussion in 'Archive' started by theproduct, Nov 13, 2013.

Thread Status:
Not open for further replies.
  1. theproduct

    theproduct Catapult Fodder

    Messages:
    2
    Category: KAG Client
    Operating system: Not OS specific
    Build number: 939

    Description:
    I use a non-QWERTY keyboard layout and my T key is part of the WASD area. Because of this, I can't even walk properly as when I try to walk, it brings up the chat box which makes it impossible for me to play normally.

    Steps to reproduce:
    1. Rebind one of your movement keys to T.
    2. Press T and note that instead of moving it brings up the chat box.
     
  2. Downburst

    Downburst Mindblown Global Moderator Forum Moderator Donator Tester

    Messages:
    1,813
    You can change the keybinds by editing autoconfig.cfg located at the main KAG folder (\Steam\SteamApps\common\King Arthur's Gold if you are on steam).

    Edit the lines

    cc_key = 84 # The key for opening and closing the chat.
    cc_key_team = 89 # The key for opening and closing the chat in team mode.

    Here is a list of what the numbers are.

    http://msdn.microsoft.com/en-us/library/windows/apps/br211775.aspx
     
  3. theproduct

    theproduct Catapult Fodder

    Messages:
    2
    Changing cc_key_team works fine, but when I try to change cc_key it gets reset to T when booting the game. Any idea how I can get around that?
     
  4. Bonum

    Bonum Catapult Fodder

    Messages:
    6
    I have the same issue. Starting the game resets the key to T.
     
  5. Geti

    Geti Please avoid PMing me (poke a mod instead) THD Team Administrator Global Moderator

    Messages:
    3,730
    I'll have a look into what's causing this over the next week or so.

    For now, you could add it to your autostart (autostart.as in base/scripts)

    Code:
    // initialize script
    
    #include "Default/DefaultStart.as"
    
    //we can use this to set autoconfig stuff here
    void Configure()
    {
        s_soundon = 1; 
        v_driver = 5;
        cc_key_team = whatever; // set the key here
    }
    
    void InitializeGame()
    {
        print("Initializing Game Script");
        LoadDefaultMapLoaders();
        LoadDefaultGUI();
        LoadDefaultMenuMusic();
        //RunLocalhost();
    }
    
     
  6. Bonum

    Bonum Catapult Fodder

    Messages:
    6
    The workaround above did not work for me, but the update solved the issue with cc_key. Thanks.
     
  7. looks partially resolved
     
Thread Status:
Not open for further replies.