Give TD base buildings custom hit shapes
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
FACT:
|
FACT:
|
||||||
Inherits: ^BaseBuilding
|
Inherits: ^BaseBuilding
|
||||||
|
Inherits@shape: ^3x2Shape
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 4000
|
Cost: 4000
|
||||||
Tooltip:
|
Tooltip:
|
||||||
@@ -93,6 +94,10 @@ FACT.NOD:
|
|||||||
|
|
||||||
NUKE:
|
NUKE:
|
||||||
Inherits: ^BaseBuilding
|
Inherits: ^BaseBuilding
|
||||||
|
Inherits@shape: ^2x2Shape
|
||||||
|
HitShape:
|
||||||
|
UseOccupiedCellsOffsets: false
|
||||||
|
TargetableOffsets: 0,0,0, -700,-512,0, -700,512,0, 840,-512,0, 630,299,0
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 500
|
Cost: 500
|
||||||
Tooltip:
|
Tooltip:
|
||||||
@@ -118,6 +123,10 @@ NUKE:
|
|||||||
|
|
||||||
NUK2:
|
NUK2:
|
||||||
Inherits: ^BaseBuilding
|
Inherits: ^BaseBuilding
|
||||||
|
Inherits@shape: ^2x2Shape
|
||||||
|
HitShape:
|
||||||
|
UseOccupiedCellsOffsets: false
|
||||||
|
TargetableOffsets: 0,0,0, -840,-512,0, -840,512,0, 840,-512,0, 630,299,0
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 800
|
Cost: 800
|
||||||
Tooltip:
|
Tooltip:
|
||||||
@@ -143,6 +152,16 @@ NUK2:
|
|||||||
|
|
||||||
PROC:
|
PROC:
|
||||||
Inherits: ^BaseBuilding
|
Inherits: ^BaseBuilding
|
||||||
|
HitShape:
|
||||||
|
TargetableOffsets: 0,0,0, 0,-1024,0, 0,1024,0
|
||||||
|
Type: Rectangle
|
||||||
|
TopLeft: -1536, -512
|
||||||
|
BottomRight: 1536, 853
|
||||||
|
HitShape@TOP:
|
||||||
|
UseOccupiedCellsOffsets: false
|
||||||
|
Type: Rectangle
|
||||||
|
TopLeft: -512, -1450
|
||||||
|
BottomRight: 896, -512
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 1500
|
Cost: 1500
|
||||||
Tooltip:
|
Tooltip:
|
||||||
@@ -188,6 +207,7 @@ PROC:
|
|||||||
|
|
||||||
SILO:
|
SILO:
|
||||||
Inherits: ^BaseBuilding
|
Inherits: ^BaseBuilding
|
||||||
|
Inherits@shape: ^2x1Shape
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 300
|
Cost: 300
|
||||||
Tooltip:
|
Tooltip:
|
||||||
@@ -225,6 +245,12 @@ SILO:
|
|||||||
|
|
||||||
PYLE:
|
PYLE:
|
||||||
Inherits: ^BaseBuilding
|
Inherits: ^BaseBuilding
|
||||||
|
HitShape:
|
||||||
|
UseOccupiedCellsOffsets: false
|
||||||
|
TargetableOffsets: 0,0,0, 840,-256,0, 840,512,0, 210,-512,0, -71,512,0
|
||||||
|
Type: Rectangle
|
||||||
|
TopLeft: -1024, -1024
|
||||||
|
BottomRight: 1024, 640
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 500
|
Cost: 500
|
||||||
Tooltip:
|
Tooltip:
|
||||||
@@ -267,6 +293,10 @@ PYLE:
|
|||||||
|
|
||||||
HAND:
|
HAND:
|
||||||
Inherits: ^BaseBuilding
|
Inherits: ^BaseBuilding
|
||||||
|
Inherits@shape: ^2x2Shape
|
||||||
|
HitShape:
|
||||||
|
UseOccupiedCellsOffsets: false
|
||||||
|
TargetableOffsets: 0,0,0, 630,-512,0, 355,512,0, -281,-512,0, -630,512,0
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 500
|
Cost: 500
|
||||||
Tooltip:
|
Tooltip:
|
||||||
@@ -309,6 +339,12 @@ HAND:
|
|||||||
|
|
||||||
AFLD:
|
AFLD:
|
||||||
Inherits: ^BaseBuilding
|
Inherits: ^BaseBuilding
|
||||||
|
HitShape:
|
||||||
|
UseOccupiedCellsOffsets: false
|
||||||
|
TargetableOffsets: 0,0,0, 0,-512,256, 0,-1536,256, -840,-512,0, -840,-1536,0, 0,512,0, 0,1536,0, -840,512,0, -840,1536,0
|
||||||
|
Type: Rectangle
|
||||||
|
TopLeft: -2048, -1024
|
||||||
|
BottomRight: 2048, 1024
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 2000
|
Cost: 2000
|
||||||
Tooltip:
|
Tooltip:
|
||||||
@@ -351,6 +387,12 @@ AFLD:
|
|||||||
|
|
||||||
WEAP:
|
WEAP:
|
||||||
Inherits: ^BaseBuilding
|
Inherits: ^BaseBuilding
|
||||||
|
Inherits@shape: ^3x2Shape
|
||||||
|
HitShape:
|
||||||
|
TargetableOffsets: 0,0,0, 0,1024,0, 0,-1024,0
|
||||||
|
Type: Rectangle
|
||||||
|
TopLeft: -1536, -1024
|
||||||
|
BottomRight: 1536, 512
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 2000
|
Cost: 2000
|
||||||
Tooltip:
|
Tooltip:
|
||||||
@@ -396,6 +438,10 @@ WEAP:
|
|||||||
|
|
||||||
HPAD:
|
HPAD:
|
||||||
Inherits: ^BaseBuilding
|
Inherits: ^BaseBuilding
|
||||||
|
Inherits@shape: ^2x2Shape
|
||||||
|
HitShape:
|
||||||
|
UseOccupiedCellsOffsets: false
|
||||||
|
TargetableOffsets: 0,0,0, 768,-512,0, 768,512,0, -281,-512,0, -630,512,0
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
Tooltip:
|
Tooltip:
|
||||||
@@ -442,6 +488,12 @@ HPAD:
|
|||||||
HQ:
|
HQ:
|
||||||
Inherits: ^BaseBuilding
|
Inherits: ^BaseBuilding
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisabledOverlay
|
||||||
|
HitShape:
|
||||||
|
UseOccupiedCellsOffsets: false
|
||||||
|
TargetableOffsets: 0,0,0, 0,512,0, 420,-598,256, -840,-512,0, -840,512,0
|
||||||
|
Type: Rectangle
|
||||||
|
TopLeft: -1024, -384
|
||||||
|
BottomRight: 1024, 1024
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
Tooltip:
|
Tooltip:
|
||||||
@@ -504,6 +556,18 @@ HQ:
|
|||||||
|
|
||||||
FIX:
|
FIX:
|
||||||
Inherits: ^BaseBuilding
|
Inherits: ^BaseBuilding
|
||||||
|
HitShape:
|
||||||
|
UseOccupiedCellsOffsets: false
|
||||||
|
TargetableOffsets: 0,0,0, 0,-1024,0, 0,1024,0
|
||||||
|
Type: Rectangle
|
||||||
|
TopLeft: -1536, -683
|
||||||
|
BottomRight: 1536, 768
|
||||||
|
HitShape@TOPANDBOTTOM:
|
||||||
|
UseOccupiedCellsOffsets: false
|
||||||
|
TargetableOffsets: 840,0,0, -1060,0,0
|
||||||
|
Type: Rectangle
|
||||||
|
TopLeft: -640, -980
|
||||||
|
BottomRight: 640, 1110
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 500
|
Cost: 500
|
||||||
Tooltip:
|
Tooltip:
|
||||||
@@ -539,6 +603,12 @@ FIX:
|
|||||||
EYE:
|
EYE:
|
||||||
Inherits: ^BaseBuilding
|
Inherits: ^BaseBuilding
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisabledOverlay
|
||||||
|
HitShape:
|
||||||
|
UseOccupiedCellsOffsets: false
|
||||||
|
TargetableOffsets: 0,0,0, 0,512,128, 420,-598,213, -840,-512,0, -840,512,0
|
||||||
|
Type: Rectangle
|
||||||
|
TopLeft: -1024, -384
|
||||||
|
BottomRight: 1024, 1024
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 1800
|
Cost: 1800
|
||||||
Tooltip:
|
Tooltip:
|
||||||
@@ -596,6 +666,10 @@ EYE:
|
|||||||
TMPL:
|
TMPL:
|
||||||
Inherits: ^BaseBuilding
|
Inherits: ^BaseBuilding
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisabledOverlay
|
||||||
|
Inherits@shape: ^3x2Shape
|
||||||
|
HitShape:
|
||||||
|
UseOccupiedCellsOffsets: false
|
||||||
|
TargetableOffsets: 0,0,0, 0,-896,0, 0,896,0, 840,0,0, -706,0,0, -706,-768,0, -706,640,0
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 2000
|
Cost: 2000
|
||||||
Tooltip:
|
Tooltip:
|
||||||
@@ -699,6 +773,7 @@ SAM:
|
|||||||
Inherits: ^Defense
|
Inherits: ^Defense
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisabledOverlay
|
||||||
Inherits@AUTOTARGET: ^AutoTargetAir
|
Inherits@AUTOTARGET: ^AutoTargetAir
|
||||||
|
Inherits@shape: ^2x1Shape
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 650
|
Cost: 650
|
||||||
Tooltip:
|
Tooltip:
|
||||||
|
|||||||
Reference in New Issue
Block a user