Most likely an EXTREMELY simple question...

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Twilight_Warrior
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2002
Joined: Sat Nov 15, 2008 1:57 pm
xbox live or psn: ScorchRaserik

Most likely an EXTREMELY simple question...

Post 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.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Most likely an EXTREMELY simple question...

Post 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
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Most likely an EXTREMELY simple question...

Post 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.
Twilight_Warrior
Droid Pilot Assassin
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...

Post 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...
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: Most likely an EXTREMELY simple question...

Post by Taivyx »

And this is all in the modtools?
Yes, that's why they're called mod tools :P
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Most likely an EXTREMELY simple question...

Post 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.
User avatar
Fiodis
Master of the Force
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...

Post by Fiodis »

Slightly off-topic, can you edit the .lvl files?
computergeek
General
General
Posts: 770
Joined: Thu Jun 07, 2007 6:26 pm
Projects :: Halo Warthog vehicle for SWBF2
Games I'm Playing :: Bioware RPGs - Halo
xbox live or psn: No gamertag set
Location: Far Far away....

Re: Most likely an EXTREMELY simple question...

Post 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!)
Twilight_Warrior
Droid Pilot Assassin
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...

Post by Twilight_Warrior »

ok, thanks guys! :yes:
Post Reply