Lua Limitations?

  • The-Fall
    11th Aug 2012 Member 0 Permalink

    Are there any limitations interms of what you can do with lua, and this game? If not, is it possible to rewrite key components of the program in lua and run that script to "Override" the games' internal code? For example, could I write an  lua script re-doing the heat system? 

    What variables / classes / functions are not accesible to lua, but accessible to the internal code?

  • lorddeath
    11th Aug 2012 Member 0 Permalink

    i dont know buddy

  • billion57
    11th Aug 2012 Member 0 Permalink

    @lorddeath (View Post)

    Then why post?!

     

    @The-Fall (View Post)

     I think you can, if you obtain the source code, and learn both C and Lua.

    You should PM a developer to make sure.

  • babay
    11th Aug 2012 Member 0 Permalink

    @lorddeath (View Post)

     the most freaking useful post i've ever seen.

    @The-Fall (View Post)

     i remember that you can control heat conductivity of the elements by overriding it in lua scripts.

    also, you could override each element elem_func, while disabling heat sim, to "re-do" heat system.

    if you want some more global-ish changes - you'd better go learn c.

  • mniip
    11th Aug 2012 Developer 0 Permalink
    @The-Fall (View Post)
    there is alot not available from lua
    editing it with lua is just pointless
  • hakimking
    3rd Sep 2012 Member 0 Permalink
    1. lua ?
  • Sergeant_Starfruit
    3rd Sep 2012 Member 0 Permalink

    @hakimking (View Post)

     That was a necro, so boo. And let the more advenced people actually answer your question because I don't know how to really explain it.