This page is under construction
Archives/bf1942/levels/bridges_of_death/Bridges_of_death.rfa
bf1942/levels/Bridges_of_death/objects/Willy/Objects.con


rem *** FloatingWilly ***
ObjectTemplate.create PlayerControlObject FloatingWilly
ObjectTemplate.NameTagOffset -0.3/-0.2/0
ObjectTemplate.setNetworkableInfo fWillyBodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 10
ObjectTemplate.damageFromWater 0
ObjectTemplate.drag 1.5
ObjectTemplate.mass 2500
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 200
ObjectTemplate.hpLostWhileUpSideDown 0
ObjectTemplate.hpLostWhileDamageFromWater 0
ObjectTemplate.addArmorEffect 30 e_WillyDamage 0/1.7/0
ObjectTemplate.addArmorEffect 6 e_WillyFire 0/0.5/0.8
ObjectTemplate.addArmorEffect 0 e_scrapmetal_willy 0/0/0
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/1.2/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.aiTemplate FloatingWilly
rem -------------------------------------
ObjectTemplate.addTemplate lodFloatingWilly
ObjectTemplate.addTemplate Type38Raft_Floater
ObjectTemplate.setPosition 1.7/0.05/-4.499
ObjectTemplate.addTemplate Type38Raft_Floater
ObjectTemplate.setPosition -1.699/0.05/-4.499
ObjectTemplate.addTemplate Type38Raft_Floater
ObjectTemplate.setPosition 1.7/0.05/4.5
ObjectTemplate.addTemplate Type38Raft_Floater
ObjectTemplate.setPosition -1.699/0.05/4.5
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -1.5/0/-0.8 0/0/0
ObjectTemplate.GUIIndex 26
ObjectTemplate.setVehicleIcon "Vehicle/Icon_willy.tga"
ObjectTemplate.setVehicleIconPos 40/79
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTScoutCar
ObjectTemplate.setToolTipType TTScoutCar
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_common_16x16.tga"
ObjectTemplate.hasRestrictedExit 1

rem *** lodFloatingWilly ***
ObjectTemplate.create LodObject lodFloatingWilly
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate FloatingWillyComplex
ObjectTemplate.addTemplate FloatingWillySimple
ObjectTemplate.addTemplate FloatingWillyWreck
rem -------------------------------------
ObjectTemplate.lodSelector FloatingWillyLodSelector


rem *** FloatingWilly ***
ObjectTemplate.create Bundle FloatingWillyComplex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodFloatingWillyCockpit
rem ObjectTemplate.setPosition 0/0.6/-0.999
ObjectTemplate.addTemplate FloatingWillyCamera
ObjectTemplate.setPosition -0.38/0.95/-1.25
ObjectTemplate.addTemplate FloatingWillySeat
ObjectTemplate.setPosition -0.399/0.6/-0.75
ObjectTemplate.addTemplate FloatingWillyEntry
ObjectTemplate.setPosition 0/0/1
ObjectTemplate.addTemplate FloatingWillyEntry
ObjectTemplate.setPosition 0/0/-1
ObjectTemplate.addTemplate FloatingWillyPassengerPCO
ObjectTemplate.setPosition 0/0.35/-0.25
ObjectTemplate.addTemplate FloatingWillyEngine
ObjectTemplate.setPosition 0/0.35/-0.25
ObjectTemplate.addTemplate FloatingWillySteeringDummy
ObjectTemplate.setPosition -0.399/0.35/0.15
ObjectTemplate.setRotation 0/34/0
ObjectTemplate.addTemplate Type38Raft_Rudder_Stern
ObjectTemplate.setPosition 0/-0.75/4.5
ObjectTemplate.setRotation 0/0/-90
ObjectTemplate.addTemplate Type38Raft_Rudder_Aft
ObjectTemplate.setPosition 0/-1.25/-4.5
ObjectTemplate.setRotation 0/0/-90
ObjectTemplate.addTemplate Type38Raft_Engine
ObjectTemplate.setPosition 0/-0.75/0
ObjectTemplate.addTemplate e_WaterFront
ObjectTemplate.setPosition -0.5/-1/0
ObjectTemplate.addTemplate e_WaterFront
ObjectTemplate.setPosition 0.5/-1/0
rem -------------------------------------


rem *** lodFloatingWillyCockpit ***
ObjectTemplate.create LodObject lodFloatingWillyCockpit
rem -------------------------------------
ObjectTemplate.addTemplate FloatingWillyCockpitExternal
rem ObjectTemplate.setPosition 0/-0.95/1.25
ObjectTemplate.addTemplate FloatingWillyCockpitInternal
ObjectTemplate.setPosition 0/0.35/-0.25
rem -------------------------------------
ObjectTemplate.lodSelector FloatingWillyCockpitSelector1


rem *** FloatingWillyCockpitExternal ***
ObjectTemplate.create SimpleObject FloatingWillyCockpitExternal
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.geometry Willy_Hull_M1


rem *** FloatingWillyCockpitInternal ***
ObjectTemplate.create Bundle FloatingWillyCockpitInternal
ObjectTemplate.geometry 1P_Willy_Hul_M1


rem *** FloatingWillyCockpitSelector ***
LodSelectorTemplate.create DistCompareSelector FloatingWillyCockpitSelector1
rem LodSelectorTemplate.create DistanceSelector FloatingWillyCockpitSelector
LodSelectorTemplate.addLodDistance 3.05
LodSelectorTemplate.addLodComparison 0.5


rem *** FloatingWillyCamera ***
ObjectTemplate.create Camera FloatingWillyCamera
ObjectTemplate.setMinRotation -30/-30/-30
ObjectTemplate.setMaxRotation 30/30/30
ObjectTemplate.setPivotPosition 0/0.25/0.3
ObjectTemplate.setMaxSpeed 90/90/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY


rem *** FloatingWillySeat ***
ObjectTemplate.create SeatObject FloatingWillySeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside


rem *** FloatingWillyEntry ***
ObjectTemplate.create EntryPoint FloatingWillyEntry
ObjectTemplate.setEntryRadius 2.3


rem *** FloatingWillyPassengerPCO ***
ObjectTemplate.create PlayerControlObject FloatingWillyPassengerPCO
ObjectTemplate.setNetworkableInfo fWillyBodyInfo
ObjectTemplate.aiTemplate FloatingWillyPassenger
rem -------------------------------------

ObjectTemplate.addTemplate FloatingWillyEntry
ObjectTemplate.setPosition 0/-0.35/1.25
ObjectTemplate.addTemplate FloatingWillyEntry
ObjectTemplate.setPosition 0/-0.35/-0.75
ObjectTemplate.addTemplate FloatingWillyCamera
ObjectTemplate.setPosition 0.3/0.6/-0.999
ObjectTemplate.addTemplate FloatingWillyPassengerSeat
ObjectTemplate.setPosition 0.3/0.25/-0.499
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0/0/4 0/0/0
rem ObjectTemplate.hasRestrictedExit 1
rem ObjectTemplate.altSoldierExitPosition 5.5/0/0
ObjectTemplate.GUIIndex 53
ObjectTemplate.setVehicleIcon "Vehicle/Icon_willy.tga"
ObjectTemplate.setVehicleIconPos 21/84
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTScoutCar
ObjectTemplate.setToolTipType TTScoutCar
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_common_16x16.tga"
ObjectTemplate.hasRestrictedExit 1


rem *** FloatingWillyPassengerSeat ***
ObjectTemplate.create SeatObject FloatingWillyPassengerSeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInWilly
ObjectTemplate.seatAnimationLowerBody Lb_PassengerInWilly


rem *** FloatingWillyFrontWheelR ***
ObjectTemplate.create RotationalBundle FloatingWillyFrontWheelR
ObjectTemplate.setNetworkableInfo fWillySteeringInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate FloatingWillyFrontSpringR
ObjectTemplate.setPosition 0/-0.599/0
rem -------------------------------------
ObjectTemplate.setMinRotation -35/0/0
ObjectTemplate.setMaxRotation 35/0/0
ObjectTemplate.setMaxSpeed 20000/0/0
ObjectTemplate.setAcceleration 2000/0/0
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1


rem *** FloatingWillyFrontWheelL ***
ObjectTemplate.create RotationalBundle FloatingWillyFrontWheelL
ObjectTemplate.setNetworkableInfo fWillySteeringInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate FloatingWillyFrontSpringL
ObjectTemplate.setPosition 0/-0.599/0
rem -------------------------------------
ObjectTemplate.setMinRotation -35/0/0
ObjectTemplate.setMaxRotation 35/0/0
ObjectTemplate.setMaxSpeed 200000/0/0
ObjectTemplate.setAcceleration 200/0/0
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1


rem *** FloatingWillySteeringDummy ***
ObjectTemplate.create AnimatedBundle FloatingWillySteeringDummy
rem -------------------------------------
ObjectTemplate.addTemplate FloatingWillySteering
rem -------------------------------------
ObjectTemplate.addSkeletonIK Bip01_R_Hand 0.24/-0.1/-0.82 -80/60/50
ObjectTemplate.addSkeletonIK Bip01_L_Hand -0.26/-0.1/-0.82 -80/-60/50


rem *** FloatingWillySteering ***
ObjectTemplate.create RotationalBundle FloatingWillySteering
ObjectTemplate.setNetworkableInfo fWillySteeringInfo
rem -------------------------------------
ObjectTemplate.addTemplate lodFloatingWillySteering
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/-60
ObjectTemplate.setMaxRotation 0/0/60
ObjectTemplate.setMaxSpeed 0/0/180
ObjectTemplate.setAcceleration 0/0/-180
ObjectTemplate.setInputToRoll c_PIYaw
ObjectTemplate.setAutomaticReset 1


rem *** lodFloatingWillySteering ***
ObjectTemplate.create LodObject lodFloatingWillySteering
rem -------------------------------------
ObjectTemplate.addTemplate FloatingWillyHighRSteering
ObjectTemplate.addTemplate FloatingWillyLowSteering
rem -------------------------------------
ObjectTemplate.lodSelector FloatingWillySteeringSelector


rem *** FloatingWillyHighRSteering ***
ObjectTemplate.create SimpleObject FloatingWillyHighRSteering
ObjectTemplate.geometry 1P_Willy_Str_M1


rem *** FloatingWillyLowSteering ***
ObjectTemplate.create SimpleObject FloatingWillyLowSteering
ObjectTemplate.geometry Willy_Steering_M1


LodSelectorTemplate.create DistanceSelector FloatingWillySteeringSelector
LodSelectorTemplate.addLodDistance 10


rem *** FloatingWillySimple ***
ObjectTemplate.create SimpleObject FloatingWillySimple
ObjectTemplate.geometry Willy_Hull_L1


rem *** FloatingWillyWreck ***
ObjectTemplate.create SimpleObject FloatingWillyWreck
ObjectTemplate.geometry Wreck_Willy_m1


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

rem *** Type38RaftPropeller ***
ObjectTemplate.create SimpleObject Type38RaftPropeller
ObjectTemplate.geometry Type38Raft_prop_M1