Beamng language

Discussion in 'Programming' started by gigawert, Jul 28, 2016.

  1. gigawert

    gigawert
    Expand Collapse

    Joined:
    Sep 6, 2015
    Messages:
    2,029
    What computer languages are BeamNG written in? :) Thanks!
     
  2. randomshortguy

    randomshortguy
    Expand Collapse

    Joined:
    Aug 9, 2013
    Messages:
    1,562
    A few, actually. The vehicle accessories drivetrain calculations are in Lua as are much of the game logic, the menu system is in HTML and Chromium (which itself is C++), the vehicle's jbeam is written in JSON, and the game engine (Torque3D) is mostly C and C# as I recall. The actual physics core I cannot say, but I think it's probably C or a sibling of it; I can't tell since it's compiled as part of the game.
     
  3. BallisticDK

    BallisticDK
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    144
    I am to slow.

    Edit:

    Adding to what the guy above me said, The ui elements are written in Html and uses JavaScript as a middleman between the lua scripts and the HTML frontend.

    TIL, the CS files in the BeamNG Dir is not C#.
     
    #3 BallisticDK, Jul 28, 2016
    Last edited: Jul 28, 2016
  4. LuisAntonRebollo

    LuisAntonRebollo
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Feb 25, 2014
    Messages:
    117
    Most of the info posted here is near correct.

    C++/C for the game engine and physics core.
    Lua for scripting.
    JSON for serialization of data
    HTML + Javascript for interface/apps
    CS files are not C#. Is and old script language "console script" that is deprecated and will be removed when we have time
     
    • Like Like x 6
  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