This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/BMP3/Objects.con
rem ******************************************
rem -
rem - BMP3 with 100mm cannon and 30mm cannon
rem -
rem -
rem ******************************************

ObjectTemplate.create PlayerControlObject BMP3
ObjectTemplate.setNetworkableInfo BMP3_BodyInfo
objectTemplate.cullRadiusScale 5
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.drag 2
ObjectTemplate.mass 25000
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 0.25
ObjectTemplate.hitpoints 400
ObjectTemplate.maxhitpoints 400
ObjectTemplate.material 52
ObjectTemplate.criticalDamage 20
ObjectTemplate.explosionForceMod 5
ObjectTemplate.explosionRadius 5
ObjectTemplate.explosionDamage 2
ObjectTemplate.hpLostWhileCriticalDamage 1.7
ObjectTemplate.hpLostWhileUpSideDown 10
ObjectTemplate.hpLostWhileDamageFromWater 0
ObjectTemplate.addArmorEffect 50 e_PanzDamage .5/0.5/-1
ObjectTemplate.addArmorEffect 40 e_PanzDamage .5/0.5/-1
ObjectTemplate.addArmorEffect 30 e_PanzDamage .5/0.5/-1
ObjectTemplate.addArmorEffect 20 e_PanzFire .5/1/-1
ObjectTemplate.addArmorEffect 10 e_PanzFire .5/1/-1
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/1/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/0/0
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/0/0
ObjectTemplate.addArmorEffect 0 e_PanzFire 0/0.5/-1.4
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/0.5/-1.4
ObjectTemplate.addArmorEffect 0 e_BuildingSmoke 0/0/0
ObjectTemplate.addArmorEffect 0 e_citysmoke 0/0/0
ObjectTemplate.addArmorEffect 0 e_PanzFire 0/-0.4/0
ObjectTemplate.addArmorEffect 0 e_PanzFire 0/-0.4/-1.4
ObjectTemplate.addArmorEffect 0 e_PanzFire 0/-0.4/0.5
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.timetoliveafterdeath 80
ObjectTemplate.fadeAtTimeToLiveAfterDeath 0
ObjectTemplate.aiTemplate BMP3AIDriver
rem -------------------------------------
ObjectTemplate.addTemplate lodBMP3
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2/0/0 0/0/0
ObjectTemplate.GUIIndex 99
ObjectTemplate.setVehicleIcon "Vehicle/Bmp3.dds"
ObjectTemplate.setVehicleIconPos 90/108
ObjectTemplate.setNumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_100mmHE.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/icon_30mm2A42.dds"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setHasTurretIcon 1
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTLightTank
ObjectTemplate.setToolTipType TTLightTank
ObjectTemplate.hasRestrictedExit 1
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_tank_16x16.tga"


ObjectTemplate.addTemplate BMP3_Floater
ObjectTemplate.setPosition 1.6/0.35/-2.5
ObjectTemplate.addTemplate BMP3_Floater
ObjectTemplate.setPosition -1.6/0.35/-2.5
ObjectTemplate.addTemplate BMP3_Floater
ObjectTemplate.setPosition 1.6/0.35/2.5
ObjectTemplate.addTemplate BMP3_Floater
ObjectTemplate.setPosition -1.6/0.35/2.5
ObjectTemplate.addTemplate e_WaterBackFoam_2
ObjectTemplate.setPosition 1.2/-.4/0
ObjectTemplate.addTemplate e_WaterBackFoam_2
ObjectTemplate.setPosition -1.2/-.4/0



rem *** lodBMP3 ***
ObjectTemplate.create LodObject lodBMP3
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate BMP3Complex
ObjectTemplate.addTemplate BMP3Simple
ObjectTemplate.addTemplate BMP3Wreck
rem -------------------------------------
ObjectTemplate.lodSelector BMP3LodSelector


rem *** BMP3Complex ***
ObjectTemplate.create Bundle BMP3Complex
ObjectTemplate.geometry BMP3_hull_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate BMP3_Turret
ObjectTemplate.setPosition 0/0.613/0.290278
ObjectTemplate.addTemplate BMP3Entry
ObjectTemplate.setPosition 0/0/1.644
ObjectTemplate.addTemplate BMP3Entry
ObjectTemplate.setPosition 0/0/-0.756
rem -------------------------------------
ObjectTemplate.addTemplate BMP3EngineLand
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate BMP3EngineWater
ObjectTemplate.setPosition 0/-1.25/0
ObjectTemplate.addTemplate BMP3_RudderStern
ObjectTemplate.setPosition 0/-1.75/2.5
ObjectTemplate.setRotation 0/0/-90
ObjectTemplate.addTemplate BMP3_RudderAft
ObjectTemplate.setPosition 0/-1.75/-2.5
ObjectTemplate.setRotation 0/0/-90
rem -------------------------------------

ObjectTemplate.addTemplate BMP3MGLeftPCO1
ObjectTemplate.setPosition -1.25/0.43/2.3

ObjectTemplate.addTemplate BMP3MGRightPCO2
ObjectTemplate.setPosition 1.25/0.43/2.3
rem -------------------------------------


rem *** BMP3_Tower ***
ObjectTemplate.create RotationalBundle BMP3_Turret
ObjectTemplate.setNetworkableInfo BMP3_TurretInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript ../../../../../Objects/Vehicles/Land//PZIIIJearly/Sounds/PZIIIJearlyTower.ssc
ObjectTemplate.geometry Bmp3_turret_m1
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate BMP3GunBase
ObjectTemplate.setPosition 0/0.244/0.74
rem -------------------------------------
ObjectTemplate.setMaxSpeed 32/0/0
ObjectTemplate.setAcceleration 124/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX


rem *** BMP3_GunBase ***
ObjectTemplate.create RotationalBundle BMP3GunBase
ObjectTemplate.setNetworkableInfo BMP3_GunInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript ../../../../../Objects/Vehicles/Land/PZIIIJearly/Sounds/PZIIIJearlyGunBase.ssc
rem -------------------------------------
ObjectTemplate.addTemplate lodBMP3Cockpit
ObjectTemplate.addTemplate BMP3Camera
ObjectTemplate.setPosition -0.466/0.143/0.28
ObjectTemplate.addTemplate BMP3_100MMCannon
ObjectTemplate.addTemplate BMP3_30MMCannon
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-20/0
ObjectTemplate.setMaxRotation 0/4/0
ObjectTemplate.setMaxSpeed 0/15/0
ObjectTemplate.setAcceleration 0/750/0
ObjectTemplate.setInputToPitch c_PIMouseLookY


rem *** BMP3_Camera ***
ObjectTemplate.create Camera BMP3Camera


rem *** BMP3_PCO1 ***
ObjectTemplate.create PlayerControlObject BMP3MGLeftPCO1
ObjectTemplate.setNetworkableInfo BMP3_BodyInfo
ObjectTemplate.aiTemplate BMP3LeftGunner
rem -------------------------------------
ObjectTemplate.addTemplate BMP3Entry
ObjectTemplate.setPosition -1.25/-0.43/-0.656
ObjectTemplate.addTemplate BMP3Entry
ObjectTemplate.setPosition -1.25/-0.43/-3.056
ObjectTemplate.addTemplate BMP3SideCannonLeft
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2.5/0/-2 0/0/0
ObjectTemplate.GUIIndex 107
ObjectTemplate.setVehicleIcon "Vehicle/Bmp3.dds"
ObjectTemplate.setVehicleIconPos 100/102
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_7,62mmDT.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTLightTank
ObjectTemplate.setToolTipType TTLightTank
ObjectTemplate.hasRestrictedExit 1


rem *** BMP3_PCO2 ***
ObjectTemplate.create PlayerControlObject BMP3MGRightPCO2
ObjectTemplate.setNetworkableInfo BMP3_BodyInfo
ObjectTemplate.aiTemplate BMP3RightGunner
rem -------------------------------------
ObjectTemplate.addTemplate BMP3Entry
ObjectTemplate.setPosition 1.25/-0.43/-0.656
ObjectTemplate.addTemplate BMP3Entry
ObjectTemplate.setPosition 1.25/-0.43/-3.056
ObjectTemplate.addTemplate BMP3SideCannonRight
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 1.5/0/-2 0/0/0
ObjectTemplate.GUIIndex 107
ObjectTemplate.setVehicleIcon "Vehicle/Bmp3.dds"
ObjectTemplate.setVehicleIconPos 100/116
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_7,62mmDT.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTLightTank
ObjectTemplate.setToolTipType TTLightTank
ObjectTemplate.hasRestrictedExit 1


rem *** BMP3SideMG ***
ObjectTemplate.create RotationalBundle BMP3SideCannonLeft
ObjectTemplate.geometry BMP3_SideMG
ObjectTemplate.setattachToListener 1
ObjectTemplate.setNetworkableInfo BMP3_TurretInfo
rem -------------------------------------
ObjectTemplate.addTemplate BMP3Camera
ObjectTemplate.setPosition 0/0.2/0.25
ObjectTemplate.addTemplate DT1928_bowMG
rem -------------------------------------
ObjectTemplate.setMinRotation -30/-20/0
ObjectTemplate.setMaxRotation 5/8/0
ObjectTemplate.setMaxSpeed 50/50/0
ObjectTemplate.setAcceleration 750/750/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY


rem *** BMP3SIdeMG ***
ObjectTemplate.create RotationalBundle BMP3SideCannonRight
ObjectTemplate.geometry BMP3_SideMG
ObjectTemplate.setattachToListener 1
ObjectTemplate.setNetworkableInfo BMP3_TurretInfo
rem -------------------------------------
ObjectTemplate.addTemplate BMP3Camera
ObjectTemplate.setPosition 0/0.2/0.25
ObjectTemplate.addTemplate DT1928_bowMG
rem -------------------------------------
ObjectTemplate.setMinRotation -5/-20/0
ObjectTemplate.setMaxRotation 30/8/0
ObjectTemplate.setMaxSpeed 50/50/0
ObjectTemplate.setAcceleration 750/750/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY



rem *** lodBMP3Cockpit ***
ObjectTemplate.create LodObject lodBMP3Cockpit
rem -------------------------------------
ObjectTemplate.addTemplate BMP3CockpitExternal
ObjectTemplate.addTemplate BMP3TankCockpitInternal
ObjectTemplate.setPosition -0.466/-0.523/-0.2
rem -------------------------------------
ObjectTemplate.lodSelector BMP3TankCockpitSelector1

rem *** BMP3CockpitExternal ***
ObjectTemplate.create SimpleObject BMP3CockpitExternal
ObjectTemplate.geometry Bmp3_gunbase_m1
ObjectTemplate.hasCollisionPhysics 1

rem *** BMP3TankCockpitInternal ***
ObjectTemplate.create SimpleObject BMP3TankCockpitInternal
ObjectTemplate.geometry 1P_Kugelblitz_Gunner_M1

rem *** BMP3TankCockpitSelector1 ***
LodSelectorTemplate.create DistCompareSelector BMP3TankCockpitSelector1
LodSelectorTemplate.addLodDistance 1
LodSelectorTemplate.addLodComparison 0.5


rem *** BMP3_Entry ***
ObjectTemplate.create EntryPoint BMP3Entry
ObjectTemplate.setEntryRadius 3.8



rem *** BMP2_TrackL ***

ObjectTemplate.create AnimatedBundle BMP3_TreadL
ObjectTemplate.loadSoundScript ../../../../../Objects/Vehicles/Land//PZIIIJearly/Sounds/PZIIIJearlyTrackL.ssc
ObjectTemplate.geometry BMP3_LTread_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.createSkeleton animations/BMP3_LTread.ske
ObjectTemplate.setAnimatedTextureSpeed -0.0085/0
rem -------------------------------------
ObjectTemplate.addTemplate BMP3_L_wheel_1
ObjectTemplate.setPosition -1.25/-0.42/2.9

ObjectTemplate.addTemplate BMP3_WheelDust
ObjectTemplate.setPosition -1.23/-0.89/1.86
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate BMP3_WheelDummy
ObjectTemplate.setPosition -1.23/-0.89/1.03
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate BMP3_WheelDummy
ObjectTemplate.setPosition -1.23/-0.89/-0.03
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate BMP3_WheelNoDust
ObjectTemplate.setPosition -1.23/-0.89/-0.92
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate BMP3_WheelDummy
ObjectTemplate.setPosition -1.23/-0.89/-1.7
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate BMP3_WheelDust
ObjectTemplate.setPosition -1.23/-0.89/-2.6
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate BMP3_L_wheel_1
ObjectTemplate.setPosition -1.25/-0.51/-3.36
rem -------------------------------------





rem *** BMP3_TrackR ***
ObjectTemplate.create AnimatedBundle BMP3_TreadR
ObjectTemplate.loadSoundScript ../../../../../Objects/Vehicles/Land//PZIIIJearly/Sounds/PZIIIJearlyTrackR.ssc
ObjectTemplate.geometry BMP3_RTread_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.createSkeleton animations/BMP3_RTread.ske
ObjectTemplate.setAnimatedTextureSpeed -0.0085/0
rem -------------------------------------
ObjectTemplate.addTemplate BMP3_R_wheel_1
ObjectTemplate.setPosition 1.25/-0.42/2.9

ObjectTemplate.addTemplate BMP3_WheelDust
ObjectTemplate.setPosition 1.23/-0.89/1.86
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate BMP3_WheelDummy
ObjectTemplate.setPosition 1.23/-0.89/1.03
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate BMP3_WheelDummy
ObjectTemplate.setPosition 1.23/-0.89/-0.03
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate BMP3_WheelNoDust
ObjectTemplate.setPosition 1.23/-0.89/-0.92
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate BMP3_WheelDummy
ObjectTemplate.setPosition 1.23/-0.89/-1.7
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate BMP3_WheelDust
ObjectTemplate.setPosition 1.23/-0.89/-2.6
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate BMP3_R_wheel_1
ObjectTemplate.setPosition 1.25/-0.51/-3.36



rem *** BMP3_R_wheel_1 ***
ObjectTemplate.create SimpleObject BMP3_R_wheel_1
ObjectTemplate.geometry Bmp3_R_Whl_1_m1
ObjectTemplate.hasResponsePhysics 1

rem *** BMP3_L_wheel_1 ***
ObjectTemplate.create SimpleObject BMP3_L_wheel_1
ObjectTemplate.geometry Bmp3_L_Whl_1_m1
ObjectTemplate.hasResponsePhysics 1


rem *** BMP3Simple ***
ObjectTemplate.create SimpleObject BMP3Simple
ObjectTemplate.geometry Bmp3_hull_L1



rem *** BMP3Wreck ***
ObjectTemplate.create Bundle BMP3Wreck
ObjectTemplate.geometry Bmp3_W_Hull_m1
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.startoneffects 1
ObjectTemplate.setPosition 0/1.3/0


rem *** BMP3LodSelector ***
LodSelectorTemplate.create DistCompareSelector2 BMP3LodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 150