No working lua anim scripts
Posted: 14 Jun 2014, 20:30
I want to convert some of the old cob/bos scripts of simbase to lua due to bugs in them.
But after a while i noticed it doesnt work at all, some dude on #moddev mentioned i need a special gadget for the engine to recognize lua scripts.
Now the strange thing is, in a game a made almost from scratch, the only lua i have is the flowing one: inside "/LuaRules/main.lua" and lua scripts work there.
But in simbase they just dont work, despite this file being there too and i have removed also all possible other lua files that might have caused a conflict but to no effect.
I already asked this on #moddev but i got a in a bit of stress and forgot.
But seriously whats the deal here, shouldnt this be just part of the engine?
Just whats going on?
But after a while i noticed it doesnt work at all, some dude on #moddev mentioned i need a special gadget for the engine to recognize lua scripts.
Now the strange thing is, in a game a made almost from scratch, the only lua i have is the flowing one:
Code: Select all
VFS.Include("LuaGadgets/gadgets.lua",nil, VFS.BASE)
But in simbase they just dont work, despite this file being there too and i have removed also all possible other lua files that might have caused a conflict but to no effect.
I already asked this on #moddev but i got a in a bit of stress and forgot.
But seriously whats the deal here, shouldnt this be just part of the engine?
Just whats going on?