Page 1 of 1
[Help] PR->BF2 Weapon Transfering
Posted: 2011-01-29 08:48
by Insanitypays
(new to modding) For the past 5 hours I worked to move the m16a4 from PR to my personal single player mod for bf2 (not stealing, the mod is my own personal playground for modding practice) the mod is pretty much bf2 with some changed kits and maps. Anyway it all worked perfectly except for one thing, the weapon does absolutely no damage and there is no round coming out of the gun from what I see, I also have a wierd looking crossheir... I attached a screenshot :/ thanks for any help in advance
Re: PR->BF2 Weapon Transfering
Posted: 2011-01-29 08:58
by Rhino
you need to recode the gun and its projectile to fit vBF2 standards, the projectile is also using custom PR materials rather than standard vbf2 ones hence why the bullet isn't doing any damage.
The simplest way to do this would be to copy the vBF2 M16A2 values over to the M16A4, things like deviation, projectiles, ROF etc but make sure you don't rename any of the title bits.
Re: PR->BF2 Weapon Transfering
Posted: 2011-01-29 09:08
by Insanitypays
Thanks for the fast reply, im going to try that, maybe ill give it a bit of my own touch too >: ) OH btw, the A4 has 2 tweak files one normal and one has a 6 after it, whats up with that?
Re: PR->BF2 Weapon Transfering
Posted: 2011-01-29 09:19
by Rhino
the 2nd one is the 6mag version, rather than 8 mags. Only difference as some kits like the medic have fewer mags than the rifleman in PR

Re: PR->BF2 Weapon Transfering
Posted: 2011-01-29 09:23
by Insanitypays
Okay, so does that mean I can take it out? + im not very familiar with changing tweak files, i dont know what values control what within the tweak, im used to modding GTA:SA
Re: PR->BF2 Weapon Transfering
Posted: 2011-01-29 09:31
by Rhino
Ye, just delete the "6" .con and .tweak files.
Re: PR->BF2 Weapon Transfering
Posted: 2011-01-29 19:24
by Insanitypays
Ok, last thing, how do I get rid of the funny looking crossheir?
Re: PR->BF2 Weapon Transfering
Posted: 2011-01-29 19:44
by PatrickLA_CA
I wanted to ask the same, but for vehicles, can anyone gimme a hint without starting a new thread?
Re: PR->BF2 Weapon Transfering
Posted: 2011-01-31 23:44
by Insanitypays
<DELETED>
Re: PR->BF2 Weapon Transfering
Posted: 2011-02-07 00:41
by clondicke
For the Crosshair it is simple just like frank_beans said:
ObjectTemplate.weaponHud.guiIndex 4
ObjectTemplate.weaponHud.altGuiIndex 53
guiIndex is used for the weapon crosshair in normal mode
altGuiIndex is used what you see when the weapon is in scope/zoom mode
I don't remember all the numbers for the game it self as to which number is what but here it goes the one you have is for the shotguns what ever that number is.
4 = normal crosshair
6 = grenade launcher crosshair
53 = is the laser dot for the m4 with aim-point when you zoom in
That's how far I remember.
Re: PR->BF2 Weapon Transfering
Posted: 2011-02-07 01:02
by yy885
sorry for asking here but dont want to start a new thread
can i put in the pr gun model(texture?) into BF2 and play the MP? the pr gun is look better than the original...
Re: PR->BF2 Weapon Transfering
Posted: 2011-02-07 01:08
by Amok@ndy
yy885 wrote:sorry for asking here but dont want to start a new thread
can i put in the pr gun model(texture?) into BF2 and play the MP? the pr gun is look better than the original...
no you cant
Re: PR->BF2 Weapon Transfering
Posted: 2011-02-09 04:13
by Insanitypays
that would be like the GTA san andreas mp mod, you could replace the textures and models of any vehicles/players/weps and use them in game
Re: PR->BF2 Weapon Transfering
Posted: 2011-02-13 06:43
by Insanitypays
UPDATE: my friend told me you could actually do that if the files were similar enough or soething like that, i wouldnt know anything else though