Programming

As a modder, at some point you might want to create advanced functionality for your mod. This functionality might extend beyond what’s offered in BeamNG software by default, and will require you to write custom programming code. Typically you’ll want to use Lua code for gameplay, or HTML/JS code for the user interface.

The goal here is to provide some general guidance, explaining overall concepts and architecture choices that are specific to BeamNG.

This means that:

  • A detailed API documentation is outside the scope of this documentation.
  • Tutorials about how to learn programming, web development, etc is outside the scope of this documentation. There’s plenty of better source of education on the Internet, we strongly advise you start there if you are not already a programmer.

For any BeamNG-specific information that you cannot find in this documentation, such as detailed API use, etc, it’s best to either:

  • a) Search the existing code and use it as a vague reference
  • b) Ask for beamng-specific programming help at our programming forums .

Please check the index below to continue reading more programming documentation:

Programming documentation feedback

If you feel this programming documentation is too high level, too low level, is missing important topics, is erroneous anywhere, etc, please write a post at this thread and ping me personally by typing @stenyak so I will get notified.

Last modified: 8/4/2024 17:53

Any further questions?

Join our discord