Skip to content

Commit

Permalink
Halve cloak detection radius on all terrain units
Browse files Browse the repository at this point in the history
Increase kmar strength and lobster damage to match
Increase lobster aoe a litle bit
Increase lobster reload time
Set nuke to do bonus damage to structures
Make scavenger blueprints more sane
Decrease Iconsize of radar towers and jammers
  • Loading branch information
ForbodingAngel committed Jun 20, 2021
1 parent 06db7aa commit 97066c4
Show file tree
Hide file tree
Showing 19 changed files with 47 additions and 685 deletions.
2 changes: 2 additions & 0 deletions Gamedata/alldefs_post.lua
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ function UnitDef_Post(name, uDef)
local radius = 8 * sqrt((fx * fx) + (fz * fz))
if uDef.customparams and uDef.customparams.decloakradiusmodifier then
uDef.mincloakdistance = (radius * uDef.customparams.decloakradiusmodifier)
elseif uDef.customparams and uDef.customparams.decloakradiushalved then
uDef.mincloakdistance = (radius * 3)
else
uDef.mincloakdistance = (radius * 6)
end
Expand Down
4 changes: 2 additions & 2 deletions Gamedata/icontypes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,13 @@ local icontypes = {

radar = {
bitmap='icons/radar.png',
size=3.5,
size=1,
radiusadjust=0,
},

radarjam = {
bitmap='icons/radarjam.png',
size=3.5,
size=1,
radiusadjust=0,
},

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ local posradius = 150
return posradius
else
Spring.GiveOrderToUnit(scav, -(UDN.eradar2_scav.id), {posx, posy, posz, 0}, {"shift"})
Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx-200, posy, posz, 0}, {"shift"})
Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+200, posy, posz, 0}, {"shift"})
Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx, posy, posz-200, 0}, {"shift"})
Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx-200, posy, posz, 0}, {"shift"})
Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+200, posy, posz, 0}, {"shift"})
Spring.GiveOrderToUnit(scav, -(UDN.ejammer2_scav.id), {posx, posy, posz-200, 0}, {"shift"})
Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx, posy, posz+200, 0}, {"shift"})
end
end
Expand All @@ -43,9 +43,9 @@ local posradius = 150
if radiusCheck then
return posradius
else
Spring.GiveOrderToUnit(scav, -(UDN.eradar2_scav.id), {posx, posy, posz, 0}, {"shift"})
Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx-200, posy, posz, 0}, {"shift"})
Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+200, posy, posz, 0}, {"shift"})
Spring.GiveOrderToUnit(scav, -(UDN.eradar2_up1_scav.id), {posx, posy, posz, 0}, {"shift"})
Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx-200, posy, posz, 0}, {"shift"})
Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+200, posy, posz, 0}, {"shift"})
Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx, posy, posz-200, 0}, {"shift"})
Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx, posy, posz+200, 0}, {"shift"})
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ local posradius = 500
return posradius
else
Spring.CreateUnit("estorage"..nameSuffix, posx+(-286), posy, posz+(31), 0,GaiaTeamID)
Spring.CreateUnit("elightturret2"..nameSuffix, posx+(-302), posy, posz+(-385), 0,GaiaTeamID)
--Spring.CreateUnit("elightturret2"..nameSuffix, posx+(-302), posy, posz+(-385), 0,GaiaTeamID)
Spring.CreateUnit("elightturret2"..nameSuffix, posx+(306), posy, posz+(-305), 0,GaiaTeamID)
Spring.CreateUnit("esolar2"..nameSuffix, posx+(370), posy, posz+(-65), 0,GaiaTeamID)
Spring.CreateUnit("estorage"..nameSuffix, posx+(-222), posy, posz+(31), 0,GaiaTeamID)
Spring.CreateUnit("estorage"..nameSuffix, posx+(-286), posy, posz+(-97), 0,GaiaTeamID)
Spring.CreateUnit("ebasefactory"..nameSuffix, posx+(82), posy, posz+(47), 0,GaiaTeamID)
Spring.CreateUnit("esolar2"..nameSuffix, posx+(370), posy, posz+(31), 0,GaiaTeamID)
Spring.CreateUnit("elightturret2"..nameSuffix, posx+(-302), posy, posz+(335), 0,GaiaTeamID)
--Spring.CreateUnit("elightturret2"..nameSuffix, posx+(-302), posy, posz+(335), 0,GaiaTeamID)
Spring.CreateUnit("etech1"..nameSuffix, posx+(50), posy, posz+(-289), 0,GaiaTeamID)
Spring.CreateUnit("estorage"..nameSuffix, posx+(-222), posy, posz+(-97), 0,GaiaTeamID)
Spring.CreateUnit("elightturret2"..nameSuffix, posx+(386), posy, posz+(303), 0,GaiaTeamID)
--Spring.CreateUnit("elightturret2"..nameSuffix, posx+(386), posy, posz+(303), 0,GaiaTeamID)
Spring.CreateUnit("elightturret2"..nameSuffix, posx+(66), posy, posz+(463), 0,GaiaTeamID)
end
end
Expand All @@ -32,15 +32,15 @@ local posradius = 500
else
Spring.CreateUnit("elightturret2"..nameSuffix, posx+(-208), posy, posz+(-350), 0,GaiaTeamID)
Spring.CreateUnit("estorage"..nameSuffix, posx+(-272), posy, posz+(-174), 0,GaiaTeamID)
Spring.CreateUnit("elightturret2"..nameSuffix, posx+(32), posy, posz+(450), 0,GaiaTeamID)
--Spring.CreateUnit("elightturret2"..nameSuffix, posx+(32), posy, posz+(450), 0,GaiaTeamID)
Spring.CreateUnit("emine"..nameSuffix, posx+(288), posy, posz+(290), 0,GaiaTeamID)
Spring.CreateUnit("etech1"..nameSuffix, posx+(48), posy, posz+(-270), 0,GaiaTeamID)
Spring.CreateUnit("emine"..nameSuffix, posx+(320), posy, posz+(98), 0,GaiaTeamID)
Spring.CreateUnit("elightturret2"..nameSuffix, posx+(448), posy, posz+(274), 0,GaiaTeamID)
Spring.CreateUnit("elightturret2"..nameSuffix, posx+(288), posy, posz+(-350), 0,GaiaTeamID)
--Spring.CreateUnit("elightturret2"..nameSuffix, posx+(448), posy, posz+(274), 0,GaiaTeamID)
--Spring.CreateUnit("elightturret2"..nameSuffix, posx+(288), posy, posz+(-350), 0,GaiaTeamID)
Spring.CreateUnit("emine"..nameSuffix, posx+(-144), posy, posz+(-174), 0,GaiaTeamID)
Spring.CreateUnit("emine"..nameSuffix, posx+(208), posy, posz+(-158), 0,GaiaTeamID)
Spring.CreateUnit("elightturret2"..nameSuffix, posx+(-288), posy, posz+(274), 0,GaiaTeamID)
--Spring.CreateUnit("elightturret2"..nameSuffix, posx+(-288), posy, posz+(274), 0,GaiaTeamID)
Spring.CreateUnit("ehbotfac"..nameSuffix, posx+(48), posy, posz+(18), 0,GaiaTeamID)
Spring.CreateUnit("estorage"..nameSuffix, posx+(-272), posy, posz+(-46), 0,GaiaTeamID)
Spring.CreateUnit("estorage"..nameSuffix, posx+(-336), posy, posz+(-46), 0,GaiaTeamID)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ConstructorsList = {
"ecommander",
"xcommander",
--"xcommander",
}

-- put ALL commander units from your game here
Expand All @@ -13,12 +13,12 @@ CommandersList = {
"ecommandermeteor",
"ecommandershield",
"zarm",
"xcommander",
--"xcommander",
}

ConstructorsCounter = {
UDN.ecommander.id,
UDN.xcommander.id,
--UDN.xcommander.id,
}

AssistUnits = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ unitDef = {

cancloak = true,
cloakCost = 0,
cloakCostMoving = 1,
cloakCostMoving = 0,
minCloakDistance = 150,
decloakOnFire = true,
decloakSpherical = true,
Expand Down Expand Up @@ -111,6 +111,7 @@ unitDef = {
buckettex = "unittextures/lego2skin_explorerbucket.dds",
factionname = "ateran",
corpse = "energycore",
decloakradiushalved = true,
},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ unitDef = {

cancloak = true,
cloakCost = 0,
cloakCostMoving = 1,
cloakCostMoving = 0,
minCloakDistance = 70,
decloakOnFire = true,
decloakSpherical = true,
Expand Down Expand Up @@ -105,6 +105,7 @@ unitDef = {
buckettex = "unittextures/lego2skin_explorerbucket.dds",
factionname = "ateran",
corpse = "energycore",
decloakradiushalved = true,
},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ unitDef = {
-- Cloaking

cancloak = true,
cloakCost = 1,
cloakCostMoving = 2,
cloakCost = 0,
cloakCostMoving = 0,
minCloakDistance = 70,
decloakOnFire = true,
decloakSpherical = true,
Expand Down Expand Up @@ -106,6 +106,7 @@ unitDef = {
buckettex = "unittextures/lego2skin_explorerbucket.dds",
factionname = "ateran",
corpse = "energycore",
decloakradiushalved = true,
},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ unitDef = {

cancloak = true,
cloakCost = 0,
cloakCostMoving = 1,
cloakCostMoving = 0,
minCloakDistance = 70,
decloakOnFire = true,
decloakSpherical = true,
Expand Down Expand Up @@ -103,6 +103,7 @@ unitDef = {
buckettex = "unittextures/lego2skin_explorerbucket.dds",
factionname = "ateran",
corpse = "energycore",
decloakradiushalved = true,
},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ unitDef = {

cancloak = true,
cloakCost = 0,
cloakCostMoving = 1,
cloakCostMoving = 0,
minCloakDistance = 70,
decloakOnFire = true,
decloakSpherical = true,
Expand Down Expand Up @@ -104,6 +104,7 @@ unitDef = {
buckettex = "unittextures/lego2skin_explorerbucket.dds",
factionname = "ateran",
corpse = "energycore",
decloakradiushalved = true,
},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ unitDef = {

cancloak = true,
cloakCost = 0,
cloakCostMoving = 1,
cloakCostMoving = 0,
minCloakDistance = 70,
decloakOnFire = true,
decloakSpherical = true,
Expand Down Expand Up @@ -111,6 +111,7 @@ unitDef = {
buckettex = "unittextures/lego2skin_explorerbucket.dds",
factionname = "ateran",
corpse = "energycore",
decloakradiushalved = true,
},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ unitDef = {

cancloak = true,
cloakCost = 0,
cloakCostMoving = 1,
cloakCostMoving = 0,
minCloakDistance = 70,
decloakOnFire = true,
decloakSpherical = true,
Expand Down Expand Up @@ -111,6 +111,7 @@ unitDef = {
buckettex = "unittextures/lego2skin_explorerbucket.dds",
factionname = "ateran",
corpse = "energycore",
decloakradiushalved = true,
},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ unitDef = {

cancloak = true,
cloakCost = 0,
cloakCostMoving = 1,
cloakCostMoving = 0,
minCloakDistance = 150,
decloakOnFire = false,
decloakSpherical = true,
Expand Down Expand Up @@ -107,6 +107,8 @@ unitDef = {
corpse = "energycore",
retreatRangeDAI = 600,

decloakradiushalved = true,

area_cloak = 1, -- Can this unit emit a cloaking field?
area_cloak_upkeep = 5, -- How much energy does it cost to maintain the cloaking field?
area_cloak_radius = 150, -- How large is the cloaking field?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ unitDef = {
buckettex = "unittextures/lego2skin_explorerbucket.dds",
factionname = "ateran",
corpse = "energycore",
decloakradiushalved = true,
-- ProvideTech = "1 Powergrid",
-- ProvideTechRange = "1500",
-- groundtexselectimg = ":nc:bitmaps/power/powergrid.png",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,12 @@ weaponDefs = {

impulseFactor = 0,
interceptedByShieldType = 4,

minIntensity = 1,

name = "Plasma Cannon",
range = 8000,
reloadtime = 15,
reloadtime = 30,
size = 16,
weaponType = "Cannon",
soundHit = "explosions/artyhit.wav",
Expand All @@ -110,7 +113,7 @@ weaponDefs = {
--effectedByunitHealthModifier = true,
},
damage = {
default = 400,
default = 1000,
},
},

Expand Down
2 changes: 1 addition & 1 deletion Units/ebuilding/eartyturret.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ script = [[eartyturret.cob]]
tech = [[tech3]]
armortype = [[building]]

AreaOfEffect = 300
AreaOfEffect = 500

VFS.Include("units-configs-basedefs/basedefs/buildings/eartyturret_basedef.lua")

Expand Down
2 changes: 1 addition & 1 deletion Units/ebuilding/ekmar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local armortype = [[building]]

local techrequired = [[tech2]]

local shield1Power = 500
local shield1Power = 1000
local shield1PowerRegen = 50
local shield1PowerRegenEnergy = 50
local buildCostMetal = 50
Expand Down
2 changes: 1 addition & 1 deletion Units/ebuilding/esilo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ local weaponDefs = {
weaponType = "StarburstLauncher",
weaponVelocity = 1000,
customparams = {
damagetype = "light",
damagetype = "antibuilding",
death_sounds = "nuke",
oldcosttofireforumula = true,
effectedByunitHealthModifier = true,
Expand Down

0 comments on commit 97066c4

Please sign in to comment.