This page is under construction
Archives/bf1942/Levels/Raid_on_Agheila.rfa
Bf1942/Levels/Raid_on_Agheila/Objects/Flettner/Objects.con
rem *** Flettner ***
ObjectTemplate.create PlayerControlObject Flettner
ObjectTemplate.NameTagOffset -0.3/-0.2/0
ObjectTemplate.setNetworkableInfo FlettnerBodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 5
ObjectTemplate.explosionDamage 5
ObjectTemplate.damageFromWater 1
ObjectTemplate.drag 10
ObjectTemplate.mass 3000
ObjectTemplate.inertiaModifier 1/1.1/1.9
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.angleMod 1
ObjectTemplate.speedMod 1
ObjectTemplate.exitTimer 0.75
ObjectTemplate.hitpoints 100
ObjectTemplate.maxhitpoints 100
ObjectTemplate.material 60
ObjectTemplate.criticalDamage 15
ObjectTemplate.hpLostWhileCriticalDamage 3
ObjectTemplate.explosionForceMod 5
ObjectTemplate.hpLostWhileUpSideDown 75
ObjectTemplate.hpLostWhileDamageFromWater 75
ObjectTemplate.addArmorEffect 50 e_AA-GunDamage 0/0/-0.099
ObjectTemplate.addArmorEffect 15 e_KettenKradFire 0/0.65/0.15
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/1.2/0
ObjectTemplate.addArmorEffect 0 e_ScrapMetal_Flettner 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
rem -------------------------------------
ObjectTemplate.addTemplate lodFlettner
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 2.5/-0.5/1 0/0/0
ObjectTemplate.GUIIndex 80
ObjectTemplate.setVehicleIcon "Vehicle/iconFlettner.tga"
ObjectTemplate.setVehicleIconPos 75/102
ObjectTemplate.setNumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_bullet.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/icon_rocket.tga"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCAir
ObjectTemplate.setVehicleType VTBomber
ObjectTemplate.setToolTipType TTHelicopter
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_Flettner.tga"
ObjectTemplate.hasRestrictedExit 1

rem *** lodFlettner ***
ObjectTemplate.create LodObject lodFlettner
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate FlettnerComplex
ObjectTemplate.addTemplate FlettnerSimple
ObjectTemplate.addTemplate FlettnerWreck
rem -------------------------------------
ObjectTemplate.lodSelector FlettnerLodSelector

rem *** FlettnerComplex ***
ObjectTemplate.create Bundle FlettnerComplex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodFlettnerCockpit
ObjectTemplate.addTemplate FlettnerCamera
ObjectTemplate.setPosition 0/-0.605/1.19
ObjectTemplate.addTemplate FlettnerSeat
ObjectTemplate.setPosition 0/-1.048/1.25
ObjectTemplate.addTemplate FlettnerEntry
ObjectTemplate.setPosition 0/0/3
ObjectTemplate.addTemplate FlettnerEntry
ObjectTemplate.setPosition 0/0/-3

ObjectTemplate.addTemplate Flettner_HoveringEngineBundle
ObjectTemplate.setPosition 0/0.7/0

ObjectTemplate.addTemplate Flettner_TailEngine
ObjectTemplate.setPosition 0/0/3.5
ObjectTemplate.setRotation 90/0/0
ObjectTemplate.addTemplate Flettner_TailEngine
ObjectTemplate.setPosition 0/0/-5
ObjectTemplate.setRotation -90/0/0


ObjectTemplate.addTemplate Flettner_RightRotor
ObjectTemplate.setPosition 0.285/0.12/-0.011
ObjectTemplate.setRotation 0/90/0
ObjectTemplate.addTemplate Flettner_LeftRotor
ObjectTemplate.setPosition -0.263/0.10/-0.011
ObjectTemplate.setRotation 0/90/0

ObjectTemplate.addTemplate FlettnerDummyRudder
ObjectTemplate.setPosition 0/-1.029/-3.284
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate FlettnerRudder
ObjectTemplate.setPosition 0/0/-5
ObjectTemplate.setRotation 0/0/-90

rem -------------------------------------
ObjectTemplate.addTemplate FlettnerInvisibleWheel
ObjectTemplate.setPosition 1.3/-2.1/2.5
ObjectTemplate.addTemplate FlettnerInvisibleWheel
ObjectTemplate.setPosition -1.3/-2.1/2.5
ObjectTemplate.addTemplate FlettnerInvisibleWheel
ObjectTemplate.setPosition 0/-2.1/-3
ObjectTemplate.addTemplate FlettnerWheelFront
ObjectTemplate.setPosition -0.008/-2.35/1.69
ObjectTemplate.addTemplate FlettnerWheelRight
ObjectTemplate.setPosition 1.02/-2.3/-0.648
ObjectTemplate.addTemplate FlettnerWheelLeft
ObjectTemplate.setPosition -1.02/-2.3/-0.648
rem -------------------------------------

ObjectTemplate.addTemplate FlettnerMG
ObjectTemplate.setPosition 0/-1.349/2.86
ObjectTemplate.addTemplate FlettnerRocketLauncher
ObjectTemplate.setPosition 0/-1.8/0.8

rem *** lodFlettnerCockpit ***
ObjectTemplate.create LodObject lodFlettnerCockpit
rem -------------------------------------
ObjectTemplate.addTemplate FlettnerCockpitExternal
ObjectTemplate.addTemplate FlettnerCockpitInternal
ObjectTemplate.setPosition 0/-2.2/0.8
rem -------------------------------------
ObjectTemplate.lodSelector FlettnerCockpitSelector1


rem *** FlettnerCockpitExternal ***
ObjectTemplate.create SimpleObject FlettnerCockpitExternal
ObjectTemplate.geometry Flettner_Hull_M1
ObjectTemplate.hasDynamicShadow 1


rem *** FlettnerCockpitInternal ***
ObjectTemplate.create Bundle FlettnerCockpitInternal
ObjectTemplate.geometry Flettner_Cockpit_M1


rem *** FlettnerCockpitSelector ***
LodSelectorTemplate.create DistCompareSelector FlettnerCockpitSelector1
LodSelectorTemplate.addLodDistance 3.05
LodSelectorTemplate.addLodComparison 0.5

rem *** FlettnerCamera ***
ObjectTemplate.create Camera FlettnerCamera
ObjectTemplate.setMinRotation -85/-40/0
ObjectTemplate.setMaxRotation 85/0/0
ObjectTemplate.setPivotPosition 0/0/0
ObjectTemplate.setMaxSpeed 90/90/0
ObjectTemplate.setAcceleration 5000/-5000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.OutsideHudOffset 0/0/1.5
ObjectTemplate.toggleMouseLook 1

rem *** FlettnerSeat ***
ObjectTemplate.create SeatObject FlettnerSeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier


rem *** FlettnerEntry ***
ObjectTemplate.create EntryPoint FlettnerEntry
ObjectTemplate.setEntryRadius 4.3

rem *** FlettnerSimple ***
ObjectTemplate.create SimpleObject FlettnerSimple
ObjectTemplate.geometry Flettner_Hull_L1

rem *** FlettnerWreck ***
ObjectTemplate.create SimpleObject FlettnerWreck
ObjectTemplate.geometry Flettner_Wreck

rem *** Flettner_Wreck_tail ***
ObjectTemplate.create Bundle Flettner_Wreck_tail
ObjectTemplate.geometry Flettner_Wreck_tail_m1
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 0.1
ObjectTemplate.mass 1200

ObjectTemplate.addTemplate e_ScrapMetalSmoke
ObjectTemplate.setPosition 0/0.7/-1.7
ObjectTemplate.setRotation 0/0/0

rem *** FlettnerLodSelector ***
LodSelectorTemplate.create DistCompareSelector2 FlettnerLodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 135

rem *** Flettner_HoveringEngineBundle ***
ObjectTemplate.create RotationalBundle Flettner_HoveringEngineBundle
ObjectTemplate.setNetworkableInfo FlettnerBodyInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate Flettner_HoverEngine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/270/0
ObjectTemplate.addTemplate Flettner_Engine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/270/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-20/-15
ObjectTemplate.setMaxRotation 0/20/15
ObjectTemplate.setMaxSpeed 0/100/100
ObjectTemplate.setAcceleration 0/1000/-500
ObjectTemplate.RememberExcessInput 0
ObjectTemplate.setInputToRoll c_PIRoll
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1

rem *** FlettnerDummyRudder ***
ObjectTemplate.create RotationalBundle FlettnerDummyRudder
ObjectTemplate.setNetworkableInfo FlettnerBodyInfo
ObjectTemplate.geometry Flettner_Flap_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.setMinRotation -15/0/0
ObjectTemplate.setMaxRotation 15/0/0
ObjectTemplate.setMaxSpeed 50/0/0
ObjectTemplate.setAcceleration -50/0/0
ObjectTemplate.RememberExcessInput 0
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1


rem *** lodFlettner_Rotary ***
ObjectTemplate.create LodObject lodFlettner_Rotary
rem -------------------------------------
ObjectTemplate.addTemplate Flettner_Rotary_Static
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate Flettner_Rotary_Blurred
ObjectTemplate.setRotation 0/0/0
rem -------------------------------------
ObjectTemplate.lodSelector Flettner_Rotary_Selector


rem *** Flettner_Rotary_Static ***
ObjectTemplate.create SimpleObject Flettner_Rotary_Static
ObjectTemplate.geometry Flettner_Rotary_M1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1

rem *** Flettner_Rotary_Blurred ***
ObjectTemplate.create SimpleObject Flettner_Rotary_Blurred
ObjectTemplate.geometry Flettner_RotaryPlane_M1

LodSelectorTemplate.create CompareSelector Flettner_Rotary_Selector
LodSelectorTemplate.addLodComparison 0.5