This page is under construction
Archives/bf1942/levels/Midway.rfa
bf1942/levels/Midway/objects/Enterprise/Objects.con
Var v_is_coop
console.useRelativePaths 0
run bf1942/game/is_coop.con
console.useRelativePaths 1

rem *** Enterprise ***
rem *** +3000 criticalDamage for sink effect ***
ObjectTemplate.create PlayerControlObject Enterprise
ObjectTemplate.setNetworkableInfo EnterpriseBodyInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 1
rem 16.976
rem 16.921
ObjectTemplate.drag 3.71

rem 16.873
rem ObjectTemplate.drag 3.73

rem 16.83
rem ObjectTemplate.drag 3.75

rem 17.506
rem ObjectTemplate.drag 3.45

rem ObjectTemplate.drag 2.6
ObjectTemplate.mass 25000000
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 18130
ObjectTemplate.maxhitpoints 18130
ObjectTemplate.material 807
ObjectTemplate.criticalDamage 4513
ObjectTemplate.hpLostWhileCriticalDamage 50
ObjectTemplate.explosionForceMod 5
ObjectTemplate.dontClearTeamOnExit 1
ObjectTemplate.addArmorEffect 9113 em_EnterpriseDamage 0/0/0
ObjectTemplate.addArmorEffect 6057 em_EnterpriseDamage 0/0/0
ObjectTemplate.addArmorEffect 6057 e_waterBoatSink 0/10/0
ObjectTemplate.addArmorEffect 4513 em_EnterpriseDamage 0/0/0
ObjectTemplate.addArmorEffect 4513 e_waterBoatSink 0/10/0
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf 19/6/-5
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf 17/2/-45
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf 14/2/-85
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf 10/2/-125
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf 13/3/25
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf 18/3/45
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf 16/2/65
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf 14/2/85
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf 0/3/125
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf 0/6/35
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf 0/5/-25
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf 0/15/-5
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf 0/3/-90
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf -19/6/-5
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf -17/3/-35
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf -14/2/-75
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf -10/2/-125
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf -13/3/25
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf -18/3/45
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf -16/2/65
ObjectTemplate.addArmorEffect 4513 e_waterBoatSinkEf -14/2/85
ObjectTemplate.aiTemplate Enterprise
rem -------------------------------------
ObjectTemplate.addTemplate lodEnterprise

ObjectTemplate.addTemplate Enterprise_Floater
ObjectTemplate.setPosition -20/14.8/125
ObjectTemplate.addTemplate Enterprise_FloaterBreakerFL

ObjectTemplate.addTemplate Enterprise_Floater
ObjectTemplate.setPosition 20/14.8/125
ObjectTemplate.addTemplate Enterprise_FloaterBreakerFR

ObjectTemplate.addTemplate Enterprise_Floater
ObjectTemplate.setPosition -20/14.8/-125
ObjectTemplate.addTemplate Enterprise_FloaterBreakerBL

ObjectTemplate.addTemplate Enterprise_Floater
ObjectTemplate.setPosition 20/14.8/-125
ObjectTemplate.addTemplate Enterprise_FloaterBreakerBR
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 9/20/41 0/0/0
ObjectTemplate.GUIIndex 35
ObjectTemplate.setVehicleIcon "Vehicle/icon_CV6Enterprise.tga"
ObjectTemplate.setVehicleIconPos 58/80
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_28mmMark1.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCSea
ObjectTemplate.setVehicleType VTCarrier
ObjectTemplate.setToolTipType TTCarrier
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_aircraft_carrier_64x64.tga"
ObjectTemplate.setMinimapIconSize 64
ObjectTemplate.sonarPos 1
ObjectTemplate.submarineData 0 0 0 0 0 19 200


rem *** Enterprise_corsairSpawner ***
ObjectTemplate.create ObjectSpawner Enterprise_fighterSpawner
ObjectTemplate.setObjectTemplate 1 F4F-4
ObjectTemplate.setObjectTemplate 2 F4F-4
ObjectTemplate.minSpawnDelay 20
ObjectTemplate.maxSpawnDelay 40
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.spawnOffset 0/0/0
ObjectTemplate.holdObject 1
ObjectTemplate.team 1
ObjectTemplate.MaxNrOfObjectSpawned 3
ObjectTemplate.damageWhenLost 10

rem *** Enterprise_sbdSpawner ***
ObjectTemplate.create ObjectSpawner Enterprise_sbdSpawner
ObjectTemplate.setObjectTemplate 1 SBD
ObjectTemplate.setObjectTemplate 2 SBD
ObjectTemplate.minSpawnDelay 20
ObjectTemplate.maxSpawnDelay 25
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.spawnOffset 0/0/0
ObjectTemplate.holdObject 1
ObjectTemplate.team 1
ObjectTemplate.MaxNrOfObjectSpawned 6
ObjectTemplate.damageWhenLost 10

rem *** Enterprise_tbdSpawner ***
ObjectTemplate.create ObjectSpawner Enterprise_tbdSpawner
ObjectTemplate.setObjectTemplate 1 Devastator
ObjectTemplate.setObjectTemplate 2 Devastator
ObjectTemplate.minSpawnDelay 20
ObjectTemplate.maxSpawnDelay 40
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.spawnOffset 0/0/0
ObjectTemplate.holdObject 1
ObjectTemplate.team 1
ObjectTemplate.MaxNrOfObjectSpawned 5
ObjectTemplate.damageWhenLost 10

rem *** Enterprise_LcvpSpawner ***
ObjectTemplate.create ObjectSpawner Enterprise_LcvpSpawner
ObjectTemplate.setObjectTemplate 1 LcvpSPT84
ObjectTemplate.setObjectTemplate 2 LcvpSPT84
ObjectTemplate.minSpawnDelay 20
ObjectTemplate.maxSpawnDelay 20
ObjectTemplate.TimeToLive 30
ObjectTemplate.Distance 20
ObjectTemplate.spawnOffset 0/0/0
ObjectTemplate.holdObject 1
ObjectTemplate.team 1
ObjectTemplate.MaxNrOfObjectSpawned 3
ObjectTemplate.damageWhenLost 10