This page is under construction
Archives/bf1942/levels/ABF_Moon.rfa
bf1942/levels/ABF_Moon/objects/Vehicles/Air/WasserfallRocket/Objects.con
rem *** WasserfallRocket ***
ObjectTemplate.create PlayerControlObject WasserfallRocket
ObjectTemplate.setNetworkableInfo WasserfallRocket_body_info
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.drag 0.09
ObjectTemplate.mass 2500
ObjectTemplate.inertiaModifier 0.85/0.833/0.84
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.explosionRadius 25
ObjectTemplate.explosionDamage 100
ObjectTemplate.hasArmor 1
ObjectTemplate.destroyOnExit 0
ObjectTemplate.angleMod 1
ObjectTemplate.vehicleCameraShake CstMachinegun
ObjectTemplate.vehicleFov 1.5
ObjectTemplate.speedMod 2
ObjectTemplate.hitpoints 10
ObjectTemplate.maxhitpoints 10
ObjectTemplate.material 60
ObjectTemplate.criticalDamage 1
ObjectTemplate.hpLostWhileCriticalDamage 0
ObjectTemplate.explosionForceMod 15
ObjectTemplate.hpLostWhileUpSideDown 0
ObjectTemplate.hpLostWhileDamageFromWater 0
ObjectTemplate.addArmorEffect 7 em_StukaDamage 0/0.102/-1.21
ObjectTemplate.addArmorEffect 7 em_PlaneDamage 0/0.103/-1.21
ObjectTemplate.addArmorEffect 5 e_StukaFire 0/0.6/-1.11
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/0/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal_Willy -5/0/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal_Willy 0/0/-5
ObjectTemplate.addArmorEffect 0 e_ExplBombBigNoShock 5/0/5
ObjectTemplate.addArmorEffect 0 e_ExplBombBigNoShock 5/0/-5
ObjectTemplate.addArmorEffect 0 e_ExplBombBigNoShock -5/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.damageFromWater 0
ObjectTemplate.aiTemplate WasserFallRocket
ObjectTemplate.CameraDelayTime 5.0
ObjectTemplate.CameraDelayDistance 15.0
ObjectTemplate.addTemplate WasserFallGuns
ObjectTemplate.setPosition 0.0/0.0/0.0
rem -------------------------------------
ObjectTemplate.addTemplate lodWasserfallRocket
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2.5/0/-3 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.setVehicleIcon "Vehicle/Icon_wasserfall.tga"
ObjectTemplate.setVehicleIconPos 69/90
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCAir
ObjectTemplate.setVehicleType VTFighter
ObjectTemplate.setToolTipType TTWasserfall
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_rocket_16x16.dds"
ObjectTemplate.setForwardMod 100


rem *** lodWasserfallRocket ***
ObjectTemplate.create LodObject lodWasserfallRocket
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate WasserfallRocketComplex
ObjectTemplate.addTemplate WasserfallRocketSimple
ObjectTemplate.addTemplate WasserfallRocketWreck
rem -------------------------------------
ObjectTemplate.lodSelector WasserfallRocketLodSelector


rem *** WasserfallRocketComplex ***
ObjectTemplate.create Bundle WasserfallRocketComplex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodWasserfallRocketCockpit
ObjectTemplate.addTemplate WasserfallRocketCamera
ObjectTemplate.setPosition 0/0/3.251
ObjectTemplate.addTemplate WasserfallRocketEntry
ObjectTemplate.setPosition 0/0/-0.999
ObjectTemplate.addTemplate WasserfallRocketAirbreakLeft
ObjectTemplate.setPosition -1.538/0.05/-0.882
ObjectTemplate.setRotation 6.973/-0.612/-5.036
ObjectTemplate.addTemplate WasserfallRocketAirbreakRight
ObjectTemplate.setPosition 1.539/0.05/-0.882
ObjectTemplate.setRotation -6.972/-0.612/5.037
ObjectTemplate.addTemplate WasserfallRocketRudderBackVertical
ObjectTemplate.setPosition 0/1.244/-5.452
ObjectTemplate.setRotation 0/0/-89.999
ObjectTemplate.addTemplate WasserfallRocketBodyWingVertical
ObjectTemplate.setPosition 0/0/0.3
ObjectTemplate.setRotation 0/0/-89.999
ObjectTemplate.addTemplate WasserfallRocketRudderBackLeft
ObjectTemplate.setPosition -0.889/0.89/-5.306
ObjectTemplate.addTemplate WasserfallRocketRudderBackRight
ObjectTemplate.setPosition 0.89/0.89/-5.306
ObjectTemplate.addTemplate WasserfallRocketRudderFrontLeft
ObjectTemplate.setPosition -3.814/0.275/-0.371
ObjectTemplate.setRotation 9/-0.862/-5.499
ObjectTemplate.addTemplate WasserfallRocketRudderFrontRight
ObjectTemplate.setPosition 3.815/0.275/-0.371
ObjectTemplate.setRotation -8.999/-0.862/5.5
ObjectTemplate.addTemplate WasserfallRocketEngine
ObjectTemplate.setPosition 0/0/0
rem -------------------------------------

rem *** lodWasserfallRocketCockpit ***
ObjectTemplate.create LodObject lodWasserfallRocketCockpit
rem -------------------------------------
ObjectTemplate.addTemplate WasserfallRocketCockpitExternal
ObjectTemplate.addTemplate WasserfallRocketCockpitInternal
rem -------------------------------------
ObjectTemplate.lodSelector WasserfallRocketcockpitSelector

rem *** WasserfallRocketCockpitExternal ***
ObjectTemplate.create Bundle WasserfallRocketCockpitExternal
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.geometry WasserfallRocket_hull_m1

rem *** WasserfallRocketCockpitInternal ***
ObjectTemplate.create SimpleObject WasserfallRocketCockpitInternal


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


rem *** WasserfallRocketCamera ***
ObjectTemplate.create Camera WasserfallRocketCamera
ObjectTemplate.setMinRotation -70/-60/0
ObjectTemplate.setMaxRotation 70/1/0
ObjectTemplate.setMaxSpeed 350/350/0
ObjectTemplate.setAcceleration 10000/-10000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.toggleMouseLook 1
ObjectTemplate.OutsideHudOffset 0/0/4.5

rem *** WasserfallRocketEntry ***
ObjectTemplate.create EntryPoint WasserfallRocketEntry
ObjectTemplate.setEntryRadius 2

rem *** WasserfallRocketSimple ***
ObjectTemplate.create SimpleObject WasserfallRocketSimple
ObjectTemplate.geometry WasserfallRocket_hull_L1

rem *** WasserfallRocketWreck ***
ObjectTemplate.create SimpleObject WasserfallRocketWreck
rem was ObjectTemplate.geometry Wasserfall_Wreck_Front_M1
ObjectTemplate.geometry none
rem usually no wreckage remains after that kind of explosion! :)

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