Page 1 of 1

Why POW won't fire guns?

Posted: Mon Feb 07, 2011 9:40 pm
by Dennis|8749236
i add a POW in omaha_beach, and it won't fire anymore..

Re: Why POW won't fire guns?

Posted: Mon Feb 07, 2011 9:52 pm
by Herrmann
You have not a nickname which i can trust.
Its not also a problem to find a good nickname???

Re: Why POW won't fire guns?

Posted: Mon Feb 07, 2011 11:42 pm
by Poow
"Herman" :o
He asked a question and you are talking about nicknames? Srsly!
There is absolutely NO NEED for an "answer" like this *facepalm*

And know the forum and its posts -> win.

@ 8749236

Any other custom codes added to your map?
(Give us more info to address the issue ;) )

Re: Why POW won't fire guns?

Posted: Tue Feb 08, 2011 1:39 am
by motoko
Poow wrote:"Herman" :o
He asked a question and you are talking about nicknames? Srsly!
There is absolutely NO NEED for an "answer" like this *facepalm*

And know the forum and its posts -> win.
He never did change his name...

Re: Why POW won't fire guns?

Posted: Tue Feb 08, 2011 3:01 pm
by Poow
Yea.. thats true.... and the point is? Image

Re: Why POW won't fire guns?

Posted: Tue Feb 08, 2011 8:41 pm
by Jeronimo
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. :roll:

Sorry for the bloody off-topic. Though the topic is useless, too, given the absolutely insufficient amount of detail.

Re: Why POW won't fire guns?

Posted: Tue Feb 08, 2011 10:43 pm
by HJGF
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. :roll:

Sorry for the bloody off-topic. Though the topic is useless, too, given the absolutely insufficient amount of detail.
Indeed he "destroyed" a clan yes laux that is you!

Re: Why POW won't fire guns?

Posted: Tue Feb 08, 2011 11:35 pm
by Swaffy
The guy with a phone number as his username gave insufficient data regarding his issue.
He needs to provide further detail or he will not have any help.

Re: Why POW won't fire guns?

Posted: Wed Feb 09, 2011 12:45 am
by Dennis|8749236
hmm... my id is not a phone number, just a random number... and i used it for 5 years...
========================================================
i didn't add any code to the map, but i do edit some code in the objects.rfa

Weapons.con

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

AI/Objects.con

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

AI/Weapons.con

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
I have tried to change "weaponTemplate.indirect 1" from 1 to 0, but it still not working...
and i edit the max range, also not working..
also i have saw something weird:
the bot do use POW's main gun to aim the target, but it never move the gun upward, it always stay at angle 0..

en.... last thing, i have edit the POW's max gun angle from 10 to 40