This page is under construction
Archives/bf1942/levels/El_Alamein.rfa
bf1942/levels/El_Alamein/objects.con


rem *** Patriot ***
ObjectTemplate.create playercontrolobject Patriot
ObjectTemplate.NameTagOffset -0.3/-0.2/0
ObjectTemplate.setNetworkableInfo PatriotBodyInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 1
ObjectTemplate.explosionDamage 1
ObjectTemplate.damageFromWater 1
ObjectTemplate.drag 0.5
ObjectTemplate.mass 3000
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 1
ObjectTemplate.exitTimer 0.75
ObjectTemplate.hitpoints 100
ObjectTemplate.maxhitpoints 100
ObjectTemplate.material 45
ObjectTemplate.criticalDamage 6
ObjectTemplate.hpLostWhileCriticalDamage 2
ObjectTemplate.explosionForceMod 1
ObjectTemplate.hpLostWhileUpSideDown 5
ObjectTemplate.hpLostWhileDamageFromWater 5
ObjectTemplate.addArmorEffect 30 e_WillyDamage 0/1.7/0
ObjectTemplate.addArmorEffect 6 e_WillyFire 0/0.8/1.5
ObjectTemplate.addArmorEffect 0 e_scrapmetal_willy 0/0/0
ObjectTemplate.addArmorEffect 0 e_ExplGas_car 0/1.2/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.aiTemplate Patriot
ObjectTemplate.setSoldierExitLocation -1.5/0/-0.8 0/0/0
ObjectTemplate.GUIIndex 26
ObjectTemplate.setVehicleIcon "Vehicle/Icon_Humvee.tga"
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_common_16x16.tga"
ObjectTemplate.setVehicleIconPos 75/60
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTScoutCar
ObjectTemplate.setToolTipType TTScoutCar
ObjectTemplate.hasRestrictedExit 1
ObjectTemplate.addTemplate lodPatriot
ObjectTemplate.addTemplate SA3_Sonar
ObjectTemplate.setPosition 0/3/0
ObjectTemplate.sonarPos 1
ObjectTemplate.setVehicleIcon "Vehicle/Icon_SA3.tga"
ObjectTemplate.setVehicleIconPos 37/78
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_GuidedSA3.dds"
ObjectTemplate.setPrimaryAmmoBar ABReloadBarOnly


rem *** lodPatriot ***
ObjectTemplate.create lodobject lodPatriot
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.lodSelector PatriotLodSelector
ObjectTemplate.addTemplate PatriotComplex
ObjectTemplate.addTemplate PatriotSimple
ObjectTemplate.addTemplate PatriotWreck


rem *** PatriotComplex ***
ObjectTemplate.create bundle PatriotComplex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.addTemplate lodPatriotCockpit
ObjectTemplate.addTemplate PatriotTubeBase
ObjectTemplate.setPosition 0/1.8627/2.1618
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate PatriotEntry
ObjectTemplate.setPosition -2/0/0
ObjectTemplate.addTemplate PatriotEntry
ObjectTemplate.setPosition 2/0/0


ObjectTemplate.create RotationalBundle PatriotTubeBase
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.geometry Patriot_Tube_Base

ObjectTemplate.loadSoundScript Sounds/SA3Carriage.ssc

rem ObjectTemplate.setMinRotation -40/0/0
rem ObjectTemplate.setMaxRotation 40/0/0
ObjectTemplate.setMaxSpeed 30/0/0
ObjectTemplate.setAcceleration 1000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.addTemplate PatriotTube
ObjectTemplate.setPosition 0/0.6999/1.0706


ObjectTemplate.create RotationalBundle PatriotTube
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.setPivotPosition 0/0/0
ObjectTemplate.geometry Patriot_Tube

ObjectTemplate.loadSoundScript Sounds/SA3gunbase.ssc

ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/50/0
ObjectTemplate.setMaxSpeed 0/30/0
ObjectTemplate.setAcceleration 0/-1000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.addTemplate PatriotCamera
ObjectTemplate.setPosition 0/2/0
ObjectTemplate.setRotation 180/0/0
ObjectTemplate.addTemplate PatriotRocket
ObjectTemplate.setRotation 180/0/0

rem *** PatriotCamera ***
ObjectTemplate.create Camera PatriotCamera
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/0/0
ObjectTemplate.setPivotPosition 0/0/0
ObjectTemplate.setMaxSpeed 0/0/0
ObjectTemplate.setAcceleration 0/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX


rem *** PatriotEntry ***
ObjectTemplate.create entrypoint PatriotEntry
ObjectTemplate.setEntryRadius 3


rem *** lodPatriotCockpit ***
ObjectTemplate.create lodobject lodPatriotCockpit
ObjectTemplate.lodSelector PatriotCockpitSelector1
ObjectTemplate.addTemplate PatriotCockpitExternal
ObjectTemplate.addTemplate PatriotCockpitInternal


rem *** Patriotcockpitexternal ***
ObjectTemplate.create simpleobject PatriotCockpitExternal
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.geometry Patriot_Base


rem *** Patriotcockpitinternal ***
ObjectTemplate.create bundle PatriotCockpitInternal
ObjectTemplate.geometry Patriot_Base


rem *** PatriotSimple ***
ObjectTemplate.create simpleobject PatriotSimple
ObjectTemplate.geometry Patriot_Base


rem *** PatriotWreck ***
ObjectTemplate.create simpleobject PatriotWreck
ObjectTemplate.geometry Patriot_Base


rem *** PatriotCockpitSelector1 ***
LodSelectorTemplate.create distcompareselector PatriotCockpitSelector1
LodSelectorTemplate.addLodDistance 3.05
LodSelectorTemplate.addLodComparison 0.5


rem *** PatriotLodSelector ***
LodSelectorTemplate.create distcompareselector2 PatriotLodSelector
rem LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 150