This page is under construction
Archives/bf1942/levels/monster_of_leningrad.rfa
bf1942/levels/monster_of_leningrad/Objects/Locomotive_Drive/Objects.con
rem *** Locomotive_Drive_Shell ***
ObjectTemplate.create PlayerControlObject Locomotive_Drive_Shell
ObjectTemplate.setNetworkableInfo Locomotive_DriveBodyInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.damageFromWater 1
ObjectTemplate.drag 1.5
ObjectTemplate.mass 50000
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 1
ObjectTemplate.exitTimer 0.75
ObjectTemplate.hitpoints 120
ObjectTemplate.maxhitpoints 120
ObjectTemplate.material 45
ObjectTemplate.criticalDamage 6
ObjectTemplate.hpLostWhileCriticalDamage 0
ObjectTemplate.explosionForceMod 5
ObjectTemplate.hpLostWhileUpSideDown 5
ObjectTemplate.hpLostWhileDamageFromWater 5
ObjectTemplate.addArmorEffect 30 e_WillyDamage 0/4/4.35
ObjectTemplate.addArmorEffect 6 e_WillyFire 0/4.3/5.4
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 lodLocomotive_Drive

ObjectTemplate.addTemplate Train_PullerSpawner
ObjectTemplate.setPosition 0/0.154/6.89
ObjectTemplate.addTemplate Train_PullerSpawner
ObjectTemplate.setPosition 0/0.154/-6.89

ObjectTemplate.addTemplate Train_Cart_Shell_Spawner
ObjectTemplate.setPosition 0/0/13.526
ObjectTemplate.addTemplate Train_Cart_Shell_Spawner
ObjectTemplate.setPosition 0/0/26.798
ObjectTemplate.addTemplate Train_Cart_Shell_Spawner
ObjectTemplate.setPosition 0/0/40.07
rem -------------------------------------
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_apc_16x16.tga"
ObjectTemplate.setPcoId 99

rem *** lodLocomotive_Drive ***
ObjectTemplate.create LodObject lodLocomotive_Drive
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate Locomotive_DriveComplex
ObjectTemplate.addTemplate Locomotive_DriveSimple
ObjectTemplate.addTemplate Locomotive_DriveWreck
rem -------------------------------------
ObjectTemplate.lodSelector Locomotive_DriveLodSelector

rem *** Locomotive_DriveComplex ***
ObjectTemplate.create Bundle Locomotive_DriveComplex
ObjectTemplate.geometry Locomotive_Drive_Hull_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate Locomotive_DriveDriverPCO
rem ObjectTemplate.addTemplate Locomotive_DrivePassengerPCO
ObjectTemplate.addTemplate Locomotive_DriveEngineWheels
ObjectTemplate.addTemplate Locomotive_DriveEngineR
ObjectTemplate.setRotation 0/0/90
ObjectTemplate.addTemplate Locomotive_DriveEngineL
ObjectTemplate.setRotation 0/0/-90
rem -------------------------------------


rem *** Locomotive_DriveDriverPCO ***
ObjectTemplate.create PlayerControlObject Locomotive_DriveDriverPCO
ObjectTemplate.setNetworkableInfo Locomotive_DriveBodyInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate Locomotive_DriveCamPosSwitcher1
ObjectTemplate.setPosition 0/2.15/-4.74
ObjectTemplate.addTemplate Locomotive_DriveSeat
ObjectTemplate.setPosition 0/1.63/-3.73
ObjectTemplate.addTemplate Locomotive_DriveEntry
ObjectTemplate.setPosition 0/0.67/-5.78
ObjectTemplate.addTemplate Locomotive_DriveEnginePower
ObjectTemplate.addTemplate Locomotive_DriveWhistle
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0/0.67/-5.78 0/0/0
ObjectTemplate.GUIIndex 26
ObjectTemplate.setVehicleIcon "Vehicle/locomotive.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_apc_16x16.tga"
ObjectTemplate.hasRestrictedExit 1

rem *** Locomotive_DriveCamPosSwitcher1 ***
ObjectTemplate.create Bundle Locomotive_DriveCamPosSwitcher1
rem -------------------------------------
ObjectTemplate.addTemplate Locomotive_DriveCamPosSwitcher2
ObjectTemplate.setPosition 0/0/-7.5
rem -------------------------------------

rem *** Locomotive_DriveCamPosSwitcher2 ***
ObjectTemplate.create RotationalBundle Locomotive_DriveCamPosSwitcher2
rem -------------------------------------
ObjectTemplate.addTemplate Locomotive_DriveCamera
ObjectTemplate.setPosition 0/0/7.5
rem -------------------------------------
ObjectTemplate.setMinRotation -20/0/0
ObjectTemplate.setMaxRotation 20/0/0
ObjectTemplate.setMaxSpeed 450000/0/0
ObjectTemplate.setAcceleration 45000000/0/0
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1

rem *** Locomotive_DriveCamera ***
ObjectTemplate.create Camera Locomotive_DriveCamera
ObjectTemplate.setMinRotation 0/-90/0
ObjectTemplate.setMaxRotation 0/90/0
ObjectTemplate.setMaxSpeed 90/90/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY


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


rem *** Locomotive_DriveEntry ***
ObjectTemplate.create EntryPoint Locomotive_DriveEntry
ObjectTemplate.setEntryRadius 3



rem *** Locomotive_DriveSimple ***
ObjectTemplate.create SimpleObject Locomotive_DriveSimple
ObjectTemplate.geometry Locomotive_Drive_Hull_L1


rem *** Locomotive_DriveWreck ***
ObjectTemplate.create SimpleObject Locomotive_DriveWreck
ObjectTemplate.geometry Wreck_Locomotive_Drive_m1


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


ObjectTemplate.create ObjectSpawner Train_Cart_Shell_Spawner
ObjectTemplate.setObjectTemplate 2 Train_Cart_Drive_Shell
ObjectTemplate.setObjectTemplate 1 Train_Cart_Drive_Shell
ObjectTemplate.SpawnDelay 9999
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 9999
ObjectTemplate.Distance 9999
ObjectTemplate.team 1
ObjectTemplate.DamageWhenLost 0
ObjectTemplate.teamOnVehicle 1


rem *** Locomotive_Drive_Cartridge ***
ObjectTemplate.create PlayerControlObject Locomotive_Drive_Cartridge
ObjectTemplate.setNetworkableInfo Locomotive_DriveBodyInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.damageFromWater 1
ObjectTemplate.drag 1.5
ObjectTemplate.mass 50000
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 1
ObjectTemplate.exitTimer 0.75
ObjectTemplate.hitpoints 120
ObjectTemplate.maxhitpoints 120
ObjectTemplate.material 45
ObjectTemplate.criticalDamage 6
ObjectTemplate.hpLostWhileCriticalDamage 0
ObjectTemplate.explosionForceMod 5
ObjectTemplate.hpLostWhileUpSideDown 5
ObjectTemplate.hpLostWhileDamageFromWater 5
ObjectTemplate.addArmorEffect 30 e_WillyDamage 0/4/4.35
ObjectTemplate.addArmorEffect 6 e_WillyFire 0/4.3/5.4
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 lodLocomotive_Drive

ObjectTemplate.addTemplate Train_PullerSpawner
ObjectTemplate.setPosition 0/0.154/6.89
ObjectTemplate.addTemplate Train_PullerSpawner
ObjectTemplate.setPosition 0/0.154/-6.89

ObjectTemplate.addTemplate Train_Cart_Cartridge_Spawner
ObjectTemplate.setPosition 0/0/13.526
ObjectTemplate.addTemplate Train_Cart_Cartridge_Spawner
ObjectTemplate.setPosition 0/0/26.798
ObjectTemplate.addTemplate Train_Cart_Cartridge_Spawner
ObjectTemplate.setPosition 0/0/40.07
rem -------------------------------------
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_apc_16x16.tga"
ObjectTemplate.setPcoId 99

ObjectTemplate.create ObjectSpawner Train_Cart_Cartridge_Spawner
ObjectTemplate.setObjectTemplate 2 Train_Cart_Drive_Cartridge
ObjectTemplate.setObjectTemplate 1 Train_Cart_Drive_Cartridge
ObjectTemplate.SpawnDelay 9999
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 9999
ObjectTemplate.Distance 9999
ObjectTemplate.team 1
ObjectTemplate.DamageWhenLost 0
ObjectTemplate.teamOnVehicle 1