Inserting .lvl's through a lua
Moderator: Moderators
- DarthXeon
- Banned
- Posts: 84
- Joined: Mon Sep 19, 2011 5:41 pm
- Projects :: I move fast... Lightning fast...
- Location: In A Nearby Solar System
Inserting .lvl's through a lua
Hey i was wondering how to add rep_hero_fisto through a pre-munged .lvl into my lua im completely clueless what to do 
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Inserting .lvl's through a lua
Try looking here:
Except skip through the side-creating parts and directly to the unit-lua-loading sections.[b][color=#FF8000]The FAQ / Everything You Need Thread Version 2.0[/color][/b] wrote:...
Sides
... ...
- DarthXeon
- Banned
- Posts: 84
- Joined: Mon Sep 19, 2011 5:41 pm
- Projects :: I move fast... Lightning fast...
- Location: In A Nearby Solar System
Re: Inserting .lvl's through a lua
un-finished map. would i have to put the .lvl in the Data_Ren/Sides/*** Folder?
-
CressAlbane
- Master Bounty Hunter

- Posts: 1519
- Joined: Fri Dec 18, 2009 8:02 am
- Projects :: CTF Arenas
- Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı
Re: Inserting .lvl's through a lua
You would put the lvl you downloaded in the munged directory, such as C:\Program Files\LucasArts\StarWars Battlefront 2\GameData\addon\ABC\_LVL_PC\SIDE.
You're also going to need to edit the .LUA file to call Kit Fisto.
In ABC*_con, (I'm assuming this is conquest) browse to:
Copy it.
Get rid of this part in the copy:
Add a line to read kit fisto from the lvl you downloaded. (eg. "rep_hero_kitfisto",)
Then, edit this line:
to be:
This tells the game to read from your addon map's SIDE folder.
So, the final result would be
Hope this helps! Remember, you'll need to replace "rep_hero_kitfisto" with whatever the name is in the .lvl you downloaded.
You're also going to need to edit the .LUA file to call Kit Fisto.
In ABC*_con, (I'm assuming this is conquest) browse to:
Code: Select all
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_anakin",
"rep_hover_barcspeeder")Get rid of this part in the copy:
Code: Select all
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_anakin",
"rep_hover_barcspeeder"Then, edit this line:
Code: Select all
ReadDataFile("SIDE\\rep.lvl",Code: Select all
ReadDataFile("dc:SIDE\\rep.lvl",So, the final result would be
Code: Select all
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_anakin",
"rep_hover_barcspeeder")
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_hero_kitfisto")- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Inserting .lvl's through a lua
wrong attitude, please try again...DarthXeon wrote:Dosent help.
you have to copy the .lvl into gamedata\addon\XXX\data\_lvl_pc\side.
you might aswell copy it into data_XXX\_lvl_pc\side and visualmunge will copy it into the maps folder in addon, but im not sure.
edit:ok, it might have taken me a little tong to write my reply (3/4 hour) and im a little late but i hope my post is valuable aswell.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Inserting .lvl's through a lua
Doesn't help who now? I knew what you meant, and that was why I posted the link for you.DarthXeon wrote:Dosent help. What i mean is: I downloaded kit fisto as a .lvl and i want to put him in a
un-finished map.
Had you actually read and understood that tutorial, you wouldn't be asking this. What CressAlbane and DarthD.U.C.K. posted are reiterated portions of said tutorial.would i have to put the .lvl in the Data_Ren/Sides/*** Folder?
