1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.35 Bug Reporting thread
    Solutions and more information may already be available.

Control list

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by MilanKD, Oct 3, 2016.

  1. MilanKD

    MilanKD
    Expand Collapse

    Joined:
    Jul 23, 2016
    Messages:
    940
    How do I create (I KNOW THE APP) a list of controls on a vehicle?
    Image:
    (I mean for example that you can read off that you can Press O to open the tailgate)
    examplez.JPG
     
  2. CreasingCurve

    CreasingCurve
    Expand Collapse

    Joined:
    Jan 19, 2016
    Messages:
    940
    There is the Special Vehicle keys app that shows which keys have what function. like the O button that opens the tailgate or y/u that opens the rear cargo doors. I am not really sure what you are asking
     
  3. Bernd

    Bernd
    Expand Collapse

    Joined:
    Dec 27, 2015
    Messages:
    1,387
    There is a "input_actions.json" file in the main vehicles folder for any vehicle with special keys.
     
  4. MilanKD

    MilanKD
    Expand Collapse

    Joined:
    Jul 23, 2016
    Messages:
    940
    I know but how do I get them to display on the app?
     
  5. Bernd

    Bernd
    Expand Collapse

    Joined:
    Dec 27, 2015
    Messages:
    1,387
    When it's in the input_actions.json, it automatically get's displayed.
     
  6. MilanKD

    MilanKD
    Expand Collapse

    Joined:
    Jul 23, 2016
    Messages:
    940
    Ok thanks I'll try when I'm home
    --- Post updated ---
    How does it work :)

    Could you help me? link to the mod is in my signature (X18)
     
  7. Bernd

    Bernd
    Expand Collapse

    Joined:
    Dec 27, 2015
    Messages:
    1,387
    Ah I see, there are no "modern" key mapping files, so we'll have to make those:
    first you need to create a input actions file so the controls could be changed at need, the file is called "keyboard.json" and goes into a subfolder called "inputmaps":

    upload_2016-10-3_18-30-55.png
    upload_2016-10-3_18-31-48.png
    "xdivice" would be a controller, not sure what button represents what though, so we'll ignore that for now.

    here is a example "keyboard.json" from one of my stuff:
    upload_2016-10-3_18-35-5.png
    "control" (blue) is the button the action should be mapped to, "right" stands for the right arrow key in this case, "H" stands for the H-key, etc.
    "action" (red) is the name the action will be called, that's what you'll have to put into the thruster jbeam, example:

    upload_2016-10-3_18-38-55.png


    last step is setting up the "input_actions.json" file, located in the main folder:
    upload_2016-10-3_18-40-12.png
    example file:
    upload_2016-10-3_18-28-53.png
    blue is the action again(edit: sorry, changed the color), same as in the jbeam, red is what will be displayed.
    I added my example files to this post.
    If something doesen't work, feel free to ask again.
    Good luck :).
     

    Attached Files:

    • Like Like x 1
  8. MilanKD

    MilanKD
    Expand Collapse

    Joined:
    Jul 23, 2016
    Messages:
    940
    Thank you. I will credit you for this.
     
  9. stenyak

    stenyak
    Expand Collapse
    Programmer & Global Moderator
    BeamNG Team

    Joined:
    Aug 6, 2012
    Messages:
    1,996
    If you just want to know which keys do what, then refer to the Controls menu, it has the full list, including current vehicle's specific controls (if it has any).

    Edit: if you are creating a vehicle mod and want to use custom bindings, then read the guide on the wiki: http://wiki.beamng.com/Vehicle_Specific_Bindings

    If anything is unclear just ask and i'll improve it :)
     
  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