Page 1 of 1
Save Engine From Scenario

Posted:
Mon Jan 06, 2014 6:49 am
by ioScream
I think it could be helpful if you could save engines from the scenario so that you could go back and fine-tune them further either outside (within your own car company) or within the applicable scenario at a later date.
Just a thought.
Re: Save Engine From Scenario

Posted:
Mon Jan 06, 2014 7:11 am
by Der Bayer
You can try copying the .lua engine files from Documents/Automation/Scenarios to Documents/Automation/Engines. I don't know if it works, but I also don't know why it shouldn't.
Re: Save Engine From Scenario

Posted:
Mon Jan 06, 2014 7:18 am
by ioScream
Nice. Seems like this LUA file format is gaining popularity amongst indy developers.
Re: Save Engine From Scenario

Posted:
Mon Jan 06, 2014 7:21 am
by pyrlix
LUA is actually really useful for this type of game. You can change values on the fly and the game loads them continuously, which is a huge benefit.
And the structure is relatively easy to understand imho.
Re: Save Engine From Scenario

Posted:
Mon Jan 06, 2014 7:24 am
by ioScream
Doesn't it also support some low-level logic as well?
Also to be clear, you're saying the game reads this file live - if I were to tinker with the values and save the file it will be represented within the game live as well?
Re: Save Engine From Scenario

Posted:
Mon Jan 06, 2014 7:28 am
by pyrlix
Its not reloading all files live, the save file is loaded once and nevermore. But our secret calculation files are reloaded live
