This page is under construction
Archives/bf1942/levels/navalbattle_twins.rfa
bf1942/levels/navalbattle_twins/Objects/Flettner/Objects.con
ObjectTemplate.create PlayerControlObject Flettner_AT
ObjectTemplate.NameTagOffset -0.3/-0.2/0
ObjectTemplate.setNetworkableInfo FlettnerBodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.CullRadiusScale 3
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.hitpoints 100
ObjectTemplate.maxhitpoints 100
rem *** AA Splash mod NEW ***
ObjectTemplate.material 22
rem *** AA Splash mod OLD ***
rem ObjectTemplate.material 22
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_AT
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_76,2mmRP-3.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/icon_spotter.tga"
ObjectTemplate.setSecondaryAmmoBar ABIconOnly
ObjectTemplate.setCrossHairType CHTNone
rem SightTweak
rem ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCAir
ObjectTemplate.setVehicleType VTBomber
ObjectTemplate.setToolTipType TTHelicopter
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_Flettner.tga"
ObjectTemplate.hasRestrictedExit 1

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

rem *** Flettner_AT_Complex ***
ObjectTemplate.create Bundle Flettner_AT_Complex
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_MeterEngine
ObjectTemplate.setPosition 0/0/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

ObjectTemplate.addTemplate FlettnerWeapon_Panzerschreck
ObjectTemplate.addTemplate Air_Spotter
rem -------------------------------------

ObjectTemplate.create SupplyDepot Liberty_Tender_SupplyDepotAir
ObjectTemplate.radius 100
ObjectTemplate.team 2

ObjectTemplate.addAmmoType 8 -1 50 0
ObjectTemplate.addAmmoType 9 -1 1 0

ObjectTemplate.workOnVehicles 1
ObjectTemplate.workOnSoldiers 0