This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/Stationary_KPV/Objects.con
rem
rem *** StationaryKPV_mg ***
rem
ObjectTemplate.create PlayerControlObject Stationary_KPV
ObjectTemplate.networkableInfo Stationary_mg_BodyInfo
ObjectTemplate.setSoldierExitLocation -0.5/0/-0.8 0/0/0
ObjectTemplate.aiTemplate Stationary_KPVai
ObjectTemplate.geometry KPVBase
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.setPcoId 0
ObjectTemplate.HasArmor 1
ObjectTemplate.HitPoints 45
ObjectTemplate.MaxHitPoints 45
ObjectTemplate.Material 45
Objecttemplate.GUIIndex 80
ObjectTemplate.setVehicleIcon "Vehicle/kpv-4s.tga"
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_14,5mmKPVT.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTStationaryMG
ObjectTemplate.setToolTipType TTStationaryMG

ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_stationary_16x16.tga"

ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setHasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate StationaryKPVPoint
ObjectTemplate.setPosition 0/0.28/0
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate StationaryKPVSeat
ObjectTemplate.setPosition 0/0.18/-0.75
ObjectTemplate.setRotation 0/-15/0
ObjectTemplate.addTemplate StationaryKPVEntry
ObjectTemplate.setPosition 0/0.68/-1
ObjectTemplate.setRotation 0/0/0
rem -------------------------------------
rem
rem *** StationaryKPVpoint ***
rem
ObjectTemplate.create RotationalBundle StationaryKPVPoint
ObjectTemplate.networkableInfo Stationary_mg_TurretInfo
rem -------------------------------------
ObjectTemplate.addTemplate StationaryKPVRotation
rem -------------------------------------
ObjectTemplate.setMinRotation -30/0/0
ObjectTemplate.setMaxRotation 30/0/0
ObjectTemplate.setMaxSpeed 40/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw 4
ObjectTemplate.setInputToPitch 5

rem
rem *** StationaryKPVRotation ***
rem
ObjectTemplate.create RotationalBundle StationaryKPVRotation
ObjectTemplate.networkableInfo Stationary_mg_TurretInfo
rem -------------------------------------
ObjectTemplate.addTemplate KPV
ObjectTemplate.setPosition 0/-0.05/0.4
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate StationaryKPVCamera
ObjectTemplate.setPosition 0/0.3/-0.1
ObjectTemplate.setRotation 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-30/0
ObjectTemplate.setMaxRotation 0/10/0
ObjectTemplate.setMaxSpeed 0/40/0
ObjectTemplate.setAcceleration 0/5000/0
ObjectTemplate.setInputToYaw 4
ObjectTemplate.setInputToPitch 5

rem
rem *** StationaryKPVCamera ***
rem
ObjectTemplate.create Camera StationaryKPVCamera
rem -------------------------------------
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/0/0
ObjectTemplate.setPivotPosition 0/0/0
ObjectTemplate.setMaxSpeed 0/0/0
ObjectTemplate.setAcceleration 0/0/0
ObjectTemplate.setContinousRotationSpeed 0/0/0
ObjectTemplate.setInputToYaw c_PINone
ObjectTemplate.setInputToPitch c_PINone
ObjectTemplate.setInputToRoll c_PINone
ObjectTemplate.setHasTarget 0
rem
rem *** StationaryKPVEntry ***
rem
ObjectTemplate.create EntryPoint StationaryKPVEntry
ObjectTemplate.setEntryRadius 1.1

rem
rem *** StationaryKPVSeat ***
rem
ObjectTemplate.create SeatObject StationaryKPVSeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInWilly
ObjectTemplate.seatAnimationLowerBody Lb_PassengerInWilly