Content Creation Changelog 0.9.0.2

Content Creation Changelog 0.9.0.2

From BeamNG

List of changes related to content creation on BeamNG.drive 0.9.0.2

Lua

Loading lua extensions in modScript.lua

modScript.lua is a lua file which is located in the scripts folder and gets executed on game start. Since 0.9.0.2 the game unloads every lua extension on level load to prevent lua overload. Due to this change loading lua extensions by using extensions.luaModule('mymodFolder/myModfile') within a modScript.lua file might not work properly anymore. To make sure that the lua extension is permanently available load it by using registerCoreModule('mymodFolder/myModfile'). This will add the extension to a list of extensions which don't get unloaded.

So instead of

     extensions.luaModule('mymodFolder/myModfile')

use

     registerCoreModule('mymodFolder/myModfile')