Editing Maps

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
Fiminopter
Sergeant Major
Sergeant Major
Posts: 221
Joined: Sat Apr 29, 2006 11:20 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Editing Maps

Post by Fiminopter »

How do I edit already made maps? (not other peoples maps but the ones made by pandemic)
fat_walrus

RE: Editing Maps

Post by fat_walrus »

1) Go to the assests\worlds\world1(or 2 or whatever other number there is that you want) copy all the files and paste them into you Data_ABC\world\world1 folder.

2) copy msh, odf, effects, and any other folders besides the world folders in assets\worlds\FGH (what map you want) and paste them in Data_ABC\worlds\

3) open assets\scripts\FGH\fgh1c_con.LUA (or fgh1g_con for Galactic Civil War), copy everything in the notepad and paste it in Data_ABC\Common\scripts\abc1c_con and\or abc1g_con

4) open up ZeroEditor

5) load FGH.lvl in your Data_ABC\worlds\world1 folder

6) Save it over ABC.lvl and there you go :D

If you need any more questions feel free to ask
Fiminopter
Sergeant Major
Sergeant Major
Posts: 221
Joined: Sat Apr 29, 2006 11:20 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by Fiminopter »

thank you!!!!!!!!!!!! thats all i needed
Fiminopter
Sergeant Major
Sergeant Major
Posts: 221
Joined: Sat Apr 29, 2006 11:20 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by Fiminopter »

actually, does anyone know how to add a side that isnt playable like the jawas and tuskens?
fat_walrus

Post by fat_walrus »

In you LUA in the ReadDataFile part, add this:

Code: Select all

    ReadDataFile("SIDE\\des.lvl",
                             "tat_inf_jawa",
                             "tat_inf_tuskenraider",
                             "tat_inf_tuskenhunter")
under the other ones.

Then you can add them to any team (the easiest thing to do is to replace the other soldier. For example:

Code: Select all

    ReadDataFile("SIDE\\cis.lvl",
                             "cis_inf_rifleman",
                             "cis_inf_rocketeer",
                             "cis_inf_engineer",
                             "cis_inf_sniper",
                             "cis_inf_officer",
                             "cis_inf_droideka",
                             "cis_hero_emperor",
                             "cis_hover_aat")
                             
                             
    ReadDataFile("SIDE\\tur.lvl", 
    			"tur_bldg_laser",
    			"tur_bldg_tower")        

   ReadDataFile("SIDE\\des.lvl",
                             "tat_inf_jawa",
                             "tat_inf_tuskenraider",
                             "tat_inf_tuskenhunter")  
                             
	SetupTeams{
		rep = {
			team = REP,
			units = 20,
			reinforcements = 150,
		soldier  = { "rep_inf_ep3_rifleman",9, 25},
		assault  = { "tat_inf_jawa",1, 4},
		engineer = { "rep_inf_ep3_engineer",1, 4},
		sniper   = { "rep_inf_ep3_sniper",1, 4},
		officer = {"rep_inf_ep3_officer",1, 4},
		special = { "rep_inf_ep3_jettrooper",1, 4},

Notice the assault = { "tat_inf_jawa",1, 4}, in the SetupTeams. If you want to add it as an extra unit, look at the Mos Eisly eli.LUA for that. If you want to add them as their own side (not yours, like having them run around and killing each other) thats a *little* harder to explain.
Fiminopter
Sergeant Major
Sergeant Major
Posts: 221
Joined: Sat Apr 29, 2006 11:20 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by Fiminopter »

wow! Im stupid. I didnt think to look there. lol
Post Reply