This page is under construction
Archives/BF1942/levels/Dustbowl Modded/DustBowl_Modded.rfa
bf1942/levels/DustBowl_Modded/objects/Stationary_Weapons/Stationary_Stinger/Objects.con
rem ============================================================================
rem - BF242
rem - Stinger on Tripod
rem
ObjectTemplate.create PlayerControlObject Stationary_Stinger
ObjectTemplate.networkableInfo StatStinger_BodyInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.geometry Stinger_Tripod
ObjectTemplate.aiTemplate StatStingerAI
ObjectTemplate.setPcoId 0
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.HasArmor 1
ObjectTemplate.HitPoints 50
ObjectTemplate.MaxHitPoints 50
ObjectTemplate.material 52
ObjectTemplate.addArmorEffect 0 e_Browning_Destroy 0/0.1/0.8
ObjectTemplate.addArmorEffect 0 e_RichoCascadesPlane 0/0.25/0
ObjectTemplate.fadeAtTimeToLiveAfterDeath 0
ObjectTemplate.timetoliveafterdeath 4
rem -------------------------------------
rem ObjectTemplate.addTemplate Stationary_Stinger_Holder
ObjectTemplate.addTemplate Stationary_Stinger_Entry
ObjectTemplate.setPosition 0/0.5/-0.6
ObjectTemplate.addTemplate Stationary_Stinger_Mount
ObjectTemplate.setPosition 0/0.225/0.0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0/0.25/-1.2 0/0/0
Objecttemplate.GUIIndex 81
ObjectTemplate.setVehicleIcon "Vehicle/USAAS_Stinger.tga"
ObjectTemplate.setVehicleIconPos 35/13
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_stinger_missile.tga"
ObjectTemplate.setPrimaryAmmoBar ABReloadBarOnly
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTAAGun
ObjectTemplate.setToolTipType TTAAGun
ObjectTemplate.setMinimapIcon "Minimap/mini_airdefsmall.dds"

rem *** Entry ***
ObjectTemplate.create EntryPoint Stationary_Stinger_Entry
ObjectTemplate.setEntryRadius 2.5

rem *** Stationary_Stinger_Base ***
rem ** mid section on the mount/tripod with viewport and handles
rem **
ObjectTemplate.create SimpleObject Stationary_Stinger_Base
ObjectTemplate.geometry Stinger_Base
ObjectTemplate.setHasCollisionPhysics 1

rem *** Stationary_Stinger_Base ***
ObjectTemplate.create RotationalBundle Stationary_Stinger_Mount
ObjectTemplate.setNetworkableInfo StatStinger_BodyInfo
ObjectTemplate.geometry Stinger_Mount
ObjectTemplate.setHasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate Stationary_Stinger_Seat
ObjectTemplate.setPosition -0.35/1.0/-0.25
ObjectTemplate.setRotation 0/-5/0
ObjectTemplate.addTemplate Stationary_Stinger_Base
ObjectTemplate.setPosition 0/0.025/0
ObjectTemplate.addTemplate Stationary_Stinger_Pitch
ObjectTemplate.setPosition 0/0.825/-0.125
rem -------------------------------------
ObjectTemplate.setMaxSpeed 60/0/0
ObjectTemplate.setAcceleration 1000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX

ObjectTemplate.create RotationalBundle Stationary_Stinger_Pitch
ObjectTemplate.setNetworkableInfo StatStinger_TurretInfo
rem ObjectTemplate.setAttachToListener 1
rem -------------------------------------
ObjectTemplate.addTemplate lodStinger_Cockpit
ObjectTemplate.addTemplate Stinger_Unlimited
ObjectTemplate.setPosition 0.25/0.015/-0.115
ObjectTemplate.addTemplate Stationary_Stinger_Camera
ObjectTemplate.setPosition -0.15/0.36/0.30
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-55/0
ObjectTemplate.setMaxRotation 0/15/0
ObjectTemplate.setMaxSpeed 0/40/0
ObjectTemplate.setAcceleration 0/1000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY

ObjectTemplate.create SeatObject Stationary_Stinger_Seat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.seatAnimationUpperBody Ub_KneelMortar
ObjectTemplate.seatAnimationLowerBody Lb_KneelMortar

ObjectTemplate.create Camera Stationary_Stinger_Camera
ObjectTemplate.setMaxSpeed 0/0/0
ObjectTemplate.setAcceleration 0/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY

rem -- Gunner Sights

ObjectTemplate.create LodObject lodStinger_Cockpit
rem -------------------------------------
ObjectTemplate.addTemplate Stinger_Cockpit_External
ObjectTemplate.setPosition 0.1075/0.0075/0.04
ObjectTemplate.addTemplate Stinger_Cockpit_Internal
ObjectTemplate.setPosition -0.15/0.37/0.60
rem -------------------------------------
ObjectTemplate.lodSelector Stinger_Cockpit_Selector

ObjectTemplate.create SimpleObject Stinger_Cockpit_External
ObjectTemplate.geometry Stinger_platform
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasDynamicShadow 1

ObjectTemplate.create SimpleObject Stinger_Cockpit_Internal
ObjectTemplate.geometry Stinger_Sight

rem *** Stinger_Cockpit_Selector***
LodSelectorTemplate.create DistCompareSelector Stinger_Cockpit_Selector
LodSelectorTemplate.addLodDistance 1
LodSelectorTemplate.addLodComparison 0.50