Skip to content
Permalink
Browse files

Get the tech structure all set up and set some tentative balance for …

…Zaal
  • Loading branch information...
ForbodingAngel committed Jul 6, 2019
1 parent 1ac93af commit 727b15fb5c69de8747b1efb31ba44ced059f7621
@@ -72,7 +72,7 @@ Shared.buildListZaal = {

Shared.buildListZaalArm = {
[[zarm]],
[[zhive]],
[[zhatch]],
}

local turrets = {
@@ -53,6 +53,12 @@ local timeToBuild_etech2 = energyCost_etech2 * 0.10
local energyCost_etech3 = 4000
local timeToBuild_etech3 = energyCost_etech3 * 0.10

local energyCost_zlair = 2000
local timeToBuild_zlair = energyCost_zlair * 0.10

local energyCost_zhive = 4000
local timeToBuild_zhive = energyCost_zhive * 0.10

local energyCost_elightturret2 = 150
local timeToBuild_elightturret2 = energyCost_elightturret2 * 0.10

@@ -1224,6 +1230,32 @@ Evolution]],
},
},

----------------------------------------------------------
----------------------------------------------------------

zhatch = {
{
into = 'zlair',
time = timeToBuild_zlair,
cmdname = [[Lair
Evolution]],
energy = energyCost_zlair,
metal = 0,
text = 'Evolve into a Lair.',
},
},
zlair = {
{
into = 'zhive',
time = timeToBuild_zhive,
cmdname = [[Hive
Evolution]],
energy = energyCost_zhive,
metal = 0,
text = 'Evolve into a Hive.',
},
},

----------------------------------------------------------
----------------------------------------------------------

@@ -4,7 +4,7 @@ unitDef = {
airHoverFactor = 0,
--brakeRate = 1,
buildCostEnergy = 0,
buildCostMetal = 53,
buildCostMetal = 60,
buildTime = 2.5,
buildpic = "zaal_unitpics/zairbomber.png",
canAttack = true,
@@ -4,7 +4,7 @@ unitDef = {
bankscale = "1",
brakeRate = 0.7,
buildCostEnergy = 0,
buildCostMetal = 33,
buildCostMetal = 5,
buildTime = 2.5,
buildpic = "zaal_unitpics/zairscout.png",
canAttack = true,
@@ -4,7 +4,7 @@ unitDef = {
airHoverFactor = 0,
--brakeRate = 1,
buildCostEnergy = 0,
buildCostMetal = 53,
buildCostMetal = 30,
buildTime = 2.5,
buildpic = "zaal_unitpics/zairtoairfighter.png",
canAttack = true,
@@ -81,6 +81,7 @@ unitDef = {
customParams = {
unittype = "building",
area_mex_def = "zhive",
ProvideTech = techprovided,
canbetransported = "false",
needed_cover = 1,
death_sounds = "generic",
@@ -104,7 +104,7 @@ weaponDefs = {
Artilleryweapon = {

accuracy = 500,
AreaOfEffect = 50,
AreaOfEffect = 250,
avoidFriendly = false,
avoidFeature = false,
collideFriendly = false,
@@ -119,7 +119,7 @@ weaponDefs = {
interceptedByShieldType = 4,
highTrajectory = 0,
name = "Plasma Cannon",
range = 1300,
range = 1500,
reloadtime = 5,
size = 16,
weaponType = "Cannon",
@@ -133,7 +133,7 @@ weaponDefs = {
nofriendlyfire = 1,
},
damage = {
default = 200,
default = 600,
},
},
}
@@ -2,7 +2,7 @@ unitDef = {
acceleration = 1,
brakeRate = 1,
buildCostEnergy = 0,
buildCostMetal = 59,
buildCostMetal = 75,
builder = false,
buildTime = 5,
buildpic = "zaal_unitpics/zskirmisher.png",
@@ -24,7 +24,7 @@ unitDef = {
idleAutoHeal = .5,
idleTime = 2200,
leaveTracks = false,
maxDamage = 375,
maxDamage = 600,
maxSlope = 26,
maxVelocity = 3.5,
maxReverseVelocity = 1,
@@ -132,7 +132,7 @@ weaponDefs = {
nofriendlyfire = 1,
},
damage = {
default = 325,
default = 500,
},
},
}
@@ -16,13 +16,13 @@ unitDef = {
canRepair = true,
canstop = true,
category = "BUILDING NOTAIR",
description = [[Build a Tech Facility to unlock units. Build Supply Depots to increase your army size.]],
description = [[Upgrade to get more supply and Metal/Energy Income and unlock new Tech]],
energyStorage = 0,
energyUse = 0,
energyMake = 0,
energyUse = energyUse,
energyMake = energyMake,
explodeAs = "hugeBuildingExplosionGeneric",
footprintX = 8,
footprintZ = 8,
footprintX = footprintX,
footprintZ = footprintZ,
floater = true,
iconType = "factory",
idleAutoHeal = .5,
@@ -31,7 +31,11 @@ unitDef = {
maxSlope = 25,
maxWaterDepth = 99999999999,
metalStorage = 0,
<<<<<<< HEAD
metalMake = 1,
=======
metalMake = metalMultiplier,
>>>>>>> Get the tech structure all set up and set some tentative balance for Zaal
name = humanName,
objectName = objectName,
script = script,
@@ -46,7 +50,7 @@ unitDef = {
unitname = unitName,
-- unitRestricted = 1,
workerTime = 1,
yardMap = "oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo",
yardMap = yardMap,
-- usePieceCollisionVolumes = true,
-- modelCenterOffset = {108, 10, 0},
sfxtypes = {
@@ -55,7 +59,7 @@ unitDef = {
},

explosiongenerators = {
"custom:blacksmoke",
primaryCEG,
"custom:blood_spray",
},
},
@@ -129,7 +129,7 @@ weaponDefs = {
nofriendlyfire = 1,
},
damage = {
default = 10,
default = 25,
},
},
}
@@ -128,7 +128,7 @@ weaponDefs = {
nofriendlyfire = 1,
},
damage = {
default = 50,
default = 60,
},
},
}
@@ -2,7 +2,7 @@ unitDef = {
acceleration = 1,
brakeRate = 1,
buildCostEnergy = 0,
buildCostMetal = 59,
buildCostMetal = 2500,
builder = false,
buildTime = 5,
buildpic = "zaal_unitpics/zqueen.png",
@@ -24,7 +24,7 @@ unitDef = {
idleAutoHeal = .5,
idleTime = 2200,
leaveTracks = false,
maxDamage = 375,
maxDamage = 15000,
maxSlope = 26,
maxVelocity = 3.5,
maxReverseVelocity = 1,
@@ -13,7 +13,7 @@ objectName = "zaal/zairbomber.s3o"
script = "zaal/zairbomber.cob"


tech = [[5 hive]]
tech = [[tech2]]
armortype = [[light]]
supply = [[2]]

@@ -12,7 +12,7 @@ script = "zaal/zairscout.cob"

armortype = [[light]]

tech = [[1 hive]]
tech = [[tech0]]

supply = [[1]]

@@ -13,7 +13,7 @@ objectName = "zaal/zairtoairfighter.s3o"
script = "zaal/zairtoairfighter.cob"


tech = [[4 hive]]
tech = [[tech1]]
armortype = [[light]]
supply = [[2]]

@@ -13,7 +13,7 @@ objectName = "zaal/zairtogroundfighter.s3o"
script = "zaal/zairtogroundfighter.cob"


tech = [[4 hive]]
tech = [[tech2]]
armortype = [[light]]
supply = [[2]]

@@ -13,6 +13,7 @@ objectName = "zaal/zarm.s3o"
script = "zaal/zarm_lus.lua"

armortype = [[building]]
techprovided = [[tech0]]

VFS.Include("units-configs-basedefs/basedefs/zaal/zarm_basedef.lua")

@@ -12,7 +12,7 @@ humanName = "Trike"
objectName = "zaal/zarty.s3o"
script = "zaal/zarty.cob"

tech = [[6 hive]]
tech = [[tech2]]
armortype = [[armored]]
supply = [[4]]

@@ -12,7 +12,7 @@ humanName = "Trike"
objectName = "zaal/zassault.s3o"
script = "zaal/zassault.cob"

tech = [[6 hive]]
tech = [[tech2]]
armortype = [[armored]]
supply = [[4]]

@@ -0,0 +1,38 @@
-- UNITDEF -- ZHATCH --
--------------------------------------------------------------------------------

unitName = [[zhatch]]

--------------------------------------------------------------------------------

metalMultiplier = 1

buildCostMetal = 30
energyUse = 0
energyMake = 0

supplygranted = 20

footprintX = 8
footprintZ = 8

yardMap = [[oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo]]

primaryCEG = "custom:fusionreactionnuclear-2color"

humanName = [[Zaal Hatchery]]

objectName = [[zaal/zhive.s3o]]
script = [[zaal/zhive.cob]]

techprovided = [[tech1, tech0]]
armortype = [[building]]

VFS.Include("units-configs-basedefs/basedefs/zaal/zhive_basedef.lua")

unitDef.weaponDefs = weaponDefs
--------------------------------------------------------------------------------

return lowerkeys({ [unitName] = unitDef })

--------------------------------------------------------------------------------
@@ -5,21 +5,27 @@ unitName = [[zhive]]

--------------------------------------------------------------------------------

metalMultiplier = 1
metalMultiplier = 2

buildCostMetal = 30
buildCostMetal = 300
energyUse = 0
energyMake = 20

supplygranted = 40
supplygranted = 60

primaryCEG = "custom:fusionreactionnuclear-1color"
footprintX = 8
footprintZ = 8

yardMap = [[oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo]]

primaryCEG = "custom:fusionreactionnuclear-4color"

humanName = [[Zaal Hive]]

objectName = [[zaal/zhive.s3o]]
script = [[zaal/zhive.cob]]

techprovided = [[1 hive]]
techprovided = [[tech3, tech2, tech1, tech0]]
armortype = [[building]]

VFS.Include("units-configs-basedefs/basedefs/zaal/zhive_basedef.lua")
@@ -12,7 +12,7 @@ humanName = "Trike"
objectName = "zaal/zkamikaze.s3o"
script = "zaal/zkamikaze.cob"

tech = [[6 hive]]
tech = [[tech2]]
armortype = [[armored]]
supply = [[4]]

0 comments on commit 727b15f

Please sign in to comment.
You can’t perform that action at this time.