This page is under construction
Archives/bf1942/levels/Escape_from_Leyte.rfa
bf1942/levels/Escape_from_Leyte/Objects/PT_Boat636/Weapons.con
rem *** PT_Left_TorpedBundle ***
ObjectTemplate.create FireArms PT_Left_TorpedBundle
ObjectTemplate.aiTemplate PT_Boat636LeftTorpedoAI
ObjectTemplate.setNetworkableInfo ShipFireArmInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.setAsynchronyFire 1
ObjectTemplate.projectileTemplate 53,3cmMark15Torpedo
rem ObjectTemplate.projectileTemplate PTTorpedo
ObjectTemplate.projectilePosition -3/0/-.5
ObjectTemplate.magSize 2
ObjectTemplate.numOfMag 2
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 40
ObjectTemplate.roundOfFire 2
ObjectTemplate.velocity 25
ObjectTemplate.autoReload 1
ObjectTemplate.setProjectileVisible 1
ObjectTemplate.setVisibleDummyProjectileTemplate PT_BoatTorpedoDummy
rem -----------------------------------------------
ObjectTemplate.addFireArmsPosition -3.09/2.578/1.47 0/0/0
ObjectTemplate.addFireArmsPosition -2.6/2.3/-6.48 0/0/0
rem -----------------------------------------------
ObjectTemplate.AmmoType 13
ObjectTemplate.loadSoundScript ../Common/Sounds/MTBfire.ssc
ObjectTemplate.setMinDev 0.512

rem *** PT_Right_TorpedBundle ***
ObjectTemplate.create FireArms PT_Right_TorpedBundle
ObjectTemplate.aiTemplate PT_Boat636RightTorpedoAI
ObjectTemplate.setNetworkableInfo ShipFireArmInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.setAsynchronyFire 1
ObjectTemplate.projectileTemplate 53,3cmMark15Torpedo
rem ObjectTemplate.projectileTemplate PTTorpedo
ObjectTemplate.setInputFire c_PIAltFire
ObjectTemplate.projectilePosition 3/0/-.5
ObjectTemplate.magSize 2
ObjectTemplate.numOfMag 2
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 40
ObjectTemplate.roundOfFire 2
ObjectTemplate.velocity 25
ObjectTemplate.autoReload 1
ObjectTemplate.setProjectileVisible 1
ObjectTemplate.setVisibleDummyProjectileTemplate PT_BoatTorpedoDummy
rem -----------------------------------------------
ObjectTemplate.addFireArmsPosition 3.09/2.578/1.47 0/0/0
ObjectTemplate.addFireArmsPosition 2.6/2.3/-6.48 0/0/0
rem ------------------------------------------------
ObjectTemplate.AmmoType 13
ObjectTemplate.loadSoundScript ../Common/Sounds/MTBfire.ssc
ObjectTemplate.setMinDev 0.512


rem *** PT_Left_TorpedBundle_HullDamage ***
ObjectTemplate.create FireArms PT_Left_TorpedBundle_HullDamage
ObjectTemplate.aiTemplate PT_Boat636LeftTorpedoAI
ObjectTemplate.setNetworkableInfo ShipFireArmInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.setAsynchronyFire 1
ObjectTemplate.projectileTemplate 53,3cmMark15TorpedoHullDamage
ObjectTemplate.projectilePosition -3/0/-.5
ObjectTemplate.magSize 2
ObjectTemplate.numOfMag 2
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 40
ObjectTemplate.roundOfFire 2
ObjectTemplate.velocity 25
ObjectTemplate.autoReload 1
ObjectTemplate.setProjectileVisible 1
rem -----------------------------------------------
ObjectTemplate.addFireArmsPosition -3.09/2.578/1.47 0/0/0
ObjectTemplate.addFireArmsPosition -2.6/2.3/-6.48 0/0/0
rem -----------------------------------------------
ObjectTemplate.AmmoType 13
ObjectTemplate.setMinDev 0.512

rem *** PT_Right_TorpedBundle_HullDamage ***
ObjectTemplate.create FireArms PT_Right_TorpedBundle_HullDamage
ObjectTemplate.aiTemplate PT_Boat636RightTorpedoAI
ObjectTemplate.setNetworkableInfo ShipFireArmInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.setAsynchronyFire 1
ObjectTemplate.projectileTemplate 53,3cmMark15TorpedoHullDamage
ObjectTemplate.setInputFire c_PIAltFire
ObjectTemplate.projectilePosition 3/0/-.5
ObjectTemplate.magSize 2
ObjectTemplate.numOfMag 2
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 40
ObjectTemplate.roundOfFire 2
ObjectTemplate.velocity 25
ObjectTemplate.autoReload 1
ObjectTemplate.setProjectileVisible 1
rem -----------------------------------------------
ObjectTemplate.addFireArmsPosition 3.09/2.578/1.47 0/0/0
ObjectTemplate.addFireArmsPosition 2.6/2.3/-6.48 0/0/0
rem ------------------------------------------------
ObjectTemplate.AmmoType 13
ObjectTemplate.setMinDev 0.512



ObjectTemplate.create Projectile PTTorpedo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.geometry pt_torpedo_hull_m1
ObjectTemplate.timeToLive CRD_NONE/20/0/0
ObjectTemplate.endEffectTemplate WaterExplosionTorpedo
ObjectTemplate.gravityModifier 1.0
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasCollisionEffect 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.setHasPointPhysics 0
ObjectTemplate.DetonateOnWaterCollision 0
ObjectTemplate.drag 0.08
ObjectTemplate.mass 800
ObjectTemplate.material 245
ObjectTemplate.material2 579
ObjectTemplate.radius 30

rem -------------------------------------------------

ObjectTemplate.addTemplate e_WaterTorpedo
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate Torpedo_Floater
ObjectTemplate.setPosition 0/3/-2
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate Torpedo_Floater
ObjectTemplate.setPosition 0/3/2
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate Torpedo_Engine
ObjectTemplate.setPosition 0/0/-3
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate Torpedo_Wing
ObjectTemplate.setPosition 0/0/-3
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate Torpedo_Wing
ObjectTemplate.setPosition 0/0/-3
ObjectTemplate.setRotation 0/0/-90


ObjectTemplate.create SimpleObject PT_BoatTorpedoDummy
ObjectTemplate.geometry pt_torpedo_hull_m1