This page is under construction
Archives/bf1942/levels/aragon-1938.rfa
bf1942/levels/aragon-1938/Objects/PanzerIb/Objects.con


rem *** Panzer_Ib ***
ObjectTemplate.create PlayerControlObject PanzerIb
ObjectTemplate.NameTagOffset 0/-0.5/0
ObjectTemplate.setNetworkableInfo Panzer_IbBodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.damageFromWater 0
ObjectTemplate.exitTimer 1
ObjectTemplate.drag 8
ObjectTemplate.mass 9500
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 62
ObjectTemplate.maxhitpoints 62
ObjectTemplate.material 33
ObjectTemplate.criticalDamage 20
ObjectTemplate.hpLostWhileCriticalDamage 1
ObjectTemplate.explosionForceMod 0
ObjectTemplate.hpLostWhileUpSideDown 5
ObjectTemplate.hpLostWhileDamageFromWater 5
ObjectTemplate.speedMod 2
ObjectTemplate.addArmorEffect 30 e_WespeDamage 0/0.2/-0.5
ObjectTemplate.addArmorEffect 12 e_WespeFire 0/0.6/-1
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/0/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.timetoliveafterdeath 60
ObjectTemplate.fadeAtTimeToLiveAfterDeath 0
ObjectTemplate.aiTemplate Panzer_Ib
rem -------------------------------------
ObjectTemplate.addTemplate lodPanzer_Ib
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2/0/0 0/0/0
ObjectTemplate.GUIIndex 140
ObjectTemplate.submarineData 1 0.03 10.0 1.1 1.2 0.5 5
ObjectTemplate.setVehicleIcon "Vehicle/Icon_Panzer1b.dds"
ObjectTemplate.setVehicleIconPos 68/87
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_7,92mmMG30.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setHasTurretIcon 1
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_lighttank_16x16.dds"
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTLightTank
ObjectTemplate.setToolTipType TTLightTank
ObjectTemplate.hasRestrictedExit 1


rem *** lodPanzer_IIc ***
ObjectTemplate.create LodObject lodPanzer_Ib
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate Panzer_IbComplex
ObjectTemplate.addTemplate Panzer_IbSimple
ObjectTemplate.addTemplate Panzer_IbWreck
rem -------------------------------------
ObjectTemplate.lodSelector Panzer_IbLodSelector


rem *** Panzer_IbComplex ***
ObjectTemplate.create Bundle Panzer_IbComplex
ObjectTemplate.loadSoundScript Sounds/panzerIITrack.ssc
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.geometry Panzer_Ib_Hull_M1
rem -------------------------------------
ObjectTemplate.addTemplate Panzer_IbEntry
ObjectTemplate.addTemplate Panzer_IbEngine
ObjectTemplate.addTemplate LightblueEngineSmoke
ObjectTemplate.setPosition 0.74/0.332/-1.988
ObjectTemplate.addTemplate LightblueEngineSmoke
ObjectTemplate.setPosition 0.74/0.322/-1.988
ObjectTemplate.addTemplate Panzer_IbTower
ObjectTemplate.setPosition 0.087/0.868/0.034
ObjectTemplate.addTemplate Panzer_IbEntry
ObjectTemplate.setPosition 0.4/0/0.5
rem -------------------------------------

rem *** Panzer_IbCockpitSelector ***
LodSelectorTemplate.create DistCompareSelector Panzer_IbCockpitSelector
LodSelectorTemplate.addLodDistance 1.2
LodSelectorTemplate.addLodComparison 0.5


rem *** Panzer_IbEntry ***
ObjectTemplate.create EntryPoint Panzer_IbEntry
ObjectTemplate.setEntryRadius 3.0



rem *** Panzer_IbTower ***
ObjectTemplate.create RotationalBundle Panzer_IbTower
ObjectTemplate.setNetworkableInfo Panzer_IbTurretInfo
ObjectTemplate.loadSoundScript Sounds/panzerIITurret.ssc
ObjectTemplate.geometry Panzer_Ib_Tower_M1
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate Panzer_IbGunBase
ObjectTemplate.setPosition 0.006/-0.06/0.473
rem -------------------------------------
ObjectTemplate.setMaxSpeed 10/0/0
ObjectTemplate.setAcceleration 100/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX

rem *** Panzer_IbGunBase ***
ObjectTemplate.create RotationalBundle Panzer_IbGunBase
ObjectTemplate.setNetworkableInfo Panzer_IbGunInfo
ObjectTemplate.geometry P1b_gun_base
ObjectTemplate.loadSoundScript Sounds/panzerIIgunbase.ssc
rem -------------------------------------
ObjectTemplate.addTemplate lodPanzer_IbCockpit
rem ObjectTemplate.addTemplate PanzerIIcCannon

ObjectTemplate.addTemplate Pz1MGcannonl
ObjectTemplate.setPosition -0.21/-0.15/-0.43
rem ObjectTemplate.addTemplate MG30_bowMG
rem ObjectTemplate.addTemplate Breda38_bowMG
rem ObjectTemplate.setPosition -0.21/-0.03/-0.47
rem ObjectTemplate.addTemplate MG30_bowMGalt
rem ObjectTemplate.addTemplate Breda38_bowMGAlt
rem ObjectTemplate.setPosition 0.21/-0.03/-0.47

ObjectTemplate.addTemplate Panzer_IbGunnerCamera
ObjectTemplate.setPosition 0/0/0.1


rem -------------------------------------
ObjectTemplate.setMinRotation 0/-40/0
ObjectTemplate.setMaxRotation 0/8/0
ObjectTemplate.setMaxSpeed 0/23/0
ObjectTemplate.setAcceleration 0/107/0
ObjectTemplate.setInputToPitch c_PIMouseLookY

rem *** lodPanzer_IbCockpit ***
ObjectTemplate.create LodObject lodPanzer_IbCockpit
rem -------------------------------------
ObjectTemplate.addTemplate Panzer_IbCockpitExternal
ObjectTemplate.addTemplate Panzer_IbCockpitInternal
ObjectTemplate.setPosition 0/-0.05/0.31
rem -------------------------------------
ObjectTemplate.lodSelector Panzer_IbCockpitSelector

rem *** Panzer_IbockpitExternal ***
ObjectTemplate.create SimpleObject Panzer_IbCockpitExternal


rem *** Panzer_IbockpitExternal ***
ObjectTemplate.create SimpleObject Panzer_IbCockpitExternal

rem *** Panzer_IbockpitInternal ***
ObjectTemplate.create SimpleObject Panzer_IbCockpitInternal
ObjectTemplate.geometry 1P_Panzer_Ib_Driver_M1

rem *** Panzer_IIGunnerCamera ***
ObjectTemplate.create Camera Panzer_IbGunnerCamera
rem ObjectTemplate.OutsideHudOffset 0.0005/0.61625/0.9
ObjectTemplate.OutsideHudOffset 0.0005/0.61625/0.7


ObjectTemplate.create AnimatedBundle Panzer1_Track_Left
ObjectTemplate.loadSoundScript Sounds/Panzer38(t)TrackL.ssc
ObjectTemplate.geometry Panzer_Ib_Track_L_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.createSkeleton animations/panzer1_l_track.ske
ObjectTemplate.setAnimatedTextureSpeed 0.006/0
rem -------------------------------------
ObjectTemplate.addTemplate Panzer1_FLwheel
ObjectTemplate.setPosition -0.89/-0.233/1.719

ObjectTemplate.addTemplate Panzer1_Lwheel
ObjectTemplate.setPosition -0.883/-0.56/1.165
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate Panzer1_LwheelDummy
ObjectTemplate.setPosition -0.883/-0.56/0.622
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate Panzer1_Lwheel
ObjectTemplate.setPosition -0.883/-0.56/-0.016
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate Panzer1_LwheelDummySmoke
ObjectTemplate.setPosition -0.883/-0.56/-0.564
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate Panzer1_Lwheel
ObjectTemplate.setPosition -0.883/-0.56/-1.2
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate Panzer1_RLwheel
ObjectTemplate.setPosition -0.896/-0.32/-1.818

ObjectTemplate.addTemplate Panzer1_Lwheel_small
ObjectTemplate.setPosition -0.891/-0.07/0.926

ObjectTemplate.addTemplate Panzer1_Lwheel_small
ObjectTemplate.setPosition -0.891/-0.07/0.306

ObjectTemplate.addTemplate Panzer1_Lwheel_small
ObjectTemplate.setPosition -0.891/-0.07/-0.319

ObjectTemplate.addTemplate Panzer1_Lwheel_small
ObjectTemplate.setPosition -0.891/-0.07/-0.875



ObjectTemplate.create AnimatedBundle Panzer1_Track_Right
ObjectTemplate.loadSoundScript Sounds/Panzer38(t)TrackR.ssc
ObjectTemplate.geometry Panzer_Ib_Track_R_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.createSkeleton animations/panzer1_R_track.ske
ObjectTemplate.setAnimatedTextureSpeed 0.006/0
rem -------------------------------------
ObjectTemplate.addTemplate Panzer1_FRwheel
ObjectTemplate.setPosition 0.717/-0.233/1.719

ObjectTemplate.addTemplate Panzer1_Rwheel
ObjectTemplate.setPosition 0.71/-0.56/1.165
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate Panzer1_RwheelDummy
ObjectTemplate.setPosition 0.71/-0.56/0.622
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate Panzer1_Rwheel
ObjectTemplate.setPosition 0.71/-0.56/-0.016
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate Panzer1_RwheelDummySmoke
ObjectTemplate.setPosition 0.71/-0.56/-0.564
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate Panzer1_Rwheel
ObjectTemplate.setPosition 0.71/-0.56/-1.2
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate Panzer1_RRwheel
ObjectTemplate.setPosition 0.723/-0.32/-1.818

ObjectTemplate.addTemplate Panzer1_Rwheel_small
ObjectTemplate.setPosition 0.718/-0.07/0.926

ObjectTemplate.addTemplate Panzer1_Rwheel_small
ObjectTemplate.setPosition 0.718/-0.07/0.306

ObjectTemplate.addTemplate Panzer1_Rwheel_small
ObjectTemplate.setPosition 0.718/-0.07/-0.319

ObjectTemplate.addTemplate Panzer1_Rwheel_small
ObjectTemplate.setPosition 0.718/-0.07/-0.875


rem *** Panzer_IISimple ***
ObjectTemplate.create SimpleObject Panzer_IbSimple
ObjectTemplate.geometry Panzer_IIc_Hull_L1


rem *** Panzer_IIWreck ***
ObjectTemplate.create SimpleObject Panzer_IbWreck
ObjectTemplate.geometry Wreck_Panzer_Ib_M1
ObjectTemplate.hasCollisionPhysics 1


rem *** Panzer_IIcLodSelector ***
LodSelectorTemplate.create DistCompareSelector2 Panzer_IbLodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 100

rem *** Panzer_Ibreda ***
ObjectTemplate.create PlayerControlObject PanzerIbreda
ObjectTemplate.NameTagOffset 0/-0.5/0
ObjectTemplate.setNetworkableInfo Panzer_IbBodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.damageFromWater 0
ObjectTemplate.exitTimer 1
ObjectTemplate.drag 8
ObjectTemplate.mass 9500
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 62
ObjectTemplate.maxhitpoints 62
ObjectTemplate.material 33
ObjectTemplate.criticalDamage 20
ObjectTemplate.hpLostWhileCriticalDamage 1
ObjectTemplate.explosionForceMod 0
ObjectTemplate.hpLostWhileUpSideDown 5
ObjectTemplate.hpLostWhileDamageFromWater 5
ObjectTemplate.speedMod 2
ObjectTemplate.addArmorEffect 30 e_WespeDamage 0/0.2/-0.5
ObjectTemplate.addArmorEffect 12 e_WespeFire 0/0.6/-1
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/0/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.timetoliveafterdeath 60
ObjectTemplate.fadeAtTimeToLiveAfterDeath 0
ObjectTemplate.aiTemplate Panzer_Ib
rem -------------------------------------
ObjectTemplate.addTemplate lodPanzer_Ibreda
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2/0/0 0/0/0
ObjectTemplate.GUIIndex 140
ObjectTemplate.submarineData 1 0.03 10.0 1.1 1.2 0.5 5
ObjectTemplate.setVehicleIcon "Vehicle/Icon_Panzer1b.dds"
ObjectTemplate.setVehicleIconPos 68/87
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_20mmbreda35.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setHasTurretIcon 1
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_lighttank_16x16.dds"
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTLightTank
ObjectTemplate.setToolTipType TTLightTank
ObjectTemplate.hasRestrictedExit 1

rem *** lodPanzer_IIc ***
ObjectTemplate.create LodObject lodPanzer_Ibreda
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate Panzer_IbredaComplex
ObjectTemplate.addTemplate Panzer_IbSimple
ObjectTemplate.addTemplate Panzer_IbWreck
rem -------------------------------------
ObjectTemplate.lodSelector Panzer_IbLodSelector

rem *** Panzer_IbComplex ***
ObjectTemplate.create Bundle Panzer_IbredaComplex
ObjectTemplate.loadSoundScript Sounds/panzerIITrack.ssc
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.geometry Panzer_Ib_Hull_M1
rem -------------------------------------
ObjectTemplate.addTemplate Panzer_IbEntry
ObjectTemplate.addTemplate Panzer_IbEngine
ObjectTemplate.addTemplate LightblueEngineSmoke
ObjectTemplate.setPosition 0.74/0.332/-1.988
ObjectTemplate.addTemplate LightblueEngineSmoke
ObjectTemplate.setPosition 0.74/0.322/-1.988
ObjectTemplate.addTemplate Panzer_IbredaTower
ObjectTemplate.setPosition 0.087/0.868/0.034
ObjectTemplate.addTemplate Panzer_IbEntry
ObjectTemplate.setPosition 0.4/0/0.5
rem -------------------------------------

rem *** Panzer_IbTower ***
ObjectTemplate.create RotationalBundle Panzer_IbredaTower
ObjectTemplate.setNetworkableInfo Panzer_IbTurretInfo
ObjectTemplate.loadSoundScript Sounds/panzerIITurret.ssc
ObjectTemplate.geometry Panzer_Ibreda_Tower_M1
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate Panzer_IbredaGunBase
ObjectTemplate.setPosition 0.006/0/0.412
rem -------------------------------------
ObjectTemplate.setMaxSpeed 10/0/0
ObjectTemplate.setAcceleration 100/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX

rem *** Panzer_IbGunBase ***
ObjectTemplate.create RotationalBundle Panzer_IbredaGunBase
ObjectTemplate.setNetworkableInfo Panzer_IbGunInfo
ObjectTemplate.geometry P1breda_gun_base
ObjectTemplate.setPosition 0/0.15/0
ObjectTemplate.loadSoundScript Sounds/panzerIIgunbase.ssc
rem -------------------------------------
ObjectTemplate.addTemplate lodPanzer_IbCockpit
rem ObjectTemplate.addTemplate PanzerIIcCannon

ObjectTemplate.addTemplate Panzer1breda_Cannon
ObjectTemplate.setPosition 0.1/0/-0.044

ObjectTemplate.addTemplate Panzer_IbGunnerCamera
ObjectTemplate.setPosition 0/0/0.1
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-6/0
ObjectTemplate.setMaxRotation 0/8/0
ObjectTemplate.setMaxSpeed 0/23/0
ObjectTemplate.setAcceleration 0/107/0
ObjectTemplate.setInputToPitch c_PIMouseLookY