-- UNITDEF -- TLLGIANT -- -------------------------------------------------------------------------------- local unitName = "tllgiant" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.043, activateWhenBuilt = true, bmcode = 1, brakeRate = 0.082, buildAngle = 16384, buildCostEnergy = 12507, buildCostMetal = 1395, builder = true, buildTime = 25941, canassist = false, canGuard = true, canMove = true, canPatrol = true, canReclaim = false, canstop = 1, category = [[ALL LARGE MOBILE NOTDEFENSE NOTHOVERNOTVTOL NOTSUB NOTVTOL WEAPON]], corpse = [[dead]], defaultmissiontype = [[Standby]], description = [[Aircraft Carrier with Anti-Nuke]], designation = [[]], energyMake = 410, energyUse = 42, explodeAs = [[ATOMIC_BLAST]], floater = true, footprintX = 6, footprintZ = 6, idleAutoHeal = 5, idleTime = 1800, isAirBase = true, maneuverleashlength = 1640, maxDamage = 3700, maxVelocity = 2.35, minWaterDepth = 30, mobilestandorders = 1, movementClass = [[DBOAT6]], name = [[Giant]], noAutoFire = false, noChaseCategory = [[VTOL]], objectName = [[TLLGIANT]], onoffable = true, radarDistance = 1850, selfDestructAs = [[ATOMIC_BLAST]], shootme = 1, side = [[TLL]], sightDistance = 350, sonarDistance = 760, standingfireorder = 2, standingmoveorder = 1, steeringmode = 1, turnRate = 72, unitname = [[tllgiant]], unitnumber = 907, waterline = 7, workerTime = 220, featureDefs = nil, sounds = { canceldestruct = [[cancel2]], underattack = [[warning1]], cant = { [1] = [[cantdo4]], }, count = { [1] = [[count6]], [2] = [[count5]], [3] = [[count4]], [4] = [[count3]], [5] = [[count2]], [6] = [[count1]], }, ok = { [1] = [[sharmmov]], }, select = { [1] = [[sharmsel]], }, }, weaponDefs = nil, weapons = { [1] = { def = [[TLL_ROCKET]], onlyTargetCategory = [[NOTVTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { TLL_ROCKET = { areaOfEffect = 420, avoidFriendly = false, collideFriendly = false, coverage = 2000, craterBoost = 0, craterMult = 0, energypershot = 7500, explosionGenerator = [[custom:FLASH4]], fireStarter = 100, flightTime = 120, guidance = true, impulseBoost = 0.123, impulseFactor = 0.123, interceptor = 1, lineOfSight = true, metalpershot = 500, model = [[amdrocket]], name = [[Rocket]], noautorange = 1, noSelfDamage = true, range = 72000, reloadtime = 2, renderType = 1, selfprop = true, smokedelay = 0.1, smokeTrail = true, soundHitDry = [[xplomed4]], soundStart = [[Rockhvy1]], startsmoke = 1, stockpile = true, stockpiletime = 90, tolerance = 4000, tracks = true, turnRate = 99000, twoPhase = true, vlaunch = true, weaponAcceleration = 164, weaponTimer = 2, weaponType = [[StarburstLauncher]], weaponVelocity = 3500, damage = { default = 1500, subs = 5, }, }, } unitDef.weaponDefs = weaponDefs -------------------------------------------------------------------------------- local featureDefs = { dead = { blocking = true, category = [[tll_corpses]], damage = 0.6000 * unitDef.maxDamage, description = [[Wreckage]], featureDead = [[heap]], featurereclamate = [[smudge01]], footprintX = 6, footprintZ = 6, height = 20, hitdensity = 100, metal = 0.8000 * unitDef.buildCostMetal, object = [[tllgiant_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, heap = { blocking = false, category = [[heaps]], damage = 0.3600 * unitDef.maxDamage, description = [[Wreckage]], featurereclamate = [[smudge01]], footprintX = 6, footprintZ = 6, height = 4, hitdensity = 20, metal = 0.6400 * unitDef.buildCostMetal, object = [[4x4d]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------