-- UNITDEF -- TLLCOYOTE -- -------------------------------------------------------------------------------- local unitName = "tllcoyote" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.055, airsightdistance = 650, bmcode = 1, brakeRate = 0.01203, buildCostEnergy = 2150, buildCostMetal = 745, builder = false, buildTime = 9187, canAttack = true, canGuard = true, canMove = true, canPatrol = true, canstop = 1, category = [[ALL MEDIUM MOBILE NOTDEFENSE NOTHOVERNOTVTOL NOTSUB NOTSUBNOTSHIP NOTVTOL WEAPON]], corpse = [[dead]], defaultmissiontype = [[standby]], description = [[Heavy Assault Tank]], designation = [[TLLTK3]], explodeAs = [[BIG_UNITEX]], firestandorders = 1, footprintX = 3, footprintZ = 3, idleAutoHeal = 5, idleTime = 1800, maneuverleashlength = 300, maxDamage = 4655, maxSlope = 12, maxVelocity = 1.95, maxWaterDepth = 100, mobilestandorders = 1, movementClass = [[TANK3]], name = [[Coyote]], noAutoFire = false, noChaseCategory = [[SUB VTOL]], objectName = [[TLLCOYOTE]], selfDestructAs = [[BIG_UNIT]], shootme = 1, side = [[TLL]], sightDistance = 400, standingfireorder = 2, standingmoveorder = 1, steeringmode = 1, turnRate = 320, unitname = [[tllcoyote]], unitnumber = 8330, upright = true, 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] = [[tarmmove]], }, select = { [1] = [[tarmsel]], }, }, weaponDefs = nil, weapons = { [1] = { def = [[CORE_REAP]], onlyTargetCategory = [[NOTVTOL]], }, [2] = { def = [[ARMAMPH_MISSILE]], onlyTargetCategory = [[VTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { ARMAMPH_MISSILE = { areaOfEffect = 48, canattackground = false, cegTag = [[Tll_Def_AA_Rocket]], craterBoost = 0, craterMult = 0, explosionGenerator = [[custom:FLASH2]], fireStarter = 70, guidance = true, impulseBoost = 0.123, impulseFactor = 0.123, lineOfSight = true, metalpershot = 0, model = [[missile]], name = [[Missiles]], noSelfDamage = true, range = 600, reloadtime = 1.3, renderType = 1, selfprop = true, smokedelay = 0.1, smokeTrail = true, soundHitDry = [[xplosml2]], soundStart = [[rocklit1]], startsmoke = 1, startVelocity = 500, texture1 = [[null]], texture2 = [[armsmoketrail]], texture3 = [[null]], texture4 = [[null]], tolerance = 9000, tracks = true, turnRate = 48000, turret = true, weaponAcceleration = 141, weaponTimer = 5, weaponType = [[MissileLauncher]], weaponVelocity = 750, damage = { bombers = 75, default = 5, fighters = 75, flak_resistant = 75, subs = 5, unclassed_air = 75, }, }, CORE_REAP = { areaOfEffect = 64, ballistic = true, cegTag = [[Trail_cannon]], craterBoost = 0, craterMult = 0, explosionGenerator = [[custom:FLASH72]], gravityaffected = [[TRUE]], impulseBoost = 0.123, impulseFactor = 0.123, name = [[PlasmaCannon]], nogap = 1, noSelfDamage = true, range = 410, reloadtime = 0.7, renderType = 4, separation = 0.45, sizedecay = -0.15, soundHitDry = [[xplomed2]], soundStart = [[cannon3]], stages = 20, startsmoke = 1, turret = true, weaponType = [[Cannon]], weaponVelocity = 380, damage = { default = 111, 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 = 3, footprintZ = 3, height = 20, hitdensity = 120, metal = 0.8000 * unitDef.buildCostMetal, object = [[tllcoyote_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, heap = { blocking = false, category = [[heaps]], damage = 0.3600 * unitDef.maxDamage, description = [[Wreckage]], featurereclamate = [[smudge01]], footprintX = 3, footprintZ = 3, height = 4, hitdensity = 80, metal = 0.6400 * unitDef.buildCostMetal, object = [[3x3c]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------