How to edit a shipped map?
Moderator: Moderators
-
Ty294
- Sergeant Major

- Posts: 247
- Joined: Thu Mar 12, 2009 10:28 pm
- Projects :: Various
- Location: Minnesota
How to edit a shipped map?
I'm sure there's a tutorial for it somewhere but how do you take a shipped map and edit it? I wanna do something kinda like Majin Revan's "Rhen Var: Chaos".
-
jedikiller32
- Rebel Warrant Officer

- Posts: 313
- Joined: Sun Apr 02, 2006 9:26 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Texas
- Contact:
Re: How to edit a shipped map?
Do you want to just change the sides for a shipped map and redistribute it as an addon map, or actually edit the map itself?
-
Ty294
- Sergeant Major

- Posts: 247
- Joined: Thu Mar 12, 2009 10:28 pm
- Projects :: Various
- Location: Minnesota
Re: How to edit a shipped map?
The first one (change sides and upload as addon map), although I may want to make a couple tweeks to the map itself as well.
- ANDEWEGET
- Ancient Force

- Posts: 1266
- Joined: Tue Apr 01, 2008 8:42 am
- Location: Germany
- Contact:
Re: How to edit a shipped map?
New project.
Delete the ODF, MSH, world folder and the .req.
Copy and paste those folders/files from the map you want to edit.
I dont know about the luas but I think copy&paste should work here, too. If it doesnt work just copy map-specific code over to your lua.
I dont think youll need to change something in the addme but better check it.
Make your changes and then munge.
Should work...
Delete the ODF, MSH, world folder and the .req.
Copy and paste those folders/files from the map you want to edit.
I dont know about the luas but I think copy&paste should work here, too. If it doesnt work just copy map-specific code over to your lua.
I dont think youll need to change something in the addme but better check it.
Make your changes and then munge.
Should work...
-
jedikiller32
- Rebel Warrant Officer

- Posts: 313
- Joined: Sun Apr 02, 2006 9:26 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Texas
- Contact:
Re: How to edit a shipped map?
Not exactly.
You can leave all the world stuff in- just be sure to delete it from your munged project to reduce file size. The only change you need to make in the LUA. This line, in particular:
If, say, you wanted to make it load Endor, you'd change it to this:
You can figure out what to replace them with by looking in your Battlefront _LVL_PC folder. The folder name is the first one and the file name is the last one. The rest of your LUA can be edited as needed.
You can leave all the world stuff in- just be sure to delete it from your munged project to reduce file size. The only change you need to make in the LUA. This line, in particular:
Code: Select all
ReadDataFile("dc:modcode\\modcode.lvl")Code: Select all
ReadDataFile("END\\end1.lvl")- ANDEWEGET
- Ancient Force

- Posts: 1266
- Joined: Tue Apr 01, 2008 8:42 am
- Location: Germany
- Contact:
Re: How to edit a shipped map?
Yeah, this would work if he didnt want to edit anything in the map itself, but
Ty294 wrote:The first one (change sides and upload as addon map), although I may want to make a couple tweeks to the map itself as well.
-
jedikiller32
- Rebel Warrant Officer

- Posts: 313
- Joined: Sun Apr 02, 2006 9:26 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Texas
- Contact:
Re: How to edit a shipped map?
If you want to do that, then yes you will need to copy over the assets. However, there was a way discovered a while back to load just a couple edits using a seperate LVL. I don't recall how to do it exactly though.
-
Ty294
- Sergeant Major

- Posts: 247
- Joined: Thu Mar 12, 2009 10:28 pm
- Projects :: Various
- Location: Minnesota
Re: How to edit a shipped map?
Ok, I'll have to try those methods. I have another question now: how do you change the faction icons?
- ANDEWEGET
- Ancient Force

- Posts: 1266
- Joined: Tue Apr 01, 2008 8:42 am
- Location: Germany
- Contact:
Re: How to edit a shipped map?
If i remember correctly you have to make a new .msh and override the old one(s) using one of Belks tools, cant remember the name(if you mean the rotating ones over the cps).
-
Ty294
- Sergeant Major

- Posts: 247
- Joined: Thu Mar 12, 2009 10:28 pm
- Projects :: Various
- Location: Minnesota
Re: How to edit a shipped map?
Yah, those icons. Is it the lvl editor tool? Or something specific to faction icon editing?
- ANDEWEGET
- Ancient Force

- Posts: 1266
- Joined: Tue Apr 01, 2008 8:42 am
- Location: Germany
- Contact:
Re: How to edit a shipped map?
I believe its the common.lvl builder(if there is one).
-
Ty294
- Sergeant Major

- Posts: 247
- Joined: Thu Mar 12, 2009 10:28 pm
- Projects :: Various
- Location: Minnesota
Re: How to edit a shipped map?
Ok, I found that tool. But now the problem is I don't know how to get the common.lvl to apply to my particular map since the common.lvl seems designed for the original game, not addon maps.
- ANDEWEGET
- Ancient Force

- Posts: 1266
- Joined: Tue Apr 01, 2008 8:42 am
- Location: Germany
- Contact:
Re: How to edit a shipped map?
I dont know how much/if map dependent info is stored in the common.lvl, but have you tried to override yours with the new one?
Another, maybe working, idea: replace the icon meshes in your common folder and add dc: before common.lvl in your lua.
Never tested this though...
Another, maybe working, idea: replace the icon meshes in your common folder and add dc: before common.lvl in your lua.
Never tested this though...
-
Ty294
- Sergeant Major

- Posts: 247
- Joined: Thu Mar 12, 2009 10:28 pm
- Projects :: Various
- Location: Minnesota
Re: How to edit a shipped map?
I tried placing the new common.lvl in lvl_pc/common/ENG but that didn't work. I don't know where else I'd put it to get it to override the regular common.lvl.ANDEWEGET wrote:I dont know how much/if map dependent info is stored in the common.lvl, but have you tried to override yours with the new one?
Another, maybe working, idea: replace the icon meshes in your common folder and add dc: before common.lvl in your lua.
Never tested this though...
I don't think common.lvl is referenced in the LUA.
- ANDEWEGET
- Ancient Force

- Posts: 1266
- Joined: Tue Apr 01, 2008 8:42 am
- Location: Germany
- Contact:
Re: How to edit a shipped map?
A few ideas:
Use a custom CP odf and place your custom icon mesh in the worlds MSH folder. Name it different and reference it in the new CP ODF.
Cant remember if the common.lvl builder supports adding new things instead of replacing one. IF then add the new icon to the games common.lvl and reference it in a custom CP ODF. Let the downloaders 'patch' their common.lvl.
Cant think of more ways.
Use a custom CP odf and place your custom icon mesh in the worlds MSH folder. Name it different and reference it in the new CP ODF.
Cant remember if the common.lvl builder supports adding new things instead of replacing one. IF then add the new icon to the games common.lvl and reference it in a custom CP ODF. Let the downloaders 'patch' their common.lvl.
Cant think of more ways.
