Transfering Weapons and Vehicles Into Your BF2 (or other sources)
Posted: 2008-06-01 15:46
Ok so ive seen alot of topics popping up about transferring weapons and vehicle from PR into your BF2 Singleplayer. Ive been able to do this successfully numerous ammounts of time and was able to make my own PR minimod with a large amount of extra content. Unfortunately, my computer crashed and my screenshots and my whole mod went down the drain (oh well).
Ok to start, this Tutorial is only for the people who are using this for their own private use. PRIVATE USE!
Weapons:
The whole process of transferring weapons is pretty simple. you start with taking the files from the "pr/objects/" folder which will be in the "objects_client.zip" and the "objects_server.zip" inside these zips the file will be under "weapons/handheld" (depends on if you want a handheld weapon or a stationary) you copy these files and transfer them into the same spot of you "BF2" folder inside BF2's "objects_client" and "objects_server" (note, same folder inside of these zips as where you found it.) Now the gun itself will be in game, but you will experience a crash if you try to run it because we need the icons. My experience with icons has been, How do i say?... troubled. The only way ive been successfully able to do this is to transfer the icons, but change the ".tga" to ".dds" the only issue with this is that the icon appears upside down. (if anyone knows how to change this, please post). But anyway, to transfer icons, they will be in the "pr/menu" folder and in the "menu_client" inside the "menu_client", the path to the icons is "HUD\Texture\Ingame\Weapons\Icons\Hud" you transfer these to the corresponding BF2 "menu_client" and change the ".tga" to ".dds"
Put your weapon in a kit and have fun.
Vehicles
Vehicles are a bit more tricky, to accomplish this, we need to do the same as above with the objects, don't do the icons. once we have the objects transferred like above, we need to go inside the .tweak to change the icons of the vehicle. Why? because theres more than one icon file to transfer to get the minimap icons in game and ive had trouble with this. so what i do is go into the .tweak and change the paths of the icons to a different already existing icon. For example if you transfer a t-55, you can just use the already existing BF2 tank icon. saves time and doesn't make a difference. Also, another thing to change in the tweak is the "guiIndex". To find this just open the .tweak with notepad and go to edit/ find and type in "gui index" the line you should get is. "ObjectTemplate.weaponHud.guiIndex" you can change the number on that to a number that is on an already existing vehicle in BF2. To find that just look in that vehicle ".tweak" No this is my only problem, if you know how to transfer huds please post because im not sure how.
Now to finish it off, put your vehicle into a map and run BF2 while in windowed mode. You may get an error, but thats ok because now, depending on the error, go back into the files and retrieve the file the error specifies and transfers it to BF2
Sorry if my Tut has any hazy areas. it my first Tut and i hope it helps.
Ok to start, this Tutorial is only for the people who are using this for their own private use. PRIVATE USE!
Weapons:
The whole process of transferring weapons is pretty simple. you start with taking the files from the "pr/objects/" folder which will be in the "objects_client.zip" and the "objects_server.zip" inside these zips the file will be under "weapons/handheld" (depends on if you want a handheld weapon or a stationary) you copy these files and transfer them into the same spot of you "BF2" folder inside BF2's "objects_client" and "objects_server" (note, same folder inside of these zips as where you found it.) Now the gun itself will be in game, but you will experience a crash if you try to run it because we need the icons. My experience with icons has been, How do i say?... troubled. The only way ive been successfully able to do this is to transfer the icons, but change the ".tga" to ".dds" the only issue with this is that the icon appears upside down. (if anyone knows how to change this, please post). But anyway, to transfer icons, they will be in the "pr/menu" folder and in the "menu_client" inside the "menu_client", the path to the icons is "HUD\Texture\Ingame\Weapons\Icons\Hud" you transfer these to the corresponding BF2 "menu_client" and change the ".tga" to ".dds"
Put your weapon in a kit and have fun.
Vehicles
Vehicles are a bit more tricky, to accomplish this, we need to do the same as above with the objects, don't do the icons. once we have the objects transferred like above, we need to go inside the .tweak to change the icons of the vehicle. Why? because theres more than one icon file to transfer to get the minimap icons in game and ive had trouble with this. so what i do is go into the .tweak and change the paths of the icons to a different already existing icon. For example if you transfer a t-55, you can just use the already existing BF2 tank icon. saves time and doesn't make a difference. Also, another thing to change in the tweak is the "guiIndex". To find this just open the .tweak with notepad and go to edit/ find and type in "gui index" the line you should get is. "ObjectTemplate.weaponHud.guiIndex" you can change the number on that to a number that is on an already existing vehicle in BF2. To find that just look in that vehicle ".tweak" No this is my only problem, if you know how to transfer huds please post because im not sure how.
Now to finish it off, put your vehicle into a map and run BF2 while in windowed mode. You may get an error, but thats ok because now, depending on the error, go back into the files and retrieve the file the error specifies and transfers it to BF2
Sorry if my Tut has any hazy areas. it my first Tut and i hope it helps.