-- UNITDEF -- SHRIKE -- -------------------------------------------------------------------------------- local unitName = "shrike" -------------------------------------------------------------------------------- local unitDef = { acceleration = 4.45, airsightdistance = 900, bankscale = 1, bmcode = 1, brakeRate = 9, buildCostEnergy = 66000, buildCostMetal = 450, buildTime = 17285, canAttack = true, canFly = true, canGuard = true, canMove = true, canPatrol = true, canstop = 1, category = [[ALL MOBILE NOTDEFENSE NOTSUB NOTSUBNOTSHIP VTOL WEAPON]], collide = false, cruiseAlt = 200, defaultmissiontype = [[VTOL_standby]], description = [[Stealth Fighter]], designation = [[AFD-J9]], energyMake = 20, energyUse = 20, explodeAs = [[BIG_UNITEX]], firestandorders = 1, footprintX = 3, footprintZ = 3, idleAutoHeal = 5, idleTime = 1800, maneuverleashlength = 1280, maxDamage = 2550, maxSlope = 10, maxVelocity = 15, maxWaterDepth = 0, mobilestandorders = 1, moverate1 = 8, name = [[Shrike]], noChaseCategory = [[NOTVTOL SUB]], objectName = [[SHRIKE]], radarDistance = 0, selfDestructAs = [[BIG_UNIT_VTOL]], shootme = 1, side = [[ARM]], sightDistance = 750, standingfireorder = 2, standingmoveorder = 1, stealth = true, steeringmode = 1, turnRate = 1280, unitname = [[shrike]], unitnumber = 551, unitRestricted = 300, sounds = { canceldestruct = [[cancel2]], underattack = [[warning1]], cant = { [1] = [[cantdo4]], }, count = { [1] = [[count6]], [2] = [[count5]], [3] = [[count4]], [4] = [[count3]], [5] = [[count2]], [6] = [[count1]], }, ok = { [1] = [[vtolarmv]], }, select = { [1] = [[vtolarac]], }, }, weaponDefs = nil, weapons = { [1] = { badTargetCategory = [[MEDIUMVTOL SMALLVTOL TINYVTOL]], def = [[ARMVTOL_ADVMISSILE]], onlyTargetCategory = [[VTOL SUPERSHIP]], }, [2] = { badTargetCategory = [[MEDIUMVTOL SMALLVTOL TINYVTOL]], def = [[ARMVTOL_ADVMISSILE]], onlyTargetCategory = [[VTOL SUPERSHIP]], }, [3] = { badTargetCategory = [[MEDIUMVTOL SMALLVTOL TINYVTOL]], def = [[ARMVTOL_ADVMISSILE1]], onlyTargetCategory = [[VTOL SUPERSHIP]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { ARMVTOL_ADVMISSILE = { areaOfEffect = 35, collideFriendly = false, craterBoost = 0, craterMult = 0, explosionGenerator = [[custom:FLASH2]], fireStarter = 70, guidance = true, impactonly = 1, impulseBoost = 0.123, impulseFactor = 0.123, lineOfSight = true, metalpershot = 0, model = [[missile]], name = [[GuidedMissiles]], noSelfDamage = true, range = 562, reloadtime = 0.85, renderType = 1, selfprop = true, smokedelay = 0.1, smokeTrail = true, soundHitDry = [[xplosml2]], soundStart = [[Rocklit3]], startsmoke = 1, startVelocity = 650, texture2 = [[armsmoketrail]], tolerance = 8000, tracks = true, turnRate = 36000, weaponAcceleration = 250, weaponTimer = 7, weaponType = [[MissileLauncher]], weaponVelocity = 850, damage = { bombers = 800, default = 5, fighters = 600, flak_resistant = 400, unclassed_air = 400, }, }, ARMVTOL_ADVMISSILE1 = { areaOfEffect = 8, collideFriendly = false, craterBoost = 0, craterMult = 0, explosionGenerator = [[custom:FLASH2]], fireStarter = 70, guidance = true, impactonly = 1, impulseBoost = 0.123, impulseFactor = 0.123, lineOfSight = true, metalpershot = 0, model = [[missile]], name = [[GuidedMissiles]], noSelfDamage = true, range = 562, reloadtime = 0.4, renderType = 1, selfprop = true, smokedelay = 0.1, smokeTrail = true, soundHitDry = [[xplosml2]], soundStart = [[Rocklit3]], startsmoke = 1, startVelocity = 650, texture2 = [[armsmoketrail]], tolerance = 8000, tracks = true, turnRate = 36000, weaponAcceleration = 250, weaponTimer = 7, weaponType = [[MissileLauncher]], weaponVelocity = 850, damage = { bombers = 900, default = 5, fighters = 675, flak_resistant = 450, unclassed_air = 450, }, }, } unitDef.weaponDefs = weaponDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------