This page is under construction
archives/bf1942/levels/fht_liberation_of_strasbourg-1945.rfa
bf1942/levels/fht_liberation_of_strasbourg-1945/Objects/fw190/Objects.con
rem *** FW190 ***
ObjectTemplate.create PlayerControlObject FW190
ObjectTemplate.setNetworkableInfo FW190Info
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.drag 0.06
ObjectTemplate.mass 2500
ObjectTemplate.inertiaModifier 1.0/0.9/1.1
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 24
ObjectTemplate.criticalDamage 50
ObjectTemplate.hpLostWhileCriticalDamage 1.5
ObjectTemplate.explosionForceMod 15
ObjectTemplate.hpLostWhileUpSideDown 10
ObjectTemplate.hpLostWhileDamageFromWater 10
ObjectTemplate.addArmorEffect 90 em_Bf109Damage 0/0.102/2.11
ObjectTemplate.addArmorEffect 70 em_PlaneDamage 0/0.103/1.91
ObjectTemplate.addArmorEffect 60 e_Bf109Fire 0/0.6/2.11
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 FW190
rem -------------------------------------
ObjectTemplate.addTemplate lodFW190
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -4/0.243/-2 0/0/0
ObjectTemplate.GUIIndex 31
ObjectTemplate.setVehicleIcon "Vehicle/Icon_fw190.tga"
ObjectTemplate.setVehicleIconPos 65/85
ObjectTemplate.setNumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_bullet130.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarOnly
ObjectTemplate.setSecondaryAmmoIcon "Ammo/icon_bomb250.tga"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCAir
ObjectTemplate.setVehicleType VTFighter
ObjectTemplate.setToolTipType TTFighter
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_plane_16x16.tga"


rem *** lodFW190 ***
ObjectTemplate.create LodObject lodFW190
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate FW190Complex
ObjectTemplate.addTemplate FW190Simple
ObjectTemplate.addTemplate FW190Wreck
rem -------------------------------------
ObjectTemplate.lodSelector FW190LodSelector


rem *** FW190Complex ***
ObjectTemplate.create Bundle FW190Complex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodFW190Cockpit
ObjectTemplate.addTemplate FW190Camera
ObjectTemplate.setPosition 0/1.20/-1.1
ObjectTemplate.addTemplate FW190stickrotation
ObjectTemplate.setPosition 0/0.836/-0.749
ObjectTemplate.addTemplate FW190Entry
ObjectTemplate.setPosition 0/0/-1.199
ObjectTemplate.addTemplate FW190Seat
ObjectTemplate.setPosition 0/0.62/-1.2
ObjectTemplate.addTemplate FW190Engine
ObjectTemplate.setPosition 0/0.398/2.315
ObjectTemplate.addTemplate FW190BodyWingVertical
ObjectTemplate.setRotation 0/0/-89.999
ObjectTemplate.addTemplate FW190Flaps1
ObjectTemplate.setPosition 4.087/0.367/-0.375
ObjectTemplate.setRotation -6.045/0.735/6.961
ObjectTemplate.addTemplate FW190Flaps2
ObjectTemplate.setPosition -4.076/0.368/-0.373
ObjectTemplate.setRotation 6.045/0.735/-6.961
ObjectTemplate.addTemplate FW190TailFlapR
ObjectTemplate.setPosition 0.957/0.599/-5.151
ObjectTemplate.addTemplate FW190TailFlapL
ObjectTemplate.setPosition -0.952/0.599/-5.154
ObjectTemplate.addTemplate FW190wheelBack
ObjectTemplate.setPosition 0/-.054/-5.451
ObjectTemplate.addTemplate FW190Rudder
ObjectTemplate.setPosition 0/1.053/-5.557
ObjectTemplate.setRotation 0/0/-90
ObjectTemplate.addTemplate FW190Guns
ObjectTemplate.addTemplate FW190BombRack
rem ObjectTemplate.addTemplate FW190Cannons
rem -------------------------------------


rem *** lodFW190Cockpit ***
ObjectTemplate.create LodObject lodFW190Cockpit
rem -------------------------------------
ObjectTemplate.addTemplate FW190CockpitStatic
ObjectTemplate.addTemplate FW190CockpitBlurred
rem -------------------------------------
ObjectTemplate.lodSelector FW190cockpitSelector


rem *** FW190CockpitStatic ***
ObjectTemplate.create Bundle FW190CockpitStatic
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.geometry FW190_fus_M1
rem ----------------------------------------------
ObjectTemplate.addTemplate FW190cockpit
ObjectTemplate.setPosition 0.001/1.159/-1.036
rem ----------------------------------------------

rem *** FW190Cockpit ***
ObjectTemplate.create SimpleObject FW190Cockpit
ObjectTemplate.geometry FW190_can_M1

rem *** FW190CockpitBlurred ***
ObjectTemplate.create SimpleObject FW190CockpitBlurred
ObjectTemplate.geometry 1P_fw190_M1



rem *** FW190cockpitSelector ***
LodSelectorTemplate.create DistCompareSelector FW190cockpitSelector
LodSelectorTemplate.addLodDistance 10
LodSelectorTemplate.addLodComparison 0.5



rem *** fw190stickrotation ***
ObjectTemplate.create RotationalBundle fw190stickrotation
rem ---------------------------------------------
ObjectTemplate.addTemplate fw190Stick
rem ---------------------------------------------
ObjectTemplate.setMinRotation 0/0/-30
ObjectTemplate.setMaxRotation 0/0/30
ObjectTemplate.setMaxSpeed 0/0/100
ObjectTemplate.setAcceleration 0/0/-100
ObjectTemplate.setInputToRoll c_PIRoll
ObjectTemplate.setAutomaticReset 1


rem *** fw190Stick ***
ObjectTemplate.create RotationalBundle fw190Stick
ObjectTemplate.geometry
rem ---------------------------------------------
ObjectTemplate.addTemplate lodfw190Steering
rem ---------------------------------------------
ObjectTemplate.setMinRotation 0/-20/0
ObjectTemplate.setMaxRotation 0/20/0
ObjectTemplate.setMaxSpeed 0/100/0
ObjectTemplate.setAcceleration 0/110/0
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1


rem *** lodfw190Steering ***
ObjectTemplate.create LodObject lodfw190Steering
rem -------------------------------------
ObjectTemplate.addTemplate fw190HighRSteering
ObjectTemplate.addTemplate fw190LowSteering
rem -------------------------------------
ObjectTemplate.lodSelector fw190SteeringSelector

rem *** fw190HighRSteering ***
ObjectTemplate.create SimpleObject fw190HighRSteering
ObjectTemplate.geometry fw190_stick

rem *** fw190LowSteering ***
ObjectTemplate.create SimpleObject fw190LowSteering

LodSelectorTemplate.create DistanceSelector fw190SteeringSelector
LodSelectorTemplate.addLodDistance 0.6


rem *** FW190Camera ***
ObjectTemplate.create Camera FW190Camera
ObjectTemplate.setMinRotation -65/-40/0
ObjectTemplate.setMaxRotation 65/5/0
ObjectTemplate.setMaxSpeed 90/-90/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.toggleMouseLook 1
ObjectTemplate.OutsideHudOffset 0/-0.6/3.5


rem *** FW190Entry ***
ObjectTemplate.create EntryPoint FW190Entry
ObjectTemplate.setEntryRadius 5


rem *** FW190Seat ***
ObjectTemplate.create SeatObject FW190Seat
ObjectTemplate.seatFlags c_SeatShowHalfBodySoldier


rem *** lodFW190Propeller ***
ObjectTemplate.create LodObject lodFW190Propeller
rem -------------------------------------
ObjectTemplate.addTemplate FW190PropellerStatic
ObjectTemplate.addTemplate FW190PropellerBlurred
rem -------------------------------------
ObjectTemplate.lodSelector FW190PropSelector


rem *** FW190PropellerStatic ***
ObjectTemplate.create SimpleObject FW190PropellerStatic
ObjectTemplate.geometry FW190_prop_m1


rem *** FW190PropellerBlurred ***
ObjectTemplate.create SimpleObject FW190PropellerBlurred
ObjectTemplate.geometry FW190_prp2


LodSelectorTemplate.create CompareSelector FW190PropSelector
LodSelectorTemplate.addLodComparison 0.08


rem *** FW190LandingGearR ***
ObjectTemplate.create LandingGear FW190LandingGearR
ObjectTemplate.loadSoundScript ../Common/Sounds/LandingGear.ssc
ObjectTemplate.geometry FW190_gear_right_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate FW190wheelR
ObjectTemplate.setPosition -0.47/-1.45/.47
rem -------------------------------------
ObjectTemplate.setMinRotation -24/0/-69
ObjectTemplate.setMaxSpeed -30/0/-30
ObjectTemplate.setAcceleration 75/0/75
ObjectTemplate.setGearDownHeight 25
ObjectTemplate.setGearUpHeight 23
ObjectTemplate.setGearDownEngineInput 0.4
ObjectTemplate.setGearUpEngineInput 0.7


rem *** FW190LandingGearL ***
ObjectTemplate.create LandingGear FW190LandingGearL
ObjectTemplate.loadSoundScript ../Common/Sounds/LandingGear.ssc
ObjectTemplate.geometry FW190_gear_left_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate FW190wheelL
ObjectTemplate.setPosition 0.47/-1.45/.47
rem -------------------------------------
ObjectTemplate.setMaxRotation 24/0/69
ObjectTemplate.setMaxSpeed 30/0/30
ObjectTemplate.setAcceleration 75/0/75
ObjectTemplate.setGearDownHeight 25
ObjectTemplate.setGearUpHeight 23
ObjectTemplate.setGearDownEngineInput 0.4
ObjectTemplate.setGearUpEngineInput 0.7


rem *** FW190WheelBack ***
ObjectTemplate.create RotationalBundle FW190WheelBack
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate FW190WheelBackSpring
ObjectTemplate.setPosition 0/-0.054/0
rem -------------------------------------
ObjectTemplate.setMinRotation -20/0/0
ObjectTemplate.setMaxRotation 20/0/0
ObjectTemplate.setMaxSpeed 200/0/0
ObjectTemplate.setAcceleration -110/0/0
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1


rem *** FW190Simple ***
ObjectTemplate.create SimpleObject FW190Simple
ObjectTemplate.geometry FW190_fus_m1


rem *** FW190Wreck ***
ObjectTemplate.create SimpleObject FW190Wreck
ObjectTemplate.geometry wreck_fw190_m1


rem *** FW190LodSelector ***
LodSelectorTemplate.create DistCompareSelector2 FW190LodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 200