Lua implimentation in mod.
Posted: 03 May 2008, 00:25
I wanna make her a topic for maybe a guideline how to impliment gadgeds and widgets in a mod or in game. I tried today using the morfing gadged but did something wrong in the process.
My idea of putting it is is probelly wrong but here is what i did.
1 copy past the gadget to the luarules/gadged folder. Than in the Luarules/config/folder i started editing the morph_conf.lua(or something) file so it would morph my units.
I had a few questions.
1. Should i always put main.lua or draw.lua in the luarules folder?
2. Is it enough with these files in right place and the config files changed to let the gedged do its job.
3. Widgeds are unsyceble i believed so basically adding a widged should never included to also adding some files?
4. Is it try that luacob. luaui and another one provided by trepan arent necessery to put in modfile since they allready are on most computers spring installs?
Tx alot in advantages. I hope it starts raining in spring soon. Is ther a rain map yet BTW?
greetz daan
My idea of putting it is is probelly wrong but here is what i did.
1 copy past the gadget to the luarules/gadged folder. Than in the Luarules/config/folder i started editing the morph_conf.lua(or something) file so it would morph my units.
I had a few questions.
1. Should i always put main.lua or draw.lua in the luarules folder?
2. Is it enough with these files in right place and the config files changed to let the gedged do its job.
3. Widgeds are unsyceble i believed so basically adding a widged should never included to also adding some files?
4. Is it try that luacob. luaui and another one provided by trepan arent necessery to put in modfile since they allready are on most computers spring installs?
Tx alot in advantages. I hope it starts raining in spring soon. Is ther a rain map yet BTW?
greetz daan