Skip to content

Commit

Permalink
Rebalance overseer hp according to role
Browse files Browse the repository at this point in the history
Battle overseer now has a beamlaser similar to the anarchid
Battle overseer now has stronger autoheal out of combat
Meteor Overseer is now a permanent evolve and turns into a stationary building upon completion
  • Loading branch information
ForbodingAngel committed Feb 6, 2022
1 parent 2ddf09a commit 79cbbc9
Show file tree
Hide file tree
Showing 15 changed files with 159 additions and 133 deletions.
143 changes: 61 additions & 82 deletions Gamedata/morph_defs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,16 +167,16 @@ Overseer]],
text = 'Evolve into Builder Overseer: Gains 16x buildpower and larger build radius.',
require = [[tech2]],
},
{
into = 'ecommanderfactory',
time = timeToBuild_ecommanderfactory,
cmdname = [[Factory
Overseer]],
energy = energyCost_ecommanderfactory,
metal = 0,
text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
require = [[tech2]],
},
-- {
-- into = 'ecommanderfactory',
-- time = timeToBuild_ecommanderfactory,
-- cmdname = [[Factory
-- Overseer]],
-- energy = energyCost_ecommanderfactory,
-- metal = 0,
-- text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
-- require = [[tech2]],
-- },
{
into = 'ecommanderbattle',
time = timeToBuild_ecommanderbattle,
Expand Down Expand Up @@ -217,23 +217,23 @@ Overseer]],
metal = 0,
text = 'Evolve into Builder Overseer: Gains 16x buildpower and larger build radius.',
},
{
into = 'ecommanderfactory',
time = timeToBuild_ecommanderfactory,
cmdname = [[Factory
Overseer]],
energy = energyCost_ecommanderfactory,
metal = 0,
text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
},
-- {
-- into = 'ecommanderfactory',
-- time = timeToBuild_ecommanderfactory,
-- cmdname = [[Factory
-- Overseer]],
-- energy = energyCost_ecommanderfactory,
-- metal = 0,
-- text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
-- },
{
into = 'ecommanderbattle',
time = timeToBuild_ecommanderbattle,
cmdname = [[Battle
Overseer]],
energy = energyCost_ecommanderbattle,
metal = 0,
text = 'Evolve into Battle Overseer: Upgraded machinegun that does heavy damage to Light units and Buildings. No longer grants supply.',
text = 'Evolve into Battle Overseer: Upgraded Beam Laser that does heavy damage to Light and Armored units. No longer grants supply.',
},
},

Expand Down Expand Up @@ -265,23 +265,23 @@ Overseer]],
metal = 0,
text = 'Evolve into Builder Overseer: Gains 16x buildpower and larger build radius.',
},
{
into = 'ecommanderfactory',
time = timeToBuild_ecommanderfactory,
cmdname = [[Factory
Overseer]],
energy = energyCost_ecommanderfactory,
metal = 0,
text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
},
-- {
-- into = 'ecommanderfactory',
-- time = timeToBuild_ecommanderfactory,
-- cmdname = [[Factory
-- Overseer]],
-- energy = energyCost_ecommanderfactory,
-- metal = 0,
-- text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
-- },
{
into = 'ecommanderbattle',
time = timeToBuild_ecommanderbattle,
cmdname = [[Battle
Overseer]],
energy = energyCost_ecommanderbattle,
metal = 0,
text = 'Evolve into Battle Overseer: Upgraded machinegun that does heavy damage to Light units and Buildings. No longer grants supply.',
text = 'Evolve into Battle Overseer: Upgraded Beam Laser that does heavy damage to Light and Armored units. No longer grants supply.',
},
},

Expand Down Expand Up @@ -313,23 +313,23 @@ Overseer]],
metal = 0,
text = 'Evolve into Shielded Overseer: Gains a large shield which recharges quickly.',
},
{
into = 'ecommanderfactory',
time = timeToBuild_ecommanderfactory,
cmdname = [[Factory
Overseer]],
energy = energyCost_ecommanderfactory,
metal = 0,
text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
},
-- {
-- into = 'ecommanderfactory',
-- time = timeToBuild_ecommanderfactory,
-- cmdname = [[Factory
-- Overseer]],
-- energy = energyCost_ecommanderfactory,
-- metal = 0,
-- text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
-- },
{
into = 'ecommanderbattle',
time = timeToBuild_ecommanderbattle,
cmdname = [[Battle
Overseer]],
energy = energyCost_ecommanderbattle,
metal = 0,
text = 'Evolve into Battle Overseer: Upgraded machinegun that does heavy damage to Light units and Buildings. No longer grants supply.',
text = 'Evolve into Battle Overseer: Upgraded Beam Laser that does heavy damage to Light and Armored units. No longer grants supply.',
},
},

Expand Down Expand Up @@ -377,7 +377,7 @@ Overseer]],
Overseer]],
energy = energyCost_ecommanderbattle,
metal = 0,
text = 'Evolve into Battle Overseer: Upgraded machinegun that does heavy damage to Light units and Buildings. No longer grants supply.',
text = 'Evolve into Battle Overseer: Upgraded Beam Laser that does heavy damage to Light and Armored units. No longer grants supply.',
},
},
ecommanderbattle = {
Expand All @@ -388,7 +388,7 @@ Overseer]],
Overseer]],
energy = energyCost_ecommandermeteor,
metal = 0,
text = 'Evolve into Meteor Overseer: Overseer can call down devastating meteor showers.',
text = 'Evolve into Meteor Overseer: Overseer can call down devastating meteor showers. !THIS CHANGE IS PERMANENT!',
require = [[tech3]],
},
{
Expand Down Expand Up @@ -427,36 +427,26 @@ Overseer]],
metal = 0,
text = 'Evolve into Builder Overseer: Gains 16x buildpower.',
},
{
into = 'ecommanderfactory',
time = timeToBuild_ecommanderfactory,
cmdname = [[Factory
Overseer]],
energy = energyCost_ecommanderfactory,
metal = 0,
text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
},
-- {
-- into = 'ecommanderfactory',
-- time = timeToBuild_ecommanderfactory,
-- cmdname = [[Factory
-- Overseer]],
-- energy = energyCost_ecommanderfactory,
-- metal = 0,
-- text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
-- },
},

ecommanderhealer = {
{
into = 'ecommandermeteor',
time = timeToBuild_ecommandermeteor,
cmdname = [[Meteor
Overseer]],
energy = energyCost_ecommandermeteor,
metal = 0,
text = 'Evolve into Meteor Overseer: Overseer can call down devastating meteor showers.',
require = [[tech3]],
},
{
into = 'ecommanderbattle',
time = timeToBuild_ecommanderbattle,
cmdname = [[Battle
Overseer]],
energy = energyCost_ecommanderbattle,
metal = 0,
text = 'Evolve into Battle Overseer: Upgraded machinegun that does heavy damage to Light units and Buildings. No longer grants supply.',
text = 'Evolve into Battle Overseer: Upgraded Beam Laser that does heavy damage to Light and Armored units. No longer grants supply.',
require = [[tech2]],
},
{
Expand Down Expand Up @@ -486,28 +476,17 @@ Overseer]],
metal = 0,
text = 'Evolve into Builder Overseer: Gains 16x buildpower.',
},
{
into = 'ecommanderfactory',
time = timeToBuild_ecommanderfactory,
cmdname = [[Factory
Overseer]],
energy = energyCost_ecommanderfactory,
metal = 0,
text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
},
-- {
-- into = 'ecommanderfactory',
-- time = timeToBuild_ecommanderfactory,
-- cmdname = [[Factory
-- Overseer]],
-- energy = energyCost_ecommanderfactory,
-- metal = 0,
-- text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.',
-- },
},

ecommandermeteor = {
{
into = 'ecommanderbattle',
time = timeToBuild_ecommanderbattle,
cmdname = [[Battle
Overseer]],
energy = energyCost_ecommanderbattle,
metal = 0,
text = 'Evolve into Battle Overseer: Upgraded machinegun that does heavy damage to Light units and Buildings. No longer grants supply.',
},
},

----------------------------------------------------------
----------------------------------------------------------
Expand Down
Binary file added Objects3D/ecommander-meteor.s3o
Binary file not shown.
11 changes: 10 additions & 1 deletion Scripts/ecommander4-meteor.bos
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define WALK_PERIOD 50


piece base, nanopoint1, rf1, rf2, lf1, lf2, rr1, rr2, lr1, lr2, rfdirt, rrdirt, lfdirt, lrdirt, firepoint1, mandible;
piece base, nanopoint1, rf1, rf2, lf1, lf2, rr1, rr2, lr1, lr2, rfdirt, rrdirt, lfdirt, lrdirt, firepoint1, mandible, topantenna, innerring, outerring, centerring, emit;

static-var maxreloadtime, moving, bMoving, terraintype, building;

Expand Down Expand Up @@ -322,6 +322,11 @@ Create()
start-script DoTheWalking();
// start-script Thrust();
start-script buildflame();
spin topantenna around y-axis speed <8>;
spin topantenna around x-axis speed <2>;
spin innerring around y-axis speed <-3>;
spin centerring around y-axis speed <4>;
spin outerring around y-axis speed <-7>;
}

AimFromPrimary(p)
Expand Down Expand Up @@ -386,4 +391,8 @@ Killed(severity, corpsetype) // how it explodes
explode lr1 type EXPLODE_ON_HIT;
explode lr2 type EXPLODE_ON_HIT;
explode mandible type EXPLODE_ON_HIT;
explode topantenna type EXPLODE_ON_HIT;
explode innerring type EXPLODE_ON_HIT;
explode centerring type EXPLODE_ON_HIT;
explode outerring type EXPLODE_ON_HIT;
}
Binary file modified Scripts/ecommander4-meteor.cob
Binary file not shown.
2 changes: 1 addition & 1 deletion Units/ecommander.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ local unitDef = {
explodeAs = "commnuke",
footprintX = 4,
footprintZ = 4,
hideDamage = true,

iconType = "commander",
idleAutoHeal = .5,
idleTime = 2200,
Expand Down
61 changes: 53 additions & 8 deletions Units/ecommanderbattle.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,20 @@ local unitDef = {
canreclaim = false,
canstop = true,
category = "NOTAIR SUPPORT ARMORED",
description = [[Builds Units • Provides support in battles]],
description = [[Experimental Assault Overseer]],
energyMake = 0,
energyStorage = 0,
energyUse = 0,
explodeAs = "commnuke",
footprintX = 4,
footprintZ = 4,
hideDamage = true,

iconType = "commander",
autoHeal = 10,
idleAutoHeal = 20,
autoHeal = 0.5,
idleAutoHeal = 50,
idleTime = 300,
levelground = true,
maxDamage = 10000,
maxDamage = 15000,
maxSlope = 180,
maxVelocity = 3,
maxReverseVelocity = 1,
Expand Down Expand Up @@ -103,7 +103,7 @@ local unitDef = {
"custom:nanoorb",
"custom:dirt",
"custom:blacksmoke",
"custom:gdhcannon",
"custom:electricity",
},
},
--buildoptions = Shared.buildList,
Expand All @@ -122,8 +122,8 @@ local unitDef = {
-- def = "riottankempweapon",
-- },
[1] = {
def = "sniper",
badTargetCategory = "BUILDING ARMORED WALL",
def = "heavybeamweapon",
badTargetCategory = "BUILDING WALL",
},
},
customParams = {
Expand Down Expand Up @@ -369,6 +369,51 @@ local weaponDefs = {
default = 750,
},
},

heavybeamweapon = {
AreaOfEffect = 10,
avoidFriendly = false,
avoidFeature = false,
collideFriendly = false,
collideFeature = false,
largebeamlaser = true,
beamTime = 0.5,
cameraShake = 0,
coreThickness = 0.5,
-- cegTag = "mediumcannonweapon3",
-- duration = 0.2,
energypershot = 0,
explosionGenerator = "custom:genericshellexplosion-large-sparks-burn",
fallOffRate = 0,
fireStarter = 50,
impulseFactor = 0,
interceptedByShieldType = 4,
minintensity = 1,
name = "Laser",
range = 1000,
reloadtime = 0.5,
WeaponType = "BeamLaser",
rgbColor = "0.25 0 0.25",
rgbColor2 = "0.5 0.5 0.5",
soundTrigger = true,
soundstart = "weapons/Sci Fi Beam 3-short.wav",
-- soundHit = "explosions/mediumcannonhit.wav",
-- sweepfire = true,
texture1 = "shot",
texture2 = "empty",
thickness = 5,
tolerance = 1000,
turret = true,
weaponVelocity = 800,
customparams = {
isupgraded = isUpgraded,
damagetype = "antilightarmored",
},
damage = {
default = 500,
},
},

}
unitDef.weaponDefs = weaponDefs
--------------------------------------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions Units/ecommanderbuild.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ local unitDef = {
canreclaim = false,
canstop = true,
category = "NOTAIR SUPPORT LIGHT",
description = [[Builds Units x3 as fast]],
description = [[Builds Units x8 as fast]],
energyMake = 0,
energyStorage = 0,
energyUse = 0,
explodeAs = "commnuke",
footprintX = 4,
footprintZ = 4,
hideDamage = true,

iconType = "commander",
idleAutoHeal = .5,
idleTime = 2200,
levelground = true,
maxDamage = 10000,
maxDamage = 6000,
maxSlope = 180,
maxVelocity = 3,
maxReverseVelocity = 1,
Expand Down
Loading

0 comments on commit 79cbbc9

Please sign in to comment.