This page is under construction
Archives/BF1942/levels/Dustbowl Modded/DustBowl_Modded.rfa
bf1942/levels/DustBowl_Modded/objects/vehicles/Air/Ka50/Objects.con
rem *** Ka-50 "Hokum/Black Akula" for 21CW Minimod
rem *** by Aviad Tobaly (ClearDark)

ObjectTemplate.create PlayerControlObject Ka-50
ObjectTemplate.setNetworkableInfo KA50_Body_Info
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.drag 0.3
ObjectTemplate.mass 2500
ObjectTemplate.inertiaModifier .3/.3/.4
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.hasArmor 1
ObjectTemplate.angleMod 1
ObjectTemplate.speedMod 2
ObjectTemplate.hitpoints 150
ObjectTemplate.maxhitpoints 150
ObjectTemplate.material 63
ObjectTemplate.criticalDamage 20
ObjectTemplate.hpLostWhileCriticalDamage 1.5
ObjectTemplate.explosionForceMod 15
ObjectTemplate.hpLostWhileUpSideDown 100
ObjectTemplate.hpLostWhileDamageFromWater 2
ObjectTemplate.addArmorEffect 100 em_StukaDamage 0/0.102/2.11
ObjectTemplate.addArmorEffect 100 em_PlaneDamage -1/1/.5
ObjectTemplate.addArmorEffect 90 em_PlaneDamage 1/1/.5
ObjectTemplate.addArmorEffect 60 e_StukaFire 1/1/.5
ObjectTemplate.addArmorEffect 50 e_StukaFire -1/1/.5
ObjectTemplate.addArmorEffect 50 e_warning .58/-0.35/5.2
ObjectTemplate.addArmorEffect 20 e_StukaFire 1/1/.5
ObjectTemplate.addArmorEffect 20 e_StukaFire -1/1/.5
ObjectTemplate.addArmorEffect 20 e_warning .58/-0.35/5.2
ObjectTemplate.addArmorEffect 0 e_StukaFire -1/1/.5
ObjectTemplate.addArmorEffect 0 e_StukaFire 1/1/.5
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/0/0
ObjectTemplate.addArmorEffect 0 e_ScrapMetal_Plane 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.damageFromWater 1
ObjectTemplate.aiTemplate Ka50

ObjectTemplate.setPCOId 0
rem -------------------------------------
ObjectTemplate.addTemplate lodKa
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2.5/0/-3 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.setVehicleIcon "Vehicle/Icon_ka50.tga"
ObjectTemplate.setVehicleIconPos 45/104
ObjectTemplate.setNumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_m260.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_rocket.tga"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBarAmmo
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCAir
ObjectTemplate.setVehicleType VTDiveBomber
ObjectTemplate.setToolTipType TTDiveBomber
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_heli1_16x16.tga"
rem -----------------
ObjectTemplate.create LodObject lodKa
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate KaComplex
ObjectTemplate.addTemplate KaSimple
ObjectTemplate.addTemplate KaWreck
rem -------------------------------------
ObjectTemplate.lodSelector KaLodSelector


rem *** Complex ***
ObjectTemplate.create Bundle KaComplex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------

ObjectTemplate.addTemplate KaCockpit
ObjectTemplate.addTemplate Ka_P_Camera
ObjectTemplate.setPosition 0/0.1694096/2.39035
ObjectTemplate.addTemplate KaEntry
ObjectTemplate.setPosition 0.0210146/0/5.0146
ObjectTemplate.addTemplate KaSeat
ObjectTemplate.setPosition -0.0623864/-0.1/1.15
ObjectTemplate.addTemplate KaRearFlap
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate KaDummyEngineRack
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate KaDummyEngineRack2
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate KaEngineRack3
ObjectTemplate.setPosition 0/2.5/3
ObjectTemplate.addTemplate KaEngineRack4
ObjectTemplate.setPosition 0/2.5/-3
ObjectTemplate.addTemplate KaEngineRack5
ObjectTemplate.setPosition 0/2.5/0
rem ObjectTemplate.addTemplate KaGunner
ObjectTemplate.addTemplate KaWheelBackSpring
ObjectTemplate.setPosition 0/-1.1/2.62948
ObjectTemplate.addTemplate KaWheelLeftSpring
ObjectTemplate.setPosition -1.54119/-1.8/-2.0799
ObjectTemplate.addTemplate KaWheelRightSpring
ObjectTemplate.setPosition 1.52422/-1.8/-2.0799
ObjectTemplate.addTemplate Ka50_S5Arms
ObjectTemplate.addTemplate Ka50_AT2Rack
ObjectTemplate.setPosition -0.020/0.10/-1.650
ObjectTemplate.addTemplate Mi24D_S5Pod
ObjectTemplate.setPosition -2.589/-0.6/-1.10
ObjectTemplate.addTemplate Mi24D_S5Pod
ObjectTemplate.setPosition 2.589/-0.6/-1.10
rem -------------------------------------


rem *** Engines
ObjectTemplate.create Bundle KaDummyEngineRack
rem ObjectTemplate.setNetworkableInfo KA50_Body_Info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate KaDummyEngine
ObjectTemplate.setRotation 0/270/0
ObjectTemplate.setPosition 0/0.85/-1.3

rem -------------------------------------
ObjectTemplate.create Bundle KaDummyEngineRack2
rem ObjectTemplate.setNetworkableInfo KA50_Body_Info
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate KaDummyEngine2
ObjectTemplate.setRotation 0/90/0
ObjectTemplate.setPosition 0/2.45/-1.3


ObjectTemplate.create RotationalBundle KaEngineRack3
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate KaEngine2
ObjectTemplate.setRotation 0/270/0
rem -------------------------------------
ObjectTemplate.setMinRotation -30/-30/-30
ObjectTemplate.setMaxRotation 30/30/30
ObjectTemplate.setMaxSpeed 550/550/-550
ObjectTemplate.setAcceleration 550/550/-550
ObjectTemplate.setInputToRoll c_PIYaw
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1


ObjectTemplate.create RotationalBundle KaEngineRack4
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate KaEngine3
ObjectTemplate.setRotation 0/270/0
rem -------------------------------------
ObjectTemplate.setMinRotation -30/-30/-30
ObjectTemplate.setMaxRotation 30/30/30
ObjectTemplate.setMaxSpeed 550/550/550
ObjectTemplate.setAcceleration 550/550/550
ObjectTemplate.setInputToRoll c_PIYaw
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1

ObjectTemplate.create RotationalBundle KaEngineRack5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate KaEngine4
ObjectTemplate.setRotation 0/270/0
rem -------------------------------------
ObjectTemplate.setMinRotation -30/-30/-30
ObjectTemplate.setMaxRotation 30/30/30
ObjectTemplate.setMaxSpeed 550/550/-550
ObjectTemplate.setAcceleration 550/550/-550
ObjectTemplate.setInputToRoll c_PIRoll
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1





rem *** Cockpits
ObjectTemplate.create LodObject KaCockpit
rem -------------------------------------
ObjectTemplate.addTemplate KaCockpitExternal
ObjectTemplate.addTemplate KaCockpitInternal
ObjectTemplate.setPosition 0/-0.0178382/0.709359
rem -------------------------------------
ObjectTemplate.lodSelector KaCockpitSelector
ObjectTemplate.create Bundle KaCockpitExternal
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.geometry Ka_Fus_M1

ObjectTemplate.create SimpleObject KaCockpitInternal
ObjectTemplate.geometry Ka_cockpilot

LodSelectorTemplate.create DistCompareSelector KaCockpitSelector
LodSelectorTemplate.addLodDistance 1
LodSelectorTemplate.addLodComparison 0.1

rem *** KaCamera ***
ObjectTemplate.create Camera KaCamera
ObjectTemplate.setMinRotation -70/-60/0
ObjectTemplate.setMaxRotation 70/1/0
ObjectTemplate.setMaxSpeed 90/90/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.OutsideHudOffset 0/0/3.1

rem *** Ka_P_Camera ***
ObjectTemplate.create Camera Ka_P_Camera
ObjectTemplate.setMinRotation -80/-80/-80
ObjectTemplate.setMaxRotation 80/80/80
ObjectTemplate.setPivotPosition 0/0/0
ObjectTemplate.setMaxSpeed 200/200/200
ObjectTemplate.setAcceleration 100000/100000/100000
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setInputToRoll c_PINone
ObjectTemplate.OutsideHudOffset 0/0/3.1
ObjectTemplate.toggleMouseLook 1


ObjectTemplate.create SeatObject KaSeat
ObjectTemplate.setPosition -1.46767e-007/-0.535545/-3.35763
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.setPosition -1.46767e-007/-0.535545/-3.35763
ObjectTemplate.setPosition 0/-0.53/-3.37
rem ObjectTemplate.create SeatObject KaPassSeat
rem ObjectTemplate.setPosition 0/-0.53/-3.37
rem ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
rem ObjectTemplate.setPosition 0/-0.53/-3.37



rem --------PROPELLERS----------
rem ------------------------------

ObjectTemplate.create LodObject lodKaPropeller
rem -------------------------------------

ObjectTemplate.addTemplate KaPropellerStatic
ObjectTemplate.addTemplate KaPropellerBlurred
rem -------------------------------------
ObjectTemplate.lodSelector mustangPropSelector
ObjectTemplate.create Bundle KaPropellerStatic
ObjectTemplate.geometry Ka_Prop
ObjectTemplate.setPosition 1/1/1
ObjectTemplate.setRotation 0/0/0


ObjectTemplate.create Bundle KaPropellerBlurred
ObjectTemplate.geometry Ka_Prop_Blur
ObjectTemplate.addTemplate e_heliWater
ObjectTemplate.setPosition 0/0/-20
ObjectTemplate.setRotation 0/-270/0
rem ObjectTemplate.hasCollisionPhysics 1
LodSelectorTemplate.create CompareSelector mustangPropSelector
LodSelectorTemplate.addLodComparison 0.01


rem *** lodKa50RearPropeller ***
ObjectTemplate.create LodObject lodKaRearPropeller
rem -------------------------------------
ObjectTemplate.addTemplate KaRearPropellerStatic
ObjectTemplate.addTemplate KaRearPropellerBlurred
rem -------------------------------------
ObjectTemplate.lodSelector mustangPropSelector
ObjectTemplate.create SimpleObject KaRearPropellerStatic
ObjectTemplate.geometry Ka_RearProp
ObjectTemplate.setPosition 1/1/1
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.create SimpleObject KaRearPropellerBlurred
ObjectTemplate.geometry Ka_RearProp_Blur
LodSelectorTemplate.create CompareSelector mustangPropSelector
LodSelectorTemplate.addLodComparison 0.01


rem --------END PROPELLERS----------

ObjectTemplate.create EntryPoint KaEntry
ObjectTemplate.setEntryRadius 6

ObjectTemplate.create SimpleObject KaSimple
ObjectTemplate.geometry Ka_Fus_L1


ObjectTemplate.create SimpleObject KaWreck
ObjectTemplate.geometry Ka_Wreck

LodSelectorTemplate.create DistCompareSelector2 KaLodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 200

rem *** Mi24D_AT2Rack
ObjectTemplate.create Bundle Ka50_AT2Rack
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate Ka50_AT2Arms
rem -------------------------------------




ObjectTemplate.create PlayerControlObject 21cw_Ka50a
ObjectTemplate.setNetworkableInfo KA50_Body_Info
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.drag 0.3
ObjectTemplate.mass 2500
ObjectTemplate.inertiaModifier .3/.3/.4
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.hasArmor 1
ObjectTemplate.angleMod 1
ObjectTemplate.speedMod 2
ObjectTemplate.hitpoints 150
ObjectTemplate.maxhitpoints 150
ObjectTemplate.material 63
ObjectTemplate.criticalDamage 20
ObjectTemplate.hpLostWhileCriticalDamage 1.5
ObjectTemplate.explosionForceMod 15
ObjectTemplate.hpLostWhileUpSideDown 100
ObjectTemplate.hpLostWhileDamageFromWater 2
ObjectTemplate.addArmorEffect 100 em_StukaDamage 0/0.102/2.11
ObjectTemplate.addArmorEffect 100 em_PlaneDamage -1/1/.5
ObjectTemplate.addArmorEffect 90 em_PlaneDamage 1/1/.5
ObjectTemplate.addArmorEffect 60 e_StukaFire 1/1/.5
ObjectTemplate.addArmorEffect 50 e_StukaFire -1/1/.5
ObjectTemplate.addArmorEffect 50 e_warning .58/-0.35/5.2
ObjectTemplate.addArmorEffect 20 e_StukaFire 1/1/.5
ObjectTemplate.addArmorEffect 20 e_StukaFire -1/1/.5
ObjectTemplate.addArmorEffect 20 e_warning .58/-0.35/5.2
ObjectTemplate.addArmorEffect 0 e_StukaFire -1/1/.5
ObjectTemplate.addArmorEffect 0 e_StukaFire 1/1/.5
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/0/0
ObjectTemplate.addArmorEffect 0 e_ScrapMetal_Plane 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.damageFromWater 1
ObjectTemplate.aiTemplate Ka50

ObjectTemplate.setPCOId 0
rem -------------------------------------
ObjectTemplate.addTemplate lodKaA
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2.5/0/-3 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.setVehicleIcon "Vehicle/Icon_ka50.tga"
ObjectTemplate.setVehicleIconPos 45/104
ObjectTemplate.setNumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
rem ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_crv7.dds"
rem ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_m260.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_at2.dds"
rem ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_rocket.tga"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCAir
ObjectTemplate.setVehicleType VTDiveBomber
ObjectTemplate.setToolTipType TTDiveBomber
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_heli1_16x16.tga"
rem -----------------
ObjectTemplate.create LodObject lodKaA
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate KaAComplex
ObjectTemplate.addTemplate KaSimple
ObjectTemplate.addTemplate KaWreck
rem -------------------------------------
ObjectTemplate.lodSelector KaLodSelector


rem *** Complex ***
ObjectTemplate.create Bundle KaAComplex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------

ObjectTemplate.addTemplate KaCockpit
ObjectTemplate.addTemplate Ka_P_Camera
ObjectTemplate.setPosition 0/0.1694096/2.39035
ObjectTemplate.addTemplate KaEntry
ObjectTemplate.setPosition 0.0210146/0/5.0146
ObjectTemplate.addTemplate KaSeat
ObjectTemplate.setPosition -0.0623864/-0.1/1.15
ObjectTemplate.addTemplate KaRearFlap
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate KaDummyEngineRack
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate KaDummyEngineRack2
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate KaEngineRack3
ObjectTemplate.setPosition 0/2.5/3
ObjectTemplate.addTemplate KaEngineRack4
ObjectTemplate.setPosition 0/2.5/-3
ObjectTemplate.addTemplate KaEngineRack5
ObjectTemplate.setPosition 0/2.5/0
rem ObjectTemplate.addTemplate KaGunner
ObjectTemplate.addTemplate KaWheelBackSpring
ObjectTemplate.setPosition 0/-1.1/2.62948
ObjectTemplate.addTemplate KaWheelLeftSpring
ObjectTemplate.setPosition -1.54119/-1.8/-2.0799
ObjectTemplate.addTemplate KaWheelRightSpring
ObjectTemplate.setPosition 1.52422/-1.8/-2.0799
ObjectTemplate.addTemplate Ka50AChainGun
ObjectTemplate.setPosition 1.0407/-0.6/-1.314
ObjectTemplate.addTemplate Ka50A_AT2Rack
ObjectTemplate.setPosition -0.020/0.10/-1.650
rem ObjectTemplate.addTemplate Mi24D_S5Pod
rem ObjectTemplate.setPosition -2.589/-0.6/-1.10
rem ObjectTemplate.addTemplate Mi24D_S5Pod
rem ObjectTemplate.setPosition 2.589/-0.6/-1.10
rem -------------------------------------

rem ObjectTemplate.create SimpleObject DCX_Ka50AGunbarrel
rem ObjectTemplate.geometry BMP2_Cannon_Barrel_m1

rem *** Mi24D_AT2Rack
ObjectTemplate.create Bundle Ka50a_AT2Rack
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate Ka50a_AT2Arms
rem -------------------------------------