This page is under construction
archives/bf1942/levels/fht_operation_dracula-1945.rfa
bf1942/levels/fht_operation_dracula-1945/Objects/Sampan_open/Objects.con
rem ====== Sampan_Open ======
ObjectTemplate.create PlayerControlObject sampan_open
ObjectTemplate.NameTagOffset -1/4/0
ObjectTemplate.setNetworkableInfo sampan_openBodyInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.drag 0.700
ObjectTemplate.dragOffset 0/0/-1
ObjectTemplate.mass 15000
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 100
ObjectTemplate.maxhitpoints 100
ObjectTemplate.material 137
ObjectTemplate.speedMod 1
ObjectTemplate.criticalDamage 5
ObjectTemplate.hpLostWhileCriticalDamage 0.5
ObjectTemplate.explosionRadius 2
ObjectTemplate.explosionDamage 1
ObjectTemplate.explosionForceMod 1
ObjectTemplate.hpLostWhileUpSideDown 5
ObjectTemplate.addArmorEffect 40 e_damageSmoke 0/0/0
ObjectTemplate.addArmorEffect 30 e_damageSmoke 0/0/2.2
ObjectTemplate.addArmorEffect 25 em_LcvpDamage 0/0/0
ObjectTemplate.addArmorEffect 25 e_RichoCascadesWood 0/1/3
ObjectTemplate.addArmorEffect 25 e_Kubeldamage 0/3.65/-2.2
ObjectTemplate.addArmorEffect 15 e_KubelFire 0/3.65/0
ObjectTemplate.addArmorEffect 15 e_RichoCascadesWood 0/1/2
ObjectTemplate.addArmorEffect 10 e_KubelFire 0/3.65/0
ObjectTemplate.addArmorEffect 10 e_KubelFire 0/3.65/2.2
ObjectTemplate.addArmorEffect 5 e_KubelFire 0/3.65/-2.2
ObjectTemplate.addArmorEffect 5 e_KubelFire 0/3.65/0
ObjectTemplate.addArmorEffect 5 e_KubelFire 0/3.65/2.2
ObjectTemplate.addArmorEffect 5 e_RichoCascadesWood 0/1/1
ObjectTemplate.addArmorEffect 0 e_MuzzAAGun 0/1.65/-3
ObjectTemplate.addArmorEffect 0 e_MuzzAAGun 0/1.65/-3
ObjectTemplate.addArmorEffect 0 e_RichoCascadesWood 0/1/3
ObjectTemplate.aiTemplate sampanAI
rem -------------------------------------
ObjectTemplate.addTemplate lodsampanopen
ObjectTemplate.addTemplate sampan_Floater
ObjectTemplate.setPosition 2.5/2.9/-5.5
ObjectTemplate.addTemplate sampan_Floater
ObjectTemplate.setPosition -2.5/2.9/-5.5
ObjectTemplate.addTemplate sampan_Floater
ObjectTemplate.setPosition 3/2.75/5
ObjectTemplate.addTemplate sampan_Floater
ObjectTemplate.setPosition -3/2.75/5
ObjectTemplate.addTemplate sampan_Floater2
ObjectTemplate.setPosition 0/2.2/5
ObjectTemplate.addTemplate sampan_Floater2
ObjectTemplate.setPosition 0/2.35/-5.5
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0/3/-4.5 0/0/0
ObjectTemplate.GUIIndex 42
ObjectTemplate.setVehicleIcon "Vehicle/Icon_OpenSampan.dds"
ObjectTemplate.setVehicleIconPos 15/42
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCSea
ObjectTemplate.setVehicleType VTLcvp
ObjectTemplate.setToolTipType TTPTBoat
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_sturmboot_16x16.tga"

rem ====== lodsampanopen ======
ObjectTemplate.create LodObject lodsampanopen
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate sampanopenComplex
ObjectTemplate.addTemplate sampanopenSimple
ObjectTemplate.addTemplate sampanopenwreck_fht
rem -------------------------------------
ObjectTemplate.lodSelector sampanopenLodSelector


rem ====== sampanopenComplex ======
ObjectTemplate.create Bundle sampanopenComplex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.geometry sampanopen_Hull_M1
rem -------------------------------------
ObjectTemplate.addTemplate sampan_Engine_open
ObjectTemplate.setPosition 0/1/-6
ObjectTemplate.addTemplate sampan_Beach_Engine_open
ObjectTemplate.addTemplate sampan_Beach_Engine2_open
ObjectTemplate.setRotation 90/0/0
ObjectTemplate.addTemplate sampan_Entry
ObjectTemplate.setPosition 0/1/3
ObjectTemplate.addTemplate sampan_Entry
ObjectTemplate.setPosition 0/1/-3
ObjectTemplate.addTemplate sampan_Seat
ObjectTemplate.setPosition -0.55/2.8/-4.9
ObjectTemplate.setRotation 30/0/0
ObjectTemplate.addTemplate sampan_Camera
ObjectTemplate.setPosition -0.5/3.5/-5
ObjectTemplate.addTemplate sampan_Rudder_Stern
ObjectTemplate.setPosition 0/1.4/3.3
ObjectTemplate.setRotation 0/0/-90
ObjectTemplate.addTemplate sampan_Rudder_Aft
ObjectTemplate.setPosition 0/1.4/-4.3
ObjectTemplate.setRotation 0/0/-90
ObjectTemplate.addTemplate sampanEngineDummy
ObjectTemplate.setPosition 0/2.6/-4.85
rem ObjectTemplate.addTemplate sampan_Bow_PCO
rem ObjectTemplate.setPosition 0/3/3.5
ObjectTemplate.addTemplate e_WaterFront
ObjectTemplate.setPosition 0/-.5/3.5
ObjectTemplate.addTemplate e_waterbacksmall
ObjectTemplate.setPosition 0/.8/-5


ObjectTemplate.addTemplate sampan_open_RPD_PCOL
ObjectTemplate.setPosition -0.345/3/-3.039
ObjectTemplate.setRotation 44.863/0.0/0.0

ObjectTemplate.addTemplate sampan_open_RPD_PCOR
ObjectTemplate.setPosition -0.252/3/1.226
ObjectTemplate.setRotation 70.0/0.0/0.0

ObjectTemplate.addTemplate sampan_open_RPD_PCOL1
ObjectTemplate.setPosition 0.287/3/0.682
ObjectTemplate.setRotation -56.453/0.0/0.0

ObjectTemplate.addTemplate sampan_open_RPD_PCOL2
ObjectTemplate.setPosition 0.290/3/-3.154
ObjectTemplate.setRotation -50.0/0.0/0.0

rem -------------------------------------

rem ====== sampan_RPD_PCOL ======
ObjectTemplate.create PlayerControlObject sampan_open_RPD_PCOL
ObjectTemplate.setNetworkableInfo sampan_openBodyInfo
rem -------------------------------------
ObjectTemplate.addTemplate sampan_open_RPD_Rotation
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate sampan_open_Entry2
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate sampan_open_Seat2
ObjectTemplate.setPosition 0/0.4/-0.9
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0/0/0 0/0/0
ObjectTemplate.GUIIndex 43
ObjectTemplate.setVehicleIcon "Vehicle/Icon_OpenSampan.dds"
ObjectTemplate.setVehicleIconPos 29/48
ObjectTemplate.setVehicleCategory Sea
ObjectTemplate.setVehicleType VTLcvp
ObjectTemplate.setToolTipType TTLcvp
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_sturmboot_16x16.tga"


rem ====== sampan_RPD_PCOR ======
ObjectTemplate.create PlayerControlObject sampan_open_RPD_PCOR
ObjectTemplate.setNetworkableInfo sampan_openBodyInfo
rem -------------------------------------
ObjectTemplate.addTemplate sampan_open_RPD_Rotation
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate sampan_open_Entry2
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate sampan_open_Seat2
ObjectTemplate.setPosition 0/0.4/-0.9
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0/0/0 0/0/0
ObjectTemplate.GUIIndex 43
ObjectTemplate.setVehicleIcon "Vehicle/Icon_OpenSampan.dds"
ObjectTemplate.setVehicleIconPos 59/66
ObjectTemplate.setVehicleCategory Sea
ObjectTemplate.setVehicleType VTLcvp
ObjectTemplate.setToolTipType TTLcvp
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_sturmboot_16x16.tga"

rem ====== sampan_RPD_PCOL ======
ObjectTemplate.create PlayerControlObject sampan_open_RPD_PCOL1
ObjectTemplate.setNetworkableInfo sampan_openBodyInfo
rem -------------------------------------
ObjectTemplate.addTemplate sampan_open_RPD_Rotation
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate sampan_open_Entry2
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate sampan_open_Seat2
ObjectTemplate.setPosition 0/0.4/-0.9
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0/0/0 0/0/0
ObjectTemplate.GUIIndex 43
ObjectTemplate.setVehicleIcon "Vehicle/Icon_OpenSampan.dds"
ObjectTemplate.setVehicleIconPos 31/73
ObjectTemplate.setVehicleCategory Sea
ObjectTemplate.setVehicleType VTLcvp
ObjectTemplate.setToolTipType TTLcvp
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_sturmboot_16x16.tga"

rem ====== sampan_RPD_PCOL ======
ObjectTemplate.create PlayerControlObject sampan_open_RPD_PCOL2
ObjectTemplate.setNetworkableInfo sampan_openBodyInfo
rem -------------------------------------
ObjectTemplate.addTemplate sampan_open_RPD_Rotation
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate sampan_open_Entry2
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate sampan_open_Seat2
ObjectTemplate.setPosition 0/0.4/-0.9
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0/0/0 0/0/0
ObjectTemplate.GUIIndex 43
ObjectTemplate.setVehicleIcon "Vehicle/Icon_OpenSampan.dds"
ObjectTemplate.setVehicleIconPos 10/52
ObjectTemplate.setVehicleCategory Sea
ObjectTemplate.setVehicleType VTLcvp
ObjectTemplate.setToolTipType TTLcvp
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_sturmboot_16x16.tga"


rem
rem *** sampan_RPD_Rotation ***
rem
ObjectTemplate.create RotationalBundle sampan_open_RPD_Rotation
ObjectTemplate.setNetworkableInfo sampan_openRPDInfo
rem -------------------------------------
ObjectTemplate.addTemplate sampan_open_RPD_Elevation
rem -------------------------------------
ObjectTemplate.setMinRotation -60/0/0
ObjectTemplate.setMaxRotation 60/0/0
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX

rem ====== sampan_RPD_Elevation ======
ObjectTemplate.create RotationalBundle sampan_open_RPD_Elevation
ObjectTemplate.setNetworkableInfo sampan_openRPDInfo
rem -------------------------------------------------
ObjectTemplate.addTemplate sampan_open_Camera2
ObjectTemplate.setPosition -0.01/0.1/-.4
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-50/0
ObjectTemplate.setMaxRotation 0/20/0
ObjectTemplate.setMaxSpeed 0/90/0
ObjectTemplate.setAcceleration 0/5000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY


rem ====== sampan_open_Entry2 ======
ObjectTemplate.create EntryPoint sampan_open_Entry2
ObjectTemplate.setEntryRadius 4


rem ====== sampan_open_Camera2 ======
ObjectTemplate.create Camera sampan_open_Camera2
ObjectTemplate.setMaxSpeed 0/0/0
ObjectTemplate.setAcceleration 0/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY


rem ====== sampan_open_Seat2 ======
ObjectTemplate.create SeatObject sampan_open_Seat2
ObjectTemplate.seatFlags c_SeatShowStandingSoldier
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInWilly
ObjectTemplate.seatAnimationLowerBody Lb_PassengerInHanomag


rem ====== sampanopenSimple ======
ObjectTemplate.create SimpleObject sampanopenSimple
ObjectTemplate.geometry sampanopen_Hull_L1

rem *** SampanWreck ***
ObjectTemplate.create SimpleObject sampanopenwreck_fht
ObjectTemplate.geometry sampanopenwreck_fht_m1

rem ====== sampanopenLodSelector ======
LodSelectorTemplate.create DistCompareSelector2 sampanopenLodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 100