This page is under construction
Archives/bf1942/levels/El_Alamein.rfa
bf1942/levels/El_Alamein/objects/VierlingBattery/Objects.con

rem *** VierlingBattery_345 ***
ObjectTemplate.create PlayerControlObject VierlingBattery_345
ObjectTemplate.setNetworkableInfo Vierling_BodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 400
ObjectTemplate.maxhitpoints 400
ObjectTemplate.material 45
ObjectTemplate.explosionRadius 4
ObjectTemplate.explosionDamage 1
ObjectTemplate.addArmorEffect 35 e_AA-GunDamage 0/0.3/0
ObjectTemplate.addArmorEffect 0 e_ScrapAAVierling 0/1.2/0
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/1.2/0
ObjectTemplate.aiTemplate Vierling
ObjectTemplate.timetoliveafterdeath 0
rem -------------------------------------
ObjectTemplate.addTemplate Vierling_Entry
ObjectTemplate.addTemplate VierlingBattery_body
ObjectTemplate.setPosition 0/0.38/0.0
ObjectTemplate.addTemplate Vierling_base

ObjectTemplate.addTemplate VierlingBattery_body2
ObjectTemplate.setPosition -8.366/0.3857/-0.23
ObjectTemplate.addTemplate Vierling_base
ObjectTemplate.setPosition -8.366/0.0057/-0.23

ObjectTemplate.addTemplate VierlingBattery_bodyB
ObjectTemplate.setPosition 0/0.38/0.0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2/0.5/0 0/0/0
ObjectTemplate.GUIIndex 19
ObjectTemplate.setVehicleIcon "Vehicle/Icon_Vierling.tga"
rem ObjectTemplate.setVehicleIconPos 60/81
ObjectTemplate.setNumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_20mmFlak38HET+APT.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/icon_20mmFlak38HET+APT.tga"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTAAGun
ObjectTemplate.setToolTipType TTAAGun
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_aa_16x16.tga"


rem *** VierlingBattery_body ***
ObjectTemplate.create RotationalBundle VierlingBattery_body
ObjectTemplate.setNetworkableInfo Vierling_GunXInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.loadSoundScript ../../../../../objects/Vehicles/Land/Vierling/Sounds/VierlingCarriage.ssc
rem -------------------------------------
ObjectTemplate.addTemplate lodVierlingTower

ObjectTemplate.addTemplate VierlingBatteryGunBase
ObjectTemplate.setPosition 0/0.52/0

ObjectTemplate.addTemplate VierlingCamBase
ObjectTemplate.setPosition -0.32/0.992/-1.047

ObjectTemplate.addTemplate Vierling_handleX
ObjectTemplate.setPosition -0.06/0.7/-0.83
ObjectTemplate.setRotation 0/-35/0
ObjectTemplate.addTemplate Vierling_handleY
ObjectTemplate.setPosition 0.1/0.62/-0.8
ObjectTemplate.setRotation 0/0/-90

ObjectTemplate.addTemplate VierlingGunnerSeat
ObjectTemplate.setPosition 0/0.45/-1.25
rem -------------------------------------
ObjectTemplate.setMaxSpeed 75/0/0
ObjectTemplate.setAcceleration 250/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX


rem *** VierlingBattery_bodyB ***
ObjectTemplate.create RotationalBundle VierlingBattery_bodyB
ObjectTemplate.setNetworkableInfo Vierling_GunXInfo
rem -------------------------------------
ObjectTemplate.addTemplate VierlingBatteryGunBaseB
ObjectTemplate.setPosition 0/0.52/0
rem -------------------------------------
ObjectTemplate.setMaxSpeed 75/0/0
ObjectTemplate.setAcceleration 250/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX

rem *** VierlingBattery_body2 ***
ObjectTemplate.create RotationalBundle VierlingBattery_body2
ObjectTemplate.setNetworkableInfo Vierling_GunXInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.loadSoundScript ../../../../../objects/Vehicles/Land/Vierling/Sounds/VierlingCarriage.ssc
rem -------------------------------------
ObjectTemplate.addTemplate VierlingTowerExternal

ObjectTemplate.addTemplate VierlingBatteryGunBase2
ObjectTemplate.setPosition 0/0.52/0

ObjectTemplate.addTemplate VierlingCamBase2
ObjectTemplate.setPosition -0.32/0.992/-1.047

ObjectTemplate.addTemplate Vierling_handleX2
ObjectTemplate.setPosition -0.06/0.7/-0.83
ObjectTemplate.setRotation 0/-35/0
ObjectTemplate.addTemplate Vierling_handleY2
ObjectTemplate.setPosition 0.1/0.62/-0.8
ObjectTemplate.setRotation 0/0/-90
rem -------------------------------------
ObjectTemplate.setMaxSpeed 75/0/0
ObjectTemplate.setAcceleration 250/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX


rem *** Vierling_handleX2 ***
ObjectTemplate.create RotationalBundle Vierling_handleX2
ObjectTemplate.geometry FlakVierling_handle_m1
rem ---------------------------------------------------
ObjectTemplate.setMaxSpeed 1000/0/0
ObjectTemplate.setAcceleration 10000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX

rem *** Vierling_handleY2 ***
ObjectTemplate.create RotationalBundle Vierling_handleY2
ObjectTemplate.geometry FlakVierling_handle_m1
rem ---------------------------------------------------
ObjectTemplate.setMaxSpeed 1000/0/0
ObjectTemplate.setAcceleration 10000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookY


rem *** VierlingBatteryGunBase ***
ObjectTemplate.create RotationalBundle VierlingBatteryGunBase
ObjectTemplate.setNetworkableInfo Vierling_GunYInfo
ObjectTemplate.geometry FlakVierling_Gunbase_m1
ObjectTemplate.setAttachToListener 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.loadSoundScript ../../../../../objects/Vehicles/Land/Vierling/Sounds/VierlingCarriage.ssc
rem -------------------------------------
ObjectTemplate.addTemplate VierlingBatteryGuns

ObjectTemplate.addTemplate VierlingSightArm
ObjectTemplate.setPosition -0.32/0.25/0.32
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-90/0
ObjectTemplate.setMaxRotation 0/12/0
ObjectTemplate.setMaxSpeed 0/75/0
ObjectTemplate.setAcceleration 0/250/0
ObjectTemplate.setInputToPitch c_PIMouseLookY

rem *** VierlingBatteryGunBaseB ***
ObjectTemplate.create RotationalBundle VierlingBatteryGunBaseB
ObjectTemplate.setNetworkableInfo Vierling_GunYInfo
rem -------------------------------------
ObjectTemplate.addTemplate VierlingBatteryGuns2
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-90/0
ObjectTemplate.setMaxRotation 0/12/0
ObjectTemplate.setMaxSpeed 0/75/0
ObjectTemplate.setAcceleration 0/250/0
ObjectTemplate.setInputToPitch c_PIMouseLookY

rem *** VierlingBatteryGunBase2 ***
ObjectTemplate.create RotationalBundle VierlingBatteryGunBase2
ObjectTemplate.setNetworkableInfo Vierling_GunYInfo
ObjectTemplate.geometry FlakVierling_Gunbase_m1
ObjectTemplate.setAttachToListener 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.loadSoundScript ../../../../../objects/Vehicles/Land/Vierling/Sounds/VierlingCarriage.ssc
rem -------------------------------------
ObjectTemplate.addTemplate VierlingBatteryGunsAlt
ObjectTemplate.addTemplate VierlingBatteryGunsAlt2

ObjectTemplate.addTemplate VierlingSightArm
ObjectTemplate.setPosition -0.32/0.25/0.32
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-90/0
ObjectTemplate.setMaxRotation 0/12/0
ObjectTemplate.setMaxSpeed 0/75/0
ObjectTemplate.setAcceleration 0/250/0
ObjectTemplate.setInputToPitch c_PIMouseLookY


rem *** VierlingCamBase2 ***
ObjectTemplate.create RotationalBundle VierlingCamBase2
ObjectTemplate.setNetworkableInfo Vierling_SightYInfo
rem -------------------------------------
ObjectTemplate.addTemplate VierlingSightExternal
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-90/0
ObjectTemplate.setMaxRotation 0/12/0
ObjectTemplate.setMaxSpeed 0/75/0
ObjectTemplate.setAcceleration 0/250/0
ObjectTemplate.setInputToPitch c_PIMouseLookY