1. Trouble with the game?
    Try the troubleshooter!

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

    Dismiss Notice

Beamng Console Commands?

Discussion in 'General Discussion' started by blt54321, Mar 24, 2014.

  1. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,774
    energyStorage.remainingVolume seems not to give error, but no luck changing fuel level.
     
  2. Pedro6159

    Pedro6159
    Expand Collapse

    Joined:
    Jun 30, 2017
    Messages:
    1
    I found new commands in 'beamng-data'

    LUA MODE

    vehicles: {
    spawnNew: () => { bngApi.engineLua('vehicles.spawnDefault()'); },
    removeCurrent: () => { bngApi.engineLua('vehicles.removeCurrent()'); },
    cloneCurrent: () => { bngApi.engineLua('vehicles.cloneCurrent()'); },
    removeAll: () => { bngApi.engineLua('vehicles.removeAll()'); },
    removeOthers: () => { bngApi.engineLua('vehicles.removeAllExceptCurrent()'); },
    loadDefault: () => {bngApi.engineLua('vehicles.loadDefault()');},
    resetAll: () => { bngApi.engineScript('beamNGResetAllVehicles();'); },
    reloadAll: () => { bngApi.engineScript('beamNGReloadAllVehicles();'); },
    },
     
  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