Editing shipped maps
Moderator: Moderators
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Editing shipped maps
i changed corasants to have more units and munged but cant find the file i need to replace the default map file with and dont know where it would be. This is my first time modding luas so any help would be great cuz i know next to nothing about it
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: maps
Go to assets\Scripts\cor\cor_era_mode and copy that script to data_xxx\common\scripts\XXX and rename that to XXX_era_mode then you should follow the tutorial "how to edit a shipped map".
-
RogueKnight
- Space Ranger
- Posts: 2512
- Joined: Sat Nov 22, 2008 1:50 pm
- Projects :: Life. Work.
- xbox live or psn: No gamertag set
- Location: Washington, US
Re: maps
Also read the documentation on .lua that comes with the modtools.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: Editing shipped maps
from what i read i need to make a new world for every map i want to change right??
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: Editing shipped maps
so let me c if i got this right make a new world then copy and past the default world instead of the new one how do i make it over write the one in the root of battle front 2??
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: Editing shipped maps
In your .lua, which is the one you got from Coruscant but is now called ???c_con, scroll down past the memory pools and find this bit: and change it to Then, it will work.
Code: Select all
ReadDataFile("cor\\cor1.lvl", "cor1_conquest")Code: Select all
ReadDataFile("dc:???\\cor1.lvl", "cor1_conquest")- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: Editing shipped maps
um i tried editing dagobas lua i think i did every thing i am supossed to do but when i play it nothing is changed
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Editing shipped maps
Obviously you did something wrong. Describe the steps you went through and be specific. Also please type legibly. By not doing so, you are actually breaking the second site rule.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: Editing shipped maps
oh sorry i dont have a spell check but i will try harder i made a new map abc i renamed the world 1 folder world 2 i copied the odf msh effects and world 1 from assests worlds dag i opened the bfx assests dag scripts opened the luas and copy and pasted them in abc/common/scripts/abc into the right lua i edited one of them to have a different hero did the dc: thing saved it then closed the folder munged it copied and replaced the dag/dag1 file with the one in data_abc/lvl_pc/abc i opened bf2modtools and ran both clone wars and bfx clone wars but no changes where made
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: Editing shipped maps
You may have forgotten the dc.genaral_mitch wrote:In your .lua, which is the one you got from Coruscant but is now called ???c_con, scroll down past the memory pools and find this bit:and change it toCode: Select all
ReadDataFile("cor\\cor1.lvl", "cor1_conquest")Then, it will work.Code: Select all
ReadDataFile("dc:???\\cor1.lvl", "cor1_conquest")
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: Editing shipped maps
this is there will it work ? ReadDataFile("dc:ABC\\dag1.lvl", "dag1_conquest", "dag1_cw")
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: Editing shipped maps
If that is indeed your problem.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: Editing shipped maps
i mean is that the right line that should be there?
-
Coley
- Sergeant Major

- Posts: 249
- Joined: Sun Aug 09, 2009 11:27 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
Re: Editing shipped maps
Did you read the thread in the faq exactly? I think there is everything to find you need to know about this topic.
EDIT
yes I think so but read above
EDIT
yes I think so but read above
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: Editing shipped maps
ok so what i am doing is modding the lua on shipped maps but when i open battle front i get a ctd right after you see mustafar in the loding thing i used skys tutorial here http://www.gametoast.com/forums/viewtop ... 27&t=16616 would it help if i posted the lua and add me?
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: Editing shipped maps
Good thing you linked me to thisAfter looking in the era mod thread, I found your problem. You messed up your Addme.lua!!!! Either get an addme from a different map and change everything of that has a 3-letter name to your 3-letter name, or delete the map
EDIT: Oh, no what is this? Satan For A day?
Last edited by genaral_mitch on Tue Feb 16, 2010 7:59 pm, edited 1 time in total.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: Editing shipped maps
lol
well u were trying to help 
idk what to change here is the error log sev 3
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaScript.cpp(435)
Script file addme not found
here is the addme
help please
idk what to change here is the error log sev 3
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaScript.cpp(435)
Script file addme not found
here is the addme
Hidden/Spoiler:
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: Editing shipped maps
Try a manual clean, it could help. By the way, is your map name XXX? It would help a little if you sent the real one your using.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: Editing shipped maps
yes it is xxx i made it that way to avoid any confusion on my part
