This page is under construction
Archives/bf1942/levels/Midway.rfa
bf1942/levels/Midway/objects/Yamato/Objects.con
rem *** Yamato ***
rem *** +5000 criticalDamage for sink effect ***
ObjectTemplate.create PlayerControlObject Yamato
ObjectTemplate.aiTemplate YamatoAI
ObjectTemplate.setNetworkableInfo YamatoBodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
rem 13.89
rem 13.857
ObjectTemplate.drag 2.4
ObjectTemplate.mass 35000000
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 38240
ObjectTemplate.Maxhitpoints 38240
ObjectTemplate.material 146
ObjectTemplate.criticalDamage 8324
ObjectTemplate.hpLostWhileCriticalDamage 75
ObjectTemplate.explosionForceMod 5
ObjectTemplate.dontClearTeamOnExit 1
ObjectTemplate.addArmorEffect 40255 em_ExFumePOW 0/35/-25
ObjectTemplate.addArmorEffect 40255 em_ExFumePOW 0/35/-25
ObjectTemplate.addArmorEffect 18095 em_YamatoDamage 0/0/0
ObjectTemplate.addArmorEffect 18095 em_YamatoDamage 0/0/20
ObjectTemplate.addArmorEffect 18095 em_YamatoDamage 0/0/-30
ObjectTemplate.addArmorEffect 18095 em_ExFumePOW 0/35/-25
ObjectTemplate.addArmorEffect 18095 em_ExFumePOW 0/35/-25
ObjectTemplate.addArmorEffect 11648 em_YamatoDamage 0/0/0
ObjectTemplate.addArmorEffect 11648 em_YamatoDamage 0/0/20
ObjectTemplate.addArmorEffect 11648 em_YamatoDamage 0/0/-30
ObjectTemplate.addArmorEffect 11648 e_waterBoatSink 0/10/0
ObjectTemplate.addArmorEffect 11648 em_YamatoDamage 0/0/0
ObjectTemplate.addArmorEffect 11648 em_ExFumePOW 0/35/-25
ObjectTemplate.addArmorEffect 11648 em_ExFumePOW 0/35/-25

ObjectTemplate.addArmorEffect 8324 em_YamatoDamage 0/0/20
ObjectTemplate.addArmorEffect 8324 em_YamatoDamage 0/0/-30
ObjectTemplate.addArmorEffect 8324 e_waterBoatSink 0/10/0

ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf 14/2/85
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf 16/2/65
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf 18/3/45
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf 13/3/25
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf 19/6/-5
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf 17/2/-45
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf 14/2/-85
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf 10/2/-115

ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf 0/3/115
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf 0/6/35
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf 0/5/-25
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf 0/15/-5
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf 0/3/-90

ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf -14/2/85
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf -16/2/65
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf -18/3/45
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf -13/3/25
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf -19/6/-5
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf -17/3/-35
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf -14/2/-75
ObjectTemplate.addArmorEffect 8324 e_waterBoatSinkEf -10/2/-115

rem -------------------------------------
ObjectTemplate.addTemplate lodYamato

ObjectTemplate.addTemplate YamatoFloater
ObjectTemplate.setPosition 0/10.5/50
ObjectTemplate.addTemplate YamatoFloater
ObjectTemplate.setPosition -20/10.5/0
ObjectTemplate.addTemplate YamatoFloater
ObjectTemplate.setPosition 20/10.5/0
ObjectTemplate.addTemplate YamatoFloater
ObjectTemplate.setPosition 0/10.5/-50

ObjectTemplate.addTemplate YamatoFloaterBreakerFL
ObjectTemplate.addTemplate YamatoFloaterBreakerBL

ObjectTemplate.addTemplate YamatoFloaterBreakerFR
ObjectTemplate.addTemplate YamatoFloaterBreakerBR
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -7.5/13/3.5 -70/0/0
ObjectTemplate.GUIIndex 55
ObjectTemplate.setVehicleIcon "Vehicle/Icon_yamato.tga"
ObjectTemplate.setVehicleIconPos 55/55
ObjectTemplate.setNumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_460mmType94.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/icon_155mm3rdYearType.tga"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCSea
ObjectTemplate.setVehicleType VTBattleship
ObjectTemplate.setToolTipType TTBattleship
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_battleship_64x64.tga"
ObjectTemplate.setMinimapIconSize 64
ObjectTemplate.artPos 1
ObjectTemplate.DirBarXScale 140
ObjectTemplate.DirBarYScaleAbove 15
ObjectTemplate.DirBarYScaleBelow 1
ObjectTemplate.DirBarYScaleMin -92
ObjectTemplate.DirBarYScaleMax -75
ObjectTemplate.sonarPos 1
ObjectTemplate.submarineData 0 0 0 0 0 20.5 200

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