This page is under construction
Archives/BF1942/levels/Dustbowl Modded/DustBowl_Modded.rfa
bf1942/levels/DustBowl_Modded/objects/vehicles/Air/Cobra/Objects.con
rem *** Cobra ***
ObjectTemplate.create PlayerControlObject Cobra
ObjectTemplate.setNetworkableInfo CobraBodyInfo
ObjectTemplate.aiTemplate AH64
ObjectTemplate.setNameTagOffset 0/0.5/2
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasDynamicShadow 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.drag 0.8
ObjectTemplate.mass 2500
ObjectTemplate.inertiaModifier 0.4/.4/.4
ObjectTemplate.explosionRadius 12
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.damageFromWater 1
ObjectTemplate.hpLostWhileDamageFromWater 10
ObjectTemplate.timetoliveafterdeath 6
ObjectTemplate.timeToStartFadeAfterDeath 4
ObjectTemplate.addArmorEffect 50 e_StukaFire 0/0.8/-3
ObjectTemplate.addArmorEffect 50 e_warning_heli 0/0/0
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/-1.158/0.94
ObjectTemplate.addArmorEffect 0 e_scrapmetal_Cobra 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
rem Cobra Pilot
rem -------------------------------------
ObjectTemplate.addTemplate lodCobra
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -1.781/-0.719/1.616 0/0/0
ObjectTemplate.hasRestrictedExit 1
ObjectTemplate.GUIIndex 108
ObjectTemplate.setVehicleIcon "Vehicle/icon_COBRA.dds"
ObjectTemplate.setvehicleIconPos 94/88
ObjectTemplate.setnumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_hellfire.dds"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_m260.dds"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBar
ObjectTemplate.setcrossHairType CHTIcon
ObjectTemplate.setvehicleCategory VCAir
ObjectTemplate.setVehicleType VTDiveBomber
ObjectTemplate.setToolTipType TTDiveBomber
ObjectTemplate.setminimapIcon "Minimap/minimap_cobra.dds"
rem *** lodCobra ***
ObjectTemplate.create LodObject lodCobra
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate CobraComplex
ObjectTemplate.addTemplate CobraSimple
ObjectTemplate.addTemplate CobraWreck
rem -------------------------------------
ObjectTemplate.lodSelector CobraLodSelector
rem *** CobraComplex ***
ObjectTemplate.create Bundle CobraComplex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodCobraCockpit
ObjectTemplate.addTemplate CobraCamera
ObjectTemplate.setPosition 0/1.024/1.357
ObjectTemplate.addTemplate CobraEntry
ObjectTemplate.setPosition 0/-0.204/1.704
ObjectTemplate.addTemplate CobraEntry
ObjectTemplate.setPosition 0/-0.204/-2.296
ObjectTemplate.addTemplate CobraPilotSeat
ObjectTemplate.setPosition 0/0.35/1.727
ObjectTemplate.addTemplate CobraMainEngine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/270/0
ObjectTemplate.addTemplate CobraTailEngine
ObjectTemplate.setPosition 0/0/-9
ObjectTemplate.setRotation 270/0/0
ObjectTemplate.addTemplate AH64EngineRack1
ObjectTemplate.setPosition 0/2/2.5
ObjectTemplate.addTemplate AH64EngineRack2
ObjectTemplate.setPosition 0/2/-2.5
ObjectTemplate.addTemplate AH64EngineRack3
ObjectTemplate.setPosition 0/2/0
ObjectTemplate.addTemplate CobraSteeringDummy
ObjectTemplate.setPosition 0/0.193/2.2
ObjectTemplate.setRotation 0/0/0
rem -------------------------------------
ObjectTemplate.addTemplate SA342Skid
ObjectTemplate.setPosition -1.241/-1.45/-1.38
ObjectTemplate.addTemplate SA342Skid
ObjectTemplate.setPosition -1.241/-1.45/2.737
ObjectTemplate.addTemplate SA342Skid
ObjectTemplate.setPosition 1.241/-1.45/2.737
ObjectTemplate.addTemplate SA342Skid
ObjectTemplate.setPosition 1.241/-1.45/-1.38
rem ------------Tail Spring--------------
ObjectTemplate.addTemplate SA342Skid
ObjectTemplate.setPosition 0/-0.8/-8.3
rem -------------------------------------
ObjectTemplate.addTemplate CobraPilot_WeaponBase
ObjectTemplate.setPosition 0/0.136/2.63
ObjectTemplate.addtemplate CobraCoPilot_PCO
ObjectTemplate.setPosition 0/0.136/2.63
rem --------------------------------
ObjectTemplate.create Bundle CobraPilot_WeaponBase
rem ----------------------------------------------
ObjectTemplate.addTemplate Cobra_HSRocketLaunchers
rem ObjectTemplate.setPosition 0/0.857/-0.81
rem ObjectTemplate.setRotation 0/7/0
ObjectTemplate.setPosition 0/0.857/-0.81
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate Cobra_RocketLaunchers
rem **********************************************
rem * CobraCoPilot_PCO *
rem **********************************************
rem *** CoPilot_PCO ***
ObjectTemplate.create PlayerControlObject CobraCoPilot_PCO
ObjectTemplate.setNetworkableInfo CobraBodyInfo
ObjectTemplate.aiTemplate CobraMG
rem -------------------------------------
ObjectTemplate.addTemplate CobraSeat
ObjectTemplate.setPosition 0/0.515/0.17
ObjectTemplate.addTemplate CobraCoPilot_WeaponBase
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate CobraEntry
ObjectTemplate.setPosition 0/-0.34/-0.926
ObjectTemplate.addTemplate CobraEntry
ObjectTemplate.setPosition 0/-0.34/-4.926
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 1.781/-0.855/-1.014 0/0/0
ObjectTemplate.hasRestrictedExit 1
ObjectTemplate.GUIIndex 29
ObjectTemplate.setVehicleIcon "Vehicle/icon_COBRA.dds"
ObjectTemplate.setVehicleIconPos 104/92
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setToolTipType VTFighter
ObjectTemplate.setVehicleType VTFighter
ObjectTemplate.setMinimapIcon "Minimap/minimap_cobra.dds"
rem *** CobraCoPilot_WeaponBase ***
ObjectTemplate.create Bundle CobraCoPilot_WeaponBase
ObjectTemplate.setNetworkableInfo CobraBodyInfo
ObjectTemplate.AttachToListener 1
rem -------------------------------------
ObjectTemplate.addTemplate CobraCoPilot_Camera
ObjectTemplate.setPosition 0/0.586/0.15
ObjectTemplate.addTemplate Cobra_WeaponRotation
ObjectTemplate.setPosition 0/-0.857/0.81
ObjectTemplate.setRotation 0/-7/0
rem -------------------------------------
rem ****************************
rem *** WEAPON PARTS ***
rem ****************************
rem *** Cobra_AutoCannonRotation ***
ObjectTemplate.create RotationalBundle Cobra_WeaponRotation
ObjectTemplate.setNetworkableInfo CobraBodyInfo
ObjectTemplate.geometry Ve_Cobra_chgunbase_m1
ObjectTemplate.AttachToListener 1
ObjectTemplate.loadSoundScript Sounds/RearGunBarrellMovement.ssc
rem -------------------------------------
ObjectTemplate.addTemplate Cobra_AutoCannon
ObjectTemplate.setPosition 0/0/1.36
ObjectTemplate.addTemplate Cobra_AutoCannonBarrel
ObjectTemplate.setPosition 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation -17/0/0
ObjectTemplate.setMaxRotation 17/30/0
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setInputToYaw c_PIMouseLookX
rem *** Cobra_AutoCannonBarrel ***
ObjectTemplate.create RotationalBundle Cobra_AutoCannonBarrel
ObjectTemplate.setNetworkableInfo CobraBodyInfo
ObjectTemplate.AttachToListener 1
ObjectTemplate.geometry Ve_Cobra_chgun_m1
ObjectTemplate.loadSoundScript Sounds/RearGunBarrellMovement.ssc
rem -------------------------------------
rem ObjectTemplate.setMinRotation 0/0/0
rem ObjectTemplate.setMaxRotation 0/0/0
ObjectTemplate.setMinRotation -90/0/0
ObjectTemplate.setMaxRotation 90/0/0
ObjectTemplate.setMaxSpeed 0/0/1000
ObjectTemplate.setAcceleration 0/0/2000
ObjectTemplate.setInputToRoll c_PIAltFire
rem ****************************
rem *** CAMERAS ***
rem ****************************
rem *** CobraCamera ***
ObjectTemplate.create Camera CobraCamera
ObjectTemplate.minRotation -47/-20/0
ObjectTemplate.maxRotation 47/10/0
ObjectTemplate.maxSpeed 90/90/0
ObjectTemplate.acceleration 5000/-5000/0
ObjectTemplate.inputToYaw c_PIMouseLookX
ObjectTemplate.inputToPitch c_PIMouseLookY
ObjectTemplate.toggleMouseLook 1
ObjectTemplate.OutsideHudOffset 0/0/3.5
rem *** CobraCoPilot_Camera ***
ObjectTemplate.create camera CobraCoPilot_Camera
rem -------------------------------------
ObjectTemplate.setMinRotation -17/0/0
ObjectTemplate.setMaxRotation 17/30/0
ObjectTemplate.setMaxSpeed 90/90/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setOutsideHudOffset 0/0/2.5
rem ****************************
rem *** SEATS ***
rem ****************************
rem *** CobraSeat ***
ObjectTemplate.create SeatObject CobraPilotSeat
ObjectTemplate.seatFlags c_SeatShowfullBodySoldier
rem *** CobraSeat ***
ObjectTemplate.create SeatObject CobraSeat
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInHanomag
ObjectTemplate.seatAnimationLowerBody Lb_PassengerInHanomag
rem ****************************
rem *** ENTRIES ***
rem ****************************
rem *** CobraEntry ***
ObjectTemplate.create EntryPoint CobraEntry
ObjectTemplate.setEntryRadius 4
rem *** lodCobraCockpit ***
ObjectTemplate.create LodObject lodCobraCockpit
rem -------------------------------------
ObjectTemplate.addTemplate CobraCockpitExternal
ObjectTemplate.addTemplate CobraCockpitInternal
ObjectTemplate.setPosition 0/1.75/-1.249
rem -------------------------------------
ObjectTemplate.lodSelector CobracockpitSelector
rem *** CobraCockpitExternal ***
ObjectTemplate.create SimpleObject CobraCockpitExternal
ObjectTemplate.geometry Ve_Cobra_Main_M1
rem *** CobraCockpitInternal ***
ObjectTemplate.create SimpleObject CobraCockpitInternal
ObjectTemplate.geometry ve_cobracockpit_m1
rem *** CobracockpitSelector ***
LodSelectorTemplate.create DistCompareSelector CobracockpitSelector
LodSelectorTemplate.addLodDistance 10
LodSelectorTemplate.addLodComparison 0.5
rem -------------------------------------
rem *** UH1TopPropeller ***
ObjectTemplate.create LodObject CobraTopProp
rem -------------------------------------
ObjectTemplate.addTemplate CobraTopPropStatic
ObjectTemplate.addTemplate CobraTopPropBlurred
rem -------------------------------------
ObjectTemplate.lodSelector CobraPropSelector
rem *** CobraTopPropStatic ***
ObjectTemplate.create SimpleObject CobraTopPropStatic
ObjectTemplate.geometry Ve_Cobra_Rotor_M1
rem *** CobraTopPropBlurred ***
ObjectTemplate.create SimpleObject CobraTopPropBlurred
ObjectTemplate.geometry Ve_Cobra_Rotor_M2
rem *** CobraRearProp ***
ObjectTemplate.create LodObject CobraRearProp
rem -------------------------------------
ObjectTemplate.addTemplate CobraRearPropStatic
ObjectTemplate.addTemplate CobraRearPropBlurred
rem -------------------------------------
ObjectTemplate.lodSelector CobraPropSelector
rem *** CobraRearPropStatic ***
ObjectTemplate.create SimpleObject CobraRearPropStatic
ObjectTemplate.geometry Ve_Cobra_Tail_M1
rem *** CobraRearPropBlurred ***
ObjectTemplate.create SimpleObject CobraRearPropBlurred
ObjectTemplate.geometry Ve_Cobra_Tail_M2
rem *** CobraPropSelector ***
LodSelectorTemplate.create CompareSelector CobraPropSelector
LodSelectorTemplate.addLodComparison 0.08
rem *** CobraSimple ***
ObjectTemplate.create SimpleObject CobraSimple
ObjectTemplate.geometry Ve_Cobra_Main_L1
rem *** CobraLodSelector ***
LodSelectorTemplate.create DistCompareSelector2 CobraLodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 100
rem *** CobraSteeringDummy ***
ObjectTemplate.create AnimatedBundle CobraSteeringDummy
rem -------------------------------------
ObjectTemplate.addTemplate CobraSteering
ObjectTemplate.setPosition 0/-0.2/-0.089
rem -------------------------------------
ObjectTemplate.addSkeletonIK Bip01_R_Hand 0.007/0.7/-0.144 -80/90/0
ObjectTemplate.addSkeletonIK Bip01_L_Hand -0.058/0.6/-0.164 -80/-90/0
rem *** CobraSteering ***
ObjectTemplate.create RotationalBundle CobraSteering
rem -------------------------------------
ObjectTemplate.geometry ve_hueyleftstick_m1
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-10/-10
ObjectTemplate.setMaxRotation 0/10/10
ObjectTemplate.setMaxSpeed 0/10/10
ObjectTemplate.setAcceleration 0/8/-8
ObjectTemplate.setInputToRoll c_PIRoll
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
rem *** CobraWreck ***
ObjectTemplate.create Bundle CobraWreck
ObjectTemplate.geometry Ve_Cobra_WreckMain_m1
ObjectTemplate.addTemplate e_ScrapMetalSmoke
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0
rem ***wreck pieces***
ObjectTemplate.create bundle ve_Cobra_WreckSma_m1
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.geometry ve_Cobra_WreckSma_m1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 0.1
ObjectTemplate.mass 300
ObjectTemplate.addTemplate e_ScrapMetalSmoke
ObjectTemplate.setPosition 0/0.7/-1.7
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.timetoliveafterdeath 6
ObjectTemplate.timeToStartFadeAfterDeath 4
ObjectTemplate.create bundle ve_Cobra_WreckTail_m1
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.geometry ve_Cobra_WreckTail_m1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 0.1
ObjectTemplate.mass 700
ObjectTemplate.addTemplate e_ScrapMetalSmoke
ObjectTemplate.setPosition 0/0.7/-1.7
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.timetoliveafterdeath 6
ObjectTemplate.timeToStartFadeAfterDeath 4
ObjectTemplate.create PlayerControlObject Cobra
ObjectTemplate.setNetworkableInfo CobraBodyInfo
ObjectTemplate.aiTemplate AH64
ObjectTemplate.setNameTagOffset 0/0.5/2
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasDynamicShadow 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.drag 0.8
ObjectTemplate.mass 2500
ObjectTemplate.inertiaModifier 0.4/.4/.4
ObjectTemplate.explosionRadius 12
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.damageFromWater 1
ObjectTemplate.hpLostWhileDamageFromWater 10
ObjectTemplate.timetoliveafterdeath 6
ObjectTemplate.timeToStartFadeAfterDeath 4
ObjectTemplate.addArmorEffect 50 e_StukaFire 0/0.8/-3
ObjectTemplate.addArmorEffect 50 e_warning_heli 0/0/0
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/-1.158/0.94
ObjectTemplate.addArmorEffect 0 e_scrapmetal_Cobra 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
rem Cobra Pilot
rem -------------------------------------
ObjectTemplate.addTemplate lodCobra
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -1.781/-0.719/1.616 0/0/0
ObjectTemplate.hasRestrictedExit 1
ObjectTemplate.GUIIndex 108
ObjectTemplate.setVehicleIcon "Vehicle/icon_COBRA.dds"
ObjectTemplate.setvehicleIconPos 94/88
ObjectTemplate.setnumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_hellfire.dds"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_m260.dds"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBar
ObjectTemplate.setcrossHairType CHTIcon
ObjectTemplate.setvehicleCategory VCAir
ObjectTemplate.setVehicleType VTDiveBomber
ObjectTemplate.setToolTipType TTDiveBomber
ObjectTemplate.setminimapIcon "Minimap/minimap_cobra.dds"
rem *** lodCobra ***
ObjectTemplate.create LodObject lodCobra
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate CobraComplex
ObjectTemplate.addTemplate CobraSimple
ObjectTemplate.addTemplate CobraWreck
rem -------------------------------------
ObjectTemplate.lodSelector CobraLodSelector
rem *** CobraComplex ***
ObjectTemplate.create Bundle CobraComplex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodCobraCockpit
ObjectTemplate.addTemplate CobraCamera
ObjectTemplate.setPosition 0/1.024/1.357
ObjectTemplate.addTemplate CobraEntry
ObjectTemplate.setPosition 0/-0.204/1.704
ObjectTemplate.addTemplate CobraEntry
ObjectTemplate.setPosition 0/-0.204/-2.296
ObjectTemplate.addTemplate CobraPilotSeat
ObjectTemplate.setPosition 0/0.35/1.727
ObjectTemplate.addTemplate CobraMainEngine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/270/0
ObjectTemplate.addTemplate CobraTailEngine
ObjectTemplate.setPosition 0/0/-9
ObjectTemplate.setRotation 270/0/0
ObjectTemplate.addTemplate AH64EngineRack1
ObjectTemplate.setPosition 0/2/2.5
ObjectTemplate.addTemplate AH64EngineRack2
ObjectTemplate.setPosition 0/2/-2.5
ObjectTemplate.addTemplate AH64EngineRack3
ObjectTemplate.setPosition 0/2/0
ObjectTemplate.addTemplate CobraSteeringDummy
ObjectTemplate.setPosition 0/0.193/2.2
ObjectTemplate.setRotation 0/0/0
rem -------------------------------------
ObjectTemplate.addTemplate SA342Skid
ObjectTemplate.setPosition -1.241/-1.45/-1.38
ObjectTemplate.addTemplate SA342Skid
ObjectTemplate.setPosition -1.241/-1.45/2.737
ObjectTemplate.addTemplate SA342Skid
ObjectTemplate.setPosition 1.241/-1.45/2.737
ObjectTemplate.addTemplate SA342Skid
ObjectTemplate.setPosition 1.241/-1.45/-1.38
rem ------------Tail Spring--------------
ObjectTemplate.addTemplate SA342Skid
ObjectTemplate.setPosition 0/-0.8/-8.3
rem -------------------------------------
ObjectTemplate.addTemplate CobraPilot_WeaponBase
ObjectTemplate.setPosition 0/0.136/2.63
ObjectTemplate.addtemplate CobraCoPilot_PCO
ObjectTemplate.setPosition 0/0.136/2.63
rem --------------------------------
ObjectTemplate.create Bundle CobraPilot_WeaponBase
rem ----------------------------------------------
ObjectTemplate.addTemplate Cobra_HSRocketLaunchers
rem ObjectTemplate.setPosition 0/0.857/-0.81
rem ObjectTemplate.setRotation 0/7/0
ObjectTemplate.setPosition 0/0.857/-0.81
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate Cobra_RocketLaunchers
rem **********************************************
rem * CobraCoPilot_PCO *
rem **********************************************
rem *** CoPilot_PCO ***
ObjectTemplate.create PlayerControlObject CobraCoPilot_PCO
ObjectTemplate.setNetworkableInfo CobraBodyInfo
ObjectTemplate.aiTemplate CobraMG
rem -------------------------------------
ObjectTemplate.addTemplate CobraSeat
ObjectTemplate.setPosition 0/0.515/0.17
ObjectTemplate.addTemplate CobraCoPilot_WeaponBase
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate CobraEntry
ObjectTemplate.setPosition 0/-0.34/-0.926
ObjectTemplate.addTemplate CobraEntry
ObjectTemplate.setPosition 0/-0.34/-4.926
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 1.781/-0.855/-1.014 0/0/0
ObjectTemplate.hasRestrictedExit 1
ObjectTemplate.GUIIndex 29
ObjectTemplate.setVehicleIcon "Vehicle/icon_COBRA.dds"
ObjectTemplate.setVehicleIconPos 104/92
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setToolTipType VTFighter
ObjectTemplate.setVehicleType VTFighter
ObjectTemplate.setMinimapIcon "Minimap/minimap_cobra.dds"
rem *** CobraCoPilot_WeaponBase ***
ObjectTemplate.create Bundle CobraCoPilot_WeaponBase
ObjectTemplate.setNetworkableInfo CobraBodyInfo
ObjectTemplate.AttachToListener 1
rem -------------------------------------
ObjectTemplate.addTemplate CobraCoPilot_Camera
ObjectTemplate.setPosition 0/0.586/0.15
ObjectTemplate.addTemplate Cobra_WeaponRotation
ObjectTemplate.setPosition 0/-0.857/0.81
ObjectTemplate.setRotation 0/-7/0
rem -------------------------------------
rem ****************************
rem *** WEAPON PARTS ***
rem ****************************
rem *** Cobra_AutoCannonRotation ***
ObjectTemplate.create RotationalBundle Cobra_WeaponRotation
ObjectTemplate.setNetworkableInfo CobraBodyInfo
ObjectTemplate.geometry Ve_Cobra_chgunbase_m1
ObjectTemplate.AttachToListener 1
ObjectTemplate.loadSoundScript Sounds/RearGunBarrellMovement.ssc
rem -------------------------------------
ObjectTemplate.addTemplate Cobra_AutoCannon
ObjectTemplate.setPosition 0/0/1.36
ObjectTemplate.addTemplate Cobra_AutoCannonBarrel
ObjectTemplate.setPosition 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation -17/0/0
ObjectTemplate.setMaxRotation 17/30/0
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setInputToYaw c_PIMouseLookX
rem *** Cobra_AutoCannonBarrel ***
ObjectTemplate.create RotationalBundle Cobra_AutoCannonBarrel
ObjectTemplate.setNetworkableInfo CobraBodyInfo
ObjectTemplate.AttachToListener 1
ObjectTemplate.geometry Ve_Cobra_chgun_m1
ObjectTemplate.loadSoundScript Sounds/RearGunBarrellMovement.ssc
rem -------------------------------------
rem ObjectTemplate.setMinRotation 0/0/0
rem ObjectTemplate.setMaxRotation 0/0/0
ObjectTemplate.setMinRotation -90/0/0
ObjectTemplate.setMaxRotation 90/0/0
ObjectTemplate.setMaxSpeed 0/0/1000
ObjectTemplate.setAcceleration 0/0/2000
ObjectTemplate.setInputToRoll c_PIAltFire
rem ****************************
rem *** CAMERAS ***
rem ****************************
rem *** CobraCamera ***
ObjectTemplate.create Camera CobraCamera
ObjectTemplate.minRotation -47/-20/0
ObjectTemplate.maxRotation 47/10/0
ObjectTemplate.maxSpeed 90/90/0
ObjectTemplate.acceleration 5000/-5000/0
ObjectTemplate.inputToYaw c_PIMouseLookX
ObjectTemplate.inputToPitch c_PIMouseLookY
ObjectTemplate.toggleMouseLook 1
ObjectTemplate.OutsideHudOffset 0/0/3.5
rem *** CobraCoPilot_Camera ***
ObjectTemplate.create camera CobraCoPilot_Camera
rem -------------------------------------
ObjectTemplate.setMinRotation -17/0/0
ObjectTemplate.setMaxRotation 17/30/0
ObjectTemplate.setMaxSpeed 90/90/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setOutsideHudOffset 0/0/2.5
rem ****************************
rem *** SEATS ***
rem ****************************
rem *** CobraSeat ***
ObjectTemplate.create SeatObject CobraPilotSeat
ObjectTemplate.seatFlags c_SeatShowfullBodySoldier
rem *** CobraSeat ***
ObjectTemplate.create SeatObject CobraSeat
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInHanomag
ObjectTemplate.seatAnimationLowerBody Lb_PassengerInHanomag
rem ****************************
rem *** ENTRIES ***
rem ****************************
rem *** CobraEntry ***
ObjectTemplate.create EntryPoint CobraEntry
ObjectTemplate.setEntryRadius 4
rem *** lodCobraCockpit ***
ObjectTemplate.create LodObject lodCobraCockpit
rem -------------------------------------
ObjectTemplate.addTemplate CobraCockpitExternal
ObjectTemplate.addTemplate CobraCockpitInternal
ObjectTemplate.setPosition 0/1.75/-1.249
rem -------------------------------------
ObjectTemplate.lodSelector CobracockpitSelector
rem *** CobraCockpitExternal ***
ObjectTemplate.create SimpleObject CobraCockpitExternal
ObjectTemplate.geometry Ve_Cobra_Main_M1
rem *** CobraCockpitInternal ***
ObjectTemplate.create SimpleObject CobraCockpitInternal
ObjectTemplate.geometry ve_cobracockpit_m1
rem *** CobracockpitSelector ***
LodSelectorTemplate.create DistCompareSelector CobracockpitSelector
LodSelectorTemplate.addLodDistance 10
LodSelectorTemplate.addLodComparison 0.5
rem -------------------------------------
rem *** UH1TopPropeller ***
ObjectTemplate.create LodObject CobraTopProp
rem -------------------------------------
ObjectTemplate.addTemplate CobraTopPropStatic
ObjectTemplate.addTemplate CobraTopPropBlurred
rem -------------------------------------
ObjectTemplate.lodSelector CobraPropSelector
rem *** CobraTopPropStatic ***
ObjectTemplate.create SimpleObject CobraTopPropStatic
ObjectTemplate.geometry Ve_Cobra_Rotor_M1
rem *** CobraTopPropBlurred ***
ObjectTemplate.create SimpleObject CobraTopPropBlurred
ObjectTemplate.geometry Ve_Cobra_Rotor_M2
rem *** CobraRearProp ***
ObjectTemplate.create LodObject CobraRearProp
rem -------------------------------------
ObjectTemplate.addTemplate CobraRearPropStatic
ObjectTemplate.addTemplate CobraRearPropBlurred
rem -------------------------------------
ObjectTemplate.lodSelector CobraPropSelector
rem *** CobraRearPropStatic ***
ObjectTemplate.create SimpleObject CobraRearPropStatic
ObjectTemplate.geometry Ve_Cobra_Tail_M1
rem *** CobraRearPropBlurred ***
ObjectTemplate.create SimpleObject CobraRearPropBlurred
ObjectTemplate.geometry Ve_Cobra_Tail_M2
rem *** CobraPropSelector ***
LodSelectorTemplate.create CompareSelector CobraPropSelector
LodSelectorTemplate.addLodComparison 0.08
rem *** CobraSimple ***
ObjectTemplate.create SimpleObject CobraSimple
ObjectTemplate.geometry Ve_Cobra_Main_L1
rem *** CobraLodSelector ***
LodSelectorTemplate.create DistCompareSelector2 CobraLodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 100
rem *** CobraSteeringDummy ***
ObjectTemplate.create AnimatedBundle CobraSteeringDummy
rem -------------------------------------
ObjectTemplate.addTemplate CobraSteering
ObjectTemplate.setPosition 0/-0.2/-0.089
rem -------------------------------------
ObjectTemplate.addSkeletonIK Bip01_R_Hand 0.007/0.7/-0.144 -80/90/0
ObjectTemplate.addSkeletonIK Bip01_L_Hand -0.058/0.6/-0.164 -80/-90/0
rem *** CobraSteering ***
ObjectTemplate.create RotationalBundle CobraSteering
rem -------------------------------------
ObjectTemplate.geometry ve_hueyleftstick_m1
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-10/-10
ObjectTemplate.setMaxRotation 0/10/10
ObjectTemplate.setMaxSpeed 0/10/10
ObjectTemplate.setAcceleration 0/8/-8
ObjectTemplate.setInputToRoll c_PIRoll
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
rem *** CobraWreck ***
ObjectTemplate.create Bundle CobraWreck
ObjectTemplate.geometry Ve_Cobra_WreckMain_m1
ObjectTemplate.addTemplate e_ScrapMetalSmoke
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0
rem ***wreck pieces***
ObjectTemplate.create bundle ve_Cobra_WreckSma_m1
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.geometry ve_Cobra_WreckSma_m1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 0.1
ObjectTemplate.mass 300
ObjectTemplate.addTemplate e_ScrapMetalSmoke
ObjectTemplate.setPosition 0/0.7/-1.7
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.timetoliveafterdeath 6
ObjectTemplate.timeToStartFadeAfterDeath 4
ObjectTemplate.create bundle ve_Cobra_WreckTail_m1
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.geometry ve_Cobra_WreckTail_m1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 0.1
ObjectTemplate.mass 700
ObjectTemplate.addTemplate e_ScrapMetalSmoke
ObjectTemplate.setPosition 0/0.7/-1.7
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.timetoliveafterdeath 6
ObjectTemplate.timeToStartFadeAfterDeath 4