How to edit units

Started by drbob76, August 29, 2022, 05:54:40 PM

Previous topic - Next topic
August 29, 2022, 05:54:40 PM Last Edit: August 31, 2022, 04:07:11 AM by drbob76
I'm trying to figure out how to edit the factions in the maps for SWBF1, choosing which classes to have on the field.

I managed to figure out how to do this for SWBF2. Mostly following the advice of a post by Anyder, the process for that was by downloading BF2 Mod Tools, then went to C:\BF2_ModTools\data\_BUILD and run Modtools VisualMunge.exe to create a new world. I then copied the maps from the script folder from BF2_ModTools\assets and placed the maps in the script folder in the common folder inside the new world folder. After editing the maps, I went back to the common folder to open mission.req and place the code Anyder had written, replacing the previous text. Afterwards (after having to use vistamungefix to fix the visual munge) I ran the visual munge, which successfully created a LVL_PC folder in both the new world folder and in the addon folder of Star Wars Battlefront II Classic (This is on Steam by the way), both of which contained a new mission.lvl file which I then used to replace the original mission.lvl file (after having the original copied and back up)

So, is there a way to do this with SWBF1 as well? What is the process? What tools will I need and how do I use these tools, step by step?

This can be easiest done through the "mission mod tool"
http://www.swbfgamers.com/index.php?action=downloads;sa=view;down=319

It is a subset of the full mod tools.

Change the text in the LUA, munge, replace the mission.lvl file.

It gets more complicated from there if you want to use units that are not already loaded.  But that will get you started.

This guide will also help
http://www.swbfgamers.com/index.php?topic=8.0

 :cheers:

Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

Okay, I edited the scripts, but then when I clicked the munge.bat, nothing happened except for the black screen which tells me "no such file or directory". Am I missing something?

Quote from: drbob76 on August 30, 2022, 05:48:25 AMOkay, I edited the scripts, but then when I clicked the munge.bat, nothing happened except for the black screen which tells me "no such file or directory". Am I missing something?
Well, did you uncompress the download and place it in a folder?  (use a folder name with  no spaces such as C:\mbuilder)
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

August 31, 2022, 03:46:30 AM #4 Last Edit: August 31, 2022, 06:26:57 PM by drbob76
Yes, I did extract the files in the download. I even just created a new file called mbuilder to put them in, but when I click munge.bat, I still have the same problem. Is it supposed to be a specific folder where I have to place them?

I did create a _lvl_pc folder, thinking that might solve the directory problem, but it still won't munge.

What version of windows are you using?  I can make a video next week with windows 10 or 7.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet


Were you still planning on making that video?

oh.  i forgot...let me see what i can do soon.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet