Skip to content

Commit

Permalink
Wall Crushing Fix
Browse files Browse the repository at this point in the history
Only Bantha, Korgoth, Juggernaut and Thor can Crush T2 walls.
Fatboy, Sumo, Catapult, Razorback were removed.
  • Loading branch information
icexuick committed May 25, 2021
1 parent 29c5984 commit 4c35b01
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 8 deletions.
16 changes: 12 additions & 4 deletions gamedata/armordefs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ local armorDefs = {
"corroach",
"corsktl",
},
walls = {
"armdrag",
"armfort",
"cordrag",
"corfort",
"scavdrag",
"scavfort",
},
standard = {
"armjuno",
"armageo",
Expand All @@ -41,7 +49,7 @@ local armorDefs = {
"armclaw",
"armcv",
"armdf",
"armdrag",
--"armdrag",
"armemp",
"armestor",
"armfark",
Expand All @@ -55,7 +63,7 @@ local armorDefs = {
"armflash",
"armflea",
"armfmkr",
"armfort",
--"armfort",
"armfrt",
"armgeo",
"armgmm",
Expand Down Expand Up @@ -127,7 +135,7 @@ local armorDefs = {
"corck",
"corcrash",
"corcv",
"cordrag",
--"cordrag",
"corestor",
"corfast",
"corfatf",
Expand All @@ -136,7 +144,7 @@ local armorDefs = {
"corfhlt",
"corfhp",
"corfmkr",
"corfort",
--"corfort",
"corfrt",
"corgator",
"corgeo",
Expand Down
20 changes: 17 additions & 3 deletions gamedata/movedefs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,21 @@ local moveDatas = {
},
-- banisher/goliath/tremor
HTANK4 = {
crushstrength = 250,
crushstrength = 252,
footprintx = 4,
footprintz = 4,
maxslope = 18,
--slopeMod = 32,
maxwaterdepth = 22,
depthModParams = {
minHeight = 4,
linearCoeff = 0.03,
maxValue = 0.7,
}
},
-- banisher/goliath/tremor
HTANK5 = {
crushstrength = 1400,
footprintx = 4,
footprintz = 4,
maxslope = 18,
Expand Down Expand Up @@ -320,7 +334,7 @@ local moveDatas = {
},
-- fatboy/sumo
HBOT3 = {
crushstrength = 1400,
crushstrength = 252,
footprintx = 3,
footprintz = 3,
maxslope = 36,
Expand All @@ -333,7 +347,7 @@ local moveDatas = {
},
-- razorback/catapult
HBOT4 = {
crushstrength = 1400,
crushstrength = 252,
footprintx = 4,
footprintz = 4,
maxslope = 36,
Expand Down
2 changes: 1 addition & 1 deletion units/ArmGantry/armthor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ return {
maxslope = 12,
maxvelocity = 1.8,
maxwaterdepth = 20,
movementclass = "HTank3",
movementclass = "HTANK5",
name = unitName,
nochasecategory = "VTOL",
objectname = "Units/ARMTHOR.s3o",
Expand Down

0 comments on commit 4c35b01

Please sign in to comment.