Give D2k structures footprint hit-shapes

This commit is contained in:
reaperrr
2017-04-21 14:08:42 +02:00
committed by Oliver Brakmann
parent e2647e8a60
commit 3507ad2f87
2 changed files with 101 additions and 0 deletions

View File

@@ -338,6 +338,9 @@
TargetTypes: Ground, C4, Structure
HitShape:
UseOccupiedCellsOffsets: true
Type: Rectangle
TopLeft: -512, -512
BottomRight: 512, 512
Building:
Dimensions: 1,1
Footprint: x

View File

@@ -64,6 +64,10 @@ construction_yard:
Bounds: 96,64
Health:
HP: 3000
HitShape:
Type: Rectangle
TopLeft: -1536, -1024
BottomRight: 1536, 1024
Armor:
Type: cy
RevealsShroud:
@@ -134,6 +138,10 @@ wind_trap:
Bib:
Health:
HP: 3000
HitShape:
Type: Rectangle
TopLeft: -1024, -1024
BottomRight: 1024, 1024
Armor:
Type: building
RevealsShroud:
@@ -175,6 +183,10 @@ barracks:
Bib:
Health:
HP: 3200
HitShape:
Type: Rectangle
TopLeft: -1024, -1024
BottomRight: 1024, 1024
Armor:
Type: wood
RevealsShroud:
@@ -251,6 +263,15 @@ refinery:
Bib:
Health:
HP: 3000
HitShape:
Type: Rectangle
TopLeft: -512, -1024
BottomRight: 1536, 0
HitShape@BOTTOM:
UseOccupiedCellsOffsets: false
Type: Rectangle
TopLeft: -1536, 0
BottomRight: 512, 1024
Armor:
Type: building
RevealsShroud:
@@ -355,6 +376,11 @@ light_factory:
Bib:
Health:
HP: 3300
HitShape:
TargetableOffsets: -210,608,0
Type: Rectangle
TopLeft: -1536, -1024
BottomRight: 1536, 1024
Armor:
Type: light
RevealsShroud:
@@ -433,6 +459,18 @@ heavy_factory:
Bib:
Health:
HP: 3500
HitShape:
UseOccupiedCellsOffsets: false
TargetableOffsets: 0,0,0, -1680,0,0, 0,1024,0, 0,-1024,0, -1155,-704,0, -1365,832,0
Type: Rectangle
TopLeft: -1536, -512
BottomRight: 1536, 1536
HitShape@TOP:
UseOccupiedCellsOffsets: false
TargetableOffsets: 1680,0,0
Type: Rectangle
TopLeft: -512, -1536
BottomRight: 512, -512
Armor:
Type: wood
RevealsShroud:
@@ -518,6 +556,10 @@ outpost:
Bib:
Health:
HP: 3500
HitShape:
Type: Rectangle
TopLeft: -1536, -1024
BottomRight: 1536, 1024
Armor:
Type: light
RevealsShroud:
@@ -563,6 +605,15 @@ starport:
Bounds: 96,64
Health:
HP: 3500
HitShape:
Type: Rectangle
TopLeft: -1536, -1536
BottomRight: 1536, 512
HitShape@BOTTOM:
UseOccupiedCellsOffsets: false
Type: Rectangle
TopLeft: -512, 512
BottomRight: 512, 1536
Armor:
Type: building
RevealsShroud:
@@ -772,6 +823,15 @@ repair_pad:
Dimensions: 3,3
Health:
HP: 3000
HitShape:
Type: Rectangle
TopLeft: -1536, -512
BottomRight: 1536, 512
HitShape@TOPANDBOTTOM:
UseOccupiedCellsOffsets: false
Type: Rectangle
TopLeft: -512, -1536
BottomRight: 512, 1536
Armor:
Type: building
RevealsShroud:
@@ -827,6 +887,18 @@ high_tech_factory:
Bib:
Health:
HP: 3500
HitShape:
UseOccupiedCellsOffsets: false
TargetableOffsets: 0,0,0, -1312,0,0, 0,-1024,0, -1312,-1024,0, 0,1024,0, -1312,1024,0
Type: Rectangle
TopLeft: -1536, -512
BottomRight: 1536, 1536
HitShape@TOP:
UseOccupiedCellsOffsets: false
TargetableOffsets: 1280,0,0
Type: Rectangle
TopLeft: -512, -1536
BottomRight: 512, -512
Armor:
Type: wood
RevealsShroud:
@@ -893,6 +965,18 @@ research_centre:
Bib:
Health:
HP: 2500
HitShape:
UseOccupiedCellsOffsets: false
TargetableOffsets: 0,0,0, -1574,-158,0, 0,-1024,0, -1050,-1024,0, 0,1024,0, -1155,960,0
Type: Rectangle
TopLeft: -1536, -512
BottomRight: 1536, 1536
HitShape@TOP:
UseOccupiedCellsOffsets: false
TargetableOffsets: 1312,0,0
Type: Rectangle
TopLeft: -512, -1536
BottomRight: 512, -512
Armor:
Type: wood
RevealsShroud:
@@ -935,6 +1019,20 @@ palace:
HasMinibib: True
Health:
HP: 4000
HitShape:
Type: Rectangle
TopLeft: -1536, -512
BottomRight: 1536, 512
HitShape@TOP:
UseOccupiedCellsOffsets: false
Type: Rectangle
TopLeft: -1536, -1536
BottomRight: 512, -512
HitShape@BOTTOM:
UseOccupiedCellsOffsets: false
Type: Rectangle
TopLeft: -512, 512
BottomRight: 1536, 1536
Armor:
Type: wood
RevealsShroud: