This page is under construction
Archives/bf1942/levels/ABF_Moon.rfa
bf1942/levels/ABF_Moon/objects/Vehicles/Land/Willy/Objects.con

rem *** Willy ***
ObjectTemplate.create PlayerControlObject Willy
ObjectTemplate.NameTagOffset -0.3/-0.2/0
ObjectTemplate.setNetworkableInfo WillyBodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 20
ObjectTemplate.explosionDamage 50
ObjectTemplate.damageFromWater 0
ObjectTemplate.drag 1.5
ObjectTemplate.mass 2500
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 0.5
ObjectTemplate.exitTimer 0.75
ObjectTemplate.hitpoints 100
ObjectTemplate.maxhitpoints 100
ObjectTemplate.material 45
ObjectTemplate.criticalDamage 6
ObjectTemplate.hpLostWhileCriticalDamage 2
ObjectTemplate.explosionForceMod 20
ObjectTemplate.hpLostWhileUpSideDown 1
ObjectTemplate.hpLostWhileDamageFromWater 1
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_scrapmetal_willy 0/0/0
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/1.2/0
ObjectTemplate.addArmorEffect 0 e_WillyFire 0/0.5/0.8
ObjectTemplate.addArmorEffect 0 e_ExplBombBig 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.TimeToLiveAfterDeath 15
ObjectTemplate.TimeToStartFadeAfterDeath 15
ObjectTemplate.aiTemplate Willy
rem -------------------------------------
ObjectTemplate.addTemplate lodWilly
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.hasRestrictedExit 1
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_common_16x16.tga"


rem *** lodWilly ***
ObjectTemplate.create LodObject lodWilly
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate WillyComplex
ObjectTemplate.addTemplate WillySimple
ObjectTemplate.addTemplate WillyWreck
rem -------------------------------------
ObjectTemplate.lodSelector WillyLodSelector


rem *** WillyComplex ***
ObjectTemplate.create Bundle WillyComplex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate Horn
ObjectTemplate.addTemplate Music
ObjectTemplate.addTemplate lodWillyCockpit
rem ObjectTemplate.setPosition 0/0.6/-0.999
ObjectTemplate.addTemplate WillyCamera
ObjectTemplate.setPosition -0.38/0.95/-1.25
ObjectTemplate.addTemplate WillySeat
ObjectTemplate.setPosition -0.399/0.6/-0.75
ObjectTemplate.addTemplate WillyEntry
ObjectTemplate.setPosition 0/0/1
ObjectTemplate.addTemplate WillyEntry
ObjectTemplate.setPosition 0/0/-1
ObjectTemplate.addTemplate WillyPassengerPCO
ObjectTemplate.setPosition 0.4/0.65/-0.80
ObjectTemplate.addTemplate WillyPassengerPC1
ObjectTemplate.setPosition -0.2/0.65/-1.75
*** rem ObjectTemplate.addTemplate WillyPassengerPC2
*** rem ObjectTemplate.setPosition 0/0.35/-1.1
ObjectTemplate.addTemplate WillyBrowning
ObjectTemplate.setPosition 0.2/1.5/-1.1
ObjectTemplate.addTemplate WillyPassengerPC3
ObjectTemplate.setPosition 1.1/0.55/-1.6
ObjectTemplate.setRotation 90/0/0
ObjectTemplate.addTemplate WillyPassengerPC4
ObjectTemplate.setPosition -1.1/0.55/-2.1
ObjectTemplate.setRotation 270/0/0
ObjectTemplate.addTemplate WillyEngine
ObjectTemplate.setPosition 0/0.35/-0.25
ObjectTemplate.addTemplate WillySteeringDummy
ObjectTemplate.setPosition -0.399/0.35/0.15
ObjectTemplate.setRotation 0/34/0



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


rem *** lodWillyCockpit ***
ObjectTemplate.create LodObject lodWillyCockpit
rem -------------------------------------
ObjectTemplate.addTemplate WillyCockpitExternal
rem ObjectTemplate.setPosition 0/-0.95/1.25
ObjectTemplate.addTemplate WillyCockpitInternal
ObjectTemplate.setPosition 0/0.35/-0.25
rem -------------------------------------
ObjectTemplate.lodSelector WillyCockpitSelector1


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


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


rem *** WillyCockpitSelector ***
LodSelectorTemplate.create DistCompareSelector WillyCockpitSelector1
rem LodSelectorTemplate.create DistanceSelector WillyCockpitSelector
LodSelectorTemplate.addLodDistance 3.05
LodSelectorTemplate.addLodComparison 0.5


rem *** WillyCamera ***
ObjectTemplate.create Camera WillyCamera
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 *** WillySeat ***
ObjectTemplate.create SeatObject WillySeat
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInWilly
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside


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

**********************************************
rem *** WillyPassengerPCO ***
ObjectTemplate.create PlayerControlObject WillyPassengerPCO
ObjectTemplate.setNetworkableInfo WillyBodyInfo
ObjectTemplate.aiTemplate WillyPassenger
rem -------------------------------------

ObjectTemplate.addTemplate WillyEntry
ObjectTemplate.setPosition 0/-0.35/1.25
ObjectTemplate.addTemplate WillyEntry
ObjectTemplate.setPosition 0/-0.35/-0.75
ObjectTemplate.addTemplate WillyCamera
ObjectTemplate.setPosition 0.3/0.6/-0.999
ObjectTemplate.addTemplate WillyPassengerSeat
rem ObjectTemplate.setPosition 0.3/0.25/-0.499
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 1.5/0/-0.8 0/0/0
rem ObjectTemplate.altSoldierExitPosition 5.5/0/0
ObjectTemplate.GUIIndex 53
ObjectTemplate.setVehicleIcon "Vehicle/Icon_willy.tga"
ObjectTemplate.setVehicleIconPos 22/85
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTScoutCar
ObjectTemplate.hasRestrictedExit 1

rem ******************************************************
rem *** WillyPassengerPC1 ***
ObjectTemplate.create PlayerControlObject WillyPassengerPC1
ObjectTemplate.setNetworkableInfo WillyBodyInfo
ObjectTemplate.aiTemplate WillyPassenger
rem -------------------------------------

ObjectTemplate.addTemplate WillyEntry1
ObjectTemplate.setPosition 0/-0.35/1.25
ObjectTemplate.addTemplate WillyEntry1
ObjectTemplate.setPosition 0/-0.35/-0.75
ObjectTemplate.addTemplate WillyCamera
ObjectTemplate.setPosition 0.3/0.6/-0.999
ObjectTemplate.addTemplate WillyPassengerSeat
rem ObjectTemplate.setPosition 0.3/0.25/-0.499
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 1.5/0/-0.8 0/0/0
rem ObjectTemplate.altSoldierExitPosition 5.5/0/0
ObjectTemplate.GUIIndex 53
ObjectTemplate.setVehicleIcon "Vehicle/Icon_willy.tga"
ObjectTemplate.setVehicleIconPos 30/72
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTScoutCar
ObjectTemplate.hasRestrictedExit 1
rem ***********************************************
rem *** WillyEntry1 ***
ObjectTemplate.create EntryPoint WillyEntry1
ObjectTemplate.setEntryRadius 2.3
rem ******************************************************
rem *** WillyPassengerPC2 ***
rem***ObjectTemplate.create PlayerControlObject WillyPassengerPC2
rem***ObjectTemplate.setNetworkableInfo WillyBodyInfo
rem***ObjectTemplate.aiTemplate WillyPassenger
rem -------------------------------------

rem***ObjectTemplate.addTemplate WillyEntry2
rem***ObjectTemplate.setPosition 0/-0.35/1.25
rem***ObjectTemplate.addTemplate WillyEntry2
rem***ObjectTemplate.setPosition 0/-0.35/-0.75
rem***ObjectTemplate.addTemplate WillyCamera
rem***ObjectTemplate.setPosition 0.3/0.6/-0.999
rem***ObjectTemplate.addTemplate WillyPassengerSeat
rem***ObjectTemplate.setPosition 0.3/0.25/-0.499
rem -------------------------------------
rem***ObjectTemplate.setSoldierExitLocation 1.5/0/-0.8 0/0/0
rem ObjectTemplate.altSoldierExitPosition 5.5/0/0
ObjectTemplate.GUIIndex 53
ObjectTemplate.setVehicleIcon "Vehicle/Icon_willy.tga"
ObjectTemplate.setVehicleIconPos 20/68
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
rem***ObjectTemplate.setVehicleCategory VCLand
rem***ObjectTemplate.setVehicleType VTScoutCar
rem***ObjectTemplate.hasRestrictedExit 1
rem ***********************************************
rem *** WillyEntry2 ***
ObjectTemplate.create EntryPoint WillyEntry2
ObjectTemplate.setEntryRadius 2.3
rem ******************************************************
rem *** WillyPassengerPC3 ***
ObjectTemplate.create PlayerControlObject WillyPassengerPC3
ObjectTemplate.setNetworkableInfo WillyBodyInfo
ObjectTemplate.aiTemplate WillyPassenger
rem -------------------------------------

ObjectTemplate.addTemplate WillyEntry3
ObjectTemplate.setPosition 0/-0.35/1.25
ObjectTemplate.addTemplate WillyEntry3
ObjectTemplate.setPosition 0/-0.35/-0.75
ObjectTemplate.addTemplate WillyCamera
ObjectTemplate.setPosition 0.3/0.6/-0.999
ObjectTemplate.addTemplate WillyPassengerSeat
ObjectTemplate.setPosition 0.3/0.25/-0.499
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 1.5/0/-0.8 0/0/0
rem ObjectTemplate.altSoldierExitPosition 5.5/0/0
ObjectTemplate.GUIIndex 53
ObjectTemplate.setVehicleIcon "Vehicle/Icon_willy.tga"
ObjectTemplate.setVehicleIconPos 10/74
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTScoutCar
ObjectTemplate.hasRestrictedExit 1
rem ***********************************************
rem *** WillyEntry3 ***
ObjectTemplate.create EntryPoint WillyEntry3
ObjectTemplate.setEntryRadius 2.3
rem ******************************************************
rem *** WillyPassengerPC4 ***
ObjectTemplate.create PlayerControlObject WillyPassengerPC4
ObjectTemplate.setNetworkableInfo WillyBodyInfo
ObjectTemplate.aiTemplate WillyPassenger
rem -------------------------------------

ObjectTemplate.addTemplate WillyEntry4
ObjectTemplate.setPosition 0/-0.35/1.25
ObjectTemplate.addTemplate WillyEntry4
ObjectTemplate.setPosition 0/-0.35/-0.75
ObjectTemplate.addTemplate WillyCamera
ObjectTemplate.setPosition 0.3/0.6/-0.999
ObjectTemplate.addTemplate WillyPassengerSeat
ObjectTemplate.setPosition 0.3/0.25/-0.499
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 1.5/0/-0.8 0/0/0
rem ObjectTemplate.altSoldierExitPosition 5.5/0/0
ObjectTemplate.GUIIndex 53
ObjectTemplate.setVehicleIcon "Vehicle/Icon_willy.tga"
ObjectTemplate.setVehicleIconPos 40/69
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTScoutCar
ObjectTemplate.hasRestrictedExit 1
rem ***********************************************
rem *** WillyEntry4 ***
ObjectTemplate.create EntryPoint WillyEntry4
ObjectTemplate.setEntryRadius 2.3
***************************************************
rem *** WillyPassengerSeat ***
ObjectTemplate.create SeatObject WillyPassengerSeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
rem ObjectTemplate.aiTemplate Soldier
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInWilly
ObjectTemplate.seatAnimationLowerBody Lb_PassengerInWilly


***************************************************
rem *** Additionnal WillyBrowning ***
ObjectTemplate.create PlayerControlObject willyBrowning
ObjectTemplate.networkableInfo Stationary_mg_BodyInfo
ObjectTemplate.aiTemplate M3A1TopMG
ObjectTemplate.geometry tripod_stick_m1
ObjectTemplate.Material 45
ObjectTemplate.setVehicleIcon "Vehicle/Icon_willy.tga"
ObjectTemplate.setVehicleIconPos 28/52
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bazooka_64x32.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTIcon
Objecttemplate.GUIIndex 80
ObjectTemplate.addTemplate willyBrowningPoint
ObjectTemplate.setPosition 0/0.1/0
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate StationaryBrowningSeat
ObjectTemplate.setPosition 0/-0.8/-0.65
ObjectTemplate.setRotation 0/0/0

rem -------------------------------------
rem
rem *** StationaryBrowningpoint ***
rem
ObjectTemplate.create RotationalBundle willyBrowningPoint
ObjectTemplate.networkableInfo Stationary_mg_TurretInfo
rem -------------------------------------
ObjectTemplate.addTemplate willyBrowningRotation
rem -------------------------------------
ObjectTemplate.setMinRotation -70/0/0
ObjectTemplate.setMaxRotation 70/0/0
ObjectTemplate.setMaxSpeed 100/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw 4
ObjectTemplate.setInputToPitch 5

rem
rem *** StationaryBrowningRotation ***
rem
ObjectTemplate.create RotationalBundle willyBrowningRotation
ObjectTemplate.networkableInfo Stationary_mg_TurretInfo
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/10/0
ObjectTemplate.setMaxSpeed 0/100/0
ObjectTemplate.setAcceleration 0/6000/0
ObjectTemplate.setInputToYaw 4
ObjectTemplate.setInputToPitch 5
rem
rem *** StationaryBrowningSeat ***
rem
ObjectTemplate.create SeatObject StationaryBrowningSeat
Rem ObjectTemplate.seatFlags c_SeatShowStandingSoldier
ObjectTemplate.seatFlags c_SeatIsOutside

****************************************************************

rem *** WillyFrontWheelR ***
ObjectTemplate.create RotationalBundle WillyFrontWheelR
ObjectTemplate.setNetworkableInfo WillySteeringInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate WillyFrontSpringR
ObjectTemplate.setPosition 0/-0.800/0
rem -------------------------------------
ObjectTemplate.setMinRotation -45/0/0
ObjectTemplate.setMaxRotation 45/0/0
ObjectTemplate.setMaxSpeed 300/0/0
ObjectTemplate.setAcceleration 300/0/0
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1


rem *** WillyFrontWheelL ***
ObjectTemplate.create RotationalBundle WillyFrontWheelL
ObjectTemplate.setNetworkableInfo WillySteeringInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate WillyFrontSpringL
ObjectTemplate.setPosition 0/-0.800/0
rem -------------------------------------
ObjectTemplate.setMinRotation -45/0/0
ObjectTemplate.setMaxRotation 45/0/0
ObjectTemplate.setMaxSpeed 300/0/0
ObjectTemplate.setAcceleration 300/0/0
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1


rem *** WillySteeringDummy ***
ObjectTemplate.create AnimatedBundle WillySteeringDummy
rem -------------------------------------
ObjectTemplate.addTemplate WillySteering
rem -------------------------------------

rem ObjectTemplate.addSkeletonIK Bip01_R_Hand 0.24/-0.1/-0.82 -80/60/50
ObjectTemplate.addSkeletonIK Bip01_L_Hand -0.04/0.14/-0.91 -90/-190/-50
rem was ObjectTemplate.addSkeletonIK Bip01_L_Hand -0.26/-0.1/-0.82 -80/-60/50


rem *** WillySteering ***
ObjectTemplate.create RotationalBundle WillySteering
ObjectTemplate.setNetworkableInfo WillySteeringInfo
rem -------------------------------------
ObjectTemplate.addTemplate lodWillySteering
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/-300
ObjectTemplate.setMaxRotation 0/0/300
ObjectTemplate.setMaxSpeed 0/0/320
ObjectTemplate.setAcceleration 0/0/-220
ObjectTemplate.setInputToRoll c_PIYaw
ObjectTemplate.setAutomaticReset 1


rem *** lodWillySteering ***
ObjectTemplate.create LodObject lodWillySteering
rem -------------------------------------
ObjectTemplate.addTemplate WillyHighRSteering
ObjectTemplate.addTemplate WillyLowSteering
rem -------------------------------------
ObjectTemplate.lodSelector WillySteeringSelector


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


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


LodSelectorTemplate.create DistanceSelector WillySteeringSelector
LodSelectorTemplate.addLodDistance 10


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


rem *** WillyWreck ***
ObjectTemplate.create SimpleObject WillyWreck
ObjectTemplate.geometry Wreck_Willy_m1
ObjectTemplate.addTemplate e_WillyFire


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

rem *** parachute added ***
rem ObjectTemplate.setParachuteDrag 150.00
rem ObjectTemplate.setParachuteSpeed 30.00

rem ObjectTemplate.addTemplate Parachute
rem ObjectTemplate.setPosition 0/0/0

rem *** HORN ***
ObjectTemplate.create FireArms Horn
ObjectTemplate.setNetworkableInfo WillyBodyInfo
ObjectTemplate.loadSoundScript Sounds/horn.ssc
ObjectTemplate.projectileTemplate HornProjectile
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize -1
ObjectTemplate.numOfMag 1
ObjectTemplate.velocity 0
ObjectTemplate.reloadtime 0
ObjectTemplate.roundOfFire 2
rem ObjectTemplate.fireingForce 0
ObjectTemplate.fireOnce 1
ObjectTemplate.setInputFire c_PIFire

rem *** Music ***
ObjectTemplate.create FireArms Music
ObjectTemplate.setNetworkableInfo WillyBodyInfo
ObjectTemplate.loadSoundScript Sounds/music.ssc
ObjectTemplate.projectileTemplate MusicProjectile
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize 99
ObjectTemplate.numOfMag 2
ObjectTemplate.velocity 0
ObjectTemplate.reloadtime 4.0
ObjectTemplate.roundOfFire 0.022
rem ObjectTemplate.fireingForce 0
ObjectTemplate.fireOnce 1
ObjectTemplate.setInputFire c_PIAltFire


rem EndOfFile