Modding BF2 vehicle health,Weapon ammo
Well,heres first,lets start with the unlimited Ammo
~AMMUNITION~
1.Locate your BF2 Directory ( EG. C:\Program Files\EA Games\Battlefield 2 )
2.Open the folder called "Mods",then "BF2"
3.Find the Objects_server.rar(or zip)
3B.before proceeding,make a backup of the .RAR(or zip)
4.Extract the contents of Objects_server to desktop
5.After step 4,Find the folders called "Weapons" and "Vehicles"
6.Inside,it should look like this
Vehicles:[IMG]https://i868.photobucke*****m/albums/ab245/hiukuss/MPGH/2.jpg[/IMG]
Weapons:[IMG]https://i868.photobucke*****m/albums/ab245/hiukuss/MPGH/1.jpg[/IMG]
~~~
7.Open the folder called "Weapons",Then enter the folder called "Handheld"
7B.you'll see ALOT of folders,we'll just edit 1 for now.
8.For this Demo,i will use the M249SAW,the folder is called "USLMG_M249SAW"
9.Open the folder,you will see a .tweak file,how ironic.
10.Before we can edit,you must change the properties of the file,Right click the file called "USLMG_M249SAW.tweak" and click PROPERTIES
10B.Uncheck Read-Only,then save+close.
11.Open the .tweak file with Notepad,Notepad++,Wordpad or anything
12.Scroll down until you see this line of text
rem ---BeginComp: DefaultAmmoComp ---
ObjectTemplate.createComponent DefaultAmmoComp
ObjectTemplate.ammo.ammoType 1
ObjectTemplate.ammo.magSize 200
ObjectTemplate.ammo.reloadTime 6.666
rem ---EndComp ---
13.Change ObjectTemplate.ammo.magSize 200 to -1,then it will have unlimited ammo
it should look like this:
[IMG]https://i868.photobucke*****m/albums/ab245/hiukuss/MPGH/3.jpg[/IMG]
I change the magSize 200 to -1 for unlim. ammo
Now if you want to do this with any other weapon,follow these instructions,or skip them
~AMMO2~
1.Copy this line ObjectTemplate.ammo.magSize -1
2.Find your weapon file(EG. USPIF_92FS,w/e)
3.Open the .tweak file
4.File this line of text
rem ---BeginComp: DefaultAmmoComp ---
ObjectTemplate.createComponent DefaultAmmoComp
ObjectTemplate.ammo.ammoType 1
ObjectTemplate.ammo.reloadTime 6.666
rem ---EndComp ---
4B.Usually,there is no magSize line,so we need to add it,if not,refer to step 13
5.add ObjectTemplate.ammo.magSize -1 below reloadTime
6.Then save,then make the file Read-Only again.
Now time for Vehicles!! yay!
1.Open your extracted Vehicles folder(Picture step 6)
2.Locate the folder called "Land"
2B,or Air,Sea,this lesson im using Land.
3.Open the LAND folder
4.Open any vehicle folder,im using HMMWV(Hummer)
5.find the .tweak file,uncheck read only in properties
5B.open the file,duhhhh
6.Find the lines
rem ---BeginComp:Armor ---
ObjectTemplate.createComponent Armor
ObjectTemplate.armor.maxHitPoints 1
ObjectTemplate.armor.hitPoints 1
it should be near the top
7.Change the maxHitpoints to 9000000
7B.change hitPoints to 9000000
8.Now the vehicle is indestructable
9.its the same with aircraft and Sea
~~~~ENDING STEPS~~~~~~
1.Make all the files you edited Read-Only again
2.Open your Objects_Server and add the Folders "Weapons" and "Vehicles" back in
3.Place your Tweaked RAR(or zip) into this folder
Common folder:C:\Program Files\EA Games\Battlefield 2\mods\bf2
Then you should be good
~~~~~
Thanks for reading
need help? im making a video soon
PM me if you need help