This page is under construction
Archives/BF1942/levels/Dustbowl Modded/DustBowl_Modded.rfa
bf1942/levels/DustBowl_Modded/objects/vehicles/land/Jep_Paratrooper/Objects.con
rem *** 9/14/09 ***
rem *** BF2 JEP Paratrooper (MEC and CHN skins map specific) **
rem *** Ported from BF2 and coded by: Apache Thunder ***

rem ** This vehicle replaces the nx_dpv2 ***

ObjectTemplate.create PlayerControlObject Desert_Patrol_Vehicle
ObjectTemplate.setNetworkableInfo JepParatrooperBodyInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.cullRadiusScale 5
ObjectTemplate.explosionRadius 3
ObjectTemplate.explosionDamage 2
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 0.3
ObjectTemplate.drag 0.45
ObjectTemplate.mass 3000
ObjectTemplate.exitTimer 0.75
ObjectTemplate.hitpoints 95
ObjectTemplate.maxhitpoints 95
ObjectTemplate.material 45
ObjectTemplate.criticalDamage 4
ObjectTemplate.explosionForceMod 20
ObjectTemplate.hpLostWhileCriticalDamage 2
ObjectTemplate.hpLostWhileUpSideDown 2
ObjectTemplate.hpLostWhileDamageFromWater 1
ObjectTemplate.damageFromWater 1
ObjectTemplate.exitSpeedMod 0.4
ObjectTemplate.addArmorEffect 30 e_WillyDamage 0/1.6/-2.4
ObjectTemplate.addArmorEffect 6 e_WillyFire 0/0.22/-1.962
ObjectTemplate.addArmorEffect 0 e_scrapmetal_Willy 0/0/0
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/0.4/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.aiTemplate ParatrooperDriverAI
rem -------------------------------------
ObjectTemplate.addTemplate lodJepParatrooper
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -1.5/0/0 0/0/0
ObjectTemplate.GUIIndex 71
ObjectTemplate.setVehicleIcon "Vehicle/Icon_DPV.tga"
ObjectTemplate.setVehicleIconPos 38/8
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTScoutCar
ObjectTemplate.setToolTipType TTScoutCar
ObjectTemplate.hasRestrictedExit 1

ObjectTemplate.create LodObject lodJepParatrooper
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasResponsePhysics 1
rem ------------------------------------------
ObjectTemplate.addTemplate JepParatrooperComplex
ObjectTemplate.addTemplate JepParatrooperSimple
ObjectTemplate.addTemplate JepParatrooperWreck
rem ------------------------------------------
ObjectTemplate.lodSelector JepParaSelector

LodSelectorTemplate.create DistCompareSelector2 JepParaSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 150

ObjectTemplate.create Bundle JepParatrooperComplex
ObjectTemplate.geometry Jep_Paratrooper_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasCollisionPhysics 1
rem ------------------------------------------
ObjectTemplate.addTemplate JepParatrooperEngine
ObjectTemplate.addTemplate JepParatrooperEntry
ObjectTemplate.addTemplate JepParatrooperSeat
ObjectTemplate.setPosition -0.313/0.17/-0.04
ObjectTemplate.addTemplate JepParatrooperCamera
ObjectTemplate.setPosition -0.313/0.45/-0.22
ObjectTemplate.addTemplate ParatrooperSteeringWhlRack
ObjectTemplate.setPosition -0.313/0.299/0.343
ObjectTemplate.setRotation 0/18.622/0
ObjectTemplate.addTemplate carhorn
rem ------------------------------------------
ObjectTemplate.addTemplate JepParatrooperGunPosition1
ObjectTemplate.addTemplate JepParatrooperGunPosition2


ObjectTemplate.create SimpleObject JepParatrooperSimple
ObjectTemplate.geometry Jep_Paratrooper_m2

ObjectTemplate.create EntryPoint JepParatrooperEntry
ObjectTemplate.setEntryRadius 2.5

ObjectTemplate.create Camera JepParatrooperGunCamera

ObjectTemplate.create Camera JepParatrooperCamera
ObjectTemplate.setMinRotation -80/-15/0
ObjectTemplate.setMaxRotation 80/20/0
ObjectTemplate.setPivotPosition 0/0.2/0.2
ObjectTemplate.setMaxSpeed 90/90/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY

rem *** Soldier Seats ***
ObjectTemplate.create SeatObject JepParatrooperSeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInWilly
ObjectTemplate.seatAnimationLowerBody Lb_PassengerInWilly

ObjectTemplate.create SeatObject JepParatrooperGunSeat
ObjectTemplate.seatFlags c_SeatShowStandingSoldier
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInWilly

rem *** Steering Racks ***
ObjectTemplate.create RotationalBundle JepParatrooper_LeftSteeringRack
ObjectTemplate.setNetworkableInfo JepParatrooperBodyInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.setPivotPosition -0.08/0/0
rem -------------------------------------
ObjectTemplate.addTemplate JepParatrooper_Spring_FrontLeft
rem -------------------------------------
ObjectTemplate.setMinRotation -40/0/0
ObjectTemplate.setMaxRotation 40/0/0
ObjectTemplate.setMaxSpeed 80/0/0
ObjectTemplate.setAcceleration 80/0/0
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1

ObjectTemplate.create RotationalBundle JepParatrooper_RightSteeringRack
ObjectTemplate.setNetworkableInfo JepParatrooperBodyInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.setPivotPosition 0.08/0/0
rem -------------------------------------
ObjectTemplate.addTemplate JepParatrooper_Spring_FrontRight
rem -------------------------------------
ObjectTemplate.setMinRotation -40/0/0
ObjectTemplate.setMaxRotation 40/0/0
ObjectTemplate.setMaxSpeed 80/0/0
ObjectTemplate.setAcceleration 80/0/0
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1

rem *** SteeringDummy ***
ObjectTemplate.create AnimatedBundle ParatrooperSteeringWhlRack
rem -------------------------------------
ObjectTemplate.addTemplate ParatrooperSteeringWhlBundle
rem -------------------------------------
ObjectTemplate.addSkeletonIK Bip01_L_Hand -0.2/-0.018/-0.12 -80/-60/50
ObjectTemplate.addSkeletonIK Bip01_R_Hand 0.2/-0.035/-0.12 -80/60/50

rem *** Steering Wheel ***
ObjectTemplate.create RotationalBundle ParatrooperSteeringWhlBundle
ObjectTemplate.setNetworkableInfo JepParatrooperSteeringInfo
rem -------------------------------------
ObjectTemplate.addTemplate lodParatrooperSteeringWheel
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/-50
ObjectTemplate.setMaxRotation 0/0/50
ObjectTemplate.setMaxSpeed 0/0/180
ObjectTemplate.setAcceleration 0/0/-180
ObjectTemplate.setInputToRoll c_PIYaw
ObjectTemplate.setAutomaticReset 1

ObjectTemplate.create LodObject lodParatrooperSteeringWheel
rem -------------------------------------
ObjectTemplate.addTemplate ParatrooperSteeringWhlComplex
ObjectTemplate.addTemplate ParatrooperSteeringWhlSimple
rem -------------------------------------
ObjectTemplate.lodSelector ParatrooperSteeringWhlSelector

ObjectTemplate.create SimpleObject ParatrooperSteeringWhlComplex
ObjectTemplate.geometry jep_paratrooper_steeringwhl_m1

ObjectTemplate.create SimpleObject ParatrooperSteeringWhlSimple
ObjectTemplate.geometry jep_paratrooper_steeringwhl_m1

LodSelectorTemplate.create DistanceSelector ParatrooperSteeringWhlSelector
LodSelectorTemplate.addLodDistance 10

ObjectTemplate.create PlayerControlObject JepParatrooperGunPosition1
ObjectTemplate.setNetworkableInfo JepParatrooperBodyInfo
ObjectTemplate.aiTemplate JepParatrooperMGAI
ObjectTemplate.nameTagOffset 0/1/-0.988
rem -------------------------------------
ObjectTemplate.addTemplate JepParatrooperEntry
ObjectTemplate.setPosition 0/0.941/-0.988
ObjectTemplate.addTemplate JepParatrooperMGTurret
ObjectTemplate.setPosition 0/0.941/-0.988
rem -------------------------------------
ObjectTemplate.exitSpeedMod 0.4
ObjectTemplate.setSoldierExitLocation -1.5/0/0.94 0/0/0
Objecttemplate.GUIIndex 80
ObjectTemplate.setVehicleIcon "Vehicle/Icon_DPV.tga"
ObjectTemplate.setVehicleIconPos 23/14
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
rem ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
rem ObjectTemplate.setPrimaryAmmoBar ABHeatBarOnly
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTScoutCar
ObjectTemplate.setToolTipType TTScoutCar
ObjectTemplate.hasRestrictedExit 1


ObjectTemplate.create PlayerControlObject JepParatrooperGunPosition2
ObjectTemplate.setNetworkableInfo JepParatrooperBodyInfo
ObjectTemplate.aiTemplate JepParatrooperPKMAI
ObjectTemplate.nameTagOffset 0.314/0.43/-0.134
rem -------------------------------------
ObjectTemplate.addTemplate JepParatrooperEntry
ObjectTemplate.setPosition 0.314/0.17/-0.04
ObjectTemplate.addTemplate JepParatrooperSeat
ObjectTemplate.setPosition 0.314/0.17/-0.04
ObjectTemplate.addTemplate JepParatrooperPKMTurret
ObjectTemplate.setPosition 0.314/0.429/0.635
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 1.5/0/0 0/0/0
ObjectTemplate.exitSpeedMod 0.4
Objecttemplate.GUIIndex 80
ObjectTemplate.setVehicleIcon "Vehicle/Icon_DPV.tga"
ObjectTemplate.setVehicleIconPos 38/18
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
rem ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
rem ObjectTemplate.setPrimaryAmmoBar ABHeatBarOnly
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTScoutCar
ObjectTemplate.setToolTipType TTScoutCar
ObjectTemplate.hasRestrictedExit 1

ObjectTemplate.create RotationalBundle JepParatrooperMGTurret
ObjectTemplate.setNetworkableInfo JepParatrooperTurretInfo
ObjectTemplate.geometry jep_paratrooper_turret1_m1
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate JepParatrooperGunSeat
ObjectTemplate.addTemplate JepParatrooperMGMount
ObjectTemplate.setPosition -0.004/0.302/0.631
rem -------------------------------------
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setAutomaticYawStabilization 1

ObjectTemplate.create RotationalBundle JepParatrooperMGMount
ObjectTemplate.setNetworkableInfo JepParatrooperWeaponInfo
ObjectTemplate.geometry jep_paratrooper_gunmount1_m1
rem -------------------------------------
ObjectTemplate.addTemplate Mk19
ObjectTemplate.setPosition 0/0.027/0.307
ObjectTemplate.addTemplate JepParatrooperGunCamera
ObjectTemplate.setPosition 0/0.405/-0.293
rem ObjectTemplate.setPosition 0/0.28/-0.18
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-20/0
ObjectTemplate.setMaxRotation 0/15/0
ObjectTemplate.setMaxSpeed 0/90/0
ObjectTemplate.setAcceleration 0/5000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setAutomaticPitchStabilization 1

ObjectTemplate.create RotationalBundle JepParatrooperPKMTurret
ObjectTemplate.setNetworkableInfo JepParatrooperTurretInfo
ObjectTemplate.geometry jep_paratrooper_turret2_m1
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate JepParatrooperPKMMount
ObjectTemplate.setPosition 0/0/0.034
ObjectTemplate.setRotation 0/-25/0
rem -------------------------------------
ObjectTemplate.setMinRotation -35/0/0
ObjectTemplate.setMaxRotation 35/0/0
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setAutomaticYawStabilization 1

ObjectTemplate.create RotationalBundle JepParatrooperPKMMount
ObjectTemplate.setNetworkableInfo JepParatrooperWeaponInfo
ObjectTemplate.geometry jep_paratrooper_gunmount2_m1
rem -------------------------------------
ObjectTemplate.addTemplate Browning
ObjectTemplate.setPosition 0/0.034/0.075
ObjectTemplate.addTemplate JepParatrooperGunCamera
ObjectTemplate.setPosition 0/0.252/-0.2
rem ObjectTemplate.setPosition 0/0.28/-0.18
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-5/0
ObjectTemplate.setMaxRotation 0/30/0
ObjectTemplate.setMaxSpeed 0/90/0
ObjectTemplate.setAcceleration 0/5000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setAutomaticPitchStabilization 1


ObjectTemplate.create Bundle JepParatrooperWreck
ObjectTemplate.geometry Jep_Paratrooper_Wreck_m1
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate e_ExFumeFact
ObjectTemplate.setPosition 0.078/-0.203/-0.1764
ObjectTemplate.startOnEffects 1