Dynamic Keybinder

Home Forums I-War Development Section Developer’s Corner Dynamic Keybinder

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #18935
    Chessking
    Participant

    My programming project for May is to create a new keybinder for EOC that will detect which key is being pressed and format the file for you. You will no longer need to know the title of every key, and the syntax of multiple keys, etc. This program will not be run inside EOC, but through an HTML file, which will print the .ini file for you.

    The four stages of this project are:
    1. Create a keyboard keybinder for EOC 2-D
    2. Create a keyboard keybinder for Edge of Chaos
    3. Add a joystick keybinder to EOC 2-D
    4. Add a joystick keybinder for Edge of Chaos

    I have already completed objective 1, and I like it.


    This is one tough navy, boy. They donโ€™t give you time off, even for being dead. -Clay

    Storm Petrel

    #18936
    IronDuke
    Participant

    I just want to emphasize that many mods have their own key titles. You will have to include those for your keybinder to be compatible with many EoC mods.
    Apart from that, this sounds great! I’ve heard of more than one person who got annoyed by the difficulty of setting keybinds, and this could solve that. ๐Ÿ™‚

    –IronDuke


    I-War 2 Discord: https://discord.gg/RWaabWB
    Very little about the game is not known to me. Any questions you got, throw them at me. ๐Ÿ™‚

    #18938
    Chessking
    Participant

    Good point. To do this, I will need to know which mods have custom keybinds. The ones I know of are Torn Stars, Gold Rush, and maybe uniGUI and uniGUI related mods like Future Trader. This will probably be implemented with a checklist on the side. Select which mods are currently installed, (or keybind them all before hand, I don’t think this will break anything) and fill out the commands.


    This is one tough navy, boy. They donโ€™t give you time off, even for being dead. -Clay

    Storm Petrel

    #18940
    IronDuke
    Participant

    There’s also iFleet, and I-War2 Unleashed. And my mods/modules, which you won’t have to worry about yet. Probably you can just hit the mods that you know have keybinds for sure, and if someone has an additional one, they can just whine in this thread. ๐Ÿ˜‰

    –IronDuke


    I-War 2 Discord: https://discord.gg/RWaabWB
    Very little about the game is not known to me. Any questions you got, throw them at me. ๐Ÿ™‚

    #18942
    Chessking
    Participant

    Probably you can just hit the mods that you know have keybinds for sure, and if someone has an additional one, they can just whine in this thread. ๐Ÿ˜‰

    My thoughts exactly. I will do Torn Stars for sure.


    This is one tough navy, boy. They donโ€™t give you time off, even for being dead. -Clay

    Storm Petrel

    #18949
    Chessking
    Participant

    I have been looking at the existing keybinders a little, and I noticed something interesting. NeoGriever’s keybinder includes a button that adds cheat keys into the config. These are developer tools that allow you to jump to target, destroy target, damage self, etc. Now I understand why there is a cheat keys section in the config, populated only by “:-)”


    This is one tough navy, boy. They donโ€™t give you time off, even for being dead. -Clay

    Storm Petrel

    #18951
    Chessking
    Participant

    Wow, I count 129 separate controls for this game. Maybe I will have to add a feature to sort out what players are actually looking for. Other than that, I have almost all of the functionality in place, and just need to chug through formatting the other sixty controls.

    P.S. I did not mean to put a smiley face, the file has the colon, dash, and right bracket used to indicate a smiley face.


    This is one tough navy, boy. They donโ€™t give you time off, even for being dead. -Clay

    Storm Petrel

    #18956
    Chessking
    Participant

    I have been testing this, and it is working well. I have added the ability to change the file’s title with the keybinder, although the characters available are very limited. I need to test out the keys I do not know the titles to, such as ALT, the backslash, the colon, etc. Also, does anyone know for sure if “Backquote” is the double quotation marks? The key is used to chat in multiplayer. My multiplayer is not working at all right now, or I would test it.


    This is one tough navy, boy. They donโ€™t give you time off, even for being dead. -Clay

    Storm Petrel

    #19002
    Chessking
    Participant

    I have finished!

    No mod options are included for now.

    The file is attached.

    Attachments:

    This is one tough navy, boy. They donโ€™t give you time off, even for being dead. -Clay

    Storm Petrel

    #19005
    IronDuke
    Participant

    Awesome! If I have to rebind all my controls at some point, I’ll download it and give it a shot. I’ve been using the same controls for years, and see no reason to change just yet. Maybe when I get that nifty new $200 Saitek space-sim joystick… [/pointlessavarice]

    –IronDuke


    I-War 2 Discord: https://discord.gg/RWaabWB
    Very little about the game is not known to me. Any questions you got, throw them at me. ๐Ÿ™‚

    #19405
    Lundby
    Participant

    Yeah! I need to test this out. I have a Saitek AV8R-03 (for Playstation 3), wich I already have been using for I-War2. It works, but I`d like to decide wich buttons do what. Lookin forwardto a new experience ๐Ÿ™‚

    #19406
    Chessking
    Participant

    Unfortunately, It does not support anything but the keyboard and mouse at the moment. However, someone who is interested in using it with the joystick/gamepad support is good motivation for me to add it sooner.


    This is one tough navy, boy. They donโ€™t give you time off, even for being dead. -Clay

    Storm Petrel

    #19407
    Lundby
    Participant

    Well, then I can arrange my keyboard as I want, for now ๐Ÿ™‚

    You certainly have the skills, so I hope I can be of help motivating you B)

    Thanks again for the keybinder ๐Ÿ˜‰

    #19408
    IronDuke
    Participant

    You want more motivation? I’m planning on getting 2 new sticks next year, and I’d need a keybinder to make binding them less of a hassle.

    –IronDuke


    I-War 2 Discord: https://discord.gg/RWaabWB
    Very little about the game is not known to me. Any questions you got, throw them at me. ๐Ÿ™‚

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.