Most likely an EXTREMELY simple question...
Moderator: Moderators
-
Twilight_Warrior
- Droid Pilot Assassin

- Posts: 2002
- Joined: Sat Nov 15, 2008 1:57 pm
- xbox live or psn: ScorchRaserik
Most likely an EXTREMELY simple question...
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.
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.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Most likely an EXTREMELY simple question...
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
the luas used in shipped maps can be found in assets\Scripts
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: Most likely an EXTREMELY simple question...
And if you really want to get into the scripting used for the game, check out assets\shell\scripts and data\common\scripts.
-
Twilight_Warrior
- Droid Pilot Assassin

- Posts: 2002
- Joined: Sat Nov 15, 2008 1:57 pm
- xbox live or psn: ScorchRaserik
Re: Most likely an EXTREMELY simple question...
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...
-
Taivyx
- 2008 Best Games Related Avatar
- Posts: 1706
- Joined: Thu Jun 07, 2007 3:34 pm
- Projects :: Terra Strife - discontinued
- xbox live or psn: No gamertag set
- Contact:
Re: Most likely an EXTREMELY simple question...
Yes, that's why they're called mod toolsAnd this is all in the modtools?
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Most likely an EXTREMELY simple question...
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.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Most likely an EXTREMELY simple question...
Slightly off-topic, can you edit the .lvl files?
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: Most likely an EXTREMELY simple question...
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!)
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!)
-
Twilight_Warrior
- Droid Pilot Assassin

- Posts: 2002
- Joined: Sat Nov 15, 2008 1:57 pm
- xbox live or psn: ScorchRaserik
Re: Most likely an EXTREMELY simple question...
ok, thanks guys! 
