This page is under construction
Archives/BF1942/levels/Dustbowl Modded/DustBowl_Modded.rfa
bf1942/levels/DustBowl_Modded/objects/vehicles/Air/AH1/Objects.con
rem ---------------------------------------------------------------------
rem - AH-1 Cobra
rem - DC Extended
rem - (c) 2005
rem - By Zeuser
rem ---------------------------------------------------------------------
rem ---------------------------------------------------------------------
rem - AH-1 With hellfires and large FFARs
rem ---------------------------------------------------------------------
ObjectTemplate.create PlayerControlObject AH1
ObjectTemplate.setNetworkableInfo AH1_body_info
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.drag 1.45
ObjectTemplate.mass 2000
ObjectTemplate.inertiaModifier 1/.8/1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.hasArmor 1
ObjectTemplate.angleMod 1
ObjectTemplate.speedMod 2
ObjectTemplate.hitpoints 200
ObjectTemplate.maxhitpoints 200
ObjectTemplate.material 63
ObjectTemplate.criticalDamage 20
ObjectTemplate.hpLostWhileCriticalDamage 1.5
ObjectTemplate.explosionForceMod 15
ObjectTemplate.hpLostWhileUpSideDown 100
ObjectTemplate.hpLostWhileDamageFromWater 10
ObjectTemplate.addArmorEffect 55 em_StukaDamage 0/0.102/2.11
ObjectTemplate.addArmorEffect 50 em_PlaneDamage 0/0.103/2.11
ObjectTemplate.addArmorEffect 45 e_StukaFire 0/0.7/-2.50
ObjectTemplate.addArmorEffect 40 e_warning_heli 0/-0.35/4.406
ObjectTemplate.addArmorEffect 30 HeloSpinLeft -2/0/0
ObjectTemplate.addArmorEffect 30 HeloSpinLeft 2/0/0 179.00/0/0
ObjectTemplate.addArmorEffect 0 e_ExplGas_air 0/0/0
ObjectTemplate.addArmorEffect 0 e_ScrapAH1 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.damageFromWater 1
ObjectTemplate.aiTemplate AH1
rem -------------------------------------
ObjectTemplate.addTemplate lodAH1
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 3/0/2 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.setVehicleIcon "Vehicle/Icon_AH64.tga"
ObjectTemplate.setVehicleIconPos 65/78
ObjectTemplate.setNumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_m260.dds"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_hellfire.dds"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCAir
ObjectTemplate.setVehicleType VTDiveBomber
ObjectTemplate.setToolTipType TTDiveBomber
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_heli1_16x16.tga"
rem *** lodAH6 ***
ObjectTemplate.create LodObject lodAH1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1_Complex
ObjectTemplate.addTemplate AH1_Simple
ObjectTemplate.addTemplate AH1_WRECK
rem -------------------------------------
ObjectTemplate.lodSelector AH1LodSelector
rem *** AH6Complex ***
ObjectTemplate.create Bundle AH1_Complex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1Common
ObjectTemplate.addTemplate lodAH1Cockpit
rem *** Weapons ***
ObjectTemplate.addTemplate AH1_FFARLargeWeapon
ObjectTemplate.addTemplate AH1_FFARLargeRack
ObjectTemplate.setPosition -1.05/-1.9/0
ObjectTemplate.addTemplate AH1_FFARLargeRack
ObjectTemplate.setPosition 1.05/-1.9/0
ObjectTemplate.addTemplate AH1_HellfireWeapon
ObjectTemplate.addTemplate AH1_HellfireRack
ObjectTemplate.setPosition -1.625/-1.6/0
ObjectTemplate.addTemplate AH1_HellfireRack
ObjectTemplate.setPosition 1.625/-1.6/0
rem -------------------------------------
rem ---------------------------------------------------------------------
rem - AH-1 With Miniguns and small FFARs
rem ---------------------------------------------------------------------
ObjectTemplate.create PlayerControlObject AH1_Vulcan
ObjectTemplate.setNetworkableInfo AH1_body_info
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.drag 1.45
ObjectTemplate.mass 2000
ObjectTemplate.inertiaModifier 1/.8/1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.hasArmor 1
ObjectTemplate.angleMod 1
ObjectTemplate.speedMod 2
ObjectTemplate.hitpoints 200
ObjectTemplate.maxhitpoints 200
ObjectTemplate.material 63
ObjectTemplate.criticalDamage 20
ObjectTemplate.hpLostWhileCriticalDamage 1.5
ObjectTemplate.explosionForceMod 15
ObjectTemplate.hpLostWhileUpSideDown 100
ObjectTemplate.hpLostWhileDamageFromWater 10
ObjectTemplate.addArmorEffect 55 em_StukaDamage 0/0.102/2.11
ObjectTemplate.addArmorEffect 50 em_PlaneDamage 0/0.103/2.11
ObjectTemplate.addArmorEffect 45 e_StukaFire 0/0.6/2.11
ObjectTemplate.addArmorEffect 40 e_warning_heli 0/-0.35/4.406
ObjectTemplate.addArmorEffect 30 HeloSpinLeft -2/0/0
ObjectTemplate.addArmorEffect 30 HeloSpinLeft 2/0/0 179.00/0/0
ObjectTemplate.addArmorEffect 0 e_ExplGas_air 0/0/0
rem ObjectTemplate.addArmorEffect 0 e_ScrapHeliBlades 0/3/0
ObjectTemplate.addArmorEffect 0 e_ScrapAH1 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.damageFromWater 1
ObjectTemplate.aiTemplate AH1
rem -------------------------------------
ObjectTemplate.addTemplate lodAH1_Vulcan
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 3/0/2 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.setVehicleIcon "Vehicle/Icon_AH64.tga"
ObjectTemplate.setVehicleIconPos 65/78
ObjectTemplate.setNumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_m260.dds"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCAir
ObjectTemplate.setVehicleType VTDiveBomber
ObjectTemplate.setToolTipType TTDiveBomber
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_heli1_16x16.tga"
rem *** lodAH6 ***
ObjectTemplate.create LodObject lodAH1_Vulcan
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1_Vulcan_Complex
ObjectTemplate.addTemplate AH1_Simple
ObjectTemplate.addTemplate AH1_WRECK
rem -------------------------------------
ObjectTemplate.lodSelector AH1LodSelector
rem *** AH6Complex ***
ObjectTemplate.create Bundle AH1_Vulcan_Complex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1Common
ObjectTemplate.addTemplate lodAH1Cockpit
rem *** Weapons ***
ObjectTemplate.addTemplate AH1_GPU2A_Module
ObjectTemplate.setPosition -1.625/-1.9/0
ObjectTemplate.setRotation 0.233083/-0.226342/0
ObjectTemplate.addTemplate AH1_GPU2A_Module
ObjectTemplate.setPosition 1.625/-1.9/0
ObjectTemplate.setRotation -0.233083/-0.226342/0
ObjectTemplate.addTemplate AH1_FFARSmallAltWeapon
ObjectTemplate.addTemplate AH1_FFARSmallRack
ObjectTemplate.setPosition -1.05/-1.9/0
ObjectTemplate.addTemplate AH1_FFARSmallRack
ObjectTemplate.setPosition 1.05/-1.9/0
rem -------------------------------------
rem ---------------------------------------------------------------------
rem COMMON BUNDLE
rem ---------------------------------------------------------------------
rem *** H6Common ***
ObjectTemplate.create Bundle AH1Common
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate DCX_PilotCamera3
rem ObjectTemplate.addTemplate DCX_DiagnosticCamera2
ObjectTemplate.setPosition 0/-0.322/1.55
ObjectTemplate.addTemplate DCX_Entry3
ObjectTemplate.setPosition 0/-1/1.6
ObjectTemplate.addTemplate AH1_PilotBundle
ObjectTemplate.setPosition 0/-0.4/1.6
rem *** Visible rotors ***
ObjectTemplate.addTemplate AH1_DummyEngineRack
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate AH1_DummyRearEngineRack
ObjectTemplate.setPosition 0/0.31/-8
rem *** physical engines ***
ObjectTemplate.addTemplate AH1_EngineRackCenter
ObjectTemplate.setPosition 0/2/0
ObjectTemplate.addTemplate AH1_EngineRearRack
ObjectTemplate.setPosition 0/0/-2
ObjectTemplate.addTemplate AH1_EngineFrontRack
ObjectTemplate.setPosition 0/0/2
rem *** skids ***
ObjectTemplate.addTemplate AH1_Skid
ObjectTemplate.setPosition 0/-2.5/-7.7
ObjectTemplate.addTemplate AH1_SkidPlate
ObjectTemplate.setPosition -1.5/-2.6/2.5
ObjectTemplate.addTemplate AH1_SkidPlate
ObjectTemplate.setPosition 1.5/-2.6/2.5
ObjectTemplate.addTemplate AH1_SkidPlate
ObjectTemplate.setPosition -1.5/-2.6/-2.5
ObjectTemplate.addTemplate AH1_SkidPlate
ObjectTemplate.setPosition 1.5/-2.6/-2.5
rem *** Other gizmos ***
ObjectTemplate.addTemplate AH1_Glass
rem ObjectTemplate.addTemplate AH1_Rudder
rem ObjectTemplate.setPosition 0/0.31/-8
rem ObjectTemplate.setRotation 0/0/-90
rem ObjectTemplate.addTemplate AH1_LiftWing
rem ObjectTemplate.setPosition 0/0/-2
rem ObjectTemplate.setRotation 0/0/0
rem *** Other PCOs ***
ObjectTemplate.addTemplate AH1_GunnerPCO
rem ---------------------------------------------------------------------
rem AUXILLARY PCOS
rem ---------------------------------------------------------------------
ObjectTemplate.create PlayerControlObject AH1_GunnerPCO
ObjectTemplate.setNetworkableInfo AH1_body_info
ObjectTemplate.setAttachToListener 1
ObjectTemplate.aiTemplate DCX_AH64DCannon
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem ---------------------------------
ObjectTemplate.addTemplate DCX_Entry3
ObjectTemplate.setPosition 0/-1/2.7
ObjectTemplate.addTemplate AH1_CoPilotBundle
ObjectTemplate.setPosition 0/-0.45/2.7
ObjectTemplate.addTemplate AH1_NoseMount
ObjectTemplate.setPosition 0/-1.2/4
ObjectTemplate.addTemplate AH1_NoseTurret
ObjectTemplate.setPosition 0/-1.85/3.26
ObjectTemplate.addTemplate AH1_Flares
ObjectTemplate.addTemplate AH1_Chaff
rem ---------------------------------
ObjectTemplate.setSoldierExitLocation -3/0.05/1 0/0/0
ObjectTemplate.GUIIndex 54
ObjectTemplate.setVehicleIcon "Vehicle/Icon_AH64.tga"
ObjectTemplate.setVehicleIconPos 62/108
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBar
rem ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_flare.dds"
rem ObjectTemplate.setSecondaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setHasTurretIcon 1
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTDiveBomber
ObjectTemplate.setToolTipType VTFighter
rem -------------------------
rem - *** Various parts *** -
rem --------------------------
ObjectTemplate.create SimpleObject AH1_Glass
ObjectTemplate.geometry AH1_Glass
ObjectTemplate.create SimpleObject AH1_HellfireRack
ObjectTemplate.geometry AH1_HellfireRack
ObjectTemplate.create SimpleObject AH1_FFARLargeRack
ObjectTemplate.geometry AH1_FFARLargeRack
ObjectTemplate.create SimpleObject AH1_FFARSmallRack
ObjectTemplate.geometry AH1_FFARSmallRack
ObjectTemplate.create SimpleObject AH1_GPU2A_Gunbase
ObjectTemplate.geometry AH1_GPU2
ObjectTemplate.create Bundle AH1_GPU2A_Module
ObjectTemplate.addTemplate AH1_GPU2A_Gunbase
ObjectTemplate.addTemplate AH1_GPU2A_Weapon
rem -----------------------------------
rem Seat/Control bundles
rem -----------------------------------
ObjectTemplate.create Bundle AH1_PilotBundle
ObjectTemplate.addTemplate DCX_HeliFullSeat
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.create Bundle AH1_CoPilotBundle
ObjectTemplate.addTemplate DCX_HeliFullSeat
ObjectTemplate.setPosition 0/-0.2/0
ObjectTemplate.addTemplate AH1_GunnerCyclicStick_Dummy
ObjectTemplate.setPosition 0.18/-0.77/0.43
ObjectTemplate.addTemplate AH1_CollectiveStick_External
ObjectTemplate.setPosition -0.42/-0.6/2.86
rem -----------------------------------
rem Control sticks
rem -----------------------------------
rem *** Pilot cyclic ***
ObjectTemplate.create AnimatedBundle AH1_CyclicStick_External
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CyclicStick
ObjectTemplate.setPosition -0.2/-0.2/-2.4
rem -------------------------------------
ObjectTemplate.addSkeletonIK Bip01_R_Hand 0.15/-0.1/0.4 -80/60/50
ObjectTemplate.create RotationalBundle AH1_CyclicStick
rem ObjectTemplate.setNetworkableInfo DCX_stick_info
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CyclicStick_Model
rem -------------------------------------
ObjectTemplate.setMinRotation -5/-8/-8
ObjectTemplate.setMaxRotation 5/8/8
ObjectTemplate.setMaxSpeed 25/25/25
ObjectTemplate.setAcceleration 100/100/-100
ObjectTemplate.setInputToRoll c_PIRoll
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.create RotationalBundle AH1_CyclicStick_Internal
rem ObjectTemplate.setNetworkableInfo DCX_stick_info
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CyclicStick_Model
rem -------------------------------------
ObjectTemplate.setMinRotation -5/-8/-8
ObjectTemplate.setMaxRotation 5/8/8
ObjectTemplate.setMaxSpeed 25/25/25
ObjectTemplate.setAcceleration 100/100/-100
ObjectTemplate.setInputToRoll c_PIRoll
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1
rem *** Pilot/Co-Pilot collective ***
ObjectTemplate.create AnimatedBundle AH1_CollectiveStick_External
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CollectiveStick
ObjectTemplate.setPosition 0.2/-0.2/-2.4
rem -------------------------------------
ObjectTemplate.addSkeletonIK Bip01_L_Hand 0.1/-0.1/0.2 -80/60/50
ObjectTemplate.create RotationalBundle AH1_CollectiveStick
rem ObjectTemplate.setNetworkableInfo DCX_stick_info
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CollectiveStick_Model
rem -------------------------------------
ObjectTemplate.setMinRotation -5/-18/-8
ObjectTemplate.setMaxRotation 5/18/8
ObjectTemplate.setMaxSpeed 25/25/25
ObjectTemplate.setAcceleration 100/100/-100
ObjectTemplate.setInputToRoll c_PINone
ObjectTemplate.setInputToPitch c_PIThrottle
ObjectTemplate.setInputToYaw c_PINone
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.create RotationalBundle AH1_CollectiveStick_Internal
rem ObjectTemplate.setNetworkableInfo DCX_stick_info
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CollectiveStick_Model
rem -------------------------------------
ObjectTemplate.setMinRotation -5/-18/-8
ObjectTemplate.setMaxRotation 5/18/8
ObjectTemplate.setMaxSpeed 25/25/25
ObjectTemplate.setAcceleration 100/100/-100
ObjectTemplate.setInputToRoll c_PINone
ObjectTemplate.setInputToPitch c_PIThrottle
ObjectTemplate.setInputToYaw c_PINone
ObjectTemplate.setAutomaticReset 1
rem *** Gunner cyclic ***
ObjectTemplate.create AnimatedBundle AH1_GunnerCyclicStick_Dummy
rem -------------------------------------
ObjectTemplate.addTemplate AH1_GunnerCyclicStick
rem -------------------------------------
ObjectTemplate.addSkeletonIK Bip01_R_Hand 0.05/0.1/-0.1 -80/60/50
ObjectTemplate.create RotationalBundle AH1_GunnerCyclicStick
rem ObjectTemplate.setNetworkableInfo DCX_stick_info
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CyclicStick_Model
rem -------------------------------------
ObjectTemplate.setMinRotation -5/-8/-8
ObjectTemplate.setMaxRotation 5/8/8
ObjectTemplate.setMaxSpeed 25/25/25
ObjectTemplate.setAcceleration 100/100/-100
ObjectTemplate.setInputToRoll c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 0
ObjectTemplate.create SimpleObject AH1_CyclicStick_Model
ObjectTemplate.geometry AH1_CyclicStick
ObjectTemplate.create SimpleObject AH1_CollectiveStick_Model
ObjectTemplate.geometry AH1_CollectiveStick
rem -----------------------------------
rem Moving nose sensors
rem -----------------------------------
ObjectTemplate.create RotationalBundle AH1_NoseMount
ObjectTemplate.setNetworkableInfo AH1_body_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.setGeometry AH1_Optics
rem -----------------------------------
rem -----------------------------------
ObjectTemplate.setMinRotation -90/0/0
ObjectTemplate.setMaxRotation 90/0/0
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
rem -----------------------------------
rem Nose turret
rem -----------------------------------
ObjectTemplate.create RotationalBundle AH1_NoseTurret
ObjectTemplate.loadSoundScript ../../../Common/Sounds/Hydraulics.ssc
ObjectTemplate.setNetworkableInfo AH1_body_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.setGeometry AH1_CG_Turret
rem -----------------------------------
ObjectTemplate.addTemplate AH1_NoseElevation
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/-15/0
rem -----------------------------------
ObjectTemplate.setMinRotation -90/0/0
ObjectTemplate.setMaxRotation 90/0/0
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
rem -----------------------------------
rem Nose elevation
rem -----------------------------------
ObjectTemplate.create RotationalBundle AH1_NoseElevation
ObjectTemplate.loadSoundScript ../../../Common/Sounds/Hydraulics.ssc
ObjectTemplate.setNetworkableInfo AH1_turret_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.setGeometry AH1_CG_Cannon_base
rem -----------------------------------
ObjectTemplate.addTemplate AH1_NoseBarrel
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate DCX_FixedCamera
ObjectTemplate.setPosition 0/-0.3/0.1
ObjectTemplate.addTemplate AH1_Cannon
rem -----------------------------------
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/100/0
ObjectTemplate.setMaxSpeed 0/90/0
ObjectTemplate.setAcceleration 0/5000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
rem -----------------------------------
rem Nose Barrel
rem -----------------------------------
ObjectTemplate.create RotationalBundle AH1_NoseBarrel
ObjectTemplate.loadSoundScript ../../../Common/Sounds/Barrel.ssc
ObjectTemplate.setNetworkableInfo AH1_turret_info
ObjectTemplate.setGeometry AH1_CG_Barrel
rem -----------------------------------
rem -----------------------------------
ObjectTemplate.setMaxSpeed 0/0/5000
ObjectTemplate.setAcceleration 0/0/5000
ObjectTemplate.setInputToRoll c_PIFire
rem -----------------------------------
rem GPU2 Barrel
rem -----------------------------------
ObjectTemplate.create RotationalBundle AH1_GPU2_Barrel
ObjectTemplate.loadSoundScript ../../../Common/Sounds/Barrel.ssc
rem ObjectTemplate.setNetworkableInfo AH1_turret_info
ObjectTemplate.setGeometry AH1_GPU2_Barrel
rem -----------------------------------
rem -----------------------------------
ObjectTemplate.setMaxSpeed 0/0/5000
ObjectTemplate.setAcceleration 0/0/5000
ObjectTemplate.setInputToRoll c_PIFire
rem ---------------------------------------------------------------------
rem ENGINE RACKS
rem ---------------------------------------------------------------------
rem *** H6DummyEngineRack ***
ObjectTemplate.create RotationalBundle AH1_DummyEngineRack
ObjectTemplate.setNetworkableInfo AH1_rack_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1_DummyEngine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/270/0
rem -------------------------------------
ObjectTemplate.setMinRotation -2/-2/0
ObjectTemplate.setMaxRotation 2/2/0
ObjectTemplate.setMaxSpeed 150/150/-150
ObjectTemplate.setAcceleration 150/150/-150
ObjectTemplate.setInputToRoll c_PIRoll
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.create Bundle AH1_DummyRearEngineRack
ObjectTemplate.setNetworkableInfo AH1_body_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1_DummyRearEngine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotatation 0/270/0
rem -------------------------------------
rem *** H6EngineRack3 ***
ObjectTemplate.create RotationalBundle AH1_EngineRackCenter
ObjectTemplate.setNetworkableInfo AH1_rack_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1_HoverEngineCenter
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/270/0
rem -------------------------------------
ObjectTemplate.setMinRotation -20/-20/-10
ObjectTemplate.setMaxRotation 20/20/10
ObjectTemplate.setMaxSpeed 150/50/-50
ObjectTemplate.setAcceleration 150/150/-150
ObjectTemplate.setInputToRoll c_PIRoll
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.create RotationalBundle AH1_EngineFrontRack
ObjectTemplate.setNetworkableInfo AH1_rack_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1_EngineFront
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 180/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation -80/-20/-20
ObjectTemplate.setMaxRotation 80/20/20
ObjectTemplate.setMaxSpeed 200/150/150
ObjectTemplate.setAcceleration -4000/150/150
ObjectTemplate.setInputToYaw c_PIYaw
rem ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.create RotationalBundle AH1_EngineRearRack
ObjectTemplate.setNetworkableInfo AH1_rack_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1_EngineRear
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation -80/-20/-20
ObjectTemplate.setMaxRotation 80/20/20
ObjectTemplate.setMaxSpeed 200/150/150
ObjectTemplate.setAcceleration -4000/-150/150
ObjectTemplate.setInputToYaw c_PIYaw
rem ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
rem ---------------------------------------------------------------------
rem COCKPITS
rem ---------------------------------------------------------------------
rem *** lodH6Cockpit ***
ObjectTemplate.create LodObject lodAH1Cockpit
rem -------------------------------------
ObjectTemplate.addTemplate AH1CockpitExternal
ObjectTemplate.addTemplate AH1CockpitInternal
ObjectTemplate.setPosition 0/-0.7/2.7
rem -------------------------------------
ObjectTemplate.lodSelector AH1CockpitSelector
rem *** H6CockpitExternal ***
ObjectTemplate.create Bundle AH1CockpitExternal
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.geometry AH1_AH_FUS
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CyclicStick_External
ObjectTemplate.setPosition 0.38/-0.87/4.43
ObjectTemplate.addTemplate AH1_CollectiveStick_External
ObjectTemplate.setPosition -0.42/-0.9/4.46
rem -------------------------------------
rem *** H6CockpitInternal ***
ObjectTemplate.create Bundle AH1CockpitInternal
ObjectTemplate.geometry AH1_cockpit_1p
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CyclicStick_Internal
ObjectTemplate.setPosition 0.38/-0.27/-0.97
ObjectTemplate.addTemplate AH1_CollectiveStick_Internal
ObjectTemplate.setPosition -0.42/-0.3/-0.94
rem -------------------------------------
rem *** H6CockpitSelector ***
LodSelectorTemplate.create DistCompareSelector AH1CockpitSelector
LodSelectorTemplate.addLodDistance 10
LodSelectorTemplate.addLodComparison 0.5
rem ---------------------------------------------------------------------
rem PROPELLORS
rem ---------------------------------------------------------------------
rem *** lodH6MainRotor ***
ObjectTemplate.create LodObject lodAH1MainRotor
rem -------------------------------------
ObjectTemplate.addTemplate AH1MainRotorStatic
ObjectTemplate.addTemplate AH1MainRotorBlurred
rem -------------------------------------
ObjectTemplate.lodSelector AH1PropSelector
rem *** H6MainRotorStatic ***
ObjectTemplate.create Bundle AH1MainRotorStatic
ObjectTemplate.geometry AH1_MAIN_ROTOR
rem *** H6MainRotorBlurred ***
ObjectTemplate.create Bundle AH1MainRotorBlurred
ObjectTemplate.geometry AH1_MAIN_ROTOR_BLUR
ObjectTemplate.addTemplate e_heliWater
ObjectTemplate.setPosition 0/0/-20
ObjectTemplate.setRotation 0/-270/0
rem ObjectTemplate.hasCollisionPhysics 1
rem *** lodH6RearRotor ***
ObjectTemplate.create LodObject lodAH1RearRotor
rem -------------------------------------
ObjectTemplate.addTemplate AH1RearRotorStatic
ObjectTemplate.addTemplate AH1RearRotorBlurred
rem -------------------------------------
ObjectTemplate.lodSelector AH1PropSelector
rem *** H6RearRotorStatic ***
ObjectTemplate.create SimpleObject AH1RearRotorStatic
ObjectTemplate.geometry AH1_TAIL_ROTOR
rem *** H6RearRotorBlurred ***
ObjectTemplate.create SimpleObject AH1RearRotorBlurred
ObjectTemplate.geometry AH1_TAIL_ROTOR_BLUR
rem *** H6PropSelector ***
LodSelectorTemplate.create CompareSelector AH1PropSelector
LodSelectorTemplate.addLodComparison 0.08
rem ---------------------------------------------------------------------
rem SIMPLE/WRECK BUNDLES
rem ---------------------------------------------------------------------
rem *** AH6Simple ***
ObjectTemplate.create SimpleObject AH1_Simple
ObjectTemplate.geometry AH1_AH_LOW
rem *** AH6Wreck ***
ObjectTemplate.create Bundle AH1_WRECK
ObjectTemplate.geometry AH1_AH_WRECK
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.addTemplate e_ExFumeFact
ObjectTemplate.setPosition 0/1/0
rem *** H6LodSelector ***
LodSelectorTemplate.create DistCompareSelector2 AH1LodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 200
rem ----------------------------------------
rem - *** Destruction effect and tosses ***
rem ----------------------------------------
rem *** e_ScrapAH1***
ObjectTemplate.create EffectBundle e_ScrapAH1
ObjectTemplate.saveInSeparateFile 1
rem -------------------------------------
ObjectTemplate.addTemplate Em_ScrapAH1_1
ObjectTemplate.addTemplate Em_ScrapAH1_2
ObjectTemplate.addTemplate Em_ScrapAH1_3
ObjectTemplate.addTemplate Em_ScrapAH1_4
ObjectTemplate.addTemplate Em_ScrapAH1_5
ObjectTemplate.addTemplate Em_ScrapAH1_7
ObjectTemplate.timeToLive CRD_NONE/1.8/0/0
rem -------------------------------------
rem *** Em_ScrapAH1_1 ***
ObjectTemplate.create Emitter Em_ScrapAH1_1
ObjectTemplate.template AH1_Toss1
ObjectTemplate.addEmitterSpeed 1
ObjectTemplate.emitterSpeedScale 1
ObjectTemplate.lodDistance 375
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.intensity CRD_NONE/1/0/0
ObjectTemplate.relativePositionInDof CRD_NONE/0.1/0/0
ObjectTemplate.positionalSpeedInDof CRD_UNIFORM/10/0/1
ObjectTemplate.positionalSpeedInUp CRD_UNIFORM/20/15/0
ObjectTemplate.positionalSpeedInRight CRD_UNIFORM/10/0/1
ObjectTemplate.startRotation CRD_UNIFORM/1/100/0
rem *** Em_ScrapAH1_2 ***
ObjectTemplate.create Emitter Em_ScrapAH1_2
ObjectTemplate.template AH1_Toss2
ObjectTemplate.addEmitterSpeed 1
ObjectTemplate.emitterSpeedScale 1
ObjectTemplate.lodDistance 375
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.intensity CRD_NONE/1/0/0
ObjectTemplate.relativePositionInDof CRD_NONE/0.1/0/0
ObjectTemplate.positionalSpeedInDof CRD_UNIFORM/10/0/1
ObjectTemplate.positionalSpeedInUp CRD_UNIFORM/20/15/0
ObjectTemplate.positionalSpeedInRight CRD_UNIFORM/10/0/1
ObjectTemplate.startRotation CRD_NONE/1/0/0
rem *** Em_ScrapAH1_3 ***
ObjectTemplate.create Emitter Em_ScrapAH1_3
ObjectTemplate.template AH1_Toss3
ObjectTemplate.addEmitterSpeed 1
ObjectTemplate.emitterSpeedScale 1
ObjectTemplate.lodDistance 375
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.intensity CRD_NONE/1/0/0
ObjectTemplate.relativePositionInDof CRD_NONE/0.1/0/0
ObjectTemplate.positionalSpeedInDof CRD_UNIFORM/10/0/1
ObjectTemplate.positionalSpeedInUp CRD_UNIFORM/20/15/0
ObjectTemplate.positionalSpeedInRight CRD_UNIFORM/10/0/1
ObjectTemplate.startRotation CRD_NONE/1/0/0
rem *** Em_ScrapAH1_4 ***
ObjectTemplate.create Emitter Em_ScrapAH1_4
ObjectTemplate.template AH1_Toss4
ObjectTemplate.addEmitterSpeed 1
ObjectTemplate.emitterSpeedScale 1
ObjectTemplate.lodDistance 375
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.intensity CRD_NONE/1/0/0
ObjectTemplate.relativePositionInDof CRD_NONE/0.1/0/0
ObjectTemplate.positionalSpeedInDof CRD_UNIFORM/10/0/1
ObjectTemplate.positionalSpeedInUp CRD_UNIFORM/20/15/0
ObjectTemplate.positionalSpeedInRight CRD_UNIFORM/10/0/1
ObjectTemplate.startRotation CRD_NONE/1/0/0
rem *** Em_ScrapAH1_5 ***
ObjectTemplate.create Emitter Em_ScrapAH1_5
ObjectTemplate.template AH1_Toss5
ObjectTemplate.addEmitterSpeed 1
ObjectTemplate.emitterSpeedScale 1
ObjectTemplate.lodDistance 375
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.intensity CRD_NONE/1/0/0
ObjectTemplate.relativePositionInDof CRD_NONE/0.1/0/0
ObjectTemplate.positionalSpeedInDof CRD_UNIFORM/10/0/1
ObjectTemplate.positionalSpeedInUp CRD_UNIFORM/20/15/0
ObjectTemplate.positionalSpeedInRight CRD_UNIFORM/10/0/1
ObjectTemplate.startRotation CRD_NONE/1/0/0
rem *** Em_ScrapAH1_7 ***
ObjectTemplate.create Emitter Em_ScrapAH1_7
ObjectTemplate.template AH1_Toss7
ObjectTemplate.addEmitterSpeed 1
ObjectTemplate.emitterSpeedScale 1
ObjectTemplate.lodDistance 375
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.intensity CRD_NONE/1/0/0
ObjectTemplate.relativePositionInDof CRD_NONE/0.1/0/0
ObjectTemplate.positionalSpeedInDof CRD_UNIFORM/10/0/1
ObjectTemplate.positionalSpeedInUp CRD_UNIFORM/20/15/0
ObjectTemplate.positionalSpeedInRight CRD_UNIFORM/10/0/1
ObjectTemplate.startRotation CRD_NONE/1/0/0
rem *** AH1_WingR_Toss ***
ObjectTemplate.create Bundle AH1_Toss1
ObjectTemplate.geometry AH1_AH_ELIVATOR
ObjectTemplate.addTemplate e_ExplSmokeTrail
ObjectTemplate.startoneffects 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 5
rem *** AH1_Rudder_Toss ***
ObjectTemplate.create Bundle AH1_Toss2
ObjectTemplate.geometry AH1_AH_RUDDER
ObjectTemplate.addTemplate e_ExplSmokeTrail
ObjectTemplate.startoneffects 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 5
rem *** AH1_TailR_Toss ***
ObjectTemplate.create Bundle AH1_Toss3
ObjectTemplate.geometry AH1_AH_DOOR_CLOSED_L
ObjectTemplate.addTemplate e_ExplSmokeTrail
ObjectTemplate.startoneffects 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 5
rem *** AH1_TailL_Toss ***
ObjectTemplate.create Bundle AH1_Toss4
ObjectTemplate.geometry AH1_AH_DOOR_CLOSED_R
ObjectTemplate.addTemplate e_ExplSmokeTrail
ObjectTemplate.startoneffects 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 5
rem *** AH1_FuelTank_Toss ***
ObjectTemplate.create Bundle AH1_Toss5
ObjectTemplate.geometry AH1_AH_TOW_SIGHT
ObjectTemplate.addTemplate e_ExplSmokeTrail
ObjectTemplate.startoneffects 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 5
rem *** AH1_WheelR_Toss ***
ObjectTemplate.create Bundle AH1_Toss7
ObjectTemplate.geometry AH1_TAIL_ROTOR
ObjectTemplate.addTemplate e_ExplSmokeTrail
ObjectTemplate.startoneffects 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 5
rem - AH-1 Cobra
rem - DC Extended
rem - (c) 2005
rem - By Zeuser
rem ---------------------------------------------------------------------
rem ---------------------------------------------------------------------
rem - AH-1 With hellfires and large FFARs
rem ---------------------------------------------------------------------
ObjectTemplate.create PlayerControlObject AH1
ObjectTemplate.setNetworkableInfo AH1_body_info
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.drag 1.45
ObjectTemplate.mass 2000
ObjectTemplate.inertiaModifier 1/.8/1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.hasArmor 1
ObjectTemplate.angleMod 1
ObjectTemplate.speedMod 2
ObjectTemplate.hitpoints 200
ObjectTemplate.maxhitpoints 200
ObjectTemplate.material 63
ObjectTemplate.criticalDamage 20
ObjectTemplate.hpLostWhileCriticalDamage 1.5
ObjectTemplate.explosionForceMod 15
ObjectTemplate.hpLostWhileUpSideDown 100
ObjectTemplate.hpLostWhileDamageFromWater 10
ObjectTemplate.addArmorEffect 55 em_StukaDamage 0/0.102/2.11
ObjectTemplate.addArmorEffect 50 em_PlaneDamage 0/0.103/2.11
ObjectTemplate.addArmorEffect 45 e_StukaFire 0/0.7/-2.50
ObjectTemplate.addArmorEffect 40 e_warning_heli 0/-0.35/4.406
ObjectTemplate.addArmorEffect 30 HeloSpinLeft -2/0/0
ObjectTemplate.addArmorEffect 30 HeloSpinLeft 2/0/0 179.00/0/0
ObjectTemplate.addArmorEffect 0 e_ExplGas_air 0/0/0
ObjectTemplate.addArmorEffect 0 e_ScrapAH1 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.damageFromWater 1
ObjectTemplate.aiTemplate AH1
rem -------------------------------------
ObjectTemplate.addTemplate lodAH1
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 3/0/2 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.setVehicleIcon "Vehicle/Icon_AH64.tga"
ObjectTemplate.setVehicleIconPos 65/78
ObjectTemplate.setNumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_m260.dds"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_hellfire.dds"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCAir
ObjectTemplate.setVehicleType VTDiveBomber
ObjectTemplate.setToolTipType TTDiveBomber
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_heli1_16x16.tga"
rem *** lodAH6 ***
ObjectTemplate.create LodObject lodAH1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1_Complex
ObjectTemplate.addTemplate AH1_Simple
ObjectTemplate.addTemplate AH1_WRECK
rem -------------------------------------
ObjectTemplate.lodSelector AH1LodSelector
rem *** AH6Complex ***
ObjectTemplate.create Bundle AH1_Complex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1Common
ObjectTemplate.addTemplate lodAH1Cockpit
rem *** Weapons ***
ObjectTemplate.addTemplate AH1_FFARLargeWeapon
ObjectTemplate.addTemplate AH1_FFARLargeRack
ObjectTemplate.setPosition -1.05/-1.9/0
ObjectTemplate.addTemplate AH1_FFARLargeRack
ObjectTemplate.setPosition 1.05/-1.9/0
ObjectTemplate.addTemplate AH1_HellfireWeapon
ObjectTemplate.addTemplate AH1_HellfireRack
ObjectTemplate.setPosition -1.625/-1.6/0
ObjectTemplate.addTemplate AH1_HellfireRack
ObjectTemplate.setPosition 1.625/-1.6/0
rem -------------------------------------
rem ---------------------------------------------------------------------
rem - AH-1 With Miniguns and small FFARs
rem ---------------------------------------------------------------------
ObjectTemplate.create PlayerControlObject AH1_Vulcan
ObjectTemplate.setNetworkableInfo AH1_body_info
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.drag 1.45
ObjectTemplate.mass 2000
ObjectTemplate.inertiaModifier 1/.8/1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.hasArmor 1
ObjectTemplate.angleMod 1
ObjectTemplate.speedMod 2
ObjectTemplate.hitpoints 200
ObjectTemplate.maxhitpoints 200
ObjectTemplate.material 63
ObjectTemplate.criticalDamage 20
ObjectTemplate.hpLostWhileCriticalDamage 1.5
ObjectTemplate.explosionForceMod 15
ObjectTemplate.hpLostWhileUpSideDown 100
ObjectTemplate.hpLostWhileDamageFromWater 10
ObjectTemplate.addArmorEffect 55 em_StukaDamage 0/0.102/2.11
ObjectTemplate.addArmorEffect 50 em_PlaneDamage 0/0.103/2.11
ObjectTemplate.addArmorEffect 45 e_StukaFire 0/0.6/2.11
ObjectTemplate.addArmorEffect 40 e_warning_heli 0/-0.35/4.406
ObjectTemplate.addArmorEffect 30 HeloSpinLeft -2/0/0
ObjectTemplate.addArmorEffect 30 HeloSpinLeft 2/0/0 179.00/0/0
ObjectTemplate.addArmorEffect 0 e_ExplGas_air 0/0/0
rem ObjectTemplate.addArmorEffect 0 e_ScrapHeliBlades 0/3/0
ObjectTemplate.addArmorEffect 0 e_ScrapAH1 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.damageFromWater 1
ObjectTemplate.aiTemplate AH1
rem -------------------------------------
ObjectTemplate.addTemplate lodAH1_Vulcan
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 3/0/2 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.setVehicleIcon "Vehicle/Icon_AH64.tga"
ObjectTemplate.setVehicleIconPos 65/78
ObjectTemplate.setNumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_m260.dds"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCAir
ObjectTemplate.setVehicleType VTDiveBomber
ObjectTemplate.setToolTipType TTDiveBomber
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_heli1_16x16.tga"
rem *** lodAH6 ***
ObjectTemplate.create LodObject lodAH1_Vulcan
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1_Vulcan_Complex
ObjectTemplate.addTemplate AH1_Simple
ObjectTemplate.addTemplate AH1_WRECK
rem -------------------------------------
ObjectTemplate.lodSelector AH1LodSelector
rem *** AH6Complex ***
ObjectTemplate.create Bundle AH1_Vulcan_Complex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1Common
ObjectTemplate.addTemplate lodAH1Cockpit
rem *** Weapons ***
ObjectTemplate.addTemplate AH1_GPU2A_Module
ObjectTemplate.setPosition -1.625/-1.9/0
ObjectTemplate.setRotation 0.233083/-0.226342/0
ObjectTemplate.addTemplate AH1_GPU2A_Module
ObjectTemplate.setPosition 1.625/-1.9/0
ObjectTemplate.setRotation -0.233083/-0.226342/0
ObjectTemplate.addTemplate AH1_FFARSmallAltWeapon
ObjectTemplate.addTemplate AH1_FFARSmallRack
ObjectTemplate.setPosition -1.05/-1.9/0
ObjectTemplate.addTemplate AH1_FFARSmallRack
ObjectTemplate.setPosition 1.05/-1.9/0
rem -------------------------------------
rem ---------------------------------------------------------------------
rem COMMON BUNDLE
rem ---------------------------------------------------------------------
rem *** H6Common ***
ObjectTemplate.create Bundle AH1Common
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate DCX_PilotCamera3
rem ObjectTemplate.addTemplate DCX_DiagnosticCamera2
ObjectTemplate.setPosition 0/-0.322/1.55
ObjectTemplate.addTemplate DCX_Entry3
ObjectTemplate.setPosition 0/-1/1.6
ObjectTemplate.addTemplate AH1_PilotBundle
ObjectTemplate.setPosition 0/-0.4/1.6
rem *** Visible rotors ***
ObjectTemplate.addTemplate AH1_DummyEngineRack
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate AH1_DummyRearEngineRack
ObjectTemplate.setPosition 0/0.31/-8
rem *** physical engines ***
ObjectTemplate.addTemplate AH1_EngineRackCenter
ObjectTemplate.setPosition 0/2/0
ObjectTemplate.addTemplate AH1_EngineRearRack
ObjectTemplate.setPosition 0/0/-2
ObjectTemplate.addTemplate AH1_EngineFrontRack
ObjectTemplate.setPosition 0/0/2
rem *** skids ***
ObjectTemplate.addTemplate AH1_Skid
ObjectTemplate.setPosition 0/-2.5/-7.7
ObjectTemplate.addTemplate AH1_SkidPlate
ObjectTemplate.setPosition -1.5/-2.6/2.5
ObjectTemplate.addTemplate AH1_SkidPlate
ObjectTemplate.setPosition 1.5/-2.6/2.5
ObjectTemplate.addTemplate AH1_SkidPlate
ObjectTemplate.setPosition -1.5/-2.6/-2.5
ObjectTemplate.addTemplate AH1_SkidPlate
ObjectTemplate.setPosition 1.5/-2.6/-2.5
rem *** Other gizmos ***
ObjectTemplate.addTemplate AH1_Glass
rem ObjectTemplate.addTemplate AH1_Rudder
rem ObjectTemplate.setPosition 0/0.31/-8
rem ObjectTemplate.setRotation 0/0/-90
rem ObjectTemplate.addTemplate AH1_LiftWing
rem ObjectTemplate.setPosition 0/0/-2
rem ObjectTemplate.setRotation 0/0/0
rem *** Other PCOs ***
ObjectTemplate.addTemplate AH1_GunnerPCO
rem ---------------------------------------------------------------------
rem AUXILLARY PCOS
rem ---------------------------------------------------------------------
ObjectTemplate.create PlayerControlObject AH1_GunnerPCO
ObjectTemplate.setNetworkableInfo AH1_body_info
ObjectTemplate.setAttachToListener 1
ObjectTemplate.aiTemplate DCX_AH64DCannon
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem ---------------------------------
ObjectTemplate.addTemplate DCX_Entry3
ObjectTemplate.setPosition 0/-1/2.7
ObjectTemplate.addTemplate AH1_CoPilotBundle
ObjectTemplate.setPosition 0/-0.45/2.7
ObjectTemplate.addTemplate AH1_NoseMount
ObjectTemplate.setPosition 0/-1.2/4
ObjectTemplate.addTemplate AH1_NoseTurret
ObjectTemplate.setPosition 0/-1.85/3.26
ObjectTemplate.addTemplate AH1_Flares
ObjectTemplate.addTemplate AH1_Chaff
rem ---------------------------------
ObjectTemplate.setSoldierExitLocation -3/0.05/1 0/0/0
ObjectTemplate.GUIIndex 54
ObjectTemplate.setVehicleIcon "Vehicle/Icon_AH64.tga"
ObjectTemplate.setVehicleIconPos 62/108
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBar
rem ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_flare.dds"
rem ObjectTemplate.setSecondaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setHasTurretIcon 1
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTDiveBomber
ObjectTemplate.setToolTipType VTFighter
rem -------------------------
rem - *** Various parts *** -
rem --------------------------
ObjectTemplate.create SimpleObject AH1_Glass
ObjectTemplate.geometry AH1_Glass
ObjectTemplate.create SimpleObject AH1_HellfireRack
ObjectTemplate.geometry AH1_HellfireRack
ObjectTemplate.create SimpleObject AH1_FFARLargeRack
ObjectTemplate.geometry AH1_FFARLargeRack
ObjectTemplate.create SimpleObject AH1_FFARSmallRack
ObjectTemplate.geometry AH1_FFARSmallRack
ObjectTemplate.create SimpleObject AH1_GPU2A_Gunbase
ObjectTemplate.geometry AH1_GPU2
ObjectTemplate.create Bundle AH1_GPU2A_Module
ObjectTemplate.addTemplate AH1_GPU2A_Gunbase
ObjectTemplate.addTemplate AH1_GPU2A_Weapon
rem -----------------------------------
rem Seat/Control bundles
rem -----------------------------------
ObjectTemplate.create Bundle AH1_PilotBundle
ObjectTemplate.addTemplate DCX_HeliFullSeat
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.create Bundle AH1_CoPilotBundle
ObjectTemplate.addTemplate DCX_HeliFullSeat
ObjectTemplate.setPosition 0/-0.2/0
ObjectTemplate.addTemplate AH1_GunnerCyclicStick_Dummy
ObjectTemplate.setPosition 0.18/-0.77/0.43
ObjectTemplate.addTemplate AH1_CollectiveStick_External
ObjectTemplate.setPosition -0.42/-0.6/2.86
rem -----------------------------------
rem Control sticks
rem -----------------------------------
rem *** Pilot cyclic ***
ObjectTemplate.create AnimatedBundle AH1_CyclicStick_External
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CyclicStick
ObjectTemplate.setPosition -0.2/-0.2/-2.4
rem -------------------------------------
ObjectTemplate.addSkeletonIK Bip01_R_Hand 0.15/-0.1/0.4 -80/60/50
ObjectTemplate.create RotationalBundle AH1_CyclicStick
rem ObjectTemplate.setNetworkableInfo DCX_stick_info
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CyclicStick_Model
rem -------------------------------------
ObjectTemplate.setMinRotation -5/-8/-8
ObjectTemplate.setMaxRotation 5/8/8
ObjectTemplate.setMaxSpeed 25/25/25
ObjectTemplate.setAcceleration 100/100/-100
ObjectTemplate.setInputToRoll c_PIRoll
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.create RotationalBundle AH1_CyclicStick_Internal
rem ObjectTemplate.setNetworkableInfo DCX_stick_info
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CyclicStick_Model
rem -------------------------------------
ObjectTemplate.setMinRotation -5/-8/-8
ObjectTemplate.setMaxRotation 5/8/8
ObjectTemplate.setMaxSpeed 25/25/25
ObjectTemplate.setAcceleration 100/100/-100
ObjectTemplate.setInputToRoll c_PIRoll
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1
rem *** Pilot/Co-Pilot collective ***
ObjectTemplate.create AnimatedBundle AH1_CollectiveStick_External
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CollectiveStick
ObjectTemplate.setPosition 0.2/-0.2/-2.4
rem -------------------------------------
ObjectTemplate.addSkeletonIK Bip01_L_Hand 0.1/-0.1/0.2 -80/60/50
ObjectTemplate.create RotationalBundle AH1_CollectiveStick
rem ObjectTemplate.setNetworkableInfo DCX_stick_info
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CollectiveStick_Model
rem -------------------------------------
ObjectTemplate.setMinRotation -5/-18/-8
ObjectTemplate.setMaxRotation 5/18/8
ObjectTemplate.setMaxSpeed 25/25/25
ObjectTemplate.setAcceleration 100/100/-100
ObjectTemplate.setInputToRoll c_PINone
ObjectTemplate.setInputToPitch c_PIThrottle
ObjectTemplate.setInputToYaw c_PINone
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.create RotationalBundle AH1_CollectiveStick_Internal
rem ObjectTemplate.setNetworkableInfo DCX_stick_info
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CollectiveStick_Model
rem -------------------------------------
ObjectTemplate.setMinRotation -5/-18/-8
ObjectTemplate.setMaxRotation 5/18/8
ObjectTemplate.setMaxSpeed 25/25/25
ObjectTemplate.setAcceleration 100/100/-100
ObjectTemplate.setInputToRoll c_PINone
ObjectTemplate.setInputToPitch c_PIThrottle
ObjectTemplate.setInputToYaw c_PINone
ObjectTemplate.setAutomaticReset 1
rem *** Gunner cyclic ***
ObjectTemplate.create AnimatedBundle AH1_GunnerCyclicStick_Dummy
rem -------------------------------------
ObjectTemplate.addTemplate AH1_GunnerCyclicStick
rem -------------------------------------
ObjectTemplate.addSkeletonIK Bip01_R_Hand 0.05/0.1/-0.1 -80/60/50
ObjectTemplate.create RotationalBundle AH1_GunnerCyclicStick
rem ObjectTemplate.setNetworkableInfo DCX_stick_info
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CyclicStick_Model
rem -------------------------------------
ObjectTemplate.setMinRotation -5/-8/-8
ObjectTemplate.setMaxRotation 5/8/8
ObjectTemplate.setMaxSpeed 25/25/25
ObjectTemplate.setAcceleration 100/100/-100
ObjectTemplate.setInputToRoll c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 0
ObjectTemplate.create SimpleObject AH1_CyclicStick_Model
ObjectTemplate.geometry AH1_CyclicStick
ObjectTemplate.create SimpleObject AH1_CollectiveStick_Model
ObjectTemplate.geometry AH1_CollectiveStick
rem -----------------------------------
rem Moving nose sensors
rem -----------------------------------
ObjectTemplate.create RotationalBundle AH1_NoseMount
ObjectTemplate.setNetworkableInfo AH1_body_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.setGeometry AH1_Optics
rem -----------------------------------
rem -----------------------------------
ObjectTemplate.setMinRotation -90/0/0
ObjectTemplate.setMaxRotation 90/0/0
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
rem -----------------------------------
rem Nose turret
rem -----------------------------------
ObjectTemplate.create RotationalBundle AH1_NoseTurret
ObjectTemplate.loadSoundScript ../../../Common/Sounds/Hydraulics.ssc
ObjectTemplate.setNetworkableInfo AH1_body_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.setGeometry AH1_CG_Turret
rem -----------------------------------
ObjectTemplate.addTemplate AH1_NoseElevation
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/-15/0
rem -----------------------------------
ObjectTemplate.setMinRotation -90/0/0
ObjectTemplate.setMaxRotation 90/0/0
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
rem -----------------------------------
rem Nose elevation
rem -----------------------------------
ObjectTemplate.create RotationalBundle AH1_NoseElevation
ObjectTemplate.loadSoundScript ../../../Common/Sounds/Hydraulics.ssc
ObjectTemplate.setNetworkableInfo AH1_turret_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.setGeometry AH1_CG_Cannon_base
rem -----------------------------------
ObjectTemplate.addTemplate AH1_NoseBarrel
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate DCX_FixedCamera
ObjectTemplate.setPosition 0/-0.3/0.1
ObjectTemplate.addTemplate AH1_Cannon
rem -----------------------------------
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/100/0
ObjectTemplate.setMaxSpeed 0/90/0
ObjectTemplate.setAcceleration 0/5000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
rem -----------------------------------
rem Nose Barrel
rem -----------------------------------
ObjectTemplate.create RotationalBundle AH1_NoseBarrel
ObjectTemplate.loadSoundScript ../../../Common/Sounds/Barrel.ssc
ObjectTemplate.setNetworkableInfo AH1_turret_info
ObjectTemplate.setGeometry AH1_CG_Barrel
rem -----------------------------------
rem -----------------------------------
ObjectTemplate.setMaxSpeed 0/0/5000
ObjectTemplate.setAcceleration 0/0/5000
ObjectTemplate.setInputToRoll c_PIFire
rem -----------------------------------
rem GPU2 Barrel
rem -----------------------------------
ObjectTemplate.create RotationalBundle AH1_GPU2_Barrel
ObjectTemplate.loadSoundScript ../../../Common/Sounds/Barrel.ssc
rem ObjectTemplate.setNetworkableInfo AH1_turret_info
ObjectTemplate.setGeometry AH1_GPU2_Barrel
rem -----------------------------------
rem -----------------------------------
ObjectTemplate.setMaxSpeed 0/0/5000
ObjectTemplate.setAcceleration 0/0/5000
ObjectTemplate.setInputToRoll c_PIFire
rem ---------------------------------------------------------------------
rem ENGINE RACKS
rem ---------------------------------------------------------------------
rem *** H6DummyEngineRack ***
ObjectTemplate.create RotationalBundle AH1_DummyEngineRack
ObjectTemplate.setNetworkableInfo AH1_rack_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1_DummyEngine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/270/0
rem -------------------------------------
ObjectTemplate.setMinRotation -2/-2/0
ObjectTemplate.setMaxRotation 2/2/0
ObjectTemplate.setMaxSpeed 150/150/-150
ObjectTemplate.setAcceleration 150/150/-150
ObjectTemplate.setInputToRoll c_PIRoll
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.create Bundle AH1_DummyRearEngineRack
ObjectTemplate.setNetworkableInfo AH1_body_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1_DummyRearEngine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotatation 0/270/0
rem -------------------------------------
rem *** H6EngineRack3 ***
ObjectTemplate.create RotationalBundle AH1_EngineRackCenter
ObjectTemplate.setNetworkableInfo AH1_rack_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1_HoverEngineCenter
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/270/0
rem -------------------------------------
ObjectTemplate.setMinRotation -20/-20/-10
ObjectTemplate.setMaxRotation 20/20/10
ObjectTemplate.setMaxSpeed 150/50/-50
ObjectTemplate.setAcceleration 150/150/-150
ObjectTemplate.setInputToRoll c_PIRoll
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.create RotationalBundle AH1_EngineFrontRack
ObjectTemplate.setNetworkableInfo AH1_rack_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1_EngineFront
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 180/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation -80/-20/-20
ObjectTemplate.setMaxRotation 80/20/20
ObjectTemplate.setMaxSpeed 200/150/150
ObjectTemplate.setAcceleration -4000/150/150
ObjectTemplate.setInputToYaw c_PIYaw
rem ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.create RotationalBundle AH1_EngineRearRack
ObjectTemplate.setNetworkableInfo AH1_rack_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate AH1_EngineRear
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation -80/-20/-20
ObjectTemplate.setMaxRotation 80/20/20
ObjectTemplate.setMaxSpeed 200/150/150
ObjectTemplate.setAcceleration -4000/-150/150
ObjectTemplate.setInputToYaw c_PIYaw
rem ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
rem ---------------------------------------------------------------------
rem COCKPITS
rem ---------------------------------------------------------------------
rem *** lodH6Cockpit ***
ObjectTemplate.create LodObject lodAH1Cockpit
rem -------------------------------------
ObjectTemplate.addTemplate AH1CockpitExternal
ObjectTemplate.addTemplate AH1CockpitInternal
ObjectTemplate.setPosition 0/-0.7/2.7
rem -------------------------------------
ObjectTemplate.lodSelector AH1CockpitSelector
rem *** H6CockpitExternal ***
ObjectTemplate.create Bundle AH1CockpitExternal
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.geometry AH1_AH_FUS
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CyclicStick_External
ObjectTemplate.setPosition 0.38/-0.87/4.43
ObjectTemplate.addTemplate AH1_CollectiveStick_External
ObjectTemplate.setPosition -0.42/-0.9/4.46
rem -------------------------------------
rem *** H6CockpitInternal ***
ObjectTemplate.create Bundle AH1CockpitInternal
ObjectTemplate.geometry AH1_cockpit_1p
rem -------------------------------------
ObjectTemplate.addTemplate AH1_CyclicStick_Internal
ObjectTemplate.setPosition 0.38/-0.27/-0.97
ObjectTemplate.addTemplate AH1_CollectiveStick_Internal
ObjectTemplate.setPosition -0.42/-0.3/-0.94
rem -------------------------------------
rem *** H6CockpitSelector ***
LodSelectorTemplate.create DistCompareSelector AH1CockpitSelector
LodSelectorTemplate.addLodDistance 10
LodSelectorTemplate.addLodComparison 0.5
rem ---------------------------------------------------------------------
rem PROPELLORS
rem ---------------------------------------------------------------------
rem *** lodH6MainRotor ***
ObjectTemplate.create LodObject lodAH1MainRotor
rem -------------------------------------
ObjectTemplate.addTemplate AH1MainRotorStatic
ObjectTemplate.addTemplate AH1MainRotorBlurred
rem -------------------------------------
ObjectTemplate.lodSelector AH1PropSelector
rem *** H6MainRotorStatic ***
ObjectTemplate.create Bundle AH1MainRotorStatic
ObjectTemplate.geometry AH1_MAIN_ROTOR
rem *** H6MainRotorBlurred ***
ObjectTemplate.create Bundle AH1MainRotorBlurred
ObjectTemplate.geometry AH1_MAIN_ROTOR_BLUR
ObjectTemplate.addTemplate e_heliWater
ObjectTemplate.setPosition 0/0/-20
ObjectTemplate.setRotation 0/-270/0
rem ObjectTemplate.hasCollisionPhysics 1
rem *** lodH6RearRotor ***
ObjectTemplate.create LodObject lodAH1RearRotor
rem -------------------------------------
ObjectTemplate.addTemplate AH1RearRotorStatic
ObjectTemplate.addTemplate AH1RearRotorBlurred
rem -------------------------------------
ObjectTemplate.lodSelector AH1PropSelector
rem *** H6RearRotorStatic ***
ObjectTemplate.create SimpleObject AH1RearRotorStatic
ObjectTemplate.geometry AH1_TAIL_ROTOR
rem *** H6RearRotorBlurred ***
ObjectTemplate.create SimpleObject AH1RearRotorBlurred
ObjectTemplate.geometry AH1_TAIL_ROTOR_BLUR
rem *** H6PropSelector ***
LodSelectorTemplate.create CompareSelector AH1PropSelector
LodSelectorTemplate.addLodComparison 0.08
rem ---------------------------------------------------------------------
rem SIMPLE/WRECK BUNDLES
rem ---------------------------------------------------------------------
rem *** AH6Simple ***
ObjectTemplate.create SimpleObject AH1_Simple
ObjectTemplate.geometry AH1_AH_LOW
rem *** AH6Wreck ***
ObjectTemplate.create Bundle AH1_WRECK
ObjectTemplate.geometry AH1_AH_WRECK
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.addTemplate e_ExFumeFact
ObjectTemplate.setPosition 0/1/0
rem *** H6LodSelector ***
LodSelectorTemplate.create DistCompareSelector2 AH1LodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 200
rem ----------------------------------------
rem - *** Destruction effect and tosses ***
rem ----------------------------------------
rem *** e_ScrapAH1***
ObjectTemplate.create EffectBundle e_ScrapAH1
ObjectTemplate.saveInSeparateFile 1
rem -------------------------------------
ObjectTemplate.addTemplate Em_ScrapAH1_1
ObjectTemplate.addTemplate Em_ScrapAH1_2
ObjectTemplate.addTemplate Em_ScrapAH1_3
ObjectTemplate.addTemplate Em_ScrapAH1_4
ObjectTemplate.addTemplate Em_ScrapAH1_5
ObjectTemplate.addTemplate Em_ScrapAH1_7
ObjectTemplate.timeToLive CRD_NONE/1.8/0/0
rem -------------------------------------
rem *** Em_ScrapAH1_1 ***
ObjectTemplate.create Emitter Em_ScrapAH1_1
ObjectTemplate.template AH1_Toss1
ObjectTemplate.addEmitterSpeed 1
ObjectTemplate.emitterSpeedScale 1
ObjectTemplate.lodDistance 375
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.intensity CRD_NONE/1/0/0
ObjectTemplate.relativePositionInDof CRD_NONE/0.1/0/0
ObjectTemplate.positionalSpeedInDof CRD_UNIFORM/10/0/1
ObjectTemplate.positionalSpeedInUp CRD_UNIFORM/20/15/0
ObjectTemplate.positionalSpeedInRight CRD_UNIFORM/10/0/1
ObjectTemplate.startRotation CRD_UNIFORM/1/100/0
rem *** Em_ScrapAH1_2 ***
ObjectTemplate.create Emitter Em_ScrapAH1_2
ObjectTemplate.template AH1_Toss2
ObjectTemplate.addEmitterSpeed 1
ObjectTemplate.emitterSpeedScale 1
ObjectTemplate.lodDistance 375
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.intensity CRD_NONE/1/0/0
ObjectTemplate.relativePositionInDof CRD_NONE/0.1/0/0
ObjectTemplate.positionalSpeedInDof CRD_UNIFORM/10/0/1
ObjectTemplate.positionalSpeedInUp CRD_UNIFORM/20/15/0
ObjectTemplate.positionalSpeedInRight CRD_UNIFORM/10/0/1
ObjectTemplate.startRotation CRD_NONE/1/0/0
rem *** Em_ScrapAH1_3 ***
ObjectTemplate.create Emitter Em_ScrapAH1_3
ObjectTemplate.template AH1_Toss3
ObjectTemplate.addEmitterSpeed 1
ObjectTemplate.emitterSpeedScale 1
ObjectTemplate.lodDistance 375
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.intensity CRD_NONE/1/0/0
ObjectTemplate.relativePositionInDof CRD_NONE/0.1/0/0
ObjectTemplate.positionalSpeedInDof CRD_UNIFORM/10/0/1
ObjectTemplate.positionalSpeedInUp CRD_UNIFORM/20/15/0
ObjectTemplate.positionalSpeedInRight CRD_UNIFORM/10/0/1
ObjectTemplate.startRotation CRD_NONE/1/0/0
rem *** Em_ScrapAH1_4 ***
ObjectTemplate.create Emitter Em_ScrapAH1_4
ObjectTemplate.template AH1_Toss4
ObjectTemplate.addEmitterSpeed 1
ObjectTemplate.emitterSpeedScale 1
ObjectTemplate.lodDistance 375
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.intensity CRD_NONE/1/0/0
ObjectTemplate.relativePositionInDof CRD_NONE/0.1/0/0
ObjectTemplate.positionalSpeedInDof CRD_UNIFORM/10/0/1
ObjectTemplate.positionalSpeedInUp CRD_UNIFORM/20/15/0
ObjectTemplate.positionalSpeedInRight CRD_UNIFORM/10/0/1
ObjectTemplate.startRotation CRD_NONE/1/0/0
rem *** Em_ScrapAH1_5 ***
ObjectTemplate.create Emitter Em_ScrapAH1_5
ObjectTemplate.template AH1_Toss5
ObjectTemplate.addEmitterSpeed 1
ObjectTemplate.emitterSpeedScale 1
ObjectTemplate.lodDistance 375
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.intensity CRD_NONE/1/0/0
ObjectTemplate.relativePositionInDof CRD_NONE/0.1/0/0
ObjectTemplate.positionalSpeedInDof CRD_UNIFORM/10/0/1
ObjectTemplate.positionalSpeedInUp CRD_UNIFORM/20/15/0
ObjectTemplate.positionalSpeedInRight CRD_UNIFORM/10/0/1
ObjectTemplate.startRotation CRD_NONE/1/0/0
rem *** Em_ScrapAH1_7 ***
ObjectTemplate.create Emitter Em_ScrapAH1_7
ObjectTemplate.template AH1_Toss7
ObjectTemplate.addEmitterSpeed 1
ObjectTemplate.emitterSpeedScale 1
ObjectTemplate.lodDistance 375
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.intensity CRD_NONE/1/0/0
ObjectTemplate.relativePositionInDof CRD_NONE/0.1/0/0
ObjectTemplate.positionalSpeedInDof CRD_UNIFORM/10/0/1
ObjectTemplate.positionalSpeedInUp CRD_UNIFORM/20/15/0
ObjectTemplate.positionalSpeedInRight CRD_UNIFORM/10/0/1
ObjectTemplate.startRotation CRD_NONE/1/0/0
rem *** AH1_WingR_Toss ***
ObjectTemplate.create Bundle AH1_Toss1
ObjectTemplate.geometry AH1_AH_ELIVATOR
ObjectTemplate.addTemplate e_ExplSmokeTrail
ObjectTemplate.startoneffects 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 5
rem *** AH1_Rudder_Toss ***
ObjectTemplate.create Bundle AH1_Toss2
ObjectTemplate.geometry AH1_AH_RUDDER
ObjectTemplate.addTemplate e_ExplSmokeTrail
ObjectTemplate.startoneffects 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 5
rem *** AH1_TailR_Toss ***
ObjectTemplate.create Bundle AH1_Toss3
ObjectTemplate.geometry AH1_AH_DOOR_CLOSED_L
ObjectTemplate.addTemplate e_ExplSmokeTrail
ObjectTemplate.startoneffects 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 5
rem *** AH1_TailL_Toss ***
ObjectTemplate.create Bundle AH1_Toss4
ObjectTemplate.geometry AH1_AH_DOOR_CLOSED_R
ObjectTemplate.addTemplate e_ExplSmokeTrail
ObjectTemplate.startoneffects 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 5
rem *** AH1_FuelTank_Toss ***
ObjectTemplate.create Bundle AH1_Toss5
ObjectTemplate.geometry AH1_AH_TOW_SIGHT
ObjectTemplate.addTemplate e_ExplSmokeTrail
ObjectTemplate.startoneffects 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 5
rem *** AH1_WheelR_Toss ***
ObjectTemplate.create Bundle AH1_Toss7
ObjectTemplate.geometry AH1_TAIL_ROTOR
ObjectTemplate.addTemplate e_ExplSmokeTrail
ObjectTemplate.startoneffects 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 5