This page is under construction
archives/bf1942/levels/fht_liberation_of_strasbourg-1945.rfa
bf1942/levels/fht_liberation_of_strasbourg-1945/Objects/Kits/DeployedSmokeMortar/Objects.con
rem *** DeployedSmokeMortar ***
ObjectTemplate.create PlayerControlObject DeployedSmokeMortar
ObjectTemplate.setNetworkableInfo MortarBodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.setHasMobilePhysics 0
ObjectTemplate.explosionForceDamage 0
ObjectTemplate.explosionRadius 0
ObjectTemplate.explosionDamage 0
ObjectTemplate.HasArmor 1
ObjectTemplate.HitPoints 50
ObjectTemplate.MaxHitPoints 50
ObjectTemplate.Material 30
rem ObjectTemplate.addArmorEffect 0 e_MGcollect 0/0.8/0
ObjectTemplate.timetoliveafterdeath 4
ObjectTemplate.timeToStartFadeAfterDeath 3.5
ObjectTemplate.destroyOnExit 1
rem -------------------------------------
ObjectTemplate.addTemplate lodDeployedSmokeMortar
ObjectTemplate.addTemplate TripodMGSupplyDepot
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -1/0.5/0 180/0/0
ObjectTemplate.GUIIndex 24
ObjectTemplate.setVehicleIcon "Vehicle/Icon_Mortar.tga"
ObjectTemplate.setVehicleIconPos 45/76
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTArtillery
ObjectTemplate.setToolTipType TTArtillery
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_artillery_16x16.tga"
ObjectTemplate.hasRestrictedExit 1
ObjectTemplate.artPos 1
ObjectTemplate.DirBarXScale 25
ObjectTemplate.DirBarYScaleAbove 40
ObjectTemplate.DirBarYScaleBelow 0
ObjectTemplate.DirBarRotate 50
ObjectTemplate.DirBarYScaleMin -90
ObjectTemplate.DirBarYScaleMax -50
rem *** lodSmokeMortar ***
ObjectTemplate.create LodObject lodDeployedSmokeMortar
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate SmokeMortarComplex
ObjectTemplate.addTemplate SmokeMortarSimple
ObjectTemplate.addTemplate DeployedSmokeMortarWreck
rem -------------------------------------
ObjectTemplate.lodSelector DeployedSmokeMortarLodSelector
rem *** SmokeMortarComplex ***
ObjectTemplate.create RotationalBundle SmokeMortarComplex
ObjectTemplate.setNetworkableInfo MortarBodyInfo
ObjectTemplate.geometry Mortar_base_m1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate SmokeMortar_Horiz_Rot
ObjectTemplate.setPosition 0/0.5/-0.12
ObjectTemplate.setRotation 180/0/0
ObjectTemplate.addTemplate SmokeMortar_Entry
ObjectTemplate.setPosition 0/0.6/0
ObjectTemplate.addTemplate SmokeMortarSeat
ObjectTemplate.setPosition 0.2/0.9/0.9
ObjectTemplate.setRotation 180/0/0
rem -------------------------------------
ObjectTemplate.setMaxSpeed 5/0/0
ObjectTemplate.setAcceleration 100/0/0
ObjectTemplate.setInputToYaw c_PIYaw
rem *** SmokeMortarBase ***
ObjectTemplate.create RotationalBundle SmokeMortar_Horiz_Rot
ObjectTemplate.setNetworkableInfo MortarTowerInfo
ObjectTemplate.loadSoundScript Sounds/M4A1Turret.ssc
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate SmokeMortar_Pad
ObjectTemplate.setPosition 0/-0.499/-0.65
ObjectTemplate.addTemplate SmokeMortarVertical
ObjectTemplate.setPosition 0/-0.499/-0.65
ObjectTemplate.addTemplate SmokeMortarCamRotation
ObjectTemplate.setPosition -0.09/2.93/-2.00
ObjectTemplate.setRotation 0/1/0
rem -------------------------------------
ObjectTemplate.setMinRotation -25/0/0
ObjectTemplate.setMaxRotation 25/0/0
ObjectTemplate.setMaxSpeed 20/0/0
ObjectTemplate.setAcceleration 1000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setAutomaticYawStabilization 1
rem *** SmokeMortarVertical ***
ObjectTemplate.create RotationalBundle SmokeMortarVertical
ObjectTemplate.setNetworkableInfo MortarGunInfo
ObjectTemplate.loadSoundScript Sounds/M4A1Turret.ssc
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate SmokeMortarFirearm
ObjectTemplate.addTemplate SmokeMortarSupport
ObjectTemplate.setPosition 0/-0.158/0.811
ObjectTemplate.setRotation 180/-20.5/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-86/0
ObjectTemplate.setMaxRotation 0/-36/0
ObjectTemplate.setMaxSpeed 0/15/0
ObjectTemplate.setAcceleration 0/1000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setAutomaticPitchStabilization 1
ObjectTemplate.create SimpleObject SmokeMortarSupport
ObjectTemplate.geometry SaMortar_Rotate_m1
ObjectTemplate.create SimpleObject SmokeMortarBarrel
ObjectTemplate.geometry Mortar_Launcher_M1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.create SimpleObject SmokeMortar_Pad
ObjectTemplate.geometry SAMortar_Pad_M1
ObjectTemplate.hasCollisionPhysics 1
rem *** SmokeMortarCamRotation ***
ObjectTemplate.create RotationalBundle SmokeMortarCamRotation
ObjectTemplate.setNetworkableInfo MortarGunInfo
rem -------------------------------------
ObjectTemplate.addTemplate SmokeMortarCamera
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/15/0
ObjectTemplate.setMaxSpeed 0/2/0
ObjectTemplate.setAcceleration 0/-1000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setAutomaticPitchStabilization 1
rem *** SmokeMortar_Entry ***
ObjectTemplate.create EntryPoint SmokeMortar_Entry
ObjectTemplate.setEntryRadius 4
rem *** SmokeMortarCamera ***
ObjectTemplate.create Camera SmokeMortarCamera
ObjectTemplate.CVMExternTrace 1
rem *** SmokeMortarSeat ***
ObjectTemplate.create SeatObject SmokeMortarSeat
ObjectTemplate.seatFlags c_SeatShowStandingSoldier
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.seatAnimationLowerBody Lb_CrouchTripodGunner
rem *** SmokeMortarSimple ***
ObjectTemplate.create SimpleObject SmokeMortarSimple
ObjectTemplate.geometry Mortar_l1
beginrem
rem *** SmokeMortarLodSelector ***
LodSelectorTemplate.create DistCompareSelector2 SmokeMortarLodSelector
LodSelectorTemplate.hasDestroyedLod 0
LodSelectorTemplate.addLodDistance 200
endrem
rem *** DeployedSmokeMortarWreck ***
ObjectTemplate.create SimpleObject DeployedSmokeMortarWreck
ObjectTemplate.geometry Mortar_base_m1
rem *** DeployedSmokeMortarLodSelector ***
LodSelectorTemplate.create DistCompareSelector2 DeployedSmokeMortarLodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 200