Page 1 of 1

Most likely an EXTREMELY simple question...

Posted: Sun Feb 15, 2009 1:17 pm
by Twilight_Warrior
Ummmm...I've looked all ove the site for an answer and I can't seem to find it.

How can you access the LUA to edit it? Or just to examine it to see what's happening ingame. I am a programmer and I think it would be interesting to do some LUA editing in mods, but I just can't find how to access the LUA.

Re: Most likely an EXTREMELY simple question...

Posted: Sun Feb 15, 2009 1:59 pm
by DarthD.U.C.K.
if you make a modmap the (mission)luas are stored in data_XXX\Common\Scripts\XXX\
the luas used in shipped maps can be found in assets\Scripts

Re: Most likely an EXTREMELY simple question...

Posted: Sun Feb 15, 2009 2:27 pm
by Frisbeetarian
And if you really want to get into the scripting used for the game, check out assets\shell\scripts and data\common\scripts.

Re: Most likely an EXTREMELY simple question...

Posted: Sun Feb 15, 2009 3:06 pm
by Twilight_Warrior
And this is all in the modtools? Because all the actual gamedata stuff in my lucasarts folder is lvl crap that I can't access...

Re: Most likely an EXTREMELY simple question...

Posted: Sun Feb 15, 2009 3:56 pm
by Taivyx
And this is all in the modtools?
Yes, that's why they're called mod tools :P

Re: Most likely an EXTREMELY simple question...

Posted: Sun Feb 15, 2009 4:41 pm
by [RDH]Zerted
Yes, all the editable source code is included only with the mod tools. Those tools have utilities to create the lvl files. You never directly need to edit the lvl files themselves. Instead, use the source in the mod tools to create new lvl files to replace the existing ones.

Re: Most likely an EXTREMELY simple question...

Posted: Sun Feb 15, 2009 5:09 pm
by Fiodis
Slightly off-topic, can you edit the .lvl files?

Re: Most likely an EXTREMELY simple question...

Posted: Sun Feb 15, 2009 5:51 pm
by computergeek
Yeah I think so, but its very limited and hard to do
Correct me if I'm wrong
OH and to edit lua's you would use notepad or notepad++ (you must download notepad++, but it's great for editing scripts!)

Re: Most likely an EXTREMELY simple question...

Posted: Sun Feb 15, 2009 9:23 pm
by Twilight_Warrior
ok, thanks guys! :yes: