[?] Weapon Transfers (2)
-
Insanitypays
- PR:BF2 Developer
- Posts: 753
- Joined: 2009-06-13 09:23
[?] Weapon Transfers (2)
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
-
Hauteclocque
- Retired PR Developer
- Posts: 3312
- Joined: 2008-10-02 17:55
Re: Weapon Transfers (2)
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.
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.

-
Insanitypays
- PR:BF2 Developer
- Posts: 753
- Joined: 2009-06-13 09:23
Re: Weapon Transfers (2)
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
-
Insanitypays
- PR:BF2 Developer
- Posts: 753
- Joined: 2009-06-13 09:23
Re: Weapon Transfers (2)
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
(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
-
Hauteclocque
- Retired PR Developer
- Posts: 3312
- Joined: 2008-10-02 17:55
Re: Weapon Transfers (2)
Are you sure you've added aix_ScarL_GL.tga in the menu folder of your minimod ? (just asking to iron out the issue)

-
Insanitypays
- PR:BF2 Developer
- Posts: 753
- Joined: 2009-06-13 09:23
Re: Weapon Transfers (2)
100% sure
-
Insanitypays
- PR:BF2 Developer
- Posts: 753
- Joined: 2009-06-13 09:23
Re: Weapon Transfers (2)
btw happy crepe day
