Page 1 of 1

Changing Loaded Sides in Shipped Maps?

Posted: Sun Nov 02, 2008 12:35 am
by Tygr
How do I set up the Mod Tools to build a new mission.lvl that can replace the stock one? Like Battlefront Extreme did. I know how to add more unit classes in the LUA, but I just need to know how to get all of the stock LUA data to compile a working mission.lvl.

Thanks!

Re: Changing Loaded Sides in Shipped Maps?

Posted: Sun Nov 02, 2008 1:30 am
by Commander_Cody771

Re: Changing Loaded Sides in Shipped Maps?

Posted: Sun Nov 02, 2008 1:46 am
by Tygr
It doesn't tell me how to make a REPLACEMENT mission.lvl. Where do I put all of the shipped LUA files so that they will be munged into a fully-functional mission.lvl?

Re: Changing Loaded Sides in Shipped Maps?

Posted: Sun Nov 02, 2008 5:24 am
by DarthD.U.C.K.
you can take the shipped sides, put them in your maps side folder, edit whatever you want and munge
after munge copy the side.lvl from your addon\XXX\Side\ folder to the data\LVL_PC\Side folder and replace the old side with it
this is the way BFX1 did it

Re: Changing Loaded Sides in Shipped Maps?

Posted: Sun Nov 02, 2008 6:16 am
by Sky_216
Yep, provided you want same number of units as the stock sides, waDuck said is way easier. Can so pretty much anything with it, just need to make sure your odgfs have the same names as thodse called in the req. files (ie you just need the final child odf to be called that, not the parent ones. Eg 'all_inf_soldier' - but parent odf file as jango fett. Will replace rebel soldiers with jango fett, provided you have all the files for him in the all side folders).

Re: Changing Loaded Sides in Shipped Maps?

Posted: Sun Nov 02, 2008 7:20 pm
by Tygr
I know all that, I've been doing that for a long time. I just need to know how to change what units are loaded, add units, etc. I know I need to edit the shipped LUAs, but it didn't work properly when I tried it.

Re: Changing Loaded Sides in Shipped Maps?

Posted: Sun Nov 02, 2008 8:12 pm
by Maveritchell
Tygr wrote:I know all that, I've been doing that for a long time.
Good, so you understand what they said about only needing to modify the side .lvl files and replace the stock ones.
I just need to know how to change what units are loaded, add units, etc.
Wait, I thought you just said you knew that, since that's what they told you?
I know I need to edit the shipped LUAs, but it didn't work properly when I tried it.
...

For a basic sides mod, you don't need any mission.lvl changes, which is exactly what you were just told.

Re: Changing Loaded Sides in Shipped Maps?

Posted: Sun Nov 02, 2008 10:25 pm
by Tygr
I am aware that for a basic side mod I do not need to edit the LUAs. However, I am trying to make more unit classes available to the player, and therefore I need to change the LUA to add them. However, when I tried to, apparently I placed the LUA files in the wrong place to have them munge properly, and they didn't work.

If you've used the Battlefront Extreme mod, then you've seen the extra units available to the player. That's what I'm trying to do.

Ah, forget it. I'll just use a hex editor. :|

I'm sorry I've come across as a jerk. :(

Re: Changing Loaded Sides in Shipped Maps?

Posted: Sun Nov 02, 2008 10:32 pm
by Maveritchell
It would be a better idea to use one of the built-in eras in the v1.3 patch, that way you have complete freedom to set up the sides for any of the maps as you choose, since you can rebuild each individual .lua.

Re: Changing Loaded Sides in Shipped Maps?

Posted: Mon Nov 03, 2008 12:46 am
by [RDH]Zerted
I'm not on my main computer now so I can't tell you exactly how to do it, but you need to copy all of mission.lvl's assets into your map. Copy over all of the game's map scripts. They go into your scripts folders just like you merged a few maps together. Each shipped map will have its own scripts in its own XXX folder, but they will all be in your map's Common\Scripts\. Munge your map, then move its munged mission.lvl to replace the game's mission.lvl. If you change anything in a map's mission script, you will no longer be able to play that mission online.

Re: Changing Loaded Sides in Shipped Maps?

Posted: Wed Nov 05, 2008 3:42 pm
by Tygr
Sweet! Thanks! I will try it and see if it works.