This page is under construction
Archives/bf1942/levels/Midway.rfa
bf1942/levels/Midway/Objects/Midway_Hangar/Objects.con
rem ----- MidwayHangar -----
ObjectTemplate.create PlayerControlObject Midway_Hangar
ObjectTemplate.setNetworkableInfo MidwayHangarBodyInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.explosionRadius 15
ObjectTemplate.explosionDamage 5
ObjectTemplate.drag 2
ObjectTemplate.mass 4500
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 2
ObjectTemplate.hitpoints 1000
ObjectTemplate.maxhitpoints 1000
ObjectTemplate.material 45
ObjectTemplate.criticalDamage 10
ObjectTemplate.explosionForceMod 15
ObjectTemplate.hpLostWhileCriticalDamage 1
ObjectTemplate.hpLostWhileUpSideDown 5
ObjectTemplate.hpLostWhileDamageFromWater 5
ObjectTemplate.dontClearTeamOnExit 1
ObjectTemplate.addArmorEffect 290 e_BuildingSmokeIdleDark 10/10/-15
ObjectTemplate.addArmorEffect 290 e_BuildingSmokeIdleDark -10/10/15
ObjectTemplate.addArmorEffect 250 e_BuildingSmokeIdleDark 5/10/-10
ObjectTemplate.addArmorEffect 250 e_BuildingSmokeIdleDark -5/10/10
ObjectTemplate.addArmorEffect 200 e_BuildingSmoke 0/0.5/2.5
ObjectTemplate.addArmorEffect 200 e_BuildingSmoke 0/0.5/13
ObjectTemplate.addArmorEffect 150 e_BuildingSmoke 0/0.5/2.5
ObjectTemplate.addArmorEffect 150 e_BuildingSmoke 0/0.5/13
ObjectTemplate.addArmorEffect 150 e_BuildingSmokeIdleDark 5/10/-10
ObjectTemplate.addArmorEffect 150 e_BuildingSmokeIdleDark -5/10/10
ObjectTemplate.addArmorEffect 100 e_BuildingSmoke 0/0.5/2.5
ObjectTemplate.addArmorEffect 100 e_BuildingSmoke 0/0.5/13
ObjectTemplate.addArmorEffect 100 e_BuildingSmokeIdleDark 5/10/-10
ObjectTemplate.addArmorEffect 100 e_BuildingSmokeIdleDark -5/10/10
ObjectTemplate.addArmorEffect 50 e_BuildingSmoke 0/0.5/2.5
ObjectTemplate.addArmorEffect 50 e_BuildingSmoke 0/0.5/13
ObjectTemplate.addArmorEffect 50 e_BuildingSmokeIdleDark 5/10/-10
ObjectTemplate.addArmorEffect 50 e_BuildingSmokeIdleDark -5/10/10
ObjectTemplate.addArmorEffect 10 e_BuildingSmoke 10/0.5/13
ObjectTemplate.addArmorEffect 10 e_BuildingSmoke -10/0.5/2.5
ObjectTemplate.addArmorEffect 10 e_BuildingSmoke 0/0.5/2.5
ObjectTemplate.addArmorEffect 10 e_BuildingSmoke 0/0.5/13
ObjectTemplate.addArmorEffect 10 e_BuildingSmokeIdleDark 8/10/-12
ObjectTemplate.addArmorEffect 10 e_BuildingSmokeIdleDark -8/10/12
ObjectTemplate.addArmorEffect 0 e_RichoCascadesMetal 10/10/-15
ObjectTemplate.addArmorEffect 0 e_RichoCascadesMetal -10/10/15
ObjectTemplate.addArmorEffect 0 e_RichoCascadesStone 0/0.5/13
ObjectTemplate.addArmorEffect 0 e_RichoCascadesWood 10/10/-15
ObjectTemplate.addArmorEffect 0 e_RichoCascadesMetal -10/10/15
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/0/0
ObjectTemplate.addArmorEffect 0 e_BuildingSmokeIdleDark 0/0/0
ObjectTemplate.addArmorEffect 0 e_buildingdestdust 12/0/-12
ObjectTemplate.addArmorEffect 0 e_buildingdestdust 12/0/-10
ObjectTemplate.addArmorEffect 0 e_buildingdestdust 12/0/-8
ObjectTemplate.addArmorEffect 0 e_buildingdestdust 12/0/-6
ObjectTemplate.addArmorEffect 0 e_buildingdestdust 12/0/-4
ObjectTemplate.addArmorEffect 0 e_buildingdestdust 12/0/-2
ObjectTemplate.addArmorEffect 0 e_buildingdestdust 12/0/0
ObjectTemplate.addArmorEffect 0 e_buildingdestdust -12/0/12
ObjectTemplate.addArmorEffect 0 e_buildingdestdust -12/0/10
ObjectTemplate.addArmorEffect 0 e_buildingdestdust -12/0/8
ObjectTemplate.addArmorEffect 0 e_buildingdestdust -12/0/6
ObjectTemplate.addArmorEffect 0 e_buildingdestdust -12/0/4
ObjectTemplate.addArmorEffect 0 e_buildingdestdust -12/0/2
ObjectTemplate.addArmorEffect 0 e_buildingdestdust -12/0/0
ObjectTemplate.addArmorEffect 0 e_buildingdestdust 0/0/12
ObjectTemplate.addArmorEffect 0 e_buildingdestdust 0/0/8
ObjectTemplate.addArmorEffect 0 e_buildingdestdust 0/0/4
ObjectTemplate.addArmorEffect 0 e_buildingdestdust 0/0/-12
ObjectTemplate.addArmorEffect 0 e_buildingdestdust 0/0/-8
ObjectTemplate.addArmorEffect 0 e_buildingdestdust 0/0/-4
ObjectTemplate.damageFromWater 1
ObjectTemplate.timetoliveafterdeath 7
ObjectTemplate.fadeAtTimeToLiveAfterDeath 1
ObjectTemplate.TimeToStartFadeAfterDeath 1
ObjectTemplate.addTemplate lodMidwayHangar

ObjectTemplate.setPcoId 0
ObjectTemplate.GUIIndex 30
ObjectTemplate.setVehicleIcon "Vehicle/Icon_wespe.tga"
ObjectTemplate.setSoldierExitLocation 6/12/-7 180/0/0
ObjectTemplate.setVehicleIconPos 40/60
ObjectTemplate.setNumberOfWeaponIcons 0
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTArtillery
ObjectTemplate.setToolTipType TTArtillery
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_stationary_16x16.tga"
ObjectTemplate.hasRestrictedExit 1

rem ---- lodMidwayHangar -----
ObjectTemplate.create LodObject lodMidwayHangar
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.addTemplate MidwayHangarComplex
ObjectTemplate.addTemplate MidwayHangarSimple
ObjectTemplate.addTemplate MidwayHangarWreck
ObjectTemplate.lodSelector MidwayHangarLodSelector

rem ---- MidwayHangarcomplex ----
ObjectTemplate.create Bundle MidwayHangarcomplex
ObjectTemplate.geometry MidwayHangarcomplex_m1
ObjectTemplate.setHasCollisionPhysics 1

ObjectTemplate.addTemplate MidwayHangarAirplaneRepairpoint
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate militable_m1
ObjectTemplate.setPosition 13.1/3.07/-19.696
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate planeeng_M1
ObjectTemplate.setPosition 13.1/3.97/-19.696
ObjectTemplate.setRotation 8/0/0
ObjectTemplate.addTemplate stecrate1_M1
ObjectTemplate.setPosition -6.799/3.07/-10.996
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate mililocker_m1
ObjectTemplate.setPosition 19.3/3.12/-14.3
ObjectTemplate.setRotation -90/0/0
ObjectTemplate.addTemplate stecrate1_M1
ObjectTemplate.setPosition -17.4/3.12/-16.297
ObjectTemplate.setRotation 45/0/0
ObjectTemplate.addTemplate MidwayHangar_SBDSpawner
ObjectTemplate.setPosition -10/2/12
ObjectTemplate.setRotation 35/-13/0
ObjectTemplate.addTemplate MidwayHangar_WildcatSpawner
ObjectTemplate.setPosition 9/2.5/12
ObjectTemplate.setRotation -35/-13/0
ObjectTemplate.addTemplate MidwayHangar_B17Spawner
ObjectTemplate.setPosition -22.64/.5142/83.59
ObjectTemplate.setRotation 90/0/0
ObjectTemplate.addTemplate MidwayHangar_B26Spawner
ObjectTemplate.setPosition 9.949/.5142/130.811
ObjectTemplate.setRotation 117/0/0
ObjectTemplate.addTemplate MidwayHangarSoldierSpawn
ObjectTemplate.setPosition 15/3.15/-17
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate MidwayHangarSoldierSpawn
ObjectTemplate.setPosition -15/3.15/-17
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate MidwayHangarSoldierSpawn
ObjectTemplate.setPosition 0/3.15/-17
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.loadSoundScript Hangar.ssc

rem ----- MidwayHangarAirplaneRepairpoint -----
ObjectTemplate.create SupplyDepot MidwayHangarAirplaneRepairpoint
ObjectTemplate.radius 20
ObjectTemplate.team 0
ObjectTemplate.addVehicleType sbd -1 3 0
ObjectTemplate.addVehicleType sbd-t -1 3 0
ObjectTemplate.addVehicleType wildcat -1 3 0
ObjectTemplate.addAmmoType 0 -1 10 0
ObjectTemplate.workOnVehicles 1
ObjectTemplate.workOnSoldiers 0

rem ----- MidwayHangar_SBDSpawner -----
ObjectTemplate.create ObjectSpawner MidwayHangar_SBDSpawner
ObjectTemplate.setObjectTemplate 1 SBD
ObjectTemplate.setObjectTemplate 2 SBD
rem ObjectTemplate.holdObject 1
ObjectTemplate.MinSpawnDelay 20
ObjectTemplate.MaxSpawnDelay 40
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.team 2
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 40
ObjectTemplate.MaxNrOfObjectSpawned 2

rem ----- MidwayHangar_WildcatSpawner -----
ObjectTemplate.create ObjectSpawner MidwayHangar_WildcatSpawner
ObjectTemplate.setObjectTemplate 1 Wildcat
ObjectTemplate.setObjectTemplate 2 Wildcat
rem ObjectTemplate.holdObject 1
ObjectTemplate.MinSpawnDelay 20
ObjectTemplate.MaxSpawnDelay 40
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.team 2
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 40
ObjectTemplate.MaxNrOfObjectSpawned 2

ObjectTemplate.create ObjectSpawner MidwayHangar_B17Spawner
ObjectTemplate.setObjectTemplate 2 b17
ObjectTemplate.setObjectTemplate 1 b17
ObjectTemplate.MinSpawnDelay 90
ObjectTemplate.MaxSpawnDelay 150
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.team 2
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 40
ObjectTemplate.DamageWhenLost 20
ObjectTemplate.MaxNrOfObjectSpawned 2

ObjectTemplate.create ObjectSpawner MidwayHangar_B26Spawner
ObjectTemplate.setObjectTemplate 2 b26
ObjectTemplate.setObjectTemplate 1 b26
ObjectTemplate.MinSpawnDelay 180
ObjectTemplate.MaxSpawnDelay 240
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.team 2
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 40
ObjectTemplate.DamageWhenLost 20


rem ----- MidwayHangarSoldierSpawn -----
ObjectTemplate.create SpawnPoint MidwayHangarSoldierSpawn
ObjectTemplate.setSpawnId 0
ObjectTemplate.setGroup 84

rem ---- MidwayHangarSimple -----
ObjectTemplate.create SimpleObject MidwayHangarSimple
ObjectTemplate.geometry MidwayHangarSimple_m1
ObjectTemplate.hasDynamicShadow 1

rem ---- MidwayHangarWreck -----
ObjectTemplate.create SimpleObject MidwayHangarWreck
ObjectTemplate.geometry MidwayHangarWreck_m1

rem ---- MidwayHangarLodSelector -----
LodSelectorTemplate.create DistCompareSelector2 MidwayHangarLodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 300