Simplify RA base building hitshape rules

This commit is contained in:
reaperrr
2017-06-26 01:42:53 +02:00
committed by abcdefg30
parent 70c251d5d5
commit 77ef3a0ed2
3 changed files with 19 additions and 45 deletions

View File

@@ -600,7 +600,6 @@ V21:
TopLeft: -1024, -1024 TopLeft: -1024, -1024
BottomRight: 1024, 0 BottomRight: 1024, 0
HitShape@WELL: HitShape@WELL:
UseOccupiedCellsOffsets: false
TargetableOffsets: -770,512,0 TargetableOffsets: -770,512,0
Type: Rectangle Type: Rectangle
TopLeft: 0, 0 TopLeft: 0, 0

View File

@@ -47,7 +47,7 @@ SYRF:
Targetable: Targetable:
TargetTypes: Ground, Water, Structure, SpyInfiltrate TargetTypes: Ground, Water, Structure, SpyInfiltrate
Building: Building:
Footprint: xxx xxx xxx Footprint: XXX xxx XXX
Dimensions: 3,3 Dimensions: 3,3
Adjacent: 8 Adjacent: 8
TerrainTypes: Water TerrainTypes: Water
@@ -62,13 +62,11 @@ SYRF:
EditorTilesetFilter: EditorTilesetFilter:
ExcludeTilesets: INTERIOR ExcludeTilesets: INTERIOR
HitShape: HitShape:
UseOccupiedCellsOffsets: false TargetableOffsets: 768,0,0, 768,-1024,0, 768,1024,0
TargetableOffsets: 0,0,0, 0,-1024,0, 0,1024,0, 768,0,0, 768,-1024,0, 768,1024,0
Type: Rectangle Type: Rectangle
TopLeft: -1536, -1152 TopLeft: -1536, -1152
BottomRight: 1536, 598 BottomRight: 1536, 598
HitShape@BOTTOM: HitShape@BOTTOM:
UseOccupiedCellsOffsets: false
TargetableOffsets: -768,0,0 TargetableOffsets: -768,0,0
Type: Rectangle Type: Rectangle
TopLeft: -512, 598 TopLeft: -512, 598
@@ -91,7 +89,7 @@ SPEF:
GenericVisibility: Enemy GenericVisibility: Enemy
GenericStancePrefix: False GenericStancePrefix: False
Building: Building:
Footprint: xxx xxx xxx Footprint: XXX xxx XXX
Dimensions: 3,3 Dimensions: 3,3
Adjacent: 8 Adjacent: 8
TerrainTypes: Water TerrainTypes: Water
@@ -106,13 +104,10 @@ SPEF:
EditorTilesetFilter: EditorTilesetFilter:
ExcludeTilesets: INTERIOR ExcludeTilesets: INTERIOR
HitShape: HitShape:
UseOccupiedCellsOffsets: false
TargetableOffsets: 0,0,0, 0,-1024,0, 0,1024,0
Type: Rectangle Type: Rectangle
TopLeft: -1536, -598 TopLeft: -1536, -598
BottomRight: 1536, 598 BottomRight: 1536, 598
HitShape@TOPANDBOTTOM: HitShape@TOPANDBOTTOM:
UseOccupiedCellsOffsets: false
TargetableOffsets: 811,0,0, -811,0,0 TargetableOffsets: 811,0,0, -811,0,0
Type: Rectangle Type: Rectangle
TopLeft: -555, -1110 TopLeft: -555, -1110
@@ -197,7 +192,7 @@ FIXF:
GenericVisibility: Enemy GenericVisibility: Enemy
GenericStancePrefix: False GenericStancePrefix: False
Building: Building:
Footprint: _x_ xxx _x_ Footprint: _X_ xxx _X_
Dimensions: 3,3 Dimensions: 3,3
Health: Health:
HP: 800 HP: 800
@@ -210,13 +205,10 @@ FIXF:
Valued: Valued:
Cost: 120 Cost: 120
HitShape: HitShape:
UseOccupiedCellsOffsets: false
TargetableOffsets: 0,0,0, 0,-1024,0, 0,1024,0
Type: Rectangle Type: Rectangle
TopLeft: -1536, -683 TopLeft: -1536, -683
BottomRight: 1536, 853 BottomRight: 1536, 853
HitShape@TOPANDBOTTOM: HitShape@TOPANDBOTTOM:
UseOccupiedCellsOffsets: false
TargetableOffsets: 840,0,0, -1060,0,0 TargetableOffsets: 840,0,0, -1060,0,0
Type: Rectangle Type: Rectangle
TopLeft: -640, -768 TopLeft: -640, -768
@@ -227,8 +219,7 @@ FAPW:
Inherits@infiltrate: ^InfiltratableFake Inherits@infiltrate: ^InfiltratableFake
Inherits@shape: ^3x2Shape Inherits@shape: ^3x2Shape
HitShape: HitShape:
UseOccupiedCellsOffsets: false TargetableOffsets: -355,-1024,0
TargetableOffsets: 0,0,0, 840,0,0, 840,-1024,0, 840,1024,0, -840,0,0, -355,-1024,0, -840,1024,0
Buildable: Buildable:
BuildPaletteOrder: 950 BuildPaletteOrder: 950
Queue: Defense Queue: Defense
@@ -241,7 +232,7 @@ FAPW:
GenericVisibility: Enemy GenericVisibility: Enemy
GenericStancePrefix: False GenericStancePrefix: False
Building: Building:
Footprint: xxx xxx === Footprint: xxx Xxx ===
Dimensions: 3,3 Dimensions: 3,3
LocalCenterOffset: 0,-512,0 LocalCenterOffset: 0,-512,0
Health: Health:
@@ -366,7 +357,7 @@ FACF:
GenericVisibility: Enemy GenericVisibility: Enemy
GenericStancePrefix: False GenericStancePrefix: False
Building: Building:
Footprint: xxx xxx xxx === Footprint: xxX xxx XxX ===
Dimensions: 3,4 Dimensions: 3,4
LocalCenterOffset: 0,-512,0 LocalCenterOffset: 0,-512,0
WithBuildingBib: WithBuildingBib:
@@ -379,8 +370,7 @@ FACF:
Armor: Armor:
Type: Wood Type: Wood
HitShape: HitShape:
UseOccupiedCellsOffsets: false TargetableOffsets: 1273,939,0, -980,-640,0, -980,640,0
TargetableOffsets: 0,0,0, 0,-1024,0, 0,1024,0, 1483,0,0, 1483,-1024,0, 1273,939,0, -1483,0,0, -980,-640,0, -980,640,0
Type: Rectangle Type: Rectangle
TopLeft: -1536, -1536 TopLeft: -1536, -1536
BottomRight: 1536, 1536 BottomRight: 1536, 1536

View File

@@ -118,7 +118,7 @@ SPEN:
Targetable: Targetable:
TargetTypes: Ground, Water, Structure, C4, DetonateAttack, SpyInfiltrate TargetTypes: Ground, Water, Structure, C4, DetonateAttack, SpyInfiltrate
Building: Building:
Footprint: xxx xxx xxx Footprint: XXX xxx XXX
Dimensions: 3,3 Dimensions: 3,3
Adjacent: 8 Adjacent: 8
TerrainTypes: Water TerrainTypes: Water
@@ -192,13 +192,10 @@ SPEN:
ZOffset: 256 ZOffset: 256
RequiresCondition: primary RequiresCondition: primary
HitShape: HitShape:
UseOccupiedCellsOffsets: false
TargetableOffsets: 0,0,0, 0,-1024,0, 0,1024,0
Type: Rectangle Type: Rectangle
TopLeft: -1536, -598 TopLeft: -1536, -598
BottomRight: 1536, 598 BottomRight: 1536, 598
HitShape@TOPANDBOTTOM: HitShape@TOPANDBOTTOM:
UseOccupiedCellsOffsets: false
TargetableOffsets: 811,0,0, -811,0,0 TargetableOffsets: 811,0,0, -811,0,0
Type: Rectangle Type: Rectangle
TopLeft: -555, -1110 TopLeft: -555, -1110
@@ -220,7 +217,7 @@ SYRD:
Targetable: Targetable:
TargetTypes: Ground, Water, Structure, C4, DetonateAttack, SpyInfiltrate TargetTypes: Ground, Water, Structure, C4, DetonateAttack, SpyInfiltrate
Building: Building:
Footprint: xxx xxx xxx Footprint: XXX xxx XXX
Dimensions: 3,3 Dimensions: 3,3
Adjacent: 8 Adjacent: 8
TerrainTypes: Water TerrainTypes: Water
@@ -300,13 +297,11 @@ SYRD:
ZOffset: 256 ZOffset: 256
RequiresCondition: primary RequiresCondition: primary
HitShape: HitShape:
UseOccupiedCellsOffsets: false TargetableOffsets: 768,0,0, 768,-1024,0, 768,1024,0
TargetableOffsets: 0,0,0, 0,-1024,0, 0,1024,0, 768,0,0, 768,-1024,0, 768,1024,0
Type: Rectangle Type: Rectangle
TopLeft: -1536, -1152 TopLeft: -1536, -1152
BottomRight: 1536, 598 BottomRight: 1536, 598
HitShape@BOTTOM: HitShape@BOTTOM:
UseOccupiedCellsOffsets: false
TargetableOffsets: -768,0,0 TargetableOffsets: -768,0,0
Type: Rectangle Type: Rectangle
TopLeft: -512, 598 TopLeft: -512, 598
@@ -982,7 +977,7 @@ WEAP:
FACT: FACT:
Inherits: ^Building Inherits: ^Building
Building: Building:
Footprint: xxx xxx xxx === Footprint: xxX xxx XxX ===
Dimensions: 3,4 Dimensions: 3,4
LocalCenterOffset: 0,-512,0 LocalCenterOffset: 0,-512,0
Buildable: Buildable:
@@ -1057,8 +1052,7 @@ FACT:
UseDeathTypeSuffix: false UseDeathTypeSuffix: false
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
HitShape: HitShape:
UseOccupiedCellsOffsets: false TargetableOffsets: 1273,939,0, -980,-640,0, -980,640,0
TargetableOffsets: 0,0,0, 0,-1024,0, 0,1024,0, 1483,0,0, 1483,-1024,0, 1273,939,0, -1483,0,0, -980,-640,0, -980,640,0
Type: Rectangle Type: Rectangle
TopLeft: -1536, -1536 TopLeft: -1536, -1536
BottomRight: 1536, 1536 BottomRight: 1536, 1536
@@ -1075,7 +1069,7 @@ PROC:
Tooltip: Tooltip:
Name: Ore Refinery Name: Ore Refinery
Building: Building:
Footprint: _x_ xxx x== === Footprint: _X_ xxx X== ===
Dimensions: 3,4 Dimensions: 3,4
LocalCenterOffset: 0,-512,0 LocalCenterOffset: 0,-512,0
Selectable: Selectable:
@@ -1119,19 +1113,15 @@ PROC:
UseDeathTypeSuffix: false UseDeathTypeSuffix: false
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
HitShape: HitShape:
UseOccupiedCellsOffsets: false
TargetableOffsets: 0,0,0, 0,-1024,0, 0,1024,0
Type: Rectangle Type: Rectangle
TopLeft: -1536, -512 TopLeft: -1536, -512
BottomRight: 1536, 598 BottomRight: 1536, 598
HitShape@TOP: HitShape@TOP:
UseOccupiedCellsOffsets: false
TargetableOffsets: 1680,0,0 TargetableOffsets: 1680,0,0
Type: Rectangle Type: Rectangle
TopLeft: -512, -1536 TopLeft: -512, -1536
BottomRight: 512, -512 BottomRight: 512, -512
HitShape@BOTTOMLEFT: HitShape@BOTTOMLEFT:
UseOccupiedCellsOffsets: false
TargetableOffsets: -1260,-1024,0 TargetableOffsets: -1260,-1024,0
Type: Rectangle Type: Rectangle
TopLeft: -1536, 598 TopLeft: -1536, 598
@@ -1434,8 +1424,7 @@ APWR:
Inherits@POWER_OUTAGE: ^DisabledByPowerOutage Inherits@POWER_OUTAGE: ^DisabledByPowerOutage
Inherits@shape: ^3x2Shape Inherits@shape: ^3x2Shape
HitShape: HitShape:
UseOccupiedCellsOffsets: false TargetableOffsets: -355,-1024,0
TargetableOffsets: 0,0,0, 840,0,0, 840,-1024,0, 840,1024,0, -840,0,0, -355,-1024,0, -840,1024,0
Buildable: Buildable:
Queue: Building Queue: Building
BuildPaletteOrder: 110 BuildPaletteOrder: 110
@@ -1448,7 +1437,7 @@ APWR:
ProvidesPrerequisite: ProvidesPrerequisite:
Prerequisite: anypower Prerequisite: anypower
Building: Building:
Footprint: xxx xxx === Footprint: xxx Xxx ===
Dimensions: 3,3 Dimensions: 3,3
LocalCenterOffset: 0,-512,0 LocalCenterOffset: 0,-512,0
Selectable: Selectable:
@@ -1475,8 +1464,7 @@ STEK:
Inherits: ^ScienceBuilding Inherits: ^ScienceBuilding
Inherits@shape: ^3x2Shape Inherits@shape: ^3x2Shape
HitShape: HitShape:
UseOccupiedCellsOffsets: false TargetableOffsets: 420,-768,0, 420,768,0, -770,-768,0, -770,768,0
TargetableOffsets: 0,0,0, 840,0,0, -840,0,0, 420,-768,0, 420,768,0, -770,-768,0, -770,768,0
Buildable: Buildable:
Queue: Building Queue: Building
BuildPaletteOrder: 150 BuildPaletteOrder: 150
@@ -1489,7 +1477,7 @@ STEK:
ProvidesPrerequisite: ProvidesPrerequisite:
Prerequisite: techcenter Prerequisite: techcenter
Building: Building:
Footprint: xxx xxx === Footprint: XxX XxX ===
Dimensions: 3,3 Dimensions: 3,3
LocalCenterOffset: 0,-512,0 LocalCenterOffset: 0,-512,0
Health: Health:
@@ -1731,7 +1719,7 @@ FIX:
Tooltip: Tooltip:
Name: Service Depot Name: Service Depot
Building: Building:
Footprint: _x_ xxx _x_ Footprint: _X_ xxx _X_
Dimensions: 3,3 Dimensions: 3,3
Selectable: Selectable:
Bounds: 68,34,0,3 Bounds: 68,34,0,3
@@ -1760,13 +1748,10 @@ FIX:
Amount: -30 Amount: -30
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
HitShape: HitShape:
UseOccupiedCellsOffsets: false
TargetableOffsets: 0,0,0, 0,-1024,0, 0,1024,0
Type: Rectangle Type: Rectangle
TopLeft: -1536, -683 TopLeft: -1536, -683
BottomRight: 1536, 853 BottomRight: 1536, 853
HitShape@TOPANDBOTTOM: HitShape@TOPANDBOTTOM:
UseOccupiedCellsOffsets: false
TargetableOffsets: 840,0,0, -1060,0,0 TargetableOffsets: 840,0,0, -1060,0,0
Type: Rectangle Type: Rectangle
TopLeft: -640, -768 TopLeft: -640, -768