Page 1 of 1

Editing Maps

Posted: Tue Jun 06, 2006 6:49 pm
by Fiminopter
How do I edit already made maps? (not other peoples maps but the ones made by pandemic)

RE: Editing Maps

Posted: Tue Jun 06, 2006 6:57 pm
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

Posted: Tue Jun 06, 2006 7:42 pm
by Fiminopter
thank you!!!!!!!!!!!! thats all i needed

Posted: Tue Jun 06, 2006 7:57 pm
by Fiminopter
actually, does anyone know how to add a side that isnt playable like the jawas and tuskens?

Posted: Tue Jun 06, 2006 8:48 pm
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.

Posted: Wed Jun 07, 2006 6:31 pm
by Fiminopter
wow! Im stupid. I didnt think to look there. lol