This page is under construction
Archives/BF1942/levels/Dustbowl Modded/DustBowl_Modded.rfa
bf1942/levels/DustBowl_Modded/objects/vehicles/land/Shilka/Objects.con
rem ******************************************
rem - DesertCombat
rem - Version .39
rem - July 15th
rem - Revision 1
rem ******************************************
rem *** Tan removed exposed gunner and gave air radar 30 Jan 2004 ***
rem *** Shilka ***
ObjectTemplate.create PlayerControlObject Shilka
ObjectTemplate.NameTagOffset 0/-0.3/0
ObjectTemplate.setNetworkableInfo ShilkaBodyInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.exitTimer 1
ObjectTemplate.drag 2
ObjectTemplate.mass 25000
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 200
ObjectTemplate.maxhitpoints 200
ObjectTemplate.material 51
ObjectTemplate.speedMod 1
ObjectTemplate.criticalDamage 12
ObjectTemplate.hpLostWhileCriticalDamage 1.5
ObjectTemplate.explosionForceMod 13
ObjectTemplate.hpLostWhileUpSideDown 10
ObjectTemplate.hpLostWhileDamageFromWater 10
ObjectTemplate.addArmorEffect 50 e_PanzDamage 0/0.9/-1.8
ObjectTemplate.addArmorEffect 50 e_warning_tank2 0/0/0
ObjectTemplate.addArmorEffect 12 e_warning_tank2 0/0/0
ObjectTemplate.addArmorEffect 12 e_PanzFire 0/1.2/-1.4
ObjectTemplate.addArmorEffect 0 e_ExplGas_tank 0/0/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/0/0
ObjectTemplate.addArmorEffect 0 e_scrapmetalsmoke 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.damageFromWater 1
ObjectTemplate.aiTemplate Shilka
rem -------------------------------------
ObjectTemplate.addTemplate lodShilka
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2/0.5/0 0/0/0
rem ** Add Sonar
rem -- Radar System Active --
ObjectTemplate.setPcoId 0
ObjectTemplate.addPcoPosId 1
ObjectTemplate.addPcoPosId 30
ObjectTemplate.sonarPos 1
rem ** Add Icons
ObjectTemplate.GUIIndex 25
ObjectTemplate.setVehicleIcon "Vehicle/Icon_shilka.tga"
ObjectTemplate.setVehicleIconPos 54
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setHasTurretIcon 1
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTLightTank
ObjectTemplate.setToolTipType TTLightTank
ObjectTemplate.hasRestrictedExit 1
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_mobileAA_16x16.tga"
rem *** lodShilka ***
ObjectTemplate.create LodObject lodShilka
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate ShilkaComplex
ObjectTemplate.addTemplate ShilkaSimple
ObjectTemplate.addTemplate ShilkaWreck
rem -------------------------------------
ObjectTemplate.lodSelector ShilkaLodSelector
rem *** ShilkaComplex ***
ObjectTemplate.create Bundle ShilkaComplex
ObjectTemplate.geometry Shilka_Hull_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
rem *** Tan added, maybe we get radar? ***
rem ObjectTemplate.addTemplate DestroyerSonar
ObjectTemplate.addTemplate RadarTowerShilka
ObjectTemplate.addTemplate ShilkaEntry
ObjectTemplate.setPosition 0/0/1.2
ObjectTemplate.addTemplate ShilkaEntry
ObjectTemplate.setPosition 0/0/-1.2
ObjectTemplate.addTemplate ShilkaEngine
ObjectTemplate.addTemplate ShilkaTower
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate Shilka_Hull_Hatch
ObjectTemplate.setPosition -0.819/0.95/1.22
rem -------------------------------------
rem *** ShilkaEntry ***
ObjectTemplate.create EntryPoint ShilkaEntry
ObjectTemplate.setEntryRadius 3.6
rem *** ShilkaTrackL ***
ObjectTemplate.create AnimatedBundle ShilkaTrackL
ObjectTemplate.loadSoundScript Sounds/ShilkaTrackL.ssc
ObjectTemplate.geometry Shilka_TrackL_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.createSkeleton animations/ShermanTrackL.ske
ObjectTemplate.setAnimatedTextureSpeed -0.006/0
rem -------------------------------------
ObjectTemplate.addTemplate ShilkaWheelL1
ObjectTemplate.setPosition -0.949/0.65/-2.43
ObjectTemplate.addTemplate ShilkaWheelL2
ObjectTemplate.setPosition -0.899/0.72/2.43
ObjectTemplate.addTemplate ShilkaWheelL3Dummy
ObjectTemplate.setPosition -0.999/0.12/2.05
ObjectTemplate.useAsBone 0/-0.15/0.3
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelL3
ObjectTemplate.setPosition -0.999/0.12/1.2
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelL3DummyMiddle
ObjectTemplate.setPosition -0.999/0.12/-0.449
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelL3Dummy
ObjectTemplate.setPosition -0.999/0.12/0.3
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelL3
ObjectTemplate.setPosition -0.999/0.12/-1.249
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelL3Dummy
ObjectTemplate.setPosition -0.999/0.12/-2.049
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelL4
ObjectTemplate.setPosition -1.099/0.8/1.15
ObjectTemplate.addTemplate ShilkaWheelL4
ObjectTemplate.setPosition -1.099/0.8/-0.499
ObjectTemplate.addTemplate ShilkaWheelL4
ObjectTemplate.setPosition -1.099/0.8/-2.099
rem -------------------------------------
rem *** ShilkaWheelL1 ***
ObjectTemplate.create SimpleObject ShilkaWheelL1
ObjectTemplate.geometry Shilka_whe1L_M1
rem *** ShilkaWheelL2 ***
ObjectTemplate.create SimpleObject ShilkaWheelL2
ObjectTemplate.geometry Shilka_whe2L_M1
rem *** ShilkaWheelL4 ***
ObjectTemplate.create SimpleObject ShilkaWheelL4
ObjectTemplate.geometry Shilka_whe4L_M1
rem *** ShilkaTrackR ***
ObjectTemplate.create AnimatedBundle ShilkaTrackR
ObjectTemplate.loadSoundScript Sounds/ShilkaTrackR.ssc
ObjectTemplate.geometry Shilka_TrackR_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.createSkeleton animations/ShermanTrackR.ske
ObjectTemplate.setAnimatedTextureSpeed -0.006/0
rem -------------------------------------
ObjectTemplate.addTemplate ShilkaWheelR1
ObjectTemplate.setPosition 0.95/0.65/-2.599
ObjectTemplate.addTemplate ShilkaWheelR2
ObjectTemplate.setPosition 0.9/0.72/2.43
ObjectTemplate.addTemplate ShilkaWheelR3Dummy
ObjectTemplate.setPosition 1/0.12/2.05
ObjectTemplate.useAsBone 0/-1.45/0.3
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelR3
ObjectTemplate.setPosition 1/0.12/1.2
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelR3DummyMiddle
ObjectTemplate.setPosition 1/0.12/-0.449
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelR3Dummy
ObjectTemplate.setPosition 1/0.12/0.3
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelR3
ObjectTemplate.setPosition 1/0.12/-1.249
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelR3Dummy
ObjectTemplate.setPosition 1/0.12/-2.049
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelR4
ObjectTemplate.setPosition 1.1/0.8/1.15
ObjectTemplate.addTemplate ShilkaWheelR4
ObjectTemplate.setPosition 1.1/0.8/-0.499
ObjectTemplate.addTemplate ShilkaWheelR4
ObjectTemplate.setPosition 1.1/0.8/-2.099
rem -------------------------------------
rem *** ShilkaWheelR1 ***
ObjectTemplate.create SimpleObject ShilkaWheelR1
ObjectTemplate.geometry Shilka_whe1R_M1
rem *** ShilkaWheelR2 ***
ObjectTemplate.create SimpleObject ShilkaWheelR2
ObjectTemplate.geometry Shilka_whe2R_M1
rem *** ShilkaWheelR4 ***
ObjectTemplate.create SimpleObject ShilkaWheelR4
ObjectTemplate.geometry Shilka_whe4R_M1
rem *** ShilkaTower ***
ObjectTemplate.create RotationalBundle ShilkaTower
ObjectTemplate.setNetworkableInfo ShilkaTurretInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript Sounds/ShilkaTower.ssc
ObjectTemplate.geometry Shilka_Tow_M1
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate ShilkaGunBase
ObjectTemplate.setPosition .1/1.4/1.2
rem *** Tan removed the exposed gunner ***
rem ObjectTemplate.addTemplate ShilkaSeat
rem ObjectTemplate.setPosition -.65/1.4/.7
rem ObjectTemplate.addTemplate ShilkaBrowning_PCO1
rem ObjectTemplate.setPosition 0.52/2.49/0.125
rem -------------------------------------
ObjectTemplate.setMaxSpeed 35/25/0
ObjectTemplate.setAcceleration 1000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
rem *** ShilkaGunBase ***
ObjectTemplate.create RotationalBundle ShilkaGunBase
ObjectTemplate.setNetworkableInfo ShilkaGunInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript Sounds/ShilkaGunBase.ssc
rem -------------------------------------
ObjectTemplate.addTemplate lodShilkaCockpit
ObjectTemplate.addTemplate ShilkaGunBarrel
ObjectTemplate.addTemplate ShilkaCamera
ObjectTemplate.setPosition -0.5/.8/0
rem ObjectTemplate.addTemplate Coaxial_Browning
rem ObjectTemplate.setPosition 0.35/0/-0.899
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-55/0
ObjectTemplate.setMaxRotation 0/-5/0
ObjectTemplate.setMaxSpeed 20/20/0
ObjectTemplate.setAcceleration 0/1000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
rem *** lodShilkaCockpit ***
ObjectTemplate.create LodObject lodShilkaCockpit
rem -------------------------------------
ObjectTemplate.addTemplate ShilkaCockpitExternal
ObjectTemplate.addTemplate ShilkaCockpitInternal
ObjectTemplate.setPosition 0.234/-0.019/0.14
rem -------------------------------------
ObjectTemplate.lodSelector ShilkacockpitSelector
rem *** ShilkaCockpitExternal ***
ObjectTemplate.create SimpleObject ShilkaCockpitExternal
ObjectTemplate.geometry Shilka_Canon2_M1
ObjectTemplate.hasCollisionPhysics 1
rem *** ShilkaCockpitInternal ***
ObjectTemplate.create SimpleObject ShilkaCockpitInternal
ObjectTemplate.geometry 1P_Shilka_Gunner_M1
rem *** ShilkacockpitSelector ***
LodSelectorTemplate.create DistCompareSelector ShilkacockpitSelector
LodSelectorTemplate.addLodDistance 1
LodSelectorTemplate.addLodComparison 0.5
rem *** ShilkaCamera ***
ObjectTemplate.create Camera ShilkaCamera
ObjectTemplate.setMaxSpeed 0/0/0
ObjectTemplate.setAcceleration 0/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
rem *** ShilkaBrowning_PCO1 ***
ObjectTemplate.create PlayerControlObject ShilkaBrowning_PCO1
ObjectTemplate.NameTagOffset 0/-0.4/0
ObjectTemplate.setNetworkableInfo ShilkaBodyInfo
ObjectTemplate.aiTemplate ShilkaTopMG
rem -------------------------------------
ObjectTemplate.addTemplate ShilkaEntry
ObjectTemplate.setPosition -0.52/-1.69/1.075
ObjectTemplate.addTemplate ShilkaEntry
ObjectTemplate.setPosition -0.52/-1.69/-1.325
ObjectTemplate.addTemplate ShilkaBrowning_Holder
ObjectTemplate.setPosition -0.018/-0.008/-0.353
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2.8/-0.5/0 0/0/0
ObjectTemplate.GUIIndex 47
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTLightTank
ObjectTemplate.hasRestrictedExit 1
rem *** ShilkaBrowning_Holder ***
ObjectTemplate.create RotationalBundle ShilkaBrowning_Holder
ObjectTemplate.setNetworkableInfo ShilkaTurretInfo
ObjectTemplate.loadSoundScript Sounds/ShilkaTurret.ssc
ObjectTemplate.geometry Shilka_Mgun_con_m1
rem -------------------------------------
ObjectTemplate.addTemplate Shilka_Browning_console
ObjectTemplate.setPosition 0/0.114/-0.388
ObjectTemplate.addTemplate ShilkaBrowningSeat
ObjectTemplate.setRotation -179.999/0/0
rem -------------------------------------
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setAutomaticYawStabilization 1
rem *** Shilka_Browning_console ***
ObjectTemplate.create RotationalBundle Shilka_Browning_console
ObjectTemplate.setNetworkableInfo ShilkaGunInfo
ObjectTemplate.geometry Shilka_MGun_mount_M1
rem -------------------------------------
ObjectTemplate.addTemplate browning
ObjectTemplate.setPosition 0/0/-0.349
ObjectTemplate.setRotation -179.999/0/0
ObjectTemplate.addTemplate ShilkaCamera2
ObjectTemplate.setPosition 0/0.3/0.5
ObjectTemplate.setRotation -179.999/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-10/0
ObjectTemplate.setMaxRotation 0/45/0
ObjectTemplate.setMaxSpeed 0/90/0
ObjectTemplate.setAcceleration 0/-5000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setAutomaticPitchStabilization 1
rem *** ShilkaCamera2 ***
ObjectTemplate.create Camera ShilkaCamera2
ObjectTemplate.setMaxSpeed 0/0/0
ObjectTemplate.setAcceleration 0/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
rem *** ShilkaBrowningSeat ***
ObjectTemplate.create SeatObject ShilkaBrowningSeat
ObjectTemplate.seatFlags c_SeatShowHalfBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
rem *** ShilkaSeat ***
ObjectTemplate.create SeatObject ShilkaSeat
ObjectTemplate.seatFlags c_SeatShowHalfBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
rem *** Shilka_Hull_Hatch ***
ObjectTemplate.create RotationalBundle Shilka_Hull_Hatch
ObjectTemplate.geometry Shilka_Hull_Hatch_M1
ObjectTemplate.setMaxSpeed 60/60/60
rem *** ShilkaSimple ***
ObjectTemplate.create SimpleObject ShilkaSimple
ObjectTemplate.geometry Shilka_Hull_L1
rem *** ShilkaWreck ***
ObjectTemplate.create SimpleObject ShilkaWreck
ObjectTemplate.geometry Wreck_Shilka_m1
rem *** ShilkaLodSelector ***
LodSelectorTemplate.create DistCompareSelector2 ShilkaLodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 135
ObjectTemplate.create SonarObject RadarTowerShilka
ObjectTemplate.detectionRadius 700.0
ObjectTemplate.enableRadarMode 1
ObjectTemplate.scanForEnemySonars c_True
rem - DesertCombat
rem - Version .39
rem - July 15th
rem - Revision 1
rem ******************************************
rem *** Tan removed exposed gunner and gave air radar 30 Jan 2004 ***
rem *** Shilka ***
ObjectTemplate.create PlayerControlObject Shilka
ObjectTemplate.NameTagOffset 0/-0.3/0
ObjectTemplate.setNetworkableInfo ShilkaBodyInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.exitTimer 1
ObjectTemplate.drag 2
ObjectTemplate.mass 25000
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 200
ObjectTemplate.maxhitpoints 200
ObjectTemplate.material 51
ObjectTemplate.speedMod 1
ObjectTemplate.criticalDamage 12
ObjectTemplate.hpLostWhileCriticalDamage 1.5
ObjectTemplate.explosionForceMod 13
ObjectTemplate.hpLostWhileUpSideDown 10
ObjectTemplate.hpLostWhileDamageFromWater 10
ObjectTemplate.addArmorEffect 50 e_PanzDamage 0/0.9/-1.8
ObjectTemplate.addArmorEffect 50 e_warning_tank2 0/0/0
ObjectTemplate.addArmorEffect 12 e_warning_tank2 0/0/0
ObjectTemplate.addArmorEffect 12 e_PanzFire 0/1.2/-1.4
ObjectTemplate.addArmorEffect 0 e_ExplGas_tank 0/0/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/0/0
ObjectTemplate.addArmorEffect 0 e_scrapmetalsmoke 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.damageFromWater 1
ObjectTemplate.aiTemplate Shilka
rem -------------------------------------
ObjectTemplate.addTemplate lodShilka
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2/0.5/0 0/0/0
rem ** Add Sonar
rem -- Radar System Active --
ObjectTemplate.setPcoId 0
ObjectTemplate.addPcoPosId 1
ObjectTemplate.addPcoPosId 30
ObjectTemplate.sonarPos 1
rem ** Add Icons
ObjectTemplate.GUIIndex 25
ObjectTemplate.setVehicleIcon "Vehicle/Icon_shilka.tga"
ObjectTemplate.setVehicleIconPos 54
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setHasTurretIcon 1
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTLightTank
ObjectTemplate.setToolTipType TTLightTank
ObjectTemplate.hasRestrictedExit 1
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_mobileAA_16x16.tga"
rem *** lodShilka ***
ObjectTemplate.create LodObject lodShilka
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate ShilkaComplex
ObjectTemplate.addTemplate ShilkaSimple
ObjectTemplate.addTemplate ShilkaWreck
rem -------------------------------------
ObjectTemplate.lodSelector ShilkaLodSelector
rem *** ShilkaComplex ***
ObjectTemplate.create Bundle ShilkaComplex
ObjectTemplate.geometry Shilka_Hull_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
rem *** Tan added, maybe we get radar? ***
rem ObjectTemplate.addTemplate DestroyerSonar
ObjectTemplate.addTemplate RadarTowerShilka
ObjectTemplate.addTemplate ShilkaEntry
ObjectTemplate.setPosition 0/0/1.2
ObjectTemplate.addTemplate ShilkaEntry
ObjectTemplate.setPosition 0/0/-1.2
ObjectTemplate.addTemplate ShilkaEngine
ObjectTemplate.addTemplate ShilkaTower
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate Shilka_Hull_Hatch
ObjectTemplate.setPosition -0.819/0.95/1.22
rem -------------------------------------
rem *** ShilkaEntry ***
ObjectTemplate.create EntryPoint ShilkaEntry
ObjectTemplate.setEntryRadius 3.6
rem *** ShilkaTrackL ***
ObjectTemplate.create AnimatedBundle ShilkaTrackL
ObjectTemplate.loadSoundScript Sounds/ShilkaTrackL.ssc
ObjectTemplate.geometry Shilka_TrackL_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.createSkeleton animations/ShermanTrackL.ske
ObjectTemplate.setAnimatedTextureSpeed -0.006/0
rem -------------------------------------
ObjectTemplate.addTemplate ShilkaWheelL1
ObjectTemplate.setPosition -0.949/0.65/-2.43
ObjectTemplate.addTemplate ShilkaWheelL2
ObjectTemplate.setPosition -0.899/0.72/2.43
ObjectTemplate.addTemplate ShilkaWheelL3Dummy
ObjectTemplate.setPosition -0.999/0.12/2.05
ObjectTemplate.useAsBone 0/-0.15/0.3
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelL3
ObjectTemplate.setPosition -0.999/0.12/1.2
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelL3DummyMiddle
ObjectTemplate.setPosition -0.999/0.12/-0.449
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelL3Dummy
ObjectTemplate.setPosition -0.999/0.12/0.3
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelL3
ObjectTemplate.setPosition -0.999/0.12/-1.249
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelL3Dummy
ObjectTemplate.setPosition -0.999/0.12/-2.049
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelL4
ObjectTemplate.setPosition -1.099/0.8/1.15
ObjectTemplate.addTemplate ShilkaWheelL4
ObjectTemplate.setPosition -1.099/0.8/-0.499
ObjectTemplate.addTemplate ShilkaWheelL4
ObjectTemplate.setPosition -1.099/0.8/-2.099
rem -------------------------------------
rem *** ShilkaWheelL1 ***
ObjectTemplate.create SimpleObject ShilkaWheelL1
ObjectTemplate.geometry Shilka_whe1L_M1
rem *** ShilkaWheelL2 ***
ObjectTemplate.create SimpleObject ShilkaWheelL2
ObjectTemplate.geometry Shilka_whe2L_M1
rem *** ShilkaWheelL4 ***
ObjectTemplate.create SimpleObject ShilkaWheelL4
ObjectTemplate.geometry Shilka_whe4L_M1
rem *** ShilkaTrackR ***
ObjectTemplate.create AnimatedBundle ShilkaTrackR
ObjectTemplate.loadSoundScript Sounds/ShilkaTrackR.ssc
ObjectTemplate.geometry Shilka_TrackR_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.createSkeleton animations/ShermanTrackR.ske
ObjectTemplate.setAnimatedTextureSpeed -0.006/0
rem -------------------------------------
ObjectTemplate.addTemplate ShilkaWheelR1
ObjectTemplate.setPosition 0.95/0.65/-2.599
ObjectTemplate.addTemplate ShilkaWheelR2
ObjectTemplate.setPosition 0.9/0.72/2.43
ObjectTemplate.addTemplate ShilkaWheelR3Dummy
ObjectTemplate.setPosition 1/0.12/2.05
ObjectTemplate.useAsBone 0/-1.45/0.3
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelR3
ObjectTemplate.setPosition 1/0.12/1.2
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelR3DummyMiddle
ObjectTemplate.setPosition 1/0.12/-0.449
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelR3Dummy
ObjectTemplate.setPosition 1/0.12/0.3
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelR3
ObjectTemplate.setPosition 1/0.12/-1.249
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelR3Dummy
ObjectTemplate.setPosition 1/0.12/-2.049
ObjectTemplate.useAsBone 0/-0.15/0
ObjectTemplate.setBoneOriginOffset 0/-0.5/0
ObjectTemplate.addTemplate ShilkaWheelR4
ObjectTemplate.setPosition 1.1/0.8/1.15
ObjectTemplate.addTemplate ShilkaWheelR4
ObjectTemplate.setPosition 1.1/0.8/-0.499
ObjectTemplate.addTemplate ShilkaWheelR4
ObjectTemplate.setPosition 1.1/0.8/-2.099
rem -------------------------------------
rem *** ShilkaWheelR1 ***
ObjectTemplate.create SimpleObject ShilkaWheelR1
ObjectTemplate.geometry Shilka_whe1R_M1
rem *** ShilkaWheelR2 ***
ObjectTemplate.create SimpleObject ShilkaWheelR2
ObjectTemplate.geometry Shilka_whe2R_M1
rem *** ShilkaWheelR4 ***
ObjectTemplate.create SimpleObject ShilkaWheelR4
ObjectTemplate.geometry Shilka_whe4R_M1
rem *** ShilkaTower ***
ObjectTemplate.create RotationalBundle ShilkaTower
ObjectTemplate.setNetworkableInfo ShilkaTurretInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript Sounds/ShilkaTower.ssc
ObjectTemplate.geometry Shilka_Tow_M1
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate ShilkaGunBase
ObjectTemplate.setPosition .1/1.4/1.2
rem *** Tan removed the exposed gunner ***
rem ObjectTemplate.addTemplate ShilkaSeat
rem ObjectTemplate.setPosition -.65/1.4/.7
rem ObjectTemplate.addTemplate ShilkaBrowning_PCO1
rem ObjectTemplate.setPosition 0.52/2.49/0.125
rem -------------------------------------
ObjectTemplate.setMaxSpeed 35/25/0
ObjectTemplate.setAcceleration 1000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
rem *** ShilkaGunBase ***
ObjectTemplate.create RotationalBundle ShilkaGunBase
ObjectTemplate.setNetworkableInfo ShilkaGunInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript Sounds/ShilkaGunBase.ssc
rem -------------------------------------
ObjectTemplate.addTemplate lodShilkaCockpit
ObjectTemplate.addTemplate ShilkaGunBarrel
ObjectTemplate.addTemplate ShilkaCamera
ObjectTemplate.setPosition -0.5/.8/0
rem ObjectTemplate.addTemplate Coaxial_Browning
rem ObjectTemplate.setPosition 0.35/0/-0.899
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-55/0
ObjectTemplate.setMaxRotation 0/-5/0
ObjectTemplate.setMaxSpeed 20/20/0
ObjectTemplate.setAcceleration 0/1000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
rem *** lodShilkaCockpit ***
ObjectTemplate.create LodObject lodShilkaCockpit
rem -------------------------------------
ObjectTemplate.addTemplate ShilkaCockpitExternal
ObjectTemplate.addTemplate ShilkaCockpitInternal
ObjectTemplate.setPosition 0.234/-0.019/0.14
rem -------------------------------------
ObjectTemplate.lodSelector ShilkacockpitSelector
rem *** ShilkaCockpitExternal ***
ObjectTemplate.create SimpleObject ShilkaCockpitExternal
ObjectTemplate.geometry Shilka_Canon2_M1
ObjectTemplate.hasCollisionPhysics 1
rem *** ShilkaCockpitInternal ***
ObjectTemplate.create SimpleObject ShilkaCockpitInternal
ObjectTemplate.geometry 1P_Shilka_Gunner_M1
rem *** ShilkacockpitSelector ***
LodSelectorTemplate.create DistCompareSelector ShilkacockpitSelector
LodSelectorTemplate.addLodDistance 1
LodSelectorTemplate.addLodComparison 0.5
rem *** ShilkaCamera ***
ObjectTemplate.create Camera ShilkaCamera
ObjectTemplate.setMaxSpeed 0/0/0
ObjectTemplate.setAcceleration 0/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
rem *** ShilkaBrowning_PCO1 ***
ObjectTemplate.create PlayerControlObject ShilkaBrowning_PCO1
ObjectTemplate.NameTagOffset 0/-0.4/0
ObjectTemplate.setNetworkableInfo ShilkaBodyInfo
ObjectTemplate.aiTemplate ShilkaTopMG
rem -------------------------------------
ObjectTemplate.addTemplate ShilkaEntry
ObjectTemplate.setPosition -0.52/-1.69/1.075
ObjectTemplate.addTemplate ShilkaEntry
ObjectTemplate.setPosition -0.52/-1.69/-1.325
ObjectTemplate.addTemplate ShilkaBrowning_Holder
ObjectTemplate.setPosition -0.018/-0.008/-0.353
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2.8/-0.5/0 0/0/0
ObjectTemplate.GUIIndex 47
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTLightTank
ObjectTemplate.hasRestrictedExit 1
rem *** ShilkaBrowning_Holder ***
ObjectTemplate.create RotationalBundle ShilkaBrowning_Holder
ObjectTemplate.setNetworkableInfo ShilkaTurretInfo
ObjectTemplate.loadSoundScript Sounds/ShilkaTurret.ssc
ObjectTemplate.geometry Shilka_Mgun_con_m1
rem -------------------------------------
ObjectTemplate.addTemplate Shilka_Browning_console
ObjectTemplate.setPosition 0/0.114/-0.388
ObjectTemplate.addTemplate ShilkaBrowningSeat
ObjectTemplate.setRotation -179.999/0/0
rem -------------------------------------
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setAutomaticYawStabilization 1
rem *** Shilka_Browning_console ***
ObjectTemplate.create RotationalBundle Shilka_Browning_console
ObjectTemplate.setNetworkableInfo ShilkaGunInfo
ObjectTemplate.geometry Shilka_MGun_mount_M1
rem -------------------------------------
ObjectTemplate.addTemplate browning
ObjectTemplate.setPosition 0/0/-0.349
ObjectTemplate.setRotation -179.999/0/0
ObjectTemplate.addTemplate ShilkaCamera2
ObjectTemplate.setPosition 0/0.3/0.5
ObjectTemplate.setRotation -179.999/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-10/0
ObjectTemplate.setMaxRotation 0/45/0
ObjectTemplate.setMaxSpeed 0/90/0
ObjectTemplate.setAcceleration 0/-5000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setAutomaticPitchStabilization 1
rem *** ShilkaCamera2 ***
ObjectTemplate.create Camera ShilkaCamera2
ObjectTemplate.setMaxSpeed 0/0/0
ObjectTemplate.setAcceleration 0/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
rem *** ShilkaBrowningSeat ***
ObjectTemplate.create SeatObject ShilkaBrowningSeat
ObjectTemplate.seatFlags c_SeatShowHalfBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
rem *** ShilkaSeat ***
ObjectTemplate.create SeatObject ShilkaSeat
ObjectTemplate.seatFlags c_SeatShowHalfBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
rem *** Shilka_Hull_Hatch ***
ObjectTemplate.create RotationalBundle Shilka_Hull_Hatch
ObjectTemplate.geometry Shilka_Hull_Hatch_M1
ObjectTemplate.setMaxSpeed 60/60/60
rem *** ShilkaSimple ***
ObjectTemplate.create SimpleObject ShilkaSimple
ObjectTemplate.geometry Shilka_Hull_L1
rem *** ShilkaWreck ***
ObjectTemplate.create SimpleObject ShilkaWreck
ObjectTemplate.geometry Wreck_Shilka_m1
rem *** ShilkaLodSelector ***
LodSelectorTemplate.create DistCompareSelector2 ShilkaLodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 135
ObjectTemplate.create SonarObject RadarTowerShilka
ObjectTemplate.detectionRadius 700.0
ObjectTemplate.enableRadarMode 1
ObjectTemplate.scanForEnemySonars c_True