WIP Beta released Game Engine/Vehicle Lua Documentation

Discussion in 'Programming' started by angelo234, Aug 9, 2021.

  1. angelo234

    angelo234
    Expand Collapse
    Programmer
    BeamNG Team

    Joined:
    Aug 11, 2017
    Messages:
    540
    Here is a website I made that lists the functions and fields of almost all Lua modules for Game Engine and Vehicle Lua in a tree structure format (if you are wondering, no I did not find all of these functions/fields manually and instead created a script to extract them):

    https://angelo234.github.io/List-of-BeamNG-Functions-And-Fields/index.html

    Hopefully this will help people in coding Lua mods :)
     
    • Like Like x 11
  2. angelo234

    angelo234
    Expand Collapse
    Programmer
    BeamNG Team

    Joined:
    Aug 11, 2017
    Messages:
    540
    Now I've documented parameters for many functions (functions that come from the C++ game engine don't have parameters documented due to limitations).
     
    • Like Like x 1
  3. vulcan-dev

    vulcan-dev
    Expand Collapse

    Joined:
    Jan 28, 2017
    Messages:
    245
    I don't know why I never thought of doing what you done but I didn't.
    Appreciate this, it really helps a lot
     
    • Like Like x 1
    • Agree Agree x 1
  4. angelo234

    angelo234
    Expand Collapse
    Programmer
    BeamNG Team

    Joined:
    Aug 11, 2017
    Messages:
    540
    Thanks for the feedback! I have now added example usages for most functions/fields which should make it a lot more helpful in my opinion :)
     
    • Like Like x 1
  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