Skip to content
Permalink
Browse files

Further differentiate overseer forms so that they have very distinct …

…flavors:

Battle overseer no longer has a build list, can repair. HP Increased to 20k
Builder overseer buildpower increased to 4x
Cloak overseer no longer has a build list
Shield overseer no longer has a build list, self heals for 40hp/s out of combat when idle
All overseers without buildlists can still assist/repair other constructions
Factory overseer buildpower increased to 8x, buildrange reduced to 250
Meteor overseer meteor shower now lasts twice as long
  • Loading branch information...
ForbodingAngel committed May 10, 2019
1 parent fa8595f commit c3c79795b2785cb46599a58a33aa4f44375efcce
@@ -482,9 +482,9 @@ function ModOptions_Post (UnitDefs, WeaponDefs)
unitDef.buildcostenergy = 0
end

-- Set maximum possible workertime to 2
if unitDef.workertime and unitDef.workertime >= 2 then
unitDef.workertime = 2
-- Set maximum possible workertime to 8
if unitDef.workertime and unitDef.workertime >= 8 then
unitDef.workertime = 8
end
end
end
@@ -28,6 +28,33 @@ Shared.buildList = {
-- [[ecommander]],
}

Shared.buildListeCommanderFactory = {
[[ehbotengineer]],
[[eorb]],
[[escoutdrone]],
[[ebox]],
[[ehbotfac]],
[[eminifac]],
[[ebasefactory]],
[[eamphibfac]],
[[eairplant]],
[[ehbotpeewee]],
[[ehbotthud]],
[[ehbotsniper]],
[[eallterrlight]],
[[eallterrriot]],
[[eallterrheavy]],
[[elighttank3]],
[[eriottank2]],
[[eheavytank3]],
[[eamphibbuggy]],
[[eamphibriot]],
[[eamphibmedtank]],
[[efighter]],
[[egunship2]],
[[ebomber]],
}

Shared.buildListChicken = {
[[croost]]
}
@@ -115,7 +115,7 @@ Overseer]],
Overseer]],
energy = energyCost_ecommanderbuild,
metal = 0,
text = 'Evolve into Builder Overseer: Stun ability AOE halved, Stun recharge halved, gains x3 buildpower.',
text = 'Evolve into Builder Overseer: Stun ability AOE halved, Stun recharge halved, gains 4x buildpower.',
require = [[tech2]],
},
{
@@ -125,7 +125,7 @@ Overseer]],
Overseer]],
energy = energyCost_ecommanderfactory,
metal = 0,
text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 3x buildpower.',
text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
require = [[tech2]],
},
{
@@ -166,7 +166,7 @@ Overseer]],
Overseer]],
energy = energyCost_ecommanderbuild,
metal = 0,
text = 'Evolve into Builder Overseer: Stun ability AOE halved, Stun recharge halved, gains x3 buildpower.',
text = 'Evolve into Builder Overseer: Stun ability AOE halved, Stun recharge halved, gains 4x buildpower.',
},
{
into = 'ecommanderfactory',
@@ -175,7 +175,7 @@ Overseer]],
Overseer]],
energy = energyCost_ecommanderfactory,
metal = 0,
text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 3x buildpower.',
text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
},
{
into = 'ecommanderbattle',
@@ -215,7 +215,7 @@ Overseer]],
Overseer]],
energy = energyCost_ecommanderbuild,
metal = 0,
text = 'Evolve into Builder Overseer: Stun ability AOE halved, Stun recharge halved, gains x3 buildpower.',
text = 'Evolve into Builder Overseer: Stun ability AOE halved, Stun recharge halved, gains 4x buildpower.',
},
{
into = 'ecommanderfactory',
@@ -224,7 +224,7 @@ Overseer]],
Overseer]],
energy = energyCost_ecommanderfactory,
metal = 0,
text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 3x buildpower.',
text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
},
{
into = 'ecommanderbattle',
@@ -273,7 +273,7 @@ Overseer]],
Overseer]],
energy = energyCost_ecommanderfactory,
metal = 0,
text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 3x buildpower.',
text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
},
{
into = 'ecommanderbattle',
@@ -322,7 +322,7 @@ Overseer]],
Overseer]],
energy = energyCost_ecommanderbuild,
metal = 0,
text = 'Evolve into Builder Overseer: Stun ability AOE halved, Stun recharge halved, gains x3 buildpower.',
text = 'Evolve into Builder Overseer: Stun ability AOE halved, Stun recharge halved, gains x4 buildpower.',
},
{
into = 'ecommanderbattle',
@@ -380,7 +380,7 @@ Overseer]],
Overseer]],
energy = energyCost_ecommanderbuild,
metal = 0,
text = 'Evolve into Builder Overseer: Stun ability AOE halved, Stun recharge halved, gains x3 buildpower.',
text = 'Evolve into Builder Overseer: Stun ability AOE halved, Stun recharge halved, gains 4x buildpower.',
},
{
into = 'ecommanderfactory',
@@ -389,7 +389,7 @@ Overseer]],
Overseer]],
energy = energyCost_ecommanderfactory,
metal = 0,
text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 3x buildpower.',
text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
},
},

@@ -31,23 +31,23 @@ local ringsDefs = {
--{ color = {0.5, 0, 1, 0.2}, lineWidth = 5, radius = 500 },
},
[UnitDefNames.ecommandercloak.id] = {
{ color = {1, 0.5, 0, 0.8}, lineWidth = 2, radius = 1000 },
--{ color = {1, 0.5, 0, 0.8}, lineWidth = 2, radius = 1000 },
--{ color = {0.5, 0, 1, 0.2}, lineWidth = 5, radius = 500 },
},
[UnitDefNames.ecommandershield.id] = {
{ color = {1, 0.5, 0, 0.8}, lineWidth = 2, radius = 1000 },
--{ color = {1, 0.5, 0, 0.8}, lineWidth = 2, radius = 1000 },
{ color = {0, 0, 1, 0.5}, lineWidth = 5, radius = 500 },
},
[UnitDefNames.ecommanderbuild.id] = {
{ color = {1, 0.5, 0, 0.8}, lineWidth = 2, radius = 1500 },
--{ color = {0.5, 0, 1, 0.2}, lineWidth = 5, radius = 500 },
},
[UnitDefNames.ecommanderbattle.id] = {
{ color = {1, 0.5, 0, 0.8}, lineWidth = 2, radius = 500 },
--{ color = {1, 0.5, 0, 0.8}, lineWidth = 2, radius = 500 },
--{ color = {0.5, 0, 1, 0.2}, lineWidth = 5, radius = 500 },
},
[UnitDefNames.ecommanderfactory.id] = {
{ color = {1, 0.5, 0, 0.8}, lineWidth = 2, radius = 500 },
{ color = {1, 0.5, 0, 0.8}, lineWidth = 2, radius = 250 },
--{ color = {0.5, 0, 1, 0.2}, lineWidth = 5, radius = 500 },
},
[UnitDefNames.eorb.id] = {
@@ -104,7 +104,7 @@ local unitDef = {
"custom:gdhcannon",
},
},
buildoptions = Shared.buildList,
--buildoptions = Shared.buildList,
sounds = {
build = "miscfx/buildstart.wav",
underattack = "other/unitsunderattack1",
@@ -125,7 +125,7 @@ local unitDef = {
},
customParams = {
unittype = "mobile",
area_mex_def = "emetalextractor",
--area_mex_def = "emetalextractor",
ProvideTech = techprovided,
RequireTech = techrequired,
canbetransported = "true",
@@ -81,7 +81,7 @@ local unitDef = {
turnRate = 5000,
unitname = unitName,
upright = false,
workerTime = 3,
workerTime = 4,
capturespeed = 0.25,
TerraformSpeed = 2147000,
ReclaimSpeed = 0,
@@ -43,7 +43,7 @@ local unitDef = {
canreclaim = false,
canstop = true,
category = "NOTAIR SUPPORT LIGHT",
description = [[Builds Units • Provides Cloak Field]],
description = [[Provides Massive Cloak Field]],
energyMake = 0,
energyStorage = 0,
energyUse = 0,
@@ -100,7 +100,7 @@ local unitDef = {
"custom:blacksmoke",
},
},
buildoptions = Shared.buildList,
--buildoptions = Shared.buildList,
sounds = {
build = "miscfx/buildstart.wav",
underattack = "other/unitsunderattack1",
@@ -118,7 +118,7 @@ local unitDef = {
},
customParams = {
unittype = "mobile",
area_mex_def = "emetalextractor",
--area_mex_def = "emetalextractor",
ProvideTech = techprovided,
RequireTech = techrequired,
canbetransported = "true",
@@ -26,7 +26,7 @@ local unitDef = {
brakeRate = 1,
buildCostEnergy = 0,
buildCostMetal = 1000,
buildDistance = 500,
buildDistance = 250,
builder = true,
buildTime = 2.5,
capturable = false,
@@ -81,7 +81,7 @@ local unitDef = {
turnRate = 5000,
unitname = unitName,
upright = false,
workerTime = 3,
workerTime = 8,
capturespeed = 0.25,
TerraformSpeed = 2147000,
ReclaimSpeed = 0,
@@ -99,7 +99,7 @@ local unitDef = {
"custom:blacksmoke",
},
},
buildoptions = Shared.buildListFactory,
buildoptions = Shared.buildListeCommanderFactory,
sounds = {
build = "miscfx/buildstart.wav",
underattack = "other/unitsunderattack1",
@@ -117,7 +117,7 @@ local unitDef = {
},
customParams = {
unittype = "mobile",
area_mex_def = "emetalextractor",
--area_mex_def = "emetalextractor",
ProvideTech = techprovided,
RequireTech = techrequired,
canbetransported = "true",
@@ -146,7 +146,7 @@ local weaponDefs = {
collideFriendly = false,
collideFeature = false,
commandFire = true,
burst = 50,
burst = 100,
burstrate = 0.1,
--projectiles = 5,
cegTag = "METEORTRAIL",
@@ -47,7 +47,7 @@ local unitDef = {
canreclaim = false,
canstop = true,
category = "NOTAIR SUPPORT LIGHT",
description = [[Builds Units • Provides large shielding]],
description = [[Provides large shielding • Self-Heals out of combat 40hp/s when idle]],
energyMake = 0,
energyStorage = 0,
energyUse = 0,
@@ -56,8 +56,8 @@ local unitDef = {
footprintZ = 4,
hideDamage = true,
iconType = "commander",
idleAutoHeal = .5,
idleTime = 2200,
idleAutoHeal = 40,
idleTime = 5,
levelground = true,
maxDamage = 7500,
maxSlope = 180,
@@ -103,7 +103,7 @@ local unitDef = {
"custom:blacksmoke",
},
},
buildoptions = Shared.buildList,
--buildoptions = Shared.buildList,
sounds = {
build = "miscfx/buildstart.wav",
underattack = "other/unitsunderattack1",
@@ -124,7 +124,7 @@ local unitDef = {
},
customParams = {
unittype = "mobile",
area_mex_def = "emetalextractor",
--area_mex_def = "emetalextractor",
ProvideTech = techprovided,
RequireTech = techrequired,
canbetransported = "true",

0 comments on commit c3c7979

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