Custom sides and modding questions
Moderator: Moderators
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: Custom sides and modding questions
there is no matter i only try to understand the modding and mapping.
so coustom sides is a part of all this.
so in general:
i want a new side.
i make a new world. example MAP. i want commander gree for the republic.
i browse ..\BF2_ModTools\data_BWS\sides\
make a new folder "REP"
in there i make new Folder "msh", "odf", "req", "MUNGED", "effects"
i can copy the effects from ..\BF2_ModTools\assets\sides\rep\effects.
also i copy the rep.req file. i don't need the repshell.req?? if yes what is it good for??
now it's time to edit rep.req i delete all and only place the req name.
i place the gree.msh, .tga and .option files file in my ..\BF2_ModTools\data_BWS\sides\rep\msh folder.
i need a req file in the req folder
two odfs in the odf folder. one for the side what geometryit has ... and one for the weapons. normaly named default.
i finished there. i brows..\BF2_ModTools\data_BWS\commen\scripts\MAP
open the MAPc_con and delete all sidenames of the rep.
i change Readdatafile:(\\rep.lvl to Readdatafile:(dc:\\rep.lvl.
the next line i add the req file name of my side.
munge finished it should work.
BFII askes for my addme file.
-> lua
-> rep.req file (if the file is named rep.lvl. if it is for example gree.lvl the req file musst be gree.req right??)
-> side.req
-> side.odf
-> side_default.odf and -> side.msh
-> side.msh.option and -> side.tga
is that right??
THIS IS A QUESTION IN GENERAL. I CAN MAKE THIS WITH ALL SIDE FILES RIGHT??
IF THERE IS SOMETHING WRONG PLS MARK IT RED AND SAY HOW IT'S RIGHT. THX
so coustom sides is a part of all this.
so in general:
i want a new side.
i make a new world. example MAP. i want commander gree for the republic.
i browse ..\BF2_ModTools\data_BWS\sides\
make a new folder "REP"
in there i make new Folder "msh", "odf", "req", "MUNGED", "effects"
i can copy the effects from ..\BF2_ModTools\assets\sides\rep\effects.
also i copy the rep.req file. i don't need the repshell.req?? if yes what is it good for??
now it's time to edit rep.req i delete all and only place the req name.
i place the gree.msh, .tga and .option files file in my ..\BF2_ModTools\data_BWS\sides\rep\msh folder.
i need a req file in the req folder
two odfs in the odf folder. one for the side what geometryit has ... and one for the weapons. normaly named default.
i finished there. i brows..\BF2_ModTools\data_BWS\commen\scripts\MAP
open the MAPc_con and delete all sidenames of the rep.
i change Readdatafile:(\\rep.lvl to Readdatafile:(dc:\\rep.lvl.
the next line i add the req file name of my side.
munge finished it should work.
BFII askes for my addme file.
-> lua
-> rep.req file (if the file is named rep.lvl. if it is for example gree.lvl the req file musst be gree.req right??)
-> side.req
-> side.odf
-> side_default.odf and -> side.msh
-> side.msh.option and -> side.tga
is that right??
THIS IS A QUESTION IN GENERAL. I CAN MAKE THIS WITH ALL SIDE FILES RIGHT??
IF THERE IS SOMETHING WRONG PLS MARK IT RED AND SAY HOW IT'S RIGHT. THX
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Custom sides and modding questions
you forgot a really important step: create a folder called like your side in the "data_BWS\_BUILD\Sided\"-folder and copy the "clean.bat" and "munge.bat" from the "data_BWS\_BUILD\Sided\All\"-folder into the folder called like your side.
this is necessary to make visualmunge see your side. when you open it up now, you can choose your side in the dropdownmenu behind "Side". furthermore you cannot simply remove the readdatafile...rep... line from the lua. "ReadData" loads files like sides if you remove these lines the sides and therefore the included units cant be loaded anymore.
however i dont understand why you have so many problems with that, what you forgot and i corrected above is explained exactly in every customside-tutorial.
this is necessary to make visualmunge see your side. when you open it up now, you can choose your side in the dropdownmenu behind "Side". furthermore you cannot simply remove the readdatafile...rep... line from the lua. "ReadData" loads files like sides if you remove these lines the sides and therefore the included units cant be loaded anymore.
however i dont understand why you have so many problems with that, what you forgot and i corrected above is explained exactly in every customside-tutorial.
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Custom sides and modding questions
Well, I can't explain it more correctly, and succinct (clear) than that.
As DarthD.U.C.K is saying you can't really learn anymore from asking questions than reading the tutorials, because people are just repeating what is already written down.
As DarthD.U.C.K is saying you can't really learn anymore from asking questions than reading the tutorials, because people are just repeating what is already written down.
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: Custom sides and modding questions
i never read something about the folder in the Build/side folder.
i haven't mean to delete the complete command ReadDataFile(side//rep.lvl:
i just mean what is written behind this line all the
"rep_inf_ep3_trooper",
"rep_inf_ep3_sniper",
rep_inf_ep3_rocketeer",
.
.
.
Ok so you delete this red lines. you add dc:
ReadDataFile(dc:side//rep.lvl:
and than add your commander. example:
org lua:
i cannot believe because some days month ago i tried to add the RC and ARC (see some pages before) i used the setupteam funktion and add the names to the loading list had NO NEW FOLDER!!! and it worked
i haven't mean to delete the complete command ReadDataFile(side//rep.lvl:
i just mean what is written behind this line all the
"rep_inf_ep3_trooper",
"rep_inf_ep3_sniper",
rep_inf_ep3_rocketeer",
.
.
.
Ok so you delete this red lines. you add dc:
ReadDataFile(dc:side//rep.lvl:
and than add your commander. example:
org lua:
- ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc:SIDE\\REP.lvl",
"rep_ep3_inf_rifleman",
"rep_ep3_inf_rocketeer",
"rep_ep3_inf_engineer",
"rep_ep3_inf_sniper",
"rep_ep3_inf_officer",
"rep_ep3_inf_jettrooper",
"rep_inf_anakinl",
"rep_hover_barc")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_aat")
- ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc:SIDE\\REP.lvl",
)
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_aat")
- ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc:SIDE\\REP.lvl",
"rep_inf_yoursidesreqname",)
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_aat")
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Custom sides and modding questions
you need the new folder if your side has a name different than a shipped side.
and you cannot simply delete these units, that will result in them not being loaded!
you should really really read the customside-tutorial again - many times if its necessary - until you understood it. i think this thread shouldnt get another 4 pages..
and you cannot simply delete these units, that will result in them not being loaded!
you should really really read the customside-tutorial again - many times if its necessary - until you understood it. i think this thread shouldnt get another 4 pages..
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: Custom sides and modding questions
ok but why has it worked with the Republic commando??
shipped what do you mean?? the original sides?
Yeah i know in the rep.req file and the part in the lua:
soldire =
assult=
...
musst be deletet too
shipped what do you mean?? the original sides?
Yeah i know in the rep.req file and the part in the lua:
soldire =
assult=
...
musst be deletet too
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Custom sides and modding questions
In other words you need a new folder in _Build/Sides ONLY if it is named differently than the shipped sides. So if you are loading a custom unit from rep.lvl in your maps SIDE folder, you do not need a folder in _Build/Sides before you munge, as the REP folder is already there.
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: Custom sides and modding questions
how do i know if a side is shipped??
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Custom sides and modding questions
Shipped sides: REP, CIS, IMP, ALL, DES, EWK, GAM, GAR, GEO, GUN, JED, SNW, TUR, WOK.
If you name your custom side rep you don't need to add another folder in _BUILD/Sides.
If you you name your side something else for example: Gree, you need to create another folder in _BUILD/Sides called Gree, then you copy over munge.bat and clean.bat from another side to the gree folder. Then you edit the munge bat to call your new side. So if you copied over the munge.bat from rep to the gree folder you would edit it (right click/edit) and change it from this:
to this:
If you name your custom side rep you don't need to add another folder in _BUILD/Sides.
If you you name your side something else for example: Gree, you need to create another folder in _BUILD/Sides called Gree, then you copy over munge.bat and clean.bat from another side to the gree folder. Then you edit the munge bat to call your new side. So if you copied over the munge.bat from rep to the gree folder you would edit it (right click/edit) and change it from this:
Hidden/Spoiler:
Hidden/Spoiler:
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Custom sides and modding questions
actually its not necessary to edit the munge.bat
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Custom sides and modding questions
Ok, sorry about that Anakin. Just add another folder.
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: Custom sides and modding questions
AHHHH so if i still name my lvl rep i can add what ever i want also only grees without folder THX much for your endurance
==EDIT==
i don't know why every time i make my own sides it crashes. the first thing was easy i only had the wrong name for my commander_low.msh file. now it works
but there is one side missing
and i think my hero doesn't work too.
here are the important parts of my log. if you need the complete one pls say
==EDIT==
i just saw my req file had the wrong name.
But why did this mean with obi-wan??
can i ignor all Message Severity: 2??
======================STOPPED======================
So i stopped the discussion about adding coustom sides i just made it and it works. i ignore the Message Severity: 2 and all is fine. So now is missing for a good side the first perspective but i think i can make this by my self. so i didn't need help with this.
But the next big capital is hex editing. And there is only a big ?
i just read the tutorials:
http://www.gametoast.com/forums/viewtop ... 27&t=11141
forums/viewtopic.php?f=27&t=21955&hilit=MODL+chunk
and this side:
http://personal.riley-man.com/swbf/edit ... f-msh.html
i learned programming a while ago and so i understand lot of it.
BUT i tried it and it didn't work. i don't know why. Maybe you can help me.
i wanted to add a kama to a side. So i cached one side with Kama and copied it with the first tut. But something seams to be wrong with it. you may can see it in the file
Download
this is the kama but something is wrong with it.
PLS HELP
==EDIT==
i don't know why every time i make my own sides it crashes. the first thing was easy i only had the wrong name for my commander_low.msh file. now it works
here are the important parts of my log. if you need the complete one pls say
Hidden/Spoiler:
i just saw my req file had the wrong name.
But why did this mean with obi-wan??
can i ignor all Message Severity: 2??
======================STOPPED======================
So i stopped the discussion about adding coustom sides i just made it and it works. i ignore the Message Severity: 2 and all is fine. So now is missing for a good side the first perspective but i think i can make this by my self. so i didn't need help with this.
But the next big capital is hex editing. And there is only a big ?
i just read the tutorials:
http://www.gametoast.com/forums/viewtop ... 27&t=11141
forums/viewtopic.php?f=27&t=21955&hilit=MODL+chunk
and this side:
http://personal.riley-man.com/swbf/edit ... f-msh.html
i learned programming a while ago and so i understand lot of it.
BUT i tried it and it didn't work. i don't know why. Maybe you can help me.
i wanted to add a kama to a side. So i cached one side with Kama and copied it with the first tut. But something seams to be wrong with it. you may can see it in the file
Download
this is the kama but something is wrong with it.
PLS HELP
