Jump to content
  • Sign Up
Sign in to follow this  
the.geremy

Lua Scripting

Recommended Posts

Hi,

is there anybody who know scripting in LUA? For example, I try to modify the DriveControl mod to store its config xml file not in Farming Simulator 17 folder but in savegame folder. I change it finaly, but script looks on load, if xml file exists and if not, it creates it. But when you save the game, everything is erased and created once again, but this driveControl_config.xml is not recreated. So the xml file persists only until you save the game 😄

 

PS: It would be nice if somebody will have a time to explain to me some basics of LUA. I mean no programming basics, but LUA environment for FS17, and how to call a function, because I see few different ways how to define and call function in code. Where I can find FS17 environment variables, functions and so on. How to test my code efficiently... and so on...

 

Thanks.

Edited by the.geremy

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

Terms of Use, Privacy Policy, Guidelines, We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.