This page is under construction
archives/bf1942/levels/DC_LostVillage_Brit.rfa
bf1942/levels/DC_LostVillage_Brit/objects/Lynx_AH/Objects.con
rem ---------------------------------------------------------------------
rem Lynx AH
rem ---------------------------------------------------------------------
rem *** Lynx AH ***
ObjectTemplate.create PlayerControlObject LYNX_AH
ObjectTemplate.setNetworkableInfo LYNXAH_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 40 em_StukaDamage 0/0.102/2.11
ObjectTemplate.addArmorEffect 40 em_PlaneDamage 0/0.103/2.11
ObjectTemplate.addArmorEffect 30 e_StukaFire 0/0.6/2.11
ObjectTemplate.addArmorEffect 30 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_ScrapLynxAH 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.damageFromWater 1
ObjectTemplate.aiTemplate DCX_AH6
rem -------------------------------------
ObjectTemplate.addTemplate lodLYNXAH_AH
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 3/0/2 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.setVehicleIcon "Vehicle/Icon_LYNXAH.dds"
ObjectTemplate.setVehicleIconPos 65/78
ObjectTemplate.setNumberOfWeaponIcons 0
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 lodLYNXAH_AH
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate LYNXAH_AHComplex
ObjectTemplate.addTemplate LYNXAH_AH_Simple
ObjectTemplate.addTemplate LYNXAH_AH_WRECK
rem -------------------------------------
ObjectTemplate.lodSelector LYNXAHLodSelector

rem *** AH6Complex ***
ObjectTemplate.create Bundle LYNXAH_AHComplex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate LYNXAHCommon
ObjectTemplate.addTemplate LYNXAH_AH_TOW
rem -------------------------------------

rem *** LYNXAH_AH_TOW ***
ObjectTemplate.create Bundle LYNXAH_AH_TOW
rem ObjectTemplate.setGeometry LYNXAH_AH_TOW
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodLYNXAHCockpit
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.addTemplate LYNXAH_AH_DOOR_OPEN_L
ObjectTemplate.addTemplate LYNXAH_AH_DOOR_OPEN_R
ObjectTemplate.addTemplate LYNXAH_AH_TOW_SIGHT
ObjectTemplate.setPosition -0.413/0.911/2.065
ObjectTemplate.addTemplate LYNXAH_AH_RUDDER
ObjectTemplate.setPosition 0/0.6/-7.8
ObjectTemplate.addTemplate LYNX_AH_CAB
ObjectTemplate.addTemplate LYNXAH_AH_RearElevators
ObjectTemplate.setPosition 0/1.2/-8.4
rem ObjectTemplate.addTemplate LYNXAHAHTOW
rem -------------------------------------
ObjectTemplate.addTemplate LYNXAHPassenger_PCO3
ObjectTemplate.addTemplate LYNXAHPassenger_PCO4
ObjectTemplate.addTemplate LYNXAHPassenger_PCO5
ObjectTemplate.addTemplate LYNXAHPassenger_PCO6
rem -------------------------------------

rem *** MH6SupplyDepot ***
ObjectTemplate.create SupplyDepot LYNXAHSupplyDepot
ObjectTemplate.radius .5
ObjectTemplate.team 0
ObjectTemplate.setHealth -1 5.5 0
ObjectTemplate.addAmmoType 0 -1 20 0
ObjectTemplate.addAmmoType 1 -1 15 0
ObjectTemplate.addAmmoType 2 -1 1.2 0
ObjectTemplate.addAmmoType 3 -1 1.2 0
ObjectTemplate.workOnVehicles 0
ObjectTemplate.workOnSoldiers 1
ObjectTemplate.loadSoundScript ../../../Common/Sounds/SupplyDepot.ssc

rem ---------------------------------------------------------------------
rem COMMON BUNDLE
rem ---------------------------------------------------------------------
rem *** H6Common ***
ObjectTemplate.create Bundle LYNXAHCommon
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate DCX_PilotCamera2
ObjectTemplate.setPosition 0.46/0.25/2.0
ObjectTemplate.addTemplate DCX_Entry3
ObjectTemplate.setPosition 2/0/1.5
ObjectTemplate.addTemplate DCX_FullPilot
ObjectTemplate.setPosition 0.47/-0.15/2.2

ObjectTemplate.addTemplate LYNXAH_DummyEngineRack
ObjectTemplate.setPosition 0/1.45/0
ObjectTemplate.addTemplate LYNXAH_DummyRearEngineRack
ObjectTemplate.setPosition 0/1.386/-8.07

ObjectTemplate.addTemplate LYNXAH_EngineRack1
ObjectTemplate.setPosition 0/2/2.5
ObjectTemplate.addTemplate LYNXAH_EngineRack2
ObjectTemplate.setPosition 0/2/-2.5
ObjectTemplate.addTemplate LYNXAH_EngineRack3
ObjectTemplate.setPosition 0/2/0

ObjectTemplate.addTemplate LYNXAH_Skid
ObjectTemplate.setPosition 0/-0.75/-7.7
ObjectTemplate.addTemplate LYNXAH_Skid
ObjectTemplate.setPosition -1.5/-1.75/2.5
ObjectTemplate.addTemplate LYNXAH_Skid
ObjectTemplate.setPosition 1.5/-1.75/2.5
ObjectTemplate.addTemplate LYNXAH_Skid
ObjectTemplate.setPosition -1.15/-1.75/-1.5
ObjectTemplate.addTemplate LYNXAH_Skid
ObjectTemplate.setPosition 1.15/-1.75/-1.5
ObjectTemplate.addTemplate LYNXAHCoPilot

rem -------------------------
rem - *** Various parts *** -
rem --------------------------

rem *** doors ***
ObjectTemplate.create SimpleObject LYNXAH_AH_DOOR_CLOSED_L
ObjectTemplate.geometry LYNXAH_AH_DOOR_CLOSED_L
ObjectTemplate.hasCollisionPhysics 1

rem *** doors ***
ObjectTemplate.create SimpleObject LYNXAH_AH_DOOR_CLOSED_R
ObjectTemplate.geometry LYNXAH_AH_DOOR_CLOSED_R
ObjectTemplate.hasCollisionPhysics 1

rem *** doors ***
ObjectTemplate.create SimpleObject LYNXAH_AH_DOOR_OPEN_L
ObjectTemplate.geometry LYNXAH_AH_DOOR_OPEN_L
ObjectTemplate.hasCollisionPhysics 1

rem *** doors ***
ObjectTemplate.create SimpleObject LYNXAH_AH_DOOR_OPEN_R
ObjectTemplate.geometry LYNXAH_AH_DOOR_OPEN_R
ObjectTemplate.hasCollisionPhysics 1

rem LYNXAH_AH_TOW_SIGHT
ObjectTemplate.create SimpleObject LYNXAH_AH_TOW_SIGHT
ObjectTemplate.geometry LYNXAH_AH_TOW_SIGHT
ObjectTemplate.hasCollisionPhysics 1

rem LYNX_HAS_CAB
ObjectTemplate.create SimpleObject LYNX_AH_CAB
ObjectTemplate.geometry LYNX_AH_CAB
ObjectTemplate.hasCollisionPhysics 0

rem LYNXAH_AH_RUDDER
ObjectTemplate.create SimpleObject LYNXAH_AH_RUDDER
ObjectTemplate.geometry LYNXAH_AH_RUDDER
ObjectTemplate.hasCollisionPhysics 0

rem ---------------------------------------------------------------------
rem REAR ELEVATORS
rem ---------------------------------------------------------------------

rem *** H6RearElevators ***
ObjectTemplate.create RotationalBundle LYNXAH_AH_RearElevators
rem ObjectTemplate.setNetworkableInfo LYNXAH_body_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.geometry LYNXAH_AH_ELIVATOR
rem -------------------------------------
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-20/0
ObjectTemplate.setMaxRotation 0/20/0
ObjectTemplate.setMaxSpeed 0/40/0
ObjectTemplate.setAcceleration 0/80/0
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1

rem ---------------------------------------------------------------------
rem ENGINE RACKS
rem ---------------------------------------------------------------------
rem *** H6DummyEngineRack ***
ObjectTemplate.create RotationalBundle LYNXAH_DummyEngineRack
ObjectTemplate.setNetworkableInfo LYNXAH_body_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate LYNXAH_DummyEngine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/270/0
rem -------------------------------------
ObjectTemplate.setMinRotation -2/-2/-2
ObjectTemplate.setMaxRotation 2/2/2
ObjectTemplate.setMaxSpeed 150/150/-150
ObjectTemplate.setAcceleration 150/150/-150
ObjectTemplate.setInputToRoll c_PIRoll
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1

rem *** H6DummyRearEngineRack ***
ObjectTemplate.create Bundle LYNXAH_DummyRearEngineRack
ObjectTemplate.setNetworkableInfo LYNXAH_body_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate LYNXAH_DummyRearEngine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotatation 0/270/0
rem -------------------------------------

rem *** H6EngineRack1 ***
ObjectTemplate.create RotationalBundle LYNXAH_EngineRack1
ObjectTemplate.setNetworkableInfo LYNXAH_rack_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate LYNXAH_HoverEngine1
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/270/0
rem -------------------------------------
ObjectTemplate.setMinRotation -40/-20/-20
ObjectTemplate.setMaxRotation 40/20/20
ObjectTemplate.setMaxSpeed 400/150/-150
ObjectTemplate.setAcceleration 400/150/-150
ObjectTemplate.setInputToRoll c_PIYaw
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1

rem *** H6EngineRack2 ***
ObjectTemplate.create RotationalBundle LYNXAH_EngineRack2
ObjectTemplate.setNetworkableInfo LYNXAH_rack_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate LYNXAH_HoverEngine2
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/270/0
rem -------------------------------------
ObjectTemplate.setMinRotation -40/-20/-20
ObjectTemplate.setMaxRotation 40/20/20
ObjectTemplate.setMaxSpeed 400/150/150
ObjectTemplate.setAcceleration 400/150/150
ObjectTemplate.setInputToRoll c_PIYaw
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1

rem *** H6EngineRack3 ***
ObjectTemplate.create RotationalBundle LYNXAH_EngineRack3
ObjectTemplate.setNetworkableInfo LYNXAH_rack_info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate LYNXAH_HoverEngine3
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/270/0
rem -------------------------------------
ObjectTemplate.setMinRotation -20/-20/-20
ObjectTemplate.setMaxRotation 20/20/20
ObjectTemplate.setMaxSpeed 150/150/-150
ObjectTemplate.setAcceleration 150/150/-150
ObjectTemplate.setInputToRoll c_PIRoll
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1

rem ---------------------------------------------------------------------
rem COCKPITS
rem ---------------------------------------------------------------------
rem *** lodH6Cockpit ***
ObjectTemplate.create LodObject lodLYNXAHCockpit
rem -------------------------------------
ObjectTemplate.addTemplate LYNXAHCockpitExternal
ObjectTemplate.addTemplate LYNXAHCockpitInternal
rem -------------------------------------
ObjectTemplate.lodSelector LYNXAHCockpitSelector

rem *** H6CockpitExternal ***
ObjectTemplate.create Bundle LYNXAHCockpitExternal
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.geometry LYNXAH_AH_FUS

rem *** H6CockpitInternal ***
ObjectTemplate.create SimpleObject LYNXAHCockpitInternal
ObjectTemplate.geometry LYNXAH_AH_FUS

rem *** H6CockpitSelector ***
LodSelectorTemplate.create DistCompareSelector LYNXAHCockpitSelector
LodSelectorTemplate.addLodDistance 10
LodSelectorTemplate.addLodComparison 0.5

rem ---------------------------------------------------------------------
rem PROPELLORS
rem ---------------------------------------------------------------------
rem *** lodH6MainRotor ***
ObjectTemplate.create LodObject lodLYNXAHMainRotor
rem -------------------------------------
ObjectTemplate.addTemplate LYNXAHMainRotorStatic
ObjectTemplate.addTemplate LYNXAHMainRotorBlurred
rem -------------------------------------
ObjectTemplate.lodSelector LYNXAHPropSelector

rem *** H6MainRotorStatic ***
ObjectTemplate.create Bundle LYNXAHMainRotorStatic
ObjectTemplate.geometry LYNXAH_MAIN_ROTOR

rem *** H6MainRotorBlurred ***
ObjectTemplate.create Bundle LYNXAHMainRotorBlurred
ObjectTemplate.geometry LYNXAH_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 lodLYNXAHRearRotor
rem -------------------------------------
ObjectTemplate.addTemplate LYNXAHRearRotorStatic
ObjectTemplate.addTemplate LYNXAHRearRotorBlurred
rem -------------------------------------
ObjectTemplate.lodSelector LYNXAHPropSelector

rem *** H6RearRotorStatic ***
ObjectTemplate.create SimpleObject LYNXAHRearRotorStatic
ObjectTemplate.geometry LYNXAH_TAIL_ROTOR

rem *** H6RearRotorBlurred ***
ObjectTemplate.create SimpleObject LYNXAHRearRotorBlurred
ObjectTemplate.geometry LYNXAH_TAIL_ROTOR_BLUR

rem *** H6PropSelector ***
LodSelectorTemplate.create CompareSelector LYNXAHPropSelector
LodSelectorTemplate.addLodComparison 0.08

rem ---------------------------------------------------------------------
rem AUXILLARY PCOS
rem ---------------------------------------------------------------------
rem *** H6CoPilot ***
ObjectTemplate.create PlayerControlObject LYNXAHCoPilot
ObjectTemplate.setNetworkableInfo LYNXAH_body_info
rem ObjectTemplate.setAttachToListener 1
ObjectTemplate.aiTemplate DCX_H6CoPilot
rem ---------------------------------
ObjectTemplate.addTemplate DCX_Entry3
ObjectTemplate.setPosition -2/0/1.5
ObjectTemplate.addTemplate DCX_PassengerOutsideSeat
ObjectTemplate.setPosition -0.47/0.2/2.2
ObjectTemplate.addTemplate DCX_CopilotCameraTargeting2
ObjectTemplate.setPosition -0.47/0.2/2.0
ObjectTemplate.addTemplate DCX_CallArtillary
rem ---------------------------------
ObjectTemplate.setSoldierExitLocation -3/0/2 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.setVehicleIcon "Vehicle/Icon_LYNXAH.dds"
ObjectTemplate.setVehicleIconPos 75/77
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_Arty.dds"
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTFighter
ObjectTemplate.setToolTipType VTFighter

rem *** MH6Passenger_PCO3 ***
ObjectTemplate.create PlayerControlObject LYNXAHPassenger_PCO3
ObjectTemplate.setNetworkableInfo LYNXAH_passenger_info
rem ObjectTemplate.setAttachToListener 1
ObjectTemplate.aiTemplate DCX_MH6_Passenger3
ObjectTemplate.NameTagOffset -1.120/0/0.619
rem -------------------------------------
ObjectTemplate.addTemplate DCX_Entry3
ObjectTemplate.addTemplate LYNXAHPassengerCommon
ObjectTemplate.setPosition -0.2/0/1.2
ObjectTemplate.setRotation -90/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -3/0/0 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.setVehicleIcon "Vehicle/Icon_LYNXAH.tga"
ObjectTemplate.setVehicleIconPos 65/72
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTFighter
ObjectTemplate.setToolTipType VTFighter

rem *** MH6Passenger_PCO4 ***
ObjectTemplate.create PlayerControlObject LYNXAHPassenger_PCO4
ObjectTemplate.setNetworkableInfo LYNXAH_passenger_info
rem ObjectTemplate.setAttachToListener 1
ObjectTemplate.aiTemplate DCX_MH6_Passenger4
ObjectTemplate.NameTagOffset -1.120/0/-0.182
rem -------------------------------------
ObjectTemplate.addTemplate DCX_Entry3
ObjectTemplate.addTemplate LYNXAHPassengerCommon
ObjectTemplate.setPosition 0.2/0/1.2
ObjectTemplate.setRotation 90/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 3/0/0 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.setVehicleIcon "Vehicle/Icon_LYNXAH.tga"
ObjectTemplate.setVehicleIconPos 74/60
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTFighter
ObjectTemplate.setToolTipType VTFighter

rem *** MH6Passenger_PCO5 ***
ObjectTemplate.create PlayerControlObject LYNXAHPassenger_PCO5
ObjectTemplate.setNetworkableInfo LYNXAH_passenger_info
rem ObjectTemplate.setAttachToListener 1
ObjectTemplate.aiTemplate DCX_MH6_Passenger5
ObjectTemplate.NameTagOffset 1.120/0/0.619
rem -------------------------------------
ObjectTemplate.addTemplate DCX_Entry3
ObjectTemplate.addTemplate LYNXAHPassengerCommon
ObjectTemplate.setPosition 0.47/0/-0.4
ObjectTemplate.setRotation 0/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 3/0/0 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.setVehicleIcon "Vehicle/Icon_LYNXAH.tga"
ObjectTemplate.setVehicleIconPos 59/90
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTFighter
ObjectTemplate.setToolTipType VTFighter

rem *** MH6Passenger_PCO6 ***
ObjectTemplate.create PlayerControlObject LYNXAHPassenger_PCO6
ObjectTemplate.setNetworkableInfo LYNXAH_passenger_info
rem ObjectTemplate.setAttachToListener 1
ObjectTemplate.aiTemplate DCX_MH6_Passenger6
ObjectTemplate.NameTagOffset 1.120/0/-0.182
rem -------------------------------------
ObjectTemplate.addTemplate DCX_Entry3
ObjectTemplate.addTemplate LYNXAHPassengerCommon
ObjectTemplate.setPosition -0.47/0/-0.4
ObjectTemplate.setRotation 0/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -3/0/0 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.setVehicleIcon "Vehicle/Icon_LYNXAH.tga"
ObjectTemplate.setVehicleIconPos 45/80
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTFighter
ObjectTemplate.setToolTipType VTFighter

rem *** MH6PassengerCommon ***
ObjectTemplate.create Bundle LYNXAHPassengerCommon
rem -------------------------------------
ObjectTemplate.addTemplate LYNXAHSupplyDepot
ObjectTemplate.addTemplate DCX_PassengerOutsideSeat
ObjectTemplate.setPosition 0/0.1/0
ObjectTemplate.addTemplate DCX_PassengerCamera
ObjectTemplate.setPosition 0/0.2/0
rem -------------------------------------

rem ---------------------------------------------------------------------
rem SIMPLE/WRECK BUNDLES
rem ---------------------------------------------------------------------
rem *** AH6Simple ***
ObjectTemplate.create SimpleObject LYNXAH_AH_Simple
ObjectTemplate.geometry LYNXAH_AH_LOW

rem *** AH6Wreck ***
ObjectTemplate.create SimpleObject LYNXAH_AH_WRECK
ObjectTemplate.geometry LYNXAH_AH_WRECK

rem *** H6LodSelector ***
LodSelectorTemplate.create DistCompareSelector2 LYNXAHLodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 200

rem ----------------------------------------
rem - *** Destruction effect and tosses ***
rem ----------------------------------------

rem *** e_ScrapLynxAH***
ObjectTemplate.create EffectBundle e_ScrapLynxAH
ObjectTemplate.saveInSeparateFile 1
rem -------------------------------------
ObjectTemplate.addTemplate Em_ScrapLynxAH_1
ObjectTemplate.addTemplate Em_ScrapLynxAH_2
ObjectTemplate.addTemplate Em_ScrapLynxAH_3
ObjectTemplate.addTemplate Em_ScrapLynxAH_4
ObjectTemplate.addTemplate Em_ScrapLynxAH_5
ObjectTemplate.addTemplate Em_ScrapLynxAH_7
ObjectTemplate.timeToLive CRD_NONE/1.8/0/0
rem -------------------------------------

rem *** Em_ScrapLynxAH_1 ***
ObjectTemplate.create Emitter Em_ScrapLynxAH_1
ObjectTemplate.template LynxAH_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_ScrapLynxAH_2 ***
ObjectTemplate.create Emitter Em_ScrapLynxAH_2
ObjectTemplate.template LynxAH_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_ScrapLynxAH_3 ***
ObjectTemplate.create Emitter Em_ScrapLynxAH_3
ObjectTemplate.template LynxAH_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_ScrapLynxAH_4 ***
ObjectTemplate.create Emitter Em_ScrapLynxAH_4
ObjectTemplate.template LynxAH_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_ScrapLynxAH_5 ***
ObjectTemplate.create Emitter Em_ScrapLynxAH_5
ObjectTemplate.template LynxAH_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_ScrapLynxAH_7 ***
ObjectTemplate.create Emitter Em_ScrapLynxAH_7
ObjectTemplate.template LynxAH_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 *** LynxAH_WingR_Toss ***
ObjectTemplate.create Bundle LynxAH_Toss1
ObjectTemplate.geometry LYNXAH_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 *** LynxAH_Rudder_Toss ***
ObjectTemplate.create Bundle LynxAH_Toss2
ObjectTemplate.geometry LYNXAH_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 *** LynxAH_TailR_Toss ***
ObjectTemplate.create Bundle LynxAH_Toss3
ObjectTemplate.geometry LYNXAH_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 *** LynxAH_TailL_Toss ***
ObjectTemplate.create Bundle LynxAH_Toss4
ObjectTemplate.geometry LYNXAH_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 *** LynxAH_FuelTank_Toss ***
ObjectTemplate.create Bundle LynxAH_Toss5
ObjectTemplate.geometry LYNXAH_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 *** LynxAH_WheelR_Toss ***
ObjectTemplate.create Bundle LynxAH_Toss7
ObjectTemplate.geometry LYNXAH_TAIL_ROTOR
ObjectTemplate.addTemplate e_ExplSmokeTrail
ObjectTemplate.startoneffects 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 5