This page is under construction
Archives/bf1942/levels/Husky.rfa
bf1942/levels/Husky/Objects/SemoventeM40/Objects.con
rem *** SemoventeM40 ***
ObjectTemplate.create PlayerControlObject SemoventeM40
ObjectTemplate.setNetworkableInfo SemoventeM40BodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 2
ObjectTemplate.drag 2
ObjectTemplate.mass 14000
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 0.75
ObjectTemplate.exitTimer 1
ObjectTemplate.hitpoints 110
ObjectTemplate.maxhitpoints 110
ObjectTemplate.material 48
ObjectTemplate.criticalDamage 10
ObjectTemplate.explosionForceMod 13
ObjectTemplate.hpLostWhileUpSideDown 10
ObjectTemplate.hpLostWhileDamageFromWater 10
ObjectTemplate.addArmorEffect 50 e_PanzDamage 0/1.0/-1.7
ObjectTemplate.addArmorEffect 10 e_PanzFire 0/0.7/-1.6
ObjectTemplate.addArmorEffect 0 e_ExplGas 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.timetoliveafterdeath 25
ObjectTemplate.fadeAtTimeToLiveAfterDeath 0
ObjectTemplate.damageFromWater 0
ObjectTemplate.aiTemplate semo40
rem -------------------------------------
ObjectTemplate.addTemplate lodSemoventeM40
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2/0/0 0/0/0
ObjectTemplate.GUIIndex 24
ObjectTemplate.submarineData 1 0.03 10.0 1.5 1.8 1.0 5
ObjectTemplate.setVehicleIcon "Vehicle/Icon_SemoventeM40.dds"
ObjectTemplate.setVehicleIconPos 68/53
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_SemoventeM40"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setHasTurretIcon 1
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTTankHunter
ObjectTemplate.setToolTipType TTArtillery
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_StuG_16x16.tga"
ObjectTemplate.hasRestrictedExit 1

ObjectTemplate.create LodObject lodSemoventeM40
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate SemoventeM40Complex
ObjectTemplate.addTemplate SemoventeM40Simple
ObjectTemplate.addTemplate SemoventeM40Wreck
rem -------------------------------------
ObjectTemplate.lodSelector SemoventeM40LodSelector

ObjectTemplate.create Bundle SemoventeM40Complex
ObjectTemplate.geometry SemoventeM40_hull_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate SemoventeM40Entry
ObjectTemplate.setPosition 0/0/0.04
ObjectTemplate.addTemplate SemoventeM40Engine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate SemoventeM40tower
rem -------------------------------------

ObjectTemplate.create RotationalBundle SemoventeM40tower
ObjectTemplate.setNetworkableInfo SemoventeM40TurretInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.geometry SemoventeM40_tower_m1
ObjectTemplate.loadSoundScript Sounds/m13_40Turret.ssc
ObjectTemplate.addTemplate SemoventeM40Seat
ObjectTemplate.setPosition -0.5642/0.8665/-1.9863
rem -------------------------------------
ObjectTemplate.addTemplate SemoventeM40GunBase
rem -------------------------------------
ObjectTemplate.setMinRotation -10/0/0
ObjectTemplate.setMaxRotation 10/0/0
ObjectTemplate.setMaxSpeed 20/0/0
ObjectTemplate.setAcceleration 100/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX

ObjectTemplate.create RotationalBundle SemoventeM40GunBase
ObjectTemplate.setNetworkableInfo SemoventeM40GunInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.geometry SemoventeM40_gunbase_m1
ObjectTemplate.loadSoundScript Sounds/m13_40GunBase.ssc
rem -------------------------------------
ObjectTemplate.addTemplate lodSemoventeM40Cockpit
ObjectTemplate.addTemplate SemoventeM40_gun
ObjectTemplate.addTemplate SemoventeM40Camera
ObjectTemplate.setPosition -0.298/1.655/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-7/0
ObjectTemplate.setMaxRotation 0/3/0
ObjectTemplate.setMaxSpeed 0/15/0
ObjectTemplate.setAcceleration 0/100/0
ObjectTemplate.setInputToPitch c_PIMouseLookY

ObjectTemplate.create LodObject lodSemoventeM40Cockpit
rem -------------------------------------
ObjectTemplate.addTemplate SemoventeM40CockpitExternal
ObjectTemplate.addTemplate SemoventeM40CockpitInternal
ObjectTemplate.setPosition -0.298/1.6058/0.1971
rem -------------------------------------
ObjectTemplate.lodSelector SemoventeM40cockpitSelector

ObjectTemplate.create SimpleObject SemoventeM40CockpitExternal
ObjectTemplate.geometry 1p_m13_40_Gunner_m1

ObjectTemplate.create SimpleObject SemoventeM40CockpitInternal
ObjectTemplate.geometry 1p_m13_40_Gunner_m1

LodSelectorTemplate.create DistCompareSelector SemoventeM40cockpitSelector
LodSelectorTemplate.addLodDistance 1
LodSelectorTemplate.addLodComparison 0.5

ObjectTemplate.create Camera SemoventeM40Camera
ObjectTemplate.OutsideHudOffset 0/0.61596/0.74246

ObjectTemplate.create EntryPoint SemoventeM40Entry
ObjectTemplate.setEntryRadius 3.6

ObjectTemplate.create SeatObject SemoventeM40Seat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside

rem *** m13_40_Track_Left ***
ObjectTemplate.create AnimatedBundle m13_40_Track_Left
ObjectTemplate.loadSoundScript Sounds/m13_40TrackL.ssc
ObjectTemplate.geometry m13_40_l_track_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.createSkeleton animations/m13_40_trackL.ske
ObjectTemplate.setAnimatedTextureSpeed -0.006/0
rem -------------------------------------
ObjectTemplate.addTemplate m13_40_FrontLeftwheel
ObjectTemplate.setPosition -0.523/0.321/2.272
rem ----------------------------------------------

ObjectTemplate.addTemplate m13_40_Lwheel
ObjectTemplate.setPosition -0.516/-0.314/1.555
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate m13_40_LwheelDummy
ObjectTemplate.setPosition -0.516/-0.314/1.16
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate m13_40_Lwheel
ObjectTemplate.setPosition -0.516/-0.314/0.746
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate m13_40_LwheelDummy
ObjectTemplate.setPosition -0.516/-0.314/0.327
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate m13_40_LwheelDummy
ObjectTemplate.setPosition -0.516/-0.314/-0.157
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate m13_40_LwheelDummy
ObjectTemplate.setPosition -0.516/-0.314/-0.574
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate m13_40_LwheelDummySmoke
ObjectTemplate.setPosition -0.516/-0.314/-0.991
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate m13_40_Lwheel
ObjectTemplate.setPosition -0.516/-0.314/-1.439
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

rem ----------------------------------------------
ObjectTemplate.addTemplate m13_40_RearLeftwheel
ObjectTemplate.setPosition -0.534/0.165/-2.333
rem ----------------------------------------------
ObjectTemplate.addTemplate m13_40_Lwheel_small
ObjectTemplate.setPosition -0.528/0.54/1.49

ObjectTemplate.addTemplate m13_40_Lwheel_small
ObjectTemplate.setPosition -0.528/0.461/0.016

ObjectTemplate.addTemplate m13_40_Lwheel_small
ObjectTemplate.setPosition -0.528/0.356/-1.503
rem -------------------------------------




rem *** m13_40_Track_Right ***
ObjectTemplate.create AnimatedBundle m13_40_Track_Right
ObjectTemplate.loadSoundScript Sounds/m13_40TrackR.ssc
ObjectTemplate.geometry m13_40_r_track_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.createSkeleton animations/m13_40_trackR.ske
ObjectTemplate.setAnimatedTextureSpeed -0.006/0
rem -------------------------------------
ObjectTemplate.addTemplate m13_40_FrontRightwheel
ObjectTemplate.setPosition 0.523/0.321/2.272
rem -------------------------------------

ObjectTemplate.addTemplate m13_40_Rwheel
ObjectTemplate.setPosition 0.516/-0.314/1.555
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate m13_40_RwheelDummy
ObjectTemplate.setPosition 0.516/-0.314/1.16
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate m13_40_RwheelDummy
ObjectTemplate.setPosition 0.516/-0.314/0.746
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate m13_40_RwheelDummy
ObjectTemplate.setPosition 0.516/-0.314/0.327
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate m13_40_Rwheel
ObjectTemplate.setPosition 0.516/-0.314/-0.157
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate m13_40_RwheelDummy
ObjectTemplate.setPosition 0.516/-0.314/-0.574
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate m13_40_RwheelDummySmoke
ObjectTemplate.setPosition 0.516/-0.314/-0.991
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

ObjectTemplate.addTemplate m13_40_Rwheel
ObjectTemplate.setPosition 0.516/-0.314/-1.439
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0

rem ----------------------------------------------
ObjectTemplate.addTemplate m13_40_RearRightwheel
ObjectTemplate.setPosition 0.534/0.165/-2.333
rem ----------------------------------------------
ObjectTemplate.addTemplate m13_40_Rwheel_small
ObjectTemplate.setPosition 0.528/0.54/1.49

ObjectTemplate.addTemplate m13_40_Rwheel_small
ObjectTemplate.setPosition 0.528/0.461/0.016

ObjectTemplate.addTemplate m13_40_Rwheel_small
ObjectTemplate.setPosition 0.528/0.356/-1.503
rem -------------------------------------



rem *** SemoventeM40Simple ***
ObjectTemplate.create SimpleObject SemoventeM40Simple
ObjectTemplate.geometry m13_40_hull_L1


rem *** SemoventeM40Wreck ***
ObjectTemplate.create SimpleObject SemoventeM40Wreck
ObjectTemplate.geometry Wreck_m13_40_m1


rem *** SemoventeM40LodSelector ***
LodSelectorTemplate.create DistCompareSelector2 SemoventeM40LodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 135