Why POW won't fire guns?
Posted: Mon Feb 07, 2011 9:40 pm
i add a POW in omaha_beach, and it won't fire anymore..
A website for modding Battlefield 1942, BF2, BFV, and the Battlefield Series
https://www.bfmods.com/
Indeed he "destroyed" a clan yes laux that is you!Jeronimo wrote:Herrmann is the uber troll known all over the community, spamming forums and gameservers down till kingdom come with his endless loop of brain-dead bullshit. The problem is... he seems to be serious with all that... so no ill-will... just stupidity.
Sorry for the bloody off-topic. Though the topic is useless, too, given the absolutely insufficient amount of detail.
Code: Select all
rem *** PrinceOW_CannonPipe ***
ObjectTemplate.create FireArms PrinceOW_CannonPipes4
ObjectTemplate.loadSoundScript ../Common/Sounds/fire.ssc
ObjectTemplate.geometry PrinceOW_BigGun_m1
ObjectTemplate.aiTemplate PrinceOWGunAI
rem -------------------------------------
rem ObjectTemplate.visibleBarrelTemplate e_MuzzHeavy
ObjectTemplate.addTemplate e_MuzzDefGun
ObjectTemplate.setPosition 3.344/0/16
ObjectTemplate.setRotation -179.999/0/0
ObjectTemplate.addTemplate e_MuzzDefGun
ObjectTemplate.setPosition -3.344/0/16
ObjectTemplate.setRotation -179.999/0/0
ObjectTemplate.addTemplate e_MuzzDefGun
ObjectTemplate.setPosition 1.124/0/16
ObjectTemplate.setRotation -179.999/0/0
ObjectTemplate.addTemplate e_MuzzDefGun
ObjectTemplate.setPosition -1.124/0/16
ObjectTemplate.setRotation -179.999/0/0
rem -------------------------------------
ObjectTemplate.projectileTemplate POWProjectile
ObjectTemplate.projectilePosition 0/0/16
ObjectTemplate.magSize 280
ObjectTemplate.numOfMag -1
ObjectTemplate.velocity 201
ObjectTemplate.reloadtime 30
ObjectTemplate.roundOfFire 0.125
ObjectTemplate.setMinDev 2
ObjectTemplate.addFireArmsPosition -3.344/0/0 0/0/0
ObjectTemplate.addFireArmsPosition 3.344/0/0 0/0/0
ObjectTemplate.addFireArmsPosition 1.124/0/0 0/0/0
ObjectTemplate.addFireArmsPosition -1.124/0/0 0/0/0
rem *** PrinceOW_CannonPipe ***
ObjectTemplate.create FireArms PrinceOW_CannonPipes2
ObjectTemplate.loadSoundScript ../Common/Sounds/fire.ssc
ObjectTemplate.geometry PrinceOW_SmlGun_m1
rem ObjectTemplate.aiTemplate PrinceOWGunAI
rem -------------------------------------
ObjectTemplate.addTemplate e_MuzzDefGun
ObjectTemplate.setPosition 1.12/0/16
ObjectTemplate.setRotation -179.999/0/0
ObjectTemplate.addTemplate e_MuzzDefGun
ObjectTemplate.setPosition -1.12/0/16
ObjectTemplate.setRotation -179.999/0/0
rem -------------------------------------
ObjectTemplate.projectileTemplate POWProjectile
ObjectTemplate.projectilePosition 0/0/16
ObjectTemplate.magSize 140
ObjectTemplate.numOfMag 999
ObjectTemplate.velocity 201
ObjectTemplate.reloadtime 30
ObjectTemplate.roundOfFire 0.125
ObjectTemplate.setMinDev 2
ObjectTemplate.addFireArmsPosition 1.12/0/0 0/0/0
ObjectTemplate.addFireArmsPosition -1.12/0/0 0/0/0
rem *** POWProjectile ***
ObjectTemplate.create Projectile POWProjectile
ObjectTemplate.createNotInGrid 1
ObjectTemplate.loadSoundScript ../../Common/Sounds/ProjectileArtillery.ssc
ObjectTemplate.geometry projectile_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.gravityModifier 2.5
ObjectTemplate.timeToLive CRD_NONE/10/0/0
ObjectTemplate.damageType 1
ObjectTemplate.material 254
ObjectTemplate.material2 242
ObjectTemplate.radius 20
ObjectTemplate.hasCollisionEffect 1
ObjectTemplate.addTemplate e_PanzShootTrail
rem *** AA_POW_GunBarrel ***
ObjectTemplate.create FireArms AA_POW_GunBarrel2
ObjectTemplate.loadSoundScript ../Common/Sounds/aafire.ssc
ObjectTemplate.aiTemplate PrinceOWAAGunAI
rem -------------------------------------
ObjectTemplate.addTemplate e_MuzzAAGunB
ObjectTemplate.setPosition -1.08/0/0
ObjectTemplate.addTemplate e_MuzzAAGunB
ObjectTemplate.setPosition 1.08/0/0
rem ObjectTemplate.visibleBarrelTemplate e_MuzzAAGunB
rem -------------------------------------
ObjectTemplate.projectileTemplate AA_POW_Projectile
ObjectTemplate.projectilePosition 0/0/1
ObjectTemplate.magSize -1
ObjectTemplate.numOfMag 999
ObjectTemplate.velocity 300
ObjectTemplate.reloadtime 2
ObjectTemplate.roundOfFire 3
ObjectTemplate.setMinDev 1
ObjectTemplate.addFireArmsPosition -1.08/0/0
ObjectTemplate.addFireArmsPosition 1.08/0/0
rem *** AA_POW_Projectile ***
ObjectTemplate.create Projectile AA_POW_Projectile
ObjectTemplate.createNotInGrid 1
ObjectTemplate.loadSoundScript ../../Common/Sounds/BigProjectile.ssc
ObjectTemplate.geometry tracklight_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.timeToLive CRD_UNIFORM/0.8/1.4/0
ObjectTemplate.endEffectTemplate e_FlakBig
ObjectTemplate.gravityModifier 0
ObjectTemplate.damageType 1
ObjectTemplate.material 228
ObjectTemplate.material2 199
ObjectTemplate.radius 15
ObjectTemplate.hasCollisionEffect 1
ObjectTemplate.explodeNearEnemyDistance 10
Code: Select all
rem *** Plugins ***
aiTemplatePlugIn.create Armament PrinceOWArms
aiTemplatePlugIn.create Unit PrinceOWUnit
aiTemplatePlugIn.equipmentType 2
aiTemplatePlugIn.setStrategicStrength 0 15
aiTemplatePlugIn.setStrategicStrength 1 12
aiTemplatePlugIn.create Mobile PrinceOWMobile
aiTemplatePlugIn.vehicleNumber 2
aiTemplatePlugIn.maxSpeed 20.0
aiTemplatePlugIn.turnRadius 75.0
aiTemplatePlugIn.coverSearchRadius 50.0
aiTemplatePlugIn.avoidCollisionLookAhead 15.0
aiTemplatePlugIn.create Physical PrinceOWPhysical
aiTemplatePlugIn.setStrType NavalArmour
aiTemplatePlugIn.create ControlInfo PrinceOWControlInfo
aiTemplatePlugIn.driveTurnControl PIYaw
aiTemplatePlugIn.driveThrottleControl PIThrottle
aiTemplatePlugIn.aimHorizontalControl PIMouseLookX
aiTemplatePlugIn.aimVerticalControl PIMouseLookY
aiTemplatePlugIn.lookHorizontalControl PIMouseLookX
aiTemplatePlugIn.lookVerticalControl PIMouseLookY
aiTemplatePlugIn.throttleSensitivity -1.0
aiTemplatePlugIn.pitchSensitivity -0.21817
aiTemplatePlugIn.rollSensitivity -0.21817
aiTemplatePlugIn.yawSensitivity -2.5
aiTemplatePlugIn.lookVerticalSensitivity 0.21817
aiTemplatePlugIn.lookHorizontalSensitivity -0.21817
aiTemplatePlugIn.throttleLookAhead 1.0
aiTemplatePlugIn.pitchLookAhead 1.0
aiTemplatePlugIn.rollLookAhead 1.0
aiTemplatePlugIn.yawLookAhead 1.0
aiTemplatePlugIn.lookVerticalLookAhead 1.0
aiTemplatePlugIn.lookHorizontalLookAhead 1.0
aiTemplatePlugIn.throttleScale 1.0
rem *** Angle in radians ***
aiTemplatePlugIn.pitchScale 5.0
aiTemplatePlugIn.rollScale 5.0
aiTemplatePlugIn.yawScale 0.0020
aiTemplatePlugIn.lookVerticalScale 1.0
aiTemplatePlugIn.lookHorizontalScale 1.0
aiTemplatePlugIn.setCameraRelativeMinRotationDeg -130/-40/0
aiTemplatePlugIn.setCameraRelativeMaxRotationDeg 130/0/0
rem *** AITemplate ***
aiTemplate.create PrinceOWAI
aiTemplate.addType ITMobile
aiTemplate.addType ITNaval
aiTemplate.addType ITUnit
aiTemplate.addType ITObstructedView
aiTemplate.degeneration 50
aiTemplate.allowedTimeDiff 4
aiTemplate.basicTemp 50
aiTemplate.commonKnowledge 0
aiTemplate.addPlugIn PrinceOWUnit
aiTemplate.addPlugIn PrinceOWPhysical
aiTemplate.addPlugIn PrinceOWControlInfo
aiTemplate.addPlugIn PrinceOWMobile
aiTemplate.addPlugIn PrinceOWArms
rem *** Rear gun
rem ******************************************************************************************
rem ******************************************************************************************
rem *** Plugins ***
aiTemplatePlugIn.create Armament PrinceOWRearArms
aiTemplatePlugIn.create Unit PrinceOWRearUnit
aiTemplatePlugIn.equipmentType 9
aiTemplatePlugIn.setStrategicStrength 0 13
aiTemplatePlugIn.setStrategicStrength 1 10
aiTemplatePlugIn.setSelectKey PIMenuSelect2
aiTemplatePlugIn.create ControlInfo PrinceOWRearCtrl
aiTemplatePlugIn.driveTurnControl PIYaw
aiTemplatePlugIn.driveThrottleControl PIThrottle
aiTemplatePlugIn.aimHorizontalControl PIMouseLookX
aiTemplatePlugIn.aimVerticalControl PIMouseLookY
aiTemplatePlugIn.lookHorizontalControl PIMouseLookX
aiTemplatePlugIn.lookVerticalControl PIMouseLookY
aiTemplatePlugIn.throttleSensitivity -1.0
rem aiTemplatePlugIn.pitchSensitivity 0.021817
rem aiTemplatePlugIn.rollSensitivity -0.021817
aiTemplatePlugIn.pitchSensitivity -0.21817
aiTemplatePlugIn.rollSensitivity -0.21817
aiTemplatePlugIn.yawSensitivity -2.5
rem aiTemplatePlugIn.lookVerticalSensitivity 0.021817
rem aiTemplatePlugIn.lookHorizontalSensitivity -0.021817
aiTemplatePlugIn.lookVerticalSensitivity 0.21817
aiTemplatePlugIn.lookHorizontalSensitivity -0.21817
aiTemplatePlugIn.throttleLookAhead 1.0
aiTemplatePlugIn.pitchLookAhead 1.0
aiTemplatePlugIn.rollLookAhead 1.0
aiTemplatePlugIn.yawLookAhead 1.0
aiTemplatePlugIn.lookVerticalLookAhead 1.0
aiTemplatePlugIn.lookHorizontalLookAhead 1.0
aiTemplatePlugIn.throttleScale 1.0
rem *** Angle in radians ***
aiTemplatePlugIn.pitchScale 5.0
aiTemplatePlugIn.rollScale 5.0
aiTemplatePlugIn.yawScale 0.0020
aiTemplatePlugIn.lookVerticalScale 1.0
aiTemplatePlugIn.lookHorizontalScale 1.0
aiTemplatePlugIn.setCameraRelativeMinRotationDeg -130/-40/0
aiTemplatePlugIn.setCameraRelativeMaxRotationDeg 130/0/0
rem *** AITemplate ***
aiTemplate.create PrinceOWRearAI
aiTemplate.addType ITUnit
aiTemplate.addType ITNaval
aiTemplate.addType ITObstructedView
aiTemplate.degeneration 50
aiTemplate.allowedTimeDiff 4
aiTemplate.basicTemp 50
aiTemplate.commonKnowledge 0
aiTemplate.secondary 1
aiTemplate.addPlugIn PrinceOWRearArms
aiTemplate.addPlugIn PrinceOWRearUnit
aiTemplate.addPlugIn PrinceOWRearCtrl
Code: Select all
rem *** Add gun ***
weaponTemplate.create PrinceOWGunAI
weaponTemplate.burst 0
weaponTemplate.indirect 0
weaponTemplate.minRange 0.0
weaponTemplate.maxRange 1500.0
rem weaponTemplate.useAimerOnly 1
weaponTemplate.weaponActivate PINone
weaponTemplate.weaponFire PIFire
weaponTemplate.setStrength Infantery 7.0
weaponTemplate.setStrength LightArmour 9.0
weaponTemplate.setStrength HeavyArmour 11.0
weaponTemplate.setStrength NavalArmour 13.0
weaponTemplate.setStrength Submarine 0.0
weaponTemplate.setStrength Air 1.0
rem *** Add gun ***
weaponTemplate.create PrinceOWAAGunAI
weaponTemplate.burst 0
weaponTemplate.indirect 1
weaponTemplate.minRange 0.0
weaponTemplate.maxRange 500.0
weaponTemplate.weaponActivate PINone
weaponTemplate.weaponFire PIFire
weaponTemplate.setStrength Infantry 6.0
weaponTemplate.setStrength LightArmour 4.0
weaponTemplate.setStrength HeavyArmour 4.0
weaponTemplate.setStrength NavalArmour 0.0
weaponTemplate.setStrength Submarine 0.0
weaponTemplate.setStrength Air 7.0