This page is under construction
Archives/bf1942/Levels/Raid_on_Agheila.rfa
Bf1942/Levels/Raid_on_Agheila/Objects/RocketPlatform/Objects.con


rem *** RocketPlatform ***
ObjectTemplate.create PlayerControlObject RocketPlatform
ObjectTemplate.NameTagOffset -0.3/-0.2/0
ObjectTemplate.setNetworkableInfo RocketLauncherBodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.damageFromWater 1
ObjectTemplate.drag 15
ObjectTemplate.mass 2500
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 1
ObjectTemplate.exitTimer 0.75
ObjectTemplate.hitpoints 50
ObjectTemplate.maxhitpoints 50
ObjectTemplate.material 45
ObjectTemplate.criticalDamage 6
ObjectTemplate.hpLostWhileCriticalDamage 2
ObjectTemplate.explosionForceMod 20
ObjectTemplate.hpLostWhileUpSideDown 5
ObjectTemplate.hpLostWhileDamageFromWater 5
ObjectTemplate.addArmorEffect 35 e_AA-GunDamage 0/0.3/0
ObjectTemplate.addArmorEffect 0 e_ScrapRocketPlatform 0/1.2/0
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/1.2/0
ObjectTemplate.aiTemplate RocketLauncherPassengerUnit
rem -------------------------------------
ObjectTemplate.addTemplate lodRocketPlatform
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -1.5/1/-0.8 0/0/0
ObjectTemplate.GUIIndex 53
ObjectTemplate.setVehicleIcon "Vehicle/Icon_RocketStation.tga"
ObjectTemplate.setVehicleIconPos 75/75
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_rocket.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTATGun
ObjectTemplate.setToolTipType TTRocketPlatform
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_stationary_16x16.tga"
ObjectTemplate.hasRestrictedExit 1


rem *** lodRocketPlatform ***
ObjectTemplate.create LodObject lodRocketPlatform
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate RocketPlatformComplex
ObjectTemplate.addTemplate RocketPlatformWreck
rem -------------------------------------
ObjectTemplate.lodSelector lodRocketPlatformSelector

rem *** RocketPlatformComplex ***
ObjectTemplate.create Bundle RocketPlatformComplex
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.geometry RocketLauncher_Rocket_Base_M1
rem -------------------------------------
ObjectTemplate.addTemplate RocketLauncher_Platform_M1
ObjectTemplate.addTemplate RocketLauncherEntry
ObjectTemplate.addTemplate RocketLauncherHorizontalPCO1
rem -------------------------------------

rem *** RocketPlatformWreck ***
ObjectTemplate.create SimpleObject RocketPlatformWreck
ObjectTemplate.geometry RocketLauncher_Platform_M1

rem *** lodRocketPlatformSelector ***
LodSelectorTemplate.create DistCompareSelector2 lodRocketPlatformSelector
LodSelectorTemplate.hasDestroyedLod 1


rem *** RocketLauncherEntry ***
ObjectTemplate.create EntryPoint RocketLauncherEntry
ObjectTemplate.setEntryRadius 2.3


rem *** RocketLauncherHorizontalPCO1 ***
ObjectTemplate.create RotationalBundle RocketLauncherHorizontalPCO1
ObjectTemplate.setNetworkableInfo RocketLauncherTurretInfo
ObjectTemplate.loadSoundScript Sounds/RocketLauncherTower.ssc
ObjectTemplate.geometry RocketLauncher_Rocket_Seat_M1
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate RocketLauncherVerticalPC01
ObjectTemplate.setPosition 0/1.27/-0.269

ObjectTemplate.addTemplate RocketLauncherPassengerSeat
ObjectTemplate.setPosition -0.897/0.981/-0.105

ObjectTemplate.addTemplate Attach_R_Hand
ObjectTemplate.setPosition -0.699/1/0
ObjectTemplate.addTemplate Attach_L_Hand
ObjectTemplate.setPosition -1.099/1/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/0/0
ObjectTemplate.setMaxSpeed 50/0/0
ObjectTemplate.setAcceleration 1000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setAutomaticYawStabilization 1

rem *** RocketLauncherVerticalPC01 ***
ObjectTemplate.create RotationalBundle RocketLauncherVerticalPC01
ObjectTemplate.setNetworkableInfo RocketLauncherTurretInfo
ObjectTemplate.geometry RocketLauncher_Rocket_Barrels_M1
ObjectTemplate.loadSoundScript Sounds/RocketLauncherTurret.ssc
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodRocketLauncherCockpit
ObjectTemplate.addTemplate RocketLauncher_RocketLauncher
ObjectTemplate.addTemplate RocketLauncherCameraPC01
ObjectTemplate.setPosition -0.609/0.3/0.565
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-45/0
ObjectTemplate.setMaxRotation 0/10/0
ObjectTemplate.setMaxSpeed 0/25/0
ObjectTemplate.setAcceleration 0/500/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setAutomaticPitchStabilization 1

rem *** RocketLauncherCameraPC01 ***
ObjectTemplate.create Camera RocketLauncherCameraPC01
ObjectTemplate.setMaxSpeed 0/0/0
ObjectTemplate.setAcceleration 0/0/0
ObjectTemplate.setInputToYaw c_PIMenuSelect3
ObjectTemplate.setInputToPitch c_PIMenuSelect3
ObjectTemplate.setInputToRoll c_PIMenuSelect3

rem *** RocketLauncherPassengerSeat ***
ObjectTemplate.create SeatObject RocketLauncherPassengerSeat
ObjectTemplate.seatFlags c_SeatShowHalfBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.LeftAngleMultiplier 0.1
ObjectTemplate.RightAngleMultiplier 0.1
ObjectTemplate.HeadMaxAngleMultiplier 0.1
ObjectTemplate.UpAngleMultiplier 0.1
ObjectTemplate.DownAngleMultiplier 0.1

rem *** lodRocketLauncherCockpit ***
ObjectTemplate.create LodObject lodRocketLauncherCockpit
rem -------------------------------------
ObjectTemplate.addTemplate RocketLauncherCockpitExternal
ObjectTemplate.addTemplate RocketLauncherCockpitInternal
ObjectTemplate.setPosition -0.062/0.222/0.675
rem -------------------------------------
ObjectTemplate.lodselector RocketLaunchercockpitSelector

ObjectTemplate.create SimpleObject RocketLauncherCockpitExternal

ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1

ObjectTemplate.create SimpleObject RocketLauncherCockpitInternal
ObjectTemplate.geometry 1P_PanzerIV_Gunner_M1

LodSelectorTemplate.create DistCompareSelector RocketLaunchercockpitSelector
LodSelectorTemplate.addLodComparison 0.5
LodSelectorTemplate.addLodDistance 10

rem *** RocketLauncher_Platform_M1 ***
ObjectTemplate.create SimpleObject RocketLauncher_Platform_M1
ObjectTemplate.geometry RocketLauncher_Platform_M1