Removed empty top rows from RA base structure footprints
Removed top row of buildings where it only consisted of _ cells and adjusted the art offset instead. This fixes the issue that CenterPosition was located in the middle between the occupied and passable cell for defenses like tesla coils, makes their placement a bit more intuitive and makes setting up proper HitShapes easier.
This commit is contained in:
@@ -183,8 +183,8 @@ FAPW:
|
||||
GenericVisibility: Enemy
|
||||
GenericStancePrefix: False
|
||||
Building:
|
||||
Footprint: ___ xxx xxx
|
||||
Dimensions: 3,3
|
||||
Footprint: xxx xxx
|
||||
Dimensions: 3,2
|
||||
Health:
|
||||
HP: 700
|
||||
Armor:
|
||||
@@ -192,6 +192,10 @@ FAPW:
|
||||
Bib:
|
||||
RenderSprites:
|
||||
Image: APWR
|
||||
Selectable:
|
||||
Bounds: 72,48
|
||||
SelectionDecorations:
|
||||
VisualBounds: 72,60,0,-6
|
||||
Valued:
|
||||
Cost: 60
|
||||
|
||||
|
||||
@@ -61,13 +61,10 @@ GAP:
|
||||
Queue: Defense
|
||||
BuildPaletteOrder: 110
|
||||
Prerequisites: atek, ~structures.allies, ~techlevel.high
|
||||
Building:
|
||||
Footprint: _ x
|
||||
Dimensions: 1,2
|
||||
Selectable:
|
||||
Bounds: 24,28,0,12
|
||||
Bounds: 24,24
|
||||
SelectionDecorations:
|
||||
VisualBounds: 24,40,0,0
|
||||
VisualBounds: 24,40,0,-8
|
||||
RequiresPower:
|
||||
CanPowerDown:
|
||||
DisabledOverlay:
|
||||
@@ -407,14 +404,11 @@ TSLA:
|
||||
Tooltip:
|
||||
Name: Tesla Coil
|
||||
Description: Advanced base defense.\nRequires power to operate.\nCan detect cloaked units.\n Strong vs Vehicles, Infantry\n Weak vs Aircraft
|
||||
Building:
|
||||
Footprint: _ x
|
||||
Dimensions: 1,2
|
||||
RequiresPower:
|
||||
Selectable:
|
||||
Bounds: 24,24,0,16
|
||||
Bounds: 24,24
|
||||
SelectionDecorations:
|
||||
VisualBounds: 24,36,0,4
|
||||
VisualBounds: 24,36,0,-6
|
||||
CanPowerDown:
|
||||
PowerupSound: EnablePower
|
||||
PowerdownSound: DisablePower
|
||||
@@ -430,7 +424,7 @@ TSLA:
|
||||
WithChargeAnimation:
|
||||
Armament:
|
||||
Weapon: TeslaZap
|
||||
LocalOffset: 0,0,427
|
||||
LocalOffset: 0,0,896
|
||||
AttackCharge:
|
||||
ChargeAudio: tslachg2.aud
|
||||
MaxCharges: 3
|
||||
@@ -454,13 +448,10 @@ AGUN:
|
||||
Tooltip:
|
||||
Name: AA Gun
|
||||
Description: Anti-Air base defense.\nRequires power to operate.\nCan detect cloaked units.\n Strong vs Aircraft\n Weak vs Ground units
|
||||
Building:
|
||||
Footprint: _ x
|
||||
Dimensions: 1,2
|
||||
Selectable:
|
||||
Bounds: 24,28,0,16
|
||||
Bounds: 24,24
|
||||
SelectionDecorations:
|
||||
VisualBounds: 24,36,0,12
|
||||
VisualBounds: 24,32,0,-4
|
||||
RequiresPower:
|
||||
CanPowerDown:
|
||||
PowerupSound: EnablePower
|
||||
@@ -1293,12 +1284,12 @@ APWR:
|
||||
ProvidesPrerequisite:
|
||||
Prerequisite: anypower
|
||||
Building:
|
||||
Footprint: ___ xxx xxx
|
||||
Dimensions: 3,3
|
||||
Footprint: xxx xxx
|
||||
Dimensions: 3,2
|
||||
Selectable:
|
||||
Bounds: 72,48,0,12
|
||||
Bounds: 72,48
|
||||
SelectionDecorations:
|
||||
VisualBounds: 72,64,0,-2
|
||||
VisualBounds: 72,60,0,-6
|
||||
Health:
|
||||
HP: 700
|
||||
Armor:
|
||||
|
||||
@@ -131,12 +131,16 @@ powr:
|
||||
|
||||
apwr:
|
||||
idle:
|
||||
Offset: 0,-10
|
||||
damaged-idle:
|
||||
Start: 1
|
||||
Offset: 0,-10
|
||||
make: apwrmake
|
||||
Length: *
|
||||
Offset: 0,-10
|
||||
dead: apwrdead
|
||||
Tick: 800
|
||||
Offset: 0,-10
|
||||
bib: bib2
|
||||
Length: *
|
||||
UseTilesetExtension: true
|
||||
@@ -374,29 +378,29 @@ agun:
|
||||
idle:
|
||||
Facings: 32
|
||||
UseClassicFacingFudge: True
|
||||
Offset: 0,-1
|
||||
Offset: 0,-13
|
||||
recoil:
|
||||
Start: 32
|
||||
Facings: 32
|
||||
UseClassicFacingFudge: True
|
||||
Offset: 0,-1
|
||||
Offset: 0,-13
|
||||
make: agunmake
|
||||
Length: *
|
||||
Offset: 0,-1
|
||||
Offset: 0,-13
|
||||
damaged-idle:
|
||||
Start: 64
|
||||
Facings: 32
|
||||
UseClassicFacingFudge: True
|
||||
Offset: 0,-1
|
||||
Offset: 0,-13
|
||||
damaged-recoil:
|
||||
Start: 96
|
||||
Facings: 32
|
||||
UseClassicFacingFudge: True
|
||||
Offset: 0,-1
|
||||
Offset: 0,-13
|
||||
muzzle: gunfire2
|
||||
Start: 1
|
||||
Length: 4
|
||||
Offset: 0,-1
|
||||
Offset: 0,-13
|
||||
bib: mbAGUN
|
||||
Length: *
|
||||
UseTilesetExtension: true
|
||||
@@ -441,23 +445,23 @@ ftur:
|
||||
|
||||
tsla:
|
||||
idle:
|
||||
Offset: 0,-1
|
||||
Offset: 0,-13
|
||||
damaged-idle:
|
||||
Start: 10
|
||||
Offset: 0,-1
|
||||
Offset: 0,-13
|
||||
make: tslamake
|
||||
Length: *
|
||||
Offset: 0,-1
|
||||
Offset: 0,-13
|
||||
active:
|
||||
Start: 1
|
||||
Length: 9
|
||||
Tick: 100
|
||||
Offset: 0,-1
|
||||
Offset: 0,-13
|
||||
damaged-active:
|
||||
Start: 11
|
||||
Length: 9
|
||||
Tick: 100
|
||||
Offset: 0,-1
|
||||
Offset: 0,-13
|
||||
bib: mbTSLA
|
||||
Length: *
|
||||
UseTilesetExtension: true
|
||||
@@ -498,14 +502,14 @@ hbox:
|
||||
gap:
|
||||
idle:
|
||||
Length: 32
|
||||
Offset: 0,-2
|
||||
Offset: 0,-14
|
||||
damaged-idle:
|
||||
Start: 32
|
||||
Length: 32
|
||||
Offset: 0,-2
|
||||
Offset: 0,-14
|
||||
make: gapmake
|
||||
Length: *
|
||||
Offset: 0,-2
|
||||
Offset: 0,-14
|
||||
bib: mbGAP
|
||||
Length: *
|
||||
UseTilesetExtension: true
|
||||
|
||||
Reference in New Issue
Block a user