Ensure select/deco bounds of TD buildings are consistent

Regardless of current frame's bounds.
This commit is contained in:
reaperrr
2018-06-02 00:35:01 +02:00
committed by Paul Chote
parent 1ae5a989bf
commit 291af67b8c
2 changed files with 30 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
FACT:
Inherits: ^BaseBuilding
Inherits@shape: ^3x2Shape
Selectable:
Bounds: 72,48
Valued:
Cost: 3500
Tooltip:
@@ -104,6 +106,8 @@ FACT.NOD:
NUKE:
Inherits: ^BaseBuilding
Inherits@shape: ^2x2Shape
Selectable:
Bounds: 48,48
HitShape:
TargetableOffsets: 630,299,0
Valued:
@@ -134,6 +138,8 @@ NUKE:
NUK2:
Inherits: ^BaseBuilding
Inherits@shape: ^2x2Shape
Selectable:
Bounds: 48,48
HitShape:
TargetableOffsets: 630,299,0
Valued:
@@ -251,6 +257,7 @@ SILO:
SelectionDecorations:
-AcceptsDeliveredCash:
Selectable:
Bounds: 48,24
DecorationBounds: 49,30
PYLE:
@@ -351,6 +358,8 @@ HAND:
AFLD:
Inherits: ^BaseBuilding
Selectable:
Bounds: 96,48
HitShape:
TargetableOffsets: 0,0,0, 0,-512,256, 0,-1451,384, 0,512,128, 0,1536,85
Type: Rectangle
@@ -452,6 +461,8 @@ WEAP:
HPAD:
Inherits: ^BaseBuilding
Inherits@shape: ^2x2Shape
Selectable:
Bounds: 48,48
HitShape:
UseTargetableCellsOffsets: false
TargetableOffsets: 0,0,0, 768,-512,0, 768,512,0, -281,-512,0, -630,512,0
@@ -736,6 +747,8 @@ TMPL:
GUN:
Inherits: ^Defense
Inherits@AUTOTARGET: ^AutoTargetGround
Selectable:
Bounds: 24,24
Valued:
Cost: 600
Tooltip:
@@ -780,6 +793,8 @@ SAM:
Inherits@IDISABLE: ^DisabledOverlay
Inherits@AUTOTARGET: ^AutoTargetAir
Inherits@shape: ^2x1Shape
Selectable:
Bounds: 48,24
HitShape:
Type: Rectangle
TopLeft: -768,-512
@@ -871,6 +886,8 @@ OBLI:
GTWR:
Inherits: ^Defense
Inherits@AUTOTARGET: ^AutoTargetGround
Selectable:
Bounds: 24,24
Valued:
Cost: 600
Tooltip:

View File

@@ -1,5 +1,7 @@
V19:
Inherits: ^TechBuilding
Selectable:
Bounds: 24,24
CashTrickler:
Building:
Footprint: x
@@ -19,6 +21,8 @@ V19:
V19.Husk:
Inherits: ^CivBuildingHusk
Interactable:
Bounds: 24,24
WithSpriteBody:
WithIdleOverlay:
StartSequence: fire-start
@@ -33,6 +37,7 @@ HOSP:
Inherits: ^TechBuilding
Inherits@shape: ^2x2Shape
Selectable:
Bounds: 48,48
Priority: 0
Building:
Footprint: xx xx
@@ -55,6 +60,8 @@ HOSP:
HOSP.Husk:
Inherits: ^CivBuildingHusk
Interactable:
Bounds: 48,48
Building:
Footprint: xx xx
Dimensions: 2,2
@@ -66,6 +73,8 @@ HOSP.Husk:
BIO:
Inherits: ^TechBuilding
Inherits@shape: ^2x2Shape
Selectable:
Bounds: 48,48
Building:
Footprint: xx xx
Dimensions: 2,2
@@ -98,6 +107,8 @@ BIO:
BIO.Husk:
Inherits: ^CivBuildingHusk
Interactable:
Bounds: 48,48
Building:
Footprint: xx xx
Dimensions: 2,2
@@ -107,6 +118,8 @@ BIO.Husk:
MISS:
Inherits: ^CivBuilding
Inherits@shape: ^3x2Shape
Selectable:
Bounds: 72,48
Building:
Footprint: xxx xxx
Dimensions: 3,2