project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding > Modding Tutorials
24 Apr 2014, 00:00:00 (PRT)
Register Forum RulesDeveloper Blogs Project Reality Members List Search Today's Posts Mark Forums Read
Modding Tutorials Information and tutorials related to modding BF2.

Contact Support Team Frequently Asked Questions Register today!

Reply
 
LinkBack Thread Tools Display Modes
Old 06-01-2008, 11:46 AM   #1
3===SPECTER===3

3===SPECTER===3's Avatar
Default Transfering Weapons and Vehicles Into Your BF2 (or other sources)

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.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
3===SPECTER===3 is offline Reply With Quote
Old 06-01-2008, 02:03 PM   #2
mike653048
Default Re: [TUTORIAL] Transfering weapons and vehicles into your BF2 (or other sources)

when you say to put the weapon in your kit, how do i do that??
mike653048 is offline Reply With Quote
Old 06-01-2008, 03:23 PM   #3
mike653048
Default Re: [TUTORIAL] Transfering weapons and vehicles into your BF2 (or other sources)

i really need help, srry to bump but if i get this to work then i wont really need any help anymore
mike653048 is offline Reply With Quote
Old 06-01-2008, 07:48 PM   #4
3===SPECTER===3

3===SPECTER===3's Avatar
Default Re: [TUTORIAL] Transfering weapons and vehicles into your BF2 (or other sources)

go to the Objects_server.zip in BF2, and go to kits. choose an army and a kit and replace the rifle or whatever to the file name of your new gun


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
3===SPECTER===3 is offline Reply With Quote
Old 06-01-2008, 08:07 PM   #5
mike653048
Exclamation Re: [TUTORIAL] Transfering weapons and vehicles into your BF2 (or other sources)

okay, i got an error:




debug assertion failed!

file: D:\DiceCanada\BoosterPack2\Code\Game\Objects\Base\ BundleTemplate.cpp
Line: 213

Text: uslat_at4 addBundleChilds() template not found:e_muzz_shoulderfiredrocket

what do i do???
mike653048 is offline Reply With Quote
Old 06-02-2008, 10:31 AM   #6
striker105

striker105's Avatar
Default Re: [TUTORIAL] Transfering weapons and vehicles into your BF2 (or other sources)

Can anyone tell me how to transfer the faction (I mean the soliders model, flag etc...) to PR from other mod or vice versa
Thanks
striker105 is offline Reply With Quote
Old 06-02-2008, 10:35 AM   #7
marcoelnk
Retired PR Developer

marcoelnk's Avatar
Default Re: [TUTORIAL] Transfering weapons and vehicles into your BF2 (or other sources)

Quote:
Originally Posted by striker105 View Post
Can anyone tell me how to transfer the faction (I mean the soliders model, flag etc...) to PR from other mod or vice versa
Thanks
i dunno how to that but you will have to ask the DEVs for permission anyway.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
marcoelnk is offline Reply With Quote
Old 06-02-2008, 08:24 PM   #8
striker105

striker105's Avatar
Default Re: [TUTORIAL] Transfering weapons and vehicles into your BF2 (or other sources)

Quote:
Originally Posted by marcoelnk View Post
i dunno how to that but you will have to ask the DEVs for permission anyway.
In facts I just want to add the faction to PRSP for self enjoyment..........
striker105 is offline Reply With Quote
Old 06-03-2008, 07:16 PM   #9
3===SPECTER===3

3===SPECTER===3's Avatar
Default Re: [TUTORIAL] Transfering weapons and vehicles into your BF2 (or other sources)

ok mike what you need to do is go and find the e_muzz_shoulderfiredrocket and transfer that into BF2 or whereever, just like everything else.

Striker. Transferring an army is extremely hard and alot of work. ive done it but i always got an unexplained crash and never completed it.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
3===SPECTER===3 is offline Reply With Quote
Old 06-03-2008, 08:21 PM   #10
striker105

striker105's Avatar
Default Re: [TUTORIAL] Transfering weapons and vehicles into your BF2 (or other sources)

Quote:
Originally Posted by 3===SPECTER===3 View Post
Striker. Transferring an army is extremely hard and alot of work. ive done it but i always got an unexplained crash and never completed it.
I want to know what are the nesseary files for transfering a faction
As I did similar job (but not PR) before, ie transfer an army which is totally based by EU solider to vBF2. But I found that they are using original EU texture in vBF2.Or when I try to change the name of the files (ie not using the name "EU"),I cannot spawn in game.............So I just want anyone give me a hand
Thanks
striker105 is offline Reply With Quote
Reply


Tags
bf2, sources, transfering, tutorial, vehicles, weapons
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:38 AM.


Powered by: vBulletin. ©vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.1
All Content Copyright ©2004 - 2014, Project Reality.