In-Game Lua commands?

Discussion in 'Programming' started by iheartmods, Apr 1, 2017.

  1. iheartmods

    iheartmods
    Expand Collapse

    Joined:
    Aug 8, 2012
    Messages:
    1,482
    Hi,

    We have the console for free-use in game but, what are commands we can use for them? I know some novelty items/controls have been worked in. It would be cool to mess around in the CLI.

    Cheers :)
     
  2. thalamus

    thalamus
    Expand Collapse

    Joined:
    Jan 28, 2014
    Messages:
    7
    I'm obviously not on the development team, but I have found two console commands which are a lot of fun to play with: obj:setGravity(x,y,z), which allows you to set the gravity to absurd values well beyond what the "Environment" tab does, and obj:setWind(x,y,z), which allows you to specify a wind speed. I know the setGravity command uses meters per second per second. I assume the setWind command uses meters per second, but I'm not sure.
     
  3. iheartmods

    iheartmods
    Expand Collapse

    Joined:
    Aug 8, 2012
    Messages:
    1,482
    Hey, these are still commands. Thanks!
     
  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