Using luac in BeamNG

Discussion in 'Programming' started by Miata lover, May 7, 2023.

  1. Miata lover

    Miata lover
    Expand Collapse

    Joined:
    Jul 9, 2021
    Messages:
    197
    Hi,
    Is it possible to use .luac (compiled lua) files as normal lua files in BeamNG?
     
    #1 Miata lover, May 7, 2023
    Last edited: May 8, 2023
  2. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,445
    Why would you want to hide it? And first you should check in the TOS and the license if you can even legally do it
     
  3. Miata lover

    Miata lover
    Expand Collapse

    Joined:
    Jul 9, 2021
    Messages:
    197
    Well, I asked just out of curiosity if it was theoretically possible, I'm not planning to release the script anyways.
     
  4. Derpitron

    Derpitron
    Expand Collapse

    Joined:
    Jun 25, 2017
    Messages:
    252
    I don't think it's possible. AFAIK the BeamNG lua gets dynamically (just-in-time) compiled for the BeamNG Lua VMs.
     
    • 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