[?] Weapon Transfers (2)

Making or wanting help making your own asset? Check in here
Post Reply
Insanitypays
PR:BF2 Developer
Posts: 753
Joined: 2009-06-13 09:23

[?] Weapon Transfers (2)

Post by Insanitypays »

I was origionally going to have is In my last post but I decided not to: I took the SCAR with grenade launcher from the AIX 2.0 mod and put it into vanilla bf2 and it all worked fine and the rifle worked, but when I tried to switch weapons the game crashed. i know I put the grenade launcher files in and double checked alopng with the kit/selection dds files, so why isnt it working? BTW the AI can use the grenade launcher, pistol, etc so I think it has something to do with the textures

"Go to Heaven for the climate, Hell for the company." -Mark Twain
[/CENTER]
Hauteclocque
Retired PR Developer
Posts: 3312
Joined: 2008-10-02 17:55

Re: Weapon Transfers (2)

Post by Hauteclocque »

Is the weapon selection slot for this weapon plain white when you switch ? (I mean you see a white square instead of a weapon icon)

It may be down to your weapon not having a weapon selection icon. Run in windowed mode, this kind of error should appear when you CTD.
Image
Insanitypays
PR:BF2 Developer
Posts: 753
Joined: 2009-06-13 09:23

Re: Weapon Transfers (2)

Post by Insanitypays »

The icon when im choosing the kit shows up fine, its just when I try to switch to my secondary or primary weapon it crashes

"Go to Heaven for the climate, Hell for the company." -Mark Twain
[/CENTER]
Insanitypays
PR:BF2 Developer
Posts: 753
Joined: 2009-06-13 09:23

Re: Weapon Transfers (2)

Post by Insanitypays »

nope it all says its good -
(Grenade Launcher)
rem ---BeginComp:WeaponHud ---
ObjectTemplate.createComponent WeaponHud
ObjectTemplate.weaponHud.weaponIcon Ingame\Weapons\Icons\Hud\aix_ScarL_GL.tga
ObjectTemplate.weaponHud.altWeaponIcon Ingame\Weapons\Icons\Hud\USRGL_M203G_mini.tga
ObjectTemplate.weaponHud.selectIcon Ingame\Weapons\Icons\Hud\aix_ScarL_GL.tga
ObjectTemplate.weaponHud.hudName "Aix?ScarL?GL"
ObjectTemplate.weaponHud.guiIndex 6
ObjectTemplate.weaponHud.altGuiIndex 6
(Rifle)
rem ---BeginComp:WeaponHud ---
ObjectTemplate.createComponent WeaponHud
ObjectTemplate.weaponHud.weaponIcon Ingame\Weapons\Icons\Hud\aix_ScarL_rif.tga
ObjectTemplate.weaponHud.altWeaponIcon Ingame\Weapons\Icons\Hud\scarL_mini.tga
ObjectTemplate.weaponHud.selectIcon Ingame\Weapons\Icons\Hud\aix_ScarL_rif.tga
ObjectTemplate.weaponHud.hudName "Aix ScarL"
ObjectTemplate.weaponHud.guiIndex 4
ObjectTemplate.weaponHud.altGuiIndex 52

"Go to Heaven for the climate, Hell for the company." -Mark Twain
[/CENTER]
Hauteclocque
Retired PR Developer
Posts: 3312
Joined: 2008-10-02 17:55

Re: Weapon Transfers (2)

Post by Hauteclocque »

Are you sure you've added aix_ScarL_GL.tga in the menu folder of your minimod ? (just asking to iron out the issue)
Image
Insanitypays
PR:BF2 Developer
Posts: 753
Joined: 2009-06-13 09:23

Re: Weapon Transfers (2)

Post by Insanitypays »

100% sure

"Go to Heaven for the climate, Hell for the company." -Mark Twain
[/CENTER]
Insanitypays
PR:BF2 Developer
Posts: 753
Joined: 2009-06-13 09:23

Re: Weapon Transfers (2)

Post by Insanitypays »

btw happy crepe day

"Go to Heaven for the climate, Hell for the company." -Mark Twain
[/CENTER]
Post Reply

Return to “PR:BF2 Community Modding”