Help - Search - Members - Calendar
Full Version: Weapon Pickup, kills me when using. What's Up??
Battlefield SinglePlayer Forum > Main > BF2/BF2142/BF3/BFPlay4Free Discussion > BF2 & BF2142 Advanced Topics
Bama
I have never seen this bug before.

I added a steyr_aug Pickup kit with a thumper on it. Any one who picks it up can fire the weapon normally with no adverse affect, but as soon as you switch to the Grenade Launcher you start slowly dieing. There is nothing you can do to stop it, you just watch your health drain away. I have friends who coop with me and the same thing happens to them.

I have reviewed the Tweak file and see nothing out of the ordinary. Anyone have any Ideas????
SatNav
does it happen in just coop/mp or SP aswell?
Bama
QUOTE(SatNav @ Dec 10 2007, 11:44 PM) *
does it happen in just coop/mp or SP aswell?


Hi SatNav, Thanks for trying to help.

I have not tryed it in SP or MP, but I have found out a few more things.

1. I found another weapon that causes this and it's not a pickup weapon, it's a loadout weapon.
2. It seems to happen only when your near a static fire. I.E. The second story window fire across from Hotel in Karkand. If I go under the archway and have this weapon accessed I start dieing. I change weapons and I stop dieing. This happens near any static fire.

I'll try and reproduce this in SP and MP, and get back about it.



NOTE: Yep, it does the same thing in SP & MP.

Here is the Tweak file for this weapon causing it, maybe you can see something.

CODE
rem *** Generated with Bf2Editor.exe [created: 2006/1/4 7:47]
GeometryTemplate.maxSkip3pLods 1
GeometryTemplate.setMaterialReflectionScale 0 0 0 0.35
GeometryTemplate.setMaterialReflectionScale 0 0 1 2
GeometryTemplate.compressVertexData 1
GeometryTemplate.maxTextureRepeat 16
ObjectTemplate.activeSafe GenericFireArm m72law
ObjectTemplate.creator TLO-1:tlo
ObjectTemplate.modifiedByUser "Sony"
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.castsDynamicShadow 1
rem ---BeginComp:WeaponHud ---
ObjectTemplate.createComponent WeaponHud
ObjectTemplate.weaponHud.weaponIcon Ingame\Weapons\Icons\Hud\m72law.dds
ObjectTemplate.weaponHud.altWeaponIcon Ingame\Weapons\Icons\Hud\m72law.dds
ObjectTemplate.weaponHud.selectIcon Ingame\Weapons\Icons\Hud\Selection\m72law.dds
ObjectTemplate.weaponHud.specialAbilityIcon Ingame\Weapons\Icons\Hud\SpecialKitIcons\antiTank.tga
ObjectTemplate.weaponHud.hudName "M72-LAW"
ObjectTemplate.weaponHud.guiIndex 6
ObjectTemplate.weaponHud.altGuiIndex 0
ObjectTemplate.weaponHud.showClips 1
ObjectTemplate.weaponHud.disableOnSprint 1
rem ---EndComp ---
rem ---BeginComp:SingleFireComp ---
ObjectTemplate.createComponent SingleFireComp
ObjectTemplate.fire.addFireRate 0
ObjectTemplate.fire.projectileStartPosition 0.13/-0.1/0
ObjectTemplate.fire.showWeaponAfterReloadDelay 3
ObjectTemplate.fire.hideWeaponAfterReloadDelay 2.25
rem ObjectTemplate.fire.dropWeaponAfterReloadDelay 2.21667
rem ObjectTemplate.fire.dropLod 3
rem ObjectTemplate.fire.hideLod 2
rem ---EndComp ---
rem ---BeginComp:DefaultAmmoComp ---
ObjectTemplate.createComponent DefaultAmmoComp
ObjectTemplate.ammo.ammoType 1
ObjectTemplate.ammo.nrOfMags 8
ObjectTemplate.ammo.magSize 1
ObjectTemplate.ammo.reloadTime 3.5
ObjectTemplate.ammo.minimumTimeUntilReload 0.25
ObjectTemplate.ammo.toggleWhenNoAmmo 1
rem ---EndComp ---
rem ---BeginComp:SoldierBasedRecoilComp ---
ObjectTemplate.createComponent SoldierBasedRecoilComp
rem ---EndComp ---
rem ---BeginComp:HelpHud ---
ObjectTemplate.createComponent HelpHud
ObjectTemplate.HelpHud.helpStringKey "HUD_HELP_WEAPON_HANDHELD_SNIPERRIFLE_CONTROLS_switchToScopeView"
ObjectTemplate.HelpHud.helpSoundKey "USRIF_M24"
rem ---EndComp ---
rem ---BeginComp:SoldierDeviationComp ---
ObjectTemplate.createComponent SoldierDeviationComp
ObjectTemplate.deviation.setTurnDev 0 0 0 0
ObjectTemplate.deviation.setSpeedDev 0 0 0 0
ObjectTemplate.deviation.setMiscDev 0 0 0
rem ---EndComp ---
rem ---BeginComp:DefaultSoundComp ---
ObjectTemplate.createComponent DefaultSoundComp
rem ---EndComp ---
rem ---BeginComp:DefaultAnimationComp ---
ObjectTemplate.createComponent DefaultAnimationComp
rem ---EndComp ---
rem ---BeginComp:DefaultZoomComp ---
ObjectTemplate.createComponent DefaultZoomComp
ObjectTemplate.zoom.zoomDelay 0
ObjectTemplate.zoom.zoomLod 1
ObjectTemplate.zoom.addZoomFactor 0
ObjectTemplate.zoom.addZoomFactor 0.85
ObjectTemplate.zoom.changeFovDelay 0.05
rem ---EndComp ---
ObjectTemplate.geometry m72law
ObjectTemplate.setCollisionMesh m72law
ObjectTemplate.mapMaterial 0 Collision_Material 68
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Point
ObjectTemplate.aiTemplate m72lawAI
rem -------------------------------------
ObjectTemplate.addTemplate S_m72law_Fire1P
ObjectTemplate.addTemplate S_m72law_Fire1P_Outdoor
ObjectTemplate.addTemplate S_m72law_Fire3P
ObjectTemplate.addTemplate S_m72law_BoltClick
ObjectTemplate.addTemplate S_m72law_TriggerClick
ObjectTemplate.addTemplate S_m72law_SwitchFireRate
ObjectTemplate.addTemplate S_m72law_Reload1P
ObjectTemplate.addTemplate S_m72law_Reload3P
ObjectTemplate.addTemplate S_m72law_Deploy1P
ObjectTemplate.addTemplate S_m72law_Deploy3P
ObjectTemplate.addTemplate S_m72law_Zoom
ObjectTemplate.addTemplate e_muzz_eryx
ObjectTemplate.setPosition 0/0.0130506/0
rem -------------------------------------
ObjectTemplate.animationSystem1P Objects/Weapons/Handheld/GRAIL_X/AnimationSystem1p.inc
ObjectTemplate.animationSystem3P Objects/Weapons/Handheld/GRAIL_X/AnimationSystem3p.inc
ObjectTemplate.projectileTemplate eryx
ObjectTemplate.keepProjectiles 1
ObjectTemplate.velocity 90
ObjectTemplate.itemIndex 3
ObjectTemplate.delayToUse 1

ObjectTemplate.activeSafe Sound S_m72law_Fire1P
ObjectTemplate.modifiedByUser "Sony"
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/sounds/TOW1_fire_1p.wav"
ObjectTemplate.loopCount 0
ObjectTemplate.is3dSound 0
ObjectTemplate.stopType 1
ObjectTemplate.volume 1
ObjectTemplate.pitch 1
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 1

ObjectTemplate.activeSafe Sound S_m72law_Fire1P_Outdoor
ObjectTemplate.modifiedByUser "Sony"

ObjectTemplate.activeSafe Sound S_m72law_Fire3P
ObjectTemplate.modifiedByUser "Sony"
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/sounds/TOW1_fire_3p.wav"
ObjectTemplate.loopCount 0
ObjectTemplate.is3dSound 1
ObjectTemplate.stopType 1
ObjectTemplate.volume 0.95
ObjectTemplate.pitch 1
ObjectTemplate.reverbLevel 1
ObjectTemplate.minDistance 5
ObjectTemplate.halfVolumeDistance 10

ObjectTemplate.activeSafe Sound S_m72law_BoltClick
ObjectTemplate.modifiedByUser "Sony"

ObjectTemplate.activeSafe Sound S_m72law_TriggerClick
ObjectTemplate.modifiedByUser "Sony"
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/weapons/handheld/uspis_92fs/sounds/mono/trigger_click.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 0
ObjectTemplate.stopType 1
ObjectTemplate.volume 0.6
ObjectTemplate.pitch 1
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 1

ObjectTemplate.activeSafe Sound S_m72law_SwitchFireRate
ObjectTemplate.modifiedByUser "Sony"

ObjectTemplate.activeSafe Sound S_m72law_Reload1P
ObjectTemplate.modifiedByUser "Sony"
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/weapons/handheld/chat_eryx/sounds/eryx_reload_1p.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 0
ObjectTemplate.stopType 1
ObjectTemplate.volume 0.65
ObjectTemplate.pitch 1
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 1

ObjectTemplate.activeSafe Sound S_m72law_Reload3P
ObjectTemplate.modifiedByUser "Sony"
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/weapons/handheld/chat_eryx/sounds/eryx_reload_3p.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 1
ObjectTemplate.stopType 1
ObjectTemplate.volume 0.65
ObjectTemplate.pitch 1
ObjectTemplate.reverbLevel 1
ObjectTemplate.minDistance 0.5
ObjectTemplate.halfVolumeDistance 2

ObjectTemplate.activeSafe Sound S_m72law_Deploy1P
ObjectTemplate.modifiedByUser "Sony"
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/weapons/handheld/chat_eryx/sounds/eryx_deploy_1p.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 0
ObjectTemplate.stopType 0
ObjectTemplate.volume 0.65
ObjectTemplate.pitch 1
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 1

ObjectTemplate.activeSafe Sound S_m72law_Deploy3P
ObjectTemplate.modifiedByUser "Sony"
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/weapons/handheld/chat_eryx/sounds/eryx_deploy_3p.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 1
ObjectTemplate.stopType 0
ObjectTemplate.volume 0.65
ObjectTemplate.pitch 1
ObjectTemplate.reverbLevel 1
ObjectTemplate.minDistance 0.7
ObjectTemplate.halfVolumeDistance 1.4

ObjectTemplate.activeSafe Sound S_m72law_Zoom
ObjectTemplate.modifiedByUser "Sony"
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/weapons/handheld/usatp_predator/sounds/mono/zoom.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 0
ObjectTemplate.stopType 1
ObjectTemplate.volume 1
ObjectTemplate.pitch 1
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 1

SatNav
QUOTE(Bama @ Dec 12 2007, 05:39 AM) *
1. I found another weapon that causes this and it's not a pickup weapon, it's a loadout weapon.
2. It seems to happen only when your near a static fire. I.E. The second story window fire across from Hotel in Karkand. If I go under the archway and have this weapon accessed I start dieing. I change weapons and I stop dieing. This happens near any static fire.


sounds like your dying from a supplyobject like the one the ambient fires uses to do damage. do any of those weapons use custom effects linked to those weapons including projectile effects have any template names with the same name as any of the ambient fire effect names?
Bama
Your right on SatNav! The two objects ambstat_fire, and ambstat_civwreck_burning are causing it, however I can find no relationship in the two weapons or their projectiles to either supply object.

I did find a way to stop it from happening. In both ambstat_fire, and ambstat_civwreck_burning I just turned "ObjectTemplate.damageSpeed 10" to "ObjectTemplate.damageSpeed 0". Sucks but it's the only way I can stop it right now, unless you can find something.

Thanks a bunch SatNav, I know we all can always count on you.
DEVILMAN1
QUOTE(Bama @ Dec 13 2007, 12:26 AM) *
Sucks but it's the only way I can stop it right now


You could also add healing abilities to the weapon to counteract the loss of health, if nothing else works
SatNav
QUOTE(Bama @ Dec 13 2007, 05:26 AM) *
Your right on SatNav! The two objects ambstat_fire, and ambstat_civwreck_burning are causing it, however I can find no relationship in the two weapons or their projectiles to either supply object.

I did find a way to stop it from happening. In both ambstat_fire, and ambstat_civwreck_burning I just turned "ObjectTemplate.damageSpeed 10" to "ObjectTemplate.damageSpeed 0". Sucks but it's the only way I can stop it right now, unless you can find something.

there must be a coding typo or something in the setup of the pickup kit that is causing the problem. if you send me all the related files i could try and replicate the problem.i vaguely remember someone else having a similar problem awhile ago tho can't remember where.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.