Skip to content
Permalink
Browse files

Dramatically improved the visuals of the Z groundplates

Tumors now cost 20 metal and take 20 seconds to build but can build up to a range of 1500 and have los within that distance as well
Tumor decloak distance increased to about 600
  • Loading branch information
ForbodingAngel committed Jan 18, 2020
1 parent 2a1d762 commit d86ed23b8d53df1220e112c42e3b269915d2f415
@@ -164,7 +164,7 @@ function UnitDef_Post(name, uDef)
uDef.buildinggrounddecaltype = "groundplate.dds"
end
if uDef.customparams and uDef.customparams.factionname == "zaal" then
uDef.buildinggrounddecaltype = "zgroundtexture.dds"
uDef.buildinggrounddecaltype = "zgroundtexture2.dds"
end
if uDef.customparams and uDef.customparams.factionname == "pattern" then
uDef.buildinggrounddecaltype = "groundplate.dds"
Binary file not shown.
@@ -103,8 +103,8 @@ unitDef = {
},
useGroundDecal = true,
BuildingGroundDecalType = "zgroundtexture.dds",
BuildingGroundDecalSizeX = 10,
BuildingGroundDecalSizeY = 10,
BuildingGroundDecalSizeX = 14,
BuildingGroundDecalSizeY = 14,
BuildingGroundDecalDecaySpeed = 0.9,
}

@@ -61,8 +61,8 @@ unitDef = {
},
useGroundDecal = true,
BuildingGroundDecalType = "zgroundtexture.dds",
BuildingGroundDecalSizeX = 10,
BuildingGroundDecalSizeY = 10,
BuildingGroundDecalSizeX = 14,
BuildingGroundDecalSizeY = 14,
BuildingGroundDecalDecaySpeed = 0.9,
}

@@ -68,8 +68,8 @@ unitDef = {
corpse = "energycore",
},
useGroundDecal = true,
BuildingGroundDecalType = "zgroundtexture.dds",
BuildingGroundDecalSizeX = 12,
BuildingGroundDecalSizeY = 12,
BuildingGroundDecalType = "zgroundtexture2.dds",
BuildingGroundDecalSizeX = 14,
BuildingGroundDecalSizeY = 14,
BuildingGroundDecalDecaySpeed = 0.9,
}
@@ -92,8 +92,8 @@ unitDef = {
},
useGroundDecal = true,
BuildingGroundDecalType = "zgroundtexture.dds",
BuildingGroundDecalSizeX = 5,
BuildingGroundDecalSizeY = 5,
BuildingGroundDecalSizeX = 14,
BuildingGroundDecalSizeY = 14,
BuildingGroundDecalDecaySpeed = 0.9,
}

@@ -65,8 +65,8 @@ unitDef = {
},
useGroundDecal = true,
BuildingGroundDecalType = "zgroundtexture.dds",
BuildingGroundDecalSizeX = 10,
BuildingGroundDecalSizeY = 10,
BuildingGroundDecalSizeX = 14,
BuildingGroundDecalSizeY = 14,
BuildingGroundDecalDecaySpeed = 0.9,
}

@@ -1,10 +1,10 @@
unitDef = {

buildCostEnergy = 0,
buildCostMetal = 1,
buildCostMetal = 10,
buildDistance = buildDistance,
builder = true,
buildTime = 10,
buildTime = 20,
buildpic = "zaal_unitpics/ztumor.png",
blocking = false,
CanAttack = true,
@@ -70,7 +70,7 @@ unitDef = {
yardmap = "cccc cccc cccc cccc",
workerTime = 1,
TerraformSpeed = 2147000,
usePieceCollisionVolumes = true,
usePieceCollisionVolumes = false,
sfxtypes = {
pieceExplosionGenerators = {
"blood_spray",
@@ -95,7 +95,7 @@ unitDef = {
--area_mex_def = "zhatch",
--ProvideTech = techprovided,
unitdefbuildtime = true,
decloakradiusmodifier = 0,
decloakradiusmodifier = 20,
canbetransported = "false",
needed_cover = 1,
death_sounds = "bug",
@@ -105,8 +105,8 @@ unitDef = {
},
useGroundDecal = true,
BuildingGroundDecalType = "zgroundtexture.dds",
BuildingGroundDecalSizeX = 4,
BuildingGroundDecalSizeY = 4,
BuildingGroundDecalSizeX = 14,
BuildingGroundDecalSizeY = 14,
BuildingGroundDecalDecaySpeed = 0.9,
}

@@ -5,7 +5,7 @@ unitName = "ztumor"

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

buildDistance = 500
buildDistance = 1500

humanName = "Tumor"

0 comments on commit d86ed23

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