Permalink
Browse files

Convert aircraft to actual fighters

  • Loading branch information...
ForbodingAngel committed Sep 10, 2018
1 parent 2134f60 commit b0dfc0e8213250cb7a8c54485c3ddbb6b055d371
@@ -1,9 +1,8 @@
unitDef = {
acceleration = 0.5,
--acceleration = 0.5,
airStrafe = false,
airHoverFactor = 0,
bankscale = "1",
brakeRate = 1,
--brakeRate = 1,
buildCostEnergy = 0,
buildCostMetal = 53,
buildTime = 2.5,
@@ -14,28 +13,26 @@ unitDef = {
canLoopbackAttack = true,
canMove = true,
canPatrol = true,
canstop = "1",
canstop = true,
category = "LIGHT VTOL",
collide = true,
cruiseAlt = 75,
cruiseAlt = 500,
description = [[Light Gunship • Uses +]] .. supply .. [[ Supply]],
energyMake = 0,
energyStorage = 0,
energyUse = 0,
explodeAs = "mediumExplosionGenericWhite",
floater = true,
footprintX = 5,
footprintZ = 5,
hoverAttack = true,
floater = true,
hoverAttack = false,
iconType = "air_lit",
idleAutoHeal = .5,
idleTime = 2200,
maxAcc = 0.25,
maxBank = 5,
maxacc = 1,
maxDamage = 406,
maxSlope = 90,
maxVelocity = 6,
verticalSpeed = 15,
maxVelocity = 12,
maxWaterDepth = 255,
metalStorage = 0,
moverate1 = "8",
@@ -46,14 +43,14 @@ unitDef = {
repairable = false,
selfDestructAs = "mediumExplosionGenericWhite",
side = "ARM",
sightDistance = 500,
sightDistance = 1000,
smoothAnim = true,
sonarDistance = 0,
transportbyenemy = false;
turnRate = 5000,
turnradius = 250,
unitname = unitName,
upright = true,
workerTime = 0,
sfxtypes = {
pieceExplosionGenerators = {
"deathceg3",
@@ -99,33 +96,44 @@ unitDef = {
weaponDefs = {
aircannon = {
AreaOfEffect = 25,
avoidFriendly = false,
AreaOfEffect = 50,
avoidFeature = false,
avoidFriendly = false,
collideFeature = false,
collideFriendly = false,
collideFeature = false,
cegTag = "fightershot",
explosionGenerator = "custom:genericshellexplosion-small",
coreThickness = 0.5,
burnblow = true,
--cegTag = "railgun",
duration = 0.05,
energypershot = 0,
explosionGenerator = "custom:genericshellexplosion-small",
fallOffRate = 1,
fireStarter = 50,
impulseFactor = 0,
interceptedByShieldType = 4,
name = unitName .. "Weapon",
range = 400,
reloadtime = 0.5,
size = 8,
weaponType = "Cannon",
soundstart = "weapons/18379_inferno_hilas.wav",
soundStart = "weapons/triotfire.wav",
tolerance = 10000,
turret = true,
weaponVelocity = 1000,
waterweapon = true,
lineOfSight = true,
minintensity = "1",
name = "Laser",
range = 500,
reloadtime = 0.1,
WeaponType = "Cannon",
rgbColor = "1 0.5 0",
rgbColor2 = "1 1 1",
soundTrigger = true,
soundstart = "weapons/tmediumtankfire.wav",
sprayangle = 1000,
size = 4,
--texture1 = "shot",
--texture2 = "empty",
thickness = 15,
tolerance = 7500,
turret = false,
weaponVelocity = 1250,
customparams = {
damagetype = "efighter",
isupgraded = isUpgraded,
},
damage = {
default = 100,
default = 12.5,
},
},
}
@@ -1,43 +1,38 @@
unitDef = {
acceleration = 0.5,
--acceleration = 0.5,
airStrafe = false,
airHoverFactor = 0,
brakeRate = 1,
--brakeRate = 1,
buildCostEnergy = 0,
buildCostMetal = 76,
buildTime = 2.5,
buildpic = "egunship2.png",
canAttack = true,
canDropFlare = false,
canFly = true,
canGuard = true,
canLoopbackAttack = true,
canMove = true,
canPatrol = true,
canstop = true,
category = "LIGHT VTOL",
category = "ARMORED VTOL",
collide = true,
cruiseAlt = 90,
cruiseAlt = 600,
description = [[Anti-Armor Gunship • Uses +]] .. supply .. [[ Supply]],
energyMake = 0,
energyStorage = 0,
energyUse = 0,
explodeAs = "mediumExplosionGenericRed",
flareDelay = 0.1,
flareDropVector = "0 0 -1",
flareefficieny = "0.3",
flareReload = 3,
floater = true,
footprintX = 4,
footprintZ = 4,
hoverAttack = true,
hoverAttack = false,
iconType = "air_arm",
idleAutoHeal = .5,
idleTime = 2200,
maxacc = 1,
maxDamage = 468,
maxSlope = 90,
maxVelocity = 5,
verticalSpeed = 15,
maxVelocity = 15,
maxWaterDepth = 0,
metalStorage = 0,
moverate1 = "8",
@@ -48,10 +43,12 @@ unitDef = {
repairable = false,
selfDestructAs = "mediumExplosionGenericRed",
side = "CORE",
sightDistance = 800,
sightDistance = 1400,
smoothAnim = true,
sonarDistance = 0,
transportbyenemy = false;
turnRate = 5000,
turnradius = 250,
unitname = unitName,
upright = true,
sfxtypes = {
@@ -77,10 +74,9 @@ unitDef = {
weapons = {
[1] = {
def = "gunshipweapon",
BadTargetCategory = "BUILDING WALL",
mainDir = "0 0 1",
maxAngleDif = 180,
BadTargetCategory = "LIGHT BUILDING WALL",
noChaseCategory = "VTOL",
},
},
customParams = {
@@ -119,7 +115,7 @@ weaponDefs = {
interceptedByShieldType = 4,
model = "missilesmalllauncher.s3o",
name = "Rockets",
range = 380,
range = 700,
reloadtime = 1,
weaponType = "MissileLauncher",
waterweapon = true,
@@ -129,13 +125,13 @@ weaponDefs = {
soundHitVolume = 10,
soundStart = "weapons/18395_inferno_rltx.wav",
soundStartVolume = 10,
startVelocity = 500,
startVelocity = 50,
tolerance = 8000,
turnRate = 20000,
turret = true,
weaponAcceleration = 500,
flightTime = 5,
weaponVelocity = 2000,
turret = false,
weaponAcceleration = 100,
flightTime = 2.5,
weaponVelocity = 500,
customparams = {
isupgraded = isUpgraded,
damagetype = "egunship2",
View
@@ -9,8 +9,8 @@ isUpgraded = [[0]]
humanName = [[Koyote]]
objectName = "efighter3.s3o"
script = "efighter3.cob"
objectName = "efighter2.s3o"
script = "efighter2.cob"
tech = [[tech1]]
@@ -9,8 +9,8 @@ isUpgraded = [[1]]
humanName = [[Koyote Mark II]]
objectName = "efighter3.s3o"
script = "efighter3.cob"
objectName = "efighter2.s3o"
script = "efighter2.cob"
tech = [[tech1]]
@@ -9,8 +9,8 @@ isUpgraded = [[2]]
humanName = [[Koyote Mark III]]
objectName = "efighter3.s3o"
script = "efighter3.cob"
objectName = "efighter2.s3o"
script = "efighter2.cob"
tech = [[tech1]]
@@ -9,8 +9,8 @@ isUpgraded = [[3]]
humanName = [[Koyote Mark IV]]
objectName = "efighter3.s3o"
script = "efighter3.cob"
objectName = "efighter2.s3o"
script = "efighter2.cob"
tech = [[tech1]]

0 comments on commit b0dfc0e

Please sign in to comment.