This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/BM31-2/Objects.con
rem ===== COMPRESS = RUS
Var v_is_coop
console.useRelativePaths 0
run bf1942/game/is_coop.con
console.useRelativePaths 1
rem *** BM31 ***
ObjectTemplate.create PlayerControlObject BM31-2
ObjectTemplate.setNetworkableInfo KatBodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.drag 2
ObjectTemplate.dragOffset 0/0/0
ObjectTemplate.mass 4500
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 2
ObjectTemplate.exitTimer 1
ObjectTemplate.hitpoints 50
ObjectTemplate.Maxhitpoints 50
ObjectTemplate.material 30
ObjectTemplate.criticalDamage 5
ObjectTemplate.explosionForceMod 15
if v_is_coop == True
ObjectTemplate.hpLostWhileCriticalDamage 1
else
ObjectTemplate.hpLostWhileCriticalDamage 0
endIf
ObjectTemplate.hpLostWhileUpSideDown 5
ObjectTemplate.hpLostWhileDamageFromWater 5
ObjectTemplate.addArmorEffect 30 e_KatyushaDamage 0/0.5/2.5
ObjectTemplate.addArmorEffect 5 e_KatyushaFire 0/0.65/3
rem ObjectTemplate.addArmorEffect 5 e_KatyushaFire 0/0.15/3
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/-1/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/-1/5
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/-1/0
ObjectTemplate.timetoliveafterdeath 20
ObjectTemplate.fadeAtTimeToLiveAfterDeath 0
ObjectTemplate.damageFromWater 0
ObjectTemplate.aiTemplate Katyusha
rem -------------------------------------
ObjectTemplate.addTemplate lodBM31
rem -------------------------------------
ObjectTemplate.setPCOId 0
ObjectTemplate.setSoldierExitLocation -2.5/0/0 0/0/0
ObjectTemplate.GUIIndex 20
ObjectTemplate.submarineData 1 0.03 10.0 1.1 1.2 0.5 5
ObjectTemplate.setVehicleIcon "Vehicle/icon_BM31.tga"
ObjectTemplate.setVehicleIconPos 95/73
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTArtillery
ObjectTemplate.setToolTipType TTArtillery
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_katy_16x16.tga"
ObjectTemplate.hasRestrictedExit 1
rem *** lodBM31***
ObjectTemplate.create LodObject lodBM31
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate BM31-2Complex
ObjectTemplate.addTemplate BM31-2Simple
ObjectTemplate.addTemplate KatyushaWreck
rem -------------------------------------
ObjectTemplate.lodSelector KatyushaLodSelector
rem *** BM31Complex ***
ObjectTemplate.create Bundle BM31-2Complex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodKatyushaCockpit
ObjectTemplate.addTemplate KatyushaSeat
ObjectTemplate.setPosition -0.299/0.7/1.2
ObjectTemplate.addTemplate Katyusha_Camera
ObjectTemplate.setPosition -0.299/1/1
if v_is_coop == True
ObjectTemplate.addTemplate Katyusha_Entry
ObjectTemplate.setPosition 0/0.6/1.7
ObjectTemplate.addTemplate Katyusha_Entry
ObjectTemplate.setPosition 0/0.6/-0.199
endIf
ObjectTemplate.addTemplate Katyusha_Wheel_FrontL
ObjectTemplate.setPosition -0.8/0.1/2.8
ObjectTemplate.addTemplate Katyusha_Wheel_FrontR
ObjectTemplate.setPosition 0.8/0.1/2.8
ObjectTemplate.addTemplate BM31-2_PCO1
ObjectTemplate.setPosition 0/0.6/-2.049
ObjectTemplate.addTemplate Katyusha_Engine
ObjectTemplate.setPosition 0/0/2
ObjectTemplate.addTemplate KatyushaInteriorSteerDummy
ObjectTemplate.setPosition -0.315/0.1/2.14
ObjectTemplate.setRotation 0/-30/0
ObjectTemplate.addTemplate KatyushaHorn
rem -------------------------------------
rem *** BM31_PCO1 ***
ObjectTemplate.create PlayerControlObject BM31-2_PCO1
ObjectTemplate.setNetworkableInfo KatBodyInfo
ObjectTemplate.aiTemplate KatyushaCannon
rem -------------------------------------
ObjectTemplate.addTemplate BM31-2_Ramp_Rot
ObjectTemplate.addTemplate Katyusha_Entry
ObjectTemplate.setPosition 0/0.6/1.7
ObjectTemplate.addTemplate Katyusha_Entry
ObjectTemplate.setPosition 0/0.6/-0.199
rem -------------------------------------
ObjectTemplate.setPCOId 1
ObjectTemplate.setSoldierExitLocation -1.5/0/0 0/0/0
ObjectTemplate.GUIIndex 21
ObjectTemplate.setVehicleIcon "Vehicle/icon_BM31.tga"
ObjectTemplate.setVehicleIconPos 40/51
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_305mmBETAB750.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTArtillery
ObjectTemplate.setToolTipType TTArtillery
ObjectTemplate.artPos 1
ObjectTemplate.DirBarXScale 180
ObjectTemplate.DirBarYScaleAbove 90
ObjectTemplate.DirBarYScaleBelow 0
ObjectTemplate.DirBarYScaleMin -90
ObjectTemplate.DirBarYScaleMax 0
ObjectTemplate.hasRestrictedExit 1
rem *** BM31_Ramp_Rot ***
ObjectTemplate.create RotationalBundle BM31-2_Ramp_Rot
ObjectTemplate.setNetworkableInfo KatTurretInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript ../Katyusha/Sounds/KatyushaRampRot.ssc
ObjectTemplate.geometry Katyusha_Ramp_Rot_M1
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate BM31-2_Ramp
ObjectTemplate.setPosition 0/0.48/-0.829
ObjectTemplate.setRotation 0/-6/0
rem -------------------------------------
ObjectTemplate.setMinRotation -70/0/0
ObjectTemplate.setMaxRotation 70/0/0
ObjectTemplate.setMaxSpeed 15/0/0
ObjectTemplate.setAcceleration 100/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
rem *** BM31_Ramp ***
ObjectTemplate.create RotationalBundle BM31-2_Ramp
ObjectTemplate.setNetworkableInfo KatGunInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript ../Katyusha/Sounds/KatyushaRamp.ssc
ObjectTemplate.geometry BM31_launcher_m1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasMobilePhysics 1
rem -------------------------------------
rem ObjectTemplate.addTemplate KatyushaRampSeat
ObjectTemplate.addTemplate Katyusha_Camera_PcoId1
ObjectTemplate.addTemplate BM31-2ArmsBundle
ObjectTemplate.addTemplate BM31TracerFireArms
rem -------------------------------------
ObjectTemplate.setMaxRotation 0/0/0
ObjectTemplate.setMinRotation 0/-39/0
ObjectTemplate.setMaxSpeed 0/10/0
ObjectTemplate.setAcceleration 0/100/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
rem *** BM31Simple ***
ObjectTemplate.create SimpleObject BM31-2Simple
ObjectTemplate.geometry BM31_main_l1
Var v_is_coop
console.useRelativePaths 0
run bf1942/game/is_coop.con
console.useRelativePaths 1
rem *** BM31 ***
ObjectTemplate.create PlayerControlObject BM31-2
ObjectTemplate.setNetworkableInfo KatBodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.drag 2
ObjectTemplate.dragOffset 0/0/0
ObjectTemplate.mass 4500
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 2
ObjectTemplate.exitTimer 1
ObjectTemplate.hitpoints 50
ObjectTemplate.Maxhitpoints 50
ObjectTemplate.material 30
ObjectTemplate.criticalDamage 5
ObjectTemplate.explosionForceMod 15
if v_is_coop == True
ObjectTemplate.hpLostWhileCriticalDamage 1
else
ObjectTemplate.hpLostWhileCriticalDamage 0
endIf
ObjectTemplate.hpLostWhileUpSideDown 5
ObjectTemplate.hpLostWhileDamageFromWater 5
ObjectTemplate.addArmorEffect 30 e_KatyushaDamage 0/0.5/2.5
ObjectTemplate.addArmorEffect 5 e_KatyushaFire 0/0.65/3
rem ObjectTemplate.addArmorEffect 5 e_KatyushaFire 0/0.15/3
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/-1/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/-1/5
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/-1/0
ObjectTemplate.timetoliveafterdeath 20
ObjectTemplate.fadeAtTimeToLiveAfterDeath 0
ObjectTemplate.damageFromWater 0
ObjectTemplate.aiTemplate Katyusha
rem -------------------------------------
ObjectTemplate.addTemplate lodBM31
rem -------------------------------------
ObjectTemplate.setPCOId 0
ObjectTemplate.setSoldierExitLocation -2.5/0/0 0/0/0
ObjectTemplate.GUIIndex 20
ObjectTemplate.submarineData 1 0.03 10.0 1.1 1.2 0.5 5
ObjectTemplate.setVehicleIcon "Vehicle/icon_BM31.tga"
ObjectTemplate.setVehicleIconPos 95/73
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTArtillery
ObjectTemplate.setToolTipType TTArtillery
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_katy_16x16.tga"
ObjectTemplate.hasRestrictedExit 1
rem *** lodBM31***
ObjectTemplate.create LodObject lodBM31
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate BM31-2Complex
ObjectTemplate.addTemplate BM31-2Simple
ObjectTemplate.addTemplate KatyushaWreck
rem -------------------------------------
ObjectTemplate.lodSelector KatyushaLodSelector
rem *** BM31Complex ***
ObjectTemplate.create Bundle BM31-2Complex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodKatyushaCockpit
ObjectTemplate.addTemplate KatyushaSeat
ObjectTemplate.setPosition -0.299/0.7/1.2
ObjectTemplate.addTemplate Katyusha_Camera
ObjectTemplate.setPosition -0.299/1/1
if v_is_coop == True
ObjectTemplate.addTemplate Katyusha_Entry
ObjectTemplate.setPosition 0/0.6/1.7
ObjectTemplate.addTemplate Katyusha_Entry
ObjectTemplate.setPosition 0/0.6/-0.199
endIf
ObjectTemplate.addTemplate Katyusha_Wheel_FrontL
ObjectTemplate.setPosition -0.8/0.1/2.8
ObjectTemplate.addTemplate Katyusha_Wheel_FrontR
ObjectTemplate.setPosition 0.8/0.1/2.8
ObjectTemplate.addTemplate BM31-2_PCO1
ObjectTemplate.setPosition 0/0.6/-2.049
ObjectTemplate.addTemplate Katyusha_Engine
ObjectTemplate.setPosition 0/0/2
ObjectTemplate.addTemplate KatyushaInteriorSteerDummy
ObjectTemplate.setPosition -0.315/0.1/2.14
ObjectTemplate.setRotation 0/-30/0
ObjectTemplate.addTemplate KatyushaHorn
rem -------------------------------------
rem *** BM31_PCO1 ***
ObjectTemplate.create PlayerControlObject BM31-2_PCO1
ObjectTemplate.setNetworkableInfo KatBodyInfo
ObjectTemplate.aiTemplate KatyushaCannon
rem -------------------------------------
ObjectTemplate.addTemplate BM31-2_Ramp_Rot
ObjectTemplate.addTemplate Katyusha_Entry
ObjectTemplate.setPosition 0/0.6/1.7
ObjectTemplate.addTemplate Katyusha_Entry
ObjectTemplate.setPosition 0/0.6/-0.199
rem -------------------------------------
ObjectTemplate.setPCOId 1
ObjectTemplate.setSoldierExitLocation -1.5/0/0 0/0/0
ObjectTemplate.GUIIndex 21
ObjectTemplate.setVehicleIcon "Vehicle/icon_BM31.tga"
ObjectTemplate.setVehicleIconPos 40/51
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_305mmBETAB750.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTArtillery
ObjectTemplate.setToolTipType TTArtillery
ObjectTemplate.artPos 1
ObjectTemplate.DirBarXScale 180
ObjectTemplate.DirBarYScaleAbove 90
ObjectTemplate.DirBarYScaleBelow 0
ObjectTemplate.DirBarYScaleMin -90
ObjectTemplate.DirBarYScaleMax 0
ObjectTemplate.hasRestrictedExit 1
rem *** BM31_Ramp_Rot ***
ObjectTemplate.create RotationalBundle BM31-2_Ramp_Rot
ObjectTemplate.setNetworkableInfo KatTurretInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript ../Katyusha/Sounds/KatyushaRampRot.ssc
ObjectTemplate.geometry Katyusha_Ramp_Rot_M1
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate BM31-2_Ramp
ObjectTemplate.setPosition 0/0.48/-0.829
ObjectTemplate.setRotation 0/-6/0
rem -------------------------------------
ObjectTemplate.setMinRotation -70/0/0
ObjectTemplate.setMaxRotation 70/0/0
ObjectTemplate.setMaxSpeed 15/0/0
ObjectTemplate.setAcceleration 100/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
rem *** BM31_Ramp ***
ObjectTemplate.create RotationalBundle BM31-2_Ramp
ObjectTemplate.setNetworkableInfo KatGunInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript ../Katyusha/Sounds/KatyushaRamp.ssc
ObjectTemplate.geometry BM31_launcher_m1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasMobilePhysics 1
rem -------------------------------------
rem ObjectTemplate.addTemplate KatyushaRampSeat
ObjectTemplate.addTemplate Katyusha_Camera_PcoId1
ObjectTemplate.addTemplate BM31-2ArmsBundle
ObjectTemplate.addTemplate BM31TracerFireArms
rem -------------------------------------
ObjectTemplate.setMaxRotation 0/0/0
ObjectTemplate.setMinRotation 0/-39/0
ObjectTemplate.setMaxSpeed 0/10/0
ObjectTemplate.setAcceleration 0/100/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
rem *** BM31Simple ***
ObjectTemplate.create SimpleObject BM31-2Simple
ObjectTemplate.geometry BM31_main_l1