Removed empty top rows from TD 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 Obelisks, makes their placement a bit more intuitive and makes setting up proper HitShapes easier.
This commit is contained in:
reaperrr
2016-05-29 15:38:02 +02:00
parent a392780c93
commit 9a8f0d9aba
2 changed files with 36 additions and 26 deletions

View File

@@ -283,14 +283,15 @@ HAND:
Prerequisites: anypower Prerequisites: anypower
Queue: Building.Nod Queue: Building.Nod
Building: Building:
Footprint: __ xx xx Footprint: xx xx
Dimensions: 2,3 Dimensions: 2,2
Health: Health:
HP: 500 HP: 500
RevealsShroud: RevealsShroud:
Range: 5c0 Range: 5c0
Bib: Bib:
RallyPoint: RallyPoint:
Offset: 1,2
Exit@1: Exit@1:
SpawnOffset: 512,1024,0 SpawnOffset: 512,1024,0
ExitCell: 1,2 ExitCell: 1,2
@@ -366,8 +367,8 @@ WEAP:
Prerequisites: proc Prerequisites: proc
Queue: Building.GDI Queue: Building.GDI
Building: Building:
Footprint: ___ xxx === Footprint: xxx ===
Dimensions: 3,3 Dimensions: 3,2
Selectable: Selectable:
Bounds: 72,54,0,5 Bounds: 72,54,0,5
SelectionDecorations: SelectionDecorations:
@@ -380,10 +381,10 @@ WEAP:
WithProductionDoorOverlay: WithProductionDoorOverlay:
Sequence: build-top Sequence: build-top
RallyPoint: RallyPoint:
Offset: 0,3 Offset: 0,2
Exit@1: Exit@1:
SpawnOffset: -341,-341,0 SpawnOffset: -512,-512,0
ExitCell: 0,2 ExitCell: 0,1
ExitDelay: 3 ExitDelay: 3
Production: Production:
Produces: Vehicle.GDI Produces: Vehicle.GDI
@@ -604,8 +605,8 @@ TMPL:
Prerequisites: anyhq, ~techlevel.high Prerequisites: anyhq, ~techlevel.high
Queue: Building.Nod Queue: Building.Nod
Building: Building:
Footprint: ___ xxx xxx Footprint: xxx xxx
Dimensions: 3,3 Dimensions: 3,2
Selectable: Selectable:
Bounds: 72,60,0,9 Bounds: 72,60,0,9
SelectionDecorations: SelectionDecorations:
@@ -740,13 +741,10 @@ OBLI:
BuildPaletteOrder: 60 BuildPaletteOrder: 60
Prerequisites: tmpl, ~techlevel.high Prerequisites: tmpl, ~techlevel.high
Queue: Defence.Nod Queue: Defence.Nod
Building:
Footprint: _ x
Dimensions: 1,2
Selectable: Selectable:
Bounds: 24,24,0,12 Bounds: 24,24
SelectionDecorations: SelectionDecorations:
VisualBounds: 22,42 VisualBounds: 22,42,0,-9
RequiresPower: RequiresPower:
DisabledOverlay: DisabledOverlay:
Health: Health:
@@ -760,7 +758,7 @@ OBLI:
WithChargeAnimation: WithChargeAnimation:
Armament: Armament:
Weapon: Laser Weapon: Laser
LocalOffset: 0,0,725 LocalOffset: 0,-85,1280
FireDelay: 0 FireDelay: 0
AttackCharge: AttackCharge:
ChargeAudio: obelpowr.aud ChargeAudio: obelpowr.aud
@@ -820,13 +818,10 @@ ATWR:
BuildPaletteOrder: 60 BuildPaletteOrder: 60
Prerequisites: anyhq, ~techlevel.medium Prerequisites: anyhq, ~techlevel.medium
Queue: Defence.GDI Queue: Defence.GDI
Building:
Footprint: _ x
Dimensions: 1,2
Selectable: Selectable:
Bounds: 24,24,0,12 Bounds: 24,24
SelectionDecorations: SelectionDecorations:
VisualBounds: 24,48,0,-3 VisualBounds: 22,42,0,-9
RequiresPower: RequiresPower:
DisabledOverlay: DisabledOverlay:
Health: Health:
@@ -839,7 +834,7 @@ ATWR:
HasMinibib: Yes HasMinibib: Yes
Turreted: Turreted:
TurnSpeed: 255 TurnSpeed: 255
Offset: 128,128,0 Offset: 128,128,384
Armament@PRIMARY: Armament@PRIMARY:
Weapon: TowerMissle Weapon: TowerMissle
LocalOffset: 256,128,0, 256,-128,0 LocalOffset: 256,128,0, 256,-128,0

View File

@@ -109,6 +109,8 @@ silo:
AddExtension: False AddExtension: False
hand: hand:
Defaults:
Offset: 0,-8
idle: idle:
damaged-idle: damaged-idle:
Start: 1 Start: 1
@@ -121,8 +123,10 @@ hand:
bib: bib3 bib: bib3
UseTilesetExtension: true UseTilesetExtension: true
Length: * Length: *
Offset: 0,0
icon: handicnh.tem icon: handicnh.tem
AddExtension: False AddExtension: False
Offset: 0,0
pyle: pyle:
idle: idle:
@@ -145,9 +149,13 @@ pyle:
AddExtension: False AddExtension: False
weap: weap:
Defaults:
Offset: 0,-12
idle: idle:
ZOffset: -511
damaged-idle: damaged-idle:
Start: 1 Start: 1
ZOffset: -511
dead: dead:
Start: 2 Start: 2
Tick: 800 Tick: 800
@@ -164,8 +172,10 @@ weap:
bib: bib2 bib: bib2
UseTilesetExtension: true UseTilesetExtension: true
Length: * Length: *
Offset: 0,0
icon: weapicnh.tem icon: weapicnh.tem
AddExtension: False AddExtension: False
Offset: 0,0
afld: afld:
idle: idle:
@@ -322,6 +332,8 @@ eye:
AddExtension: False AddExtension: False
tmpl: tmpl:
Defaults:
Offset: 0,-12
idle: idle:
damaged-idle: damaged-idle:
Start: 5 Start: 5
@@ -339,10 +351,14 @@ tmpl:
bib: bib2 bib: bib2
UseTilesetExtension: true UseTilesetExtension: true
Length: * Length: *
Offset: 0,0
icon: tmplicnh.tem icon: tmplicnh.tem
AddExtension: False AddExtension: False
Offset: 0,0
obli: obli:
Defaults:
Offset: 0,-12
idle: idle:
damaged-idle: damaged-idle:
Start: 4 Start: 4
@@ -369,6 +385,7 @@ obli:
Offset: -1,-3 Offset: -1,-3
icon: obliicnh.tem icon: obliicnh.tem
AddExtension: False AddExtension: False
Offset: 0,0
brik: brik:
idle: idle:
@@ -514,22 +531,19 @@ gtwr:
AddExtension: False AddExtension: False
atwr: atwr:
Defaults:
Offset: 0,-13
idle: idle:
Offset: 0,-1
damaged-idle: damaged-idle:
Start: 1 Start: 1
Offset: 0,-1
dead: dead:
Start: 2 Start: 2
Offset: 0,-1
Tick: 800 Tick: 800
make: atwrmake make: atwrmake
Length: * Length: *
Tick: 80 Tick: 80
Offset: 0,-1
muzzle: gunfire2 muzzle: gunfire2
Length: * Length: *
Offset: 0,-1
bib: mbGTWR bib: mbGTWR
UseTilesetExtension: true UseTilesetExtension: true
TilesetOverrides: TilesetOverrides:
@@ -540,6 +554,7 @@ atwr:
Offset: -3,0 Offset: -3,0
icon: atwricnh.tem icon: atwricnh.tem
AddExtension: False AddExtension: False
Offset: 0,0
hosp: hosp:
idle: idle: