This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/2S19_Msta/Objects.con


rem *** 2S19_Msta ***
ObjectTemplate.create PlayerControlObject 2S19_Msta
ObjectTemplate.NameTagOffset 0/-0.4/1
ObjectTemplate.setNetworkableInfo 2S19_MstaBodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 15
ObjectTemplate.explosionDamage 70
ObjectTemplate.exitTimer 1
ObjectTemplate.drag 4
ObjectTemplate.mass 70000
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 1
ObjectTemplate.hitpoints 400
ObjectTemplate.maxhitpoints 400
ObjectTemplate.material 54
ObjectTemplate.criticalDamage 55
ObjectTemplate.hpLostWhileCriticalDamage 2
if v_is_coop == True
ObjectTemplate.hpLostWhileCriticalDamage 1
else
ObjectTemplate.hpLostWhileCriticalDamage 0
endIf
ObjectTemplate.explosionForceMod 6
ObjectTemplate.hpLostWhileUpSideDown 7
ObjectTemplate.hpLostWhileDamageFromWater 20
ObjectTemplate.addArmorEffect 50 e_PanzDamage 0/1.8/-2.4
ObjectTemplate.addArmorEffect 10 e_PanzFire 0/1.8/-2.4
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.timetoliveafterdeath 45
ObjectTemplate.fadeAtTimeToLiveAfterDeath 0
ObjectTemplate.damageFromWater 1
ObjectTemplate.aiTemplate IS2
rem -------------------------------------
ObjectTemplate.addTemplate lod2S19_Msta
rem -------------------------------------
ObjectTemplate.GUIIndex 22
ObjectTemplate.setVehicleIcon "Vehicle/icon_2S19_Msta.tga"

ObjectTemplate.setSoldierExitLocation 0.0/3.0/-2 0/0/0
ObjectTemplate.setVehicleIconPos 61/69
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_152mmML-20SAPHE+HE.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTHeavyTank
ObjectTemplate.setToolTipType TTHeavyTank
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_StuG_16x16.tga"
ObjectTemplate.hasRestrictedExit 1
ObjectTemplate.artPos 1
ObjectTemplate.DirBarXScale 180
ObjectTemplate.DirBarYScaleAbove 25
ObjectTemplate.DirBarYScaleBelow -5
ObjectTemplate.DirBarYScaleMin -90
ObjectTemplate.DirBarYScaleMax -50
rem ObjectTemplate.setHasTurretIcon 1

rem *** lod2S19_Msta ***
ObjectTemplate.create LodObject lod2S19_Msta
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate 2S19_MstaComplex
ObjectTemplate.addTemplate T-72_MBTSimple
ObjectTemplate.addTemplate T-72_MBTWreck
rem -------------------------------------
ObjectTemplate.lodSelector T-72_MBTLodSelector

rem *** 2S19_MstaComplex ***
ObjectTemplate.create Bundle 2S19_MstaComplex
ObjectTemplate.geometry 2S19_Msta_Hull_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate T-72_MBTEntry
ObjectTemplate.setPosition 0.65/0.83/2.15
ObjectTemplate.addTemplate 2S19_MstaTower
ObjectTemplate.setPosition 0.114/0.740/0.0
ObjectTemplate.addTemplate e_TankExhaust20LinerU
ObjectTemplate.setPosition -1.8/0.479/-1.712
ObjectTemplate.setRotation 0/-90/0
ObjectTemplate.addTemplate T-72_MBTEngine
ObjectTemplate.addTemplate 2S19_Msta_addon_m1
rem -------------------------------------


rem *** 2S19_MstaTower ***
ObjectTemplate.create RotationalBundle 2S19_MstaTower
ObjectTemplate.setNetworkableInfo 2S19_MstaTurretInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript ../../../../../Objects/Vehicles/Land/AMX50/Sounds/AMX50Turrret.ssc
ObjectTemplate.geometry 2S19_Msta_Tow_M1
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate 2S19_MstaGunBase
ObjectTemplate.setPosition 0.06022/0.594/0.949

rem -------------------------------------
ObjectTemplate.setMaxSpeed 22/25/0
ObjectTemplate.setAcceleration 100/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX

rem *** 2S19_MstaGunBase ***
ObjectTemplate.create RotationalBundle 2S19_MstaGunBase
ObjectTemplate.setNetworkableInfo 2S19_MstaGunInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript ../../../../../Objects/Vehicles/Land/AMX50/Sounds/AMX50GunBase.ssc
ObjectTemplate.geometry 2S19_Msta_CanonBase_M1
rem -------------------------------------

ObjectTemplate.addTemplate 2S19_Msta_MBTGunBarrel
ObjectTemplate.setPosition 0/-0.112/2.712
rem ObjectTemplate.addTemplate 2S19_Msta_MBT_PenetrateExploder
ObjectTemplate.addTemplate Ho-Chi_Cannon_TracGunBarrel
ObjectTemplate.setPosition 0/-0.112/2.712
ObjectTemplate.addTemplate 2S19_MstaCamera
ObjectTemplate.setPosition 1.25/0.4/0.3
ObjectTemplate.addTemplate lodT-72_MBTCockpit
ObjectTemplate.setPosition 1.25/0.4/0.3

rem -------------------------------------
ObjectTemplate.setMinRotation 0/-65/0
ObjectTemplate.setMaxRotation 0/8/0
ObjectTemplate.setMaxSpeed 0/22/0
ObjectTemplate.setAcceleration 0/1000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY


ObjectTemplate.create SimpleObject 2S19_Msta_addon_m1
ObjectTemplate.geometry 2S19_Msta_addon1


rem *** 2S19_MstaCamera ***
ObjectTemplate.create Camera 2S19_MstaCamera
ObjectTemplate.CVMExternTrace 1