This page is under construction
Archives/bf1942/levels/Iwo_Jima.rfa
bf1942/levels/Iwo_Jima/Objects/Defgun/Weapons.con


rem *** DefgunGunBarrel ***
ObjectTemplate.create FireArms DefgunGunBarrel
ObjectTemplate.setNetworkableInfo TankFireArmInfo
ObjectTemplate.geometry Defgun_barrel_end_m1
ObjectTemplate.loadSoundScript Sounds/defgunfire.ssc
ObjectTemplate.aiTemplate DefGunGunAI
rem -------------------------------------
ObjectTemplate.addTemplate e_MuzzDefGun
ObjectTemplate.setPosition 0/0/9.2
ObjectTemplate.setRotation -179.999/0/0
rem -------------------------------------
ObjectTemplate.projectileTemplate Defgun_Projectile
ObjectTemplate.projectilePosition 0/0/9.7
ObjectTemplate.magSize 500
ObjectTemplate.numOfMag 1
ObjectTemplate.velocity 125
ObjectTemplate.reloadtime 5
ObjectTemplate.roundOfFire 0.1
ObjectTemplate.recoilSpeed 10.0
ObjectTemplate.recoilSize 50


rem *** Defgun_Projectile ***
ObjectTemplate.create Projectile Defgun_Projectile
ObjectTemplate.createNotInGrid 1
ObjectTemplate.loadSoundScript ../../Common/Sounds/Projectile.ssc
ObjectTemplate.geometry Projectile_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.timeToLive CRD_NONE/10/0/0
ObjectTemplate.damageType 1
ObjectTemplate.material 235
ObjectTemplate.material2 206
ObjectTemplate.radius 20
ObjectTemplate.hasCollisionEffect 1
ObjectTemplate.minDamage 0.1
ObjectTemplate.distToStartLoseDamage 1
ObjectTemplate.distToMinDamage 2000
ObjectTemplate.addTemplate e_PanzShootTrail