Page 1 of 1
A little help here....
Posted: Fri Jul 14, 2006 10:24 am
by Karnage
Ok i'm new at this modding stuff for BF2 (just bought it yesterday), and i've looked alot of the threads here and I can't find alot on editing the original sides like imp.lvl or rep.lvl. Any help here?
Posted: Fri Jul 14, 2006 10:47 am
by Fiminopter
What you do is go to the folder called
C:\BF2_ModTools\assets\sides
and copy the side you want to change (I chose rep). Paste it in the folder called
C:\BF2_ModTools\data_MAP\Sides (
where MAP is the three letter name of the map). Then go to C:\BF2_ModTools\data_MAP\Common\scripts\MAP
and open the script of your choosing (whether it be for conquest or whatever) and then scroll down to where it says:
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hero_anakin")
and put in a dc: before SIDE so it looks like this
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hero_anakin")
Now, you're done with the scripts.
Let's say I wanted to change the weapon of a clone trooper. For example, I want to give the Jet Trooper a Rifle and the EMP Launcher. So I go to
C:\BF2_ModTools\data_MAP\Sides\rep\odf
and open a file called
rep_inf_default_jettrooper.
The bottom half of the odf should be something like this
[Properties]
WEAPONSECTION = 1
WeaponName = "rep_weap_inf_emp_launcher"
WeaponAmmo = 4
WEAPONSECTION = 2
WeaponName = "rep_weap_inf_pistol"
WeaponAmmo = 0
WEAPONSECTION = 3
WeaponName = "rep_weap_inf_thermaldetonator"
WeaponAmmo = 4
WeaponChannel = 1
WEAPONSECTION = 4
WeaponName = "rep_weap_award_pistol"
WeaponAmmo = 6
I change it so it looks like this:
[Properties]
WEAPONSECTION = 1
WeaponName = "rep_weap_inf_rifle"
WeaponAmmo = 4
WEAPONSECTION = 2
WeaponName = "rep_weap_inf_emp_launcher
WeaponAmmo = 0
WEAPONSECTION = 3
WeaponName = "rep_weap_inf_thermaldetonator"
WeaponAmmo = 4
WeaponChannel = 1
Then I add this after so I can enable the AWARD rifle.
WEAPONSECTION = 4
WeaponName = "rep_weap_award_rifle"
WeaponAmmo = 4
Save, munge, and play!
Posted: Fri Jul 14, 2006 10:53 am
by Karnage
Thanks, I know how to mod I just wanted to know how to add the original sides.
Posted: Fri Jul 14, 2006 11:07 am
by Teancum
Are you saying you want to create new sides?
Posted: Fri Jul 14, 2006 12:30 pm
by Hebes24
When I copy the Alliance to my sides folder, in game I lose the Vanguard, sniper, and wookie!!

It makes no sense, because I copied the alliance
directly from assets!!! This happens only with the alliance, every other side is fine.
OK, I got the Vanguard working

. But the sniper and wookie are still missing!!:evil:
Sorry, But this is getting quite frustrating!:evil:
EDIT: Never mind. I got it to work!!!:D YAY!!
@Karnage: do this:
Fiminopter wrote:What you do is go to the folder called
C:\BF2_ModTools\assets\sides
and copy the side you want to change (I chose rep). Paste it in the folder called
C:\BF2_ModTools\data_MAP\Sides (
where MAP is the three letter name of the map).
however, I think you need to munge the side you copy before you can play the game with it.
Posted: Tue Jul 18, 2006 1:30 am
by Karnage
Okay this is what I did.
1. Copied the
rep side from
BF2_ModTools/assets/sides into
BF2_ModTools/data_NEW/Sides.
2. Edited the
NEWc_con.lua in
BF2_ModTools\data_NEW\Common\scripts\NEW to look like this...
ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_anakin",
"rep_hover_barcspeeder")
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("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")
3. Cleaned everything then Munged everything and tested the map. It crashed. What's up?
Posted: Tue Jul 18, 2006 10:56 am
by Hebes24
Munge the new side, unless that's what you meant by "Munged everything"... otherwise you did everything right. in fact, that's exactly what I did.
Posted: Tue Jul 18, 2006 11:12 am
by Teancum
You have to copy /assets/sides/common over so you have /data_123/sides/common. The game is probably looking for the common files and can't find them.
Posted: Tue Jul 18, 2006 11:46 am
by Karnage
Yep that did it. Thanks for all the help.