This page is under construction
Archives/bf1942/levels/maps - with documentation/Operation Chariot/Operation_Chariot.RFA
bf1942/levels/operation_chariot/Objects/WillyMG/Objects.con


rem *** WillyMG ***
ObjectTemplate.create PlayerControlObject WillyMG
ObjectTemplate.NameTagOffset -0.3/-0.2/0
ObjectTemplate.setNetworkableInfo WillyMGBodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.damageFromWater 1
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 50
ObjectTemplate.maxhitpoints 50
ObjectTemplate.material 45
ObjectTemplate.criticalDamage 6
ObjectTemplate.hpLostWhileCriticalDamage 2
ObjectTemplate.explosionForceMod 20
ObjectTemplate.hpLostWhileUpSideDown 5
ObjectTemplate.hpLostWhileDamageFromWater 5
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
rem -------------------------------------
ObjectTemplate.addTemplate lodWillyMG
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 *** lodWillyMG ***
ObjectTemplate.create LodObject lodWillyMG
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate WillyMGComplex
ObjectTemplate.addTemplate WillyMGSimple
ObjectTemplate.addTemplate WillyMGWreck
rem -------------------------------------
ObjectTemplate.lodSelector WillyMGLodSelector


rem *** WillyMGComplex ***
ObjectTemplate.create Bundle WillyMGComplex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodWillyMGCockpit
rem ObjectTemplate.setPosition 0/0.6/-0.999
ObjectTemplate.addTemplate WillyMGCamera
ObjectTemplate.setPosition -0.38/0.95/-1.25
ObjectTemplate.addTemplate WillyMGSeat
ObjectTemplate.setPosition -0.399/0.6/-0.75
ObjectTemplate.addTemplate WillyMGEntry
ObjectTemplate.setPosition 0/0/1
ObjectTemplate.addTemplate WillyMGEntry
ObjectTemplate.setPosition 0/0/-1
ObjectTemplate.addTemplate WillyMGPassengerPCO
ObjectTemplate.setPosition 0/0.35/-0.25
ObjectTemplate.addTemplate WillyMGEngine
ObjectTemplate.setPosition 0/0.35/-0.25
ObjectTemplate.addTemplate WillyMGSteeringDummy
ObjectTemplate.setPosition -0.399/0.35/0.15
ObjectTemplate.setRotation 0/34/0
ObjectTemplate.addTemplate WillyMGBrowning
ObjectTemplate.setPosition 0/1.5/-1.1
rem ObjectTemplate.setPosition 0/1.3/-2.0
rem ObjectTemplate.setRotation -179.99/0/0
rem -------------------------------------


rem *** lodWillyMGCockpit ***
ObjectTemplate.create LodObject lodWillyMGCockpit
rem -------------------------------------
ObjectTemplate.addTemplate WillyMGCockpitExternal
rem ObjectTemplate.setPosition 0/-0.95/1.25
ObjectTemplate.addTemplate WillyMGCockpitInternal
ObjectTemplate.setPosition 0/0.35/-0.25
rem -------------------------------------
ObjectTemplate.lodSelector WillyMGCockpitSelector1


rem *** WillyMGCockpitExternal ***
ObjectTemplate.create SimpleObject WillyMGCockpitExternal
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.geometry WillyMG_Hull_M1


rem *** WillyMGCockpitInternal ***
ObjectTemplate.create Bundle WillyMGCockpitInternal
ObjectTemplate.geometry 1P_WillyMG_Hul_M1


rem *** WillyMGCockpitSelector ***
LodSelectorTemplate.create DistCompareSelector WillyMGCockpitSelector1
rem LodSelectorTemplate.create DistanceSelector WillyMGCockpitSelector
LodSelectorTemplate.addLodDistance 3.05
LodSelectorTemplate.addLodComparison 0.5


rem *** WillyMGCamera ***
ObjectTemplate.create Camera WillyMGCamera
ObjectTemplate.setMinRotation -110/-40/0
ObjectTemplate.setMaxRotation 110/10/0
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 *** WillyMGSeat ***
ObjectTemplate.create SeatObject WillyMGSeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside


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


rem *** WillyMGPassengerPCO ***
ObjectTemplate.create PlayerControlObject WillyMGPassengerPCO
ObjectTemplate.setNetworkableInfo WillyMGBodyInfo
rem -------------------------------------

ObjectTemplate.addTemplate WillyMGEntry
ObjectTemplate.setPosition 0/-0.35/1.25
ObjectTemplate.addTemplate WillyMGEntry
ObjectTemplate.setPosition 0/-0.35/-0.75
ObjectTemplate.addTemplate WillyMGCamera
ObjectTemplate.setPosition 0.3/0.6/-0.999
ObjectTemplate.addTemplate WillyMGPassengerSeat
ObjectTemplate.setPosition 0.3/0.25/-0.499
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 1.5/0/-0.8 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 *** WillyMGPassengerSeat ***
ObjectTemplate.create SeatObject WillyMGPassengerSeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInWilly
ObjectTemplate.seatAnimationLowerBody Lb_PassengerInWilly



rem *** WillyMGFrontWheelR ***
ObjectTemplate.create RotationalBundle WillyMGFrontWheelR
ObjectTemplate.setNetworkableInfo WillyMGSteeringInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate WillyMGFrontSpringR
ObjectTemplate.setPosition 0/-0.599/0
rem -------------------------------------
ObjectTemplate.setMinRotation -30/0/0
ObjectTemplate.setMaxRotation 30/0/0
ObjectTemplate.setMaxSpeed 200/0/0
ObjectTemplate.setAcceleration 200/0/0
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1


rem *** WillyMGFrontWheelL ***
ObjectTemplate.create RotationalBundle WillyMGFrontWheelL
ObjectTemplate.setNetworkableInfo WillyMGSteeringInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate WillyMGFrontSpringL
ObjectTemplate.setPosition 0/-0.599/0
rem -------------------------------------
ObjectTemplate.setMinRotation -30/0/0
ObjectTemplate.setMaxRotation 30/0/0
ObjectTemplate.setMaxSpeed 200/0/0
ObjectTemplate.setAcceleration 200/0/0
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1


rem *** WillyMGSteeringDummy ***
ObjectTemplate.create AnimatedBundle WillyMGSteeringDummy
rem -------------------------------------
ObjectTemplate.addTemplate WillyMGSteering
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 *** WillyMGSteering ***
ObjectTemplate.create RotationalBundle WillyMGSteering
ObjectTemplate.setNetworkableInfo WillyMGSteeringInfo
rem -------------------------------------
ObjectTemplate.addTemplate lodWillyMGSteering
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 *** lodWillyMGSteering ***
ObjectTemplate.create LodObject lodWillyMGSteering
rem -------------------------------------
ObjectTemplate.addTemplate WillyMGHighRSteering
ObjectTemplate.addTemplate WillyMGLowSteering
rem -------------------------------------
ObjectTemplate.lodSelector WillyMGSteeringSelector


rem *** WillyMGHighRSteering ***
ObjectTemplate.create SimpleObject WillyMGHighRSteering
ObjectTemplate.geometry 1P_WillyMG_Str_M1


rem *** WillyMGLowSteering ***
ObjectTemplate.create SimpleObject WillyMGLowSteering
ObjectTemplate.geometry WillyMG_Steering_M1


LodSelectorTemplate.create DistanceSelector WillyMGSteeringSelector
LodSelectorTemplate.addLodDistance 10


rem *** WillyMGSimple ***
ObjectTemplate.create SimpleObject WillyMGSimple
ObjectTemplate.geometry WillyMG_Hull_L1


rem *** WillyMGWreck ***
ObjectTemplate.create SimpleObject WillyMGWreck
ObjectTemplate.geometry Wreck_WillyMG_m1


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

ObjectTemplate.create PlayerControlObject WillyMGBrowning
rem ObjectTemplate.networkableInfo WillyStationary_mg_BodyInfo
ObjectTemplate.networkableInfo WillyMGBodyInfo
ObjectTemplate.geometry tripod_stick_m1
ObjectTemplate.Material 45
Objecttemplate.GUIIndex 80
ObjectTemplate.addTemplate WillyMGBrowningPoint
ObjectTemplate.setPosition 0/0.1/0
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate StationaryMGBrowningSeat
ObjectTemplate.setPosition 0/0.0/-0.65
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleIcon "Vehicle/Icon_Willy.tga"

rem -------------------------------------
rem
rem *** StationaryBrowningpoint ***
rem
ObjectTemplate.create RotationalBundle WillyMGBrowningPoint
rem ObjectTemplate.networkableInfo Stationary_mg_TurretInfo
ObjectTemplate.networkableInfo WillyMGTurretInfo2
rem -------------------------------------
ObjectTemplate.addTemplate WillyMGBrowningRotation
rem -------------------------------------
ObjectTemplate.setMinRotation -70/0/0
ObjectTemplate.setMaxRotation 70/0/0
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw 4
ObjectTemplate.setInputToPitch 5

rem
rem *** StationaryBrowningRotation ***
rem
ObjectTemplate.create RotationalBundle WillyMGBrowningRotation
ObjectTemplate.networkableInfo WillyMGTurretInfo2
rem -------------------------------------
ObjectTemplate.addTemplate Browning
ObjectTemplate.setPosition 0/0/0.4
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate StationaryBrowningCamera
ObjectTemplate.setPosition 0/0.3/-0.1
ObjectTemplate.setRotation 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-70/0
ObjectTemplate.setMaxRotation 0/30/0
ObjectTemplate.setMaxSpeed 0/90/0
ObjectTemplate.setAcceleration 0/5000/0
ObjectTemplate.setInputToYaw 4
ObjectTemplate.setInputToPitch 5
rem
rem *** StationaryBrowningSeat ***
rem
ObjectTemplate.create SeatObject StationaryMGBrowningSeat
ObjectTemplate.seatFlags c_SeatShowStandingSoldier
ObjectTemplate.seatFlags c_SeatIsOutside