A little help here....
Moderator: Moderators
- Karnage
- Commander Randomtoast
- Posts: 947
- Joined: Sun Oct 23, 2005 9:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Wherever there is shenanigannery.
A little help here....
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?
-
Fiminopter
- Sergeant Major

- Posts: 221
- Joined: Sat Apr 29, 2006 11:20 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
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!
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!
- Karnage
- Commander Randomtoast
- Posts: 947
- Joined: Sun Oct 23, 2005 9:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Wherever there is shenanigannery.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
-
Hebes24
- Sith Master

- Posts: 2594
- Joined: Sat Jun 03, 2006 5:15 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: In An Epic Space Battle!
- Contact:
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:
OK, I got the Vanguard working
Sorry, But this is getting quite frustrating!:evil:
EDIT: Never mind. I got it to work!!!:D YAY!!
@Karnage: do this:
however, I think you need to munge the side you copy before you can play the game with it.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).
- Karnage
- Commander Randomtoast
- Posts: 947
- Joined: Sun Oct 23, 2005 9:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Wherever there is shenanigannery.
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...
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...
3. Cleaned everything then Munged everything and tested the map. It crashed. What's up?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")
-
Hebes24
- Sith Master

- Posts: 2594
- Joined: Sat Jun 03, 2006 5:15 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: In An Epic Space Battle!
- Contact:
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
