Add Support of Types for GivesBuildableArea

This commit is contained in:
Mustafa Alperen Seki
2017-07-13 17:04:09 +02:00
committed by Pavel Penev
parent 4cbc2ee6f3
commit ca1448c7ba
16 changed files with 157 additions and 37 deletions

View File

@@ -691,10 +691,12 @@
^BaseBuilding:
Inherits: ^Building
Building:
Adjacent: 4
RequiresBaseProvider: true
BuildSounds: constru2.aud, hvydoor1.aud
TerrainTypes: Clear,Road
RequiresBuildableArea:
AreaTypes: building
Adjacent: 4
MustBeDestroyed:
RequiredForShortGame: true
RepairableBuilding:
@@ -705,6 +707,7 @@
DeathSequence: dead
UseDeathTypeSuffix: false
GivesBuildableArea:
AreaTypes: building
EmitInfantryOnSell:
ActorTypes: e6,e1,e1,e1
EngineerRepairable:
@@ -796,8 +799,10 @@
Dimensions: 1,1
Footprint: x
BuildSounds: hvydoor1.aud
Adjacent: 7
TerrainTypes: Clear,Road
RequiresBuildableArea:
AreaTypes: building
Adjacent: 4
Targetable:
TargetTypes: Ground, Wall
Crushable:

View File

@@ -395,8 +395,11 @@
Footprint: x
TerrainTypes: Rock, Concrete
BuildSounds: BUILD1.WAV
RequiresBuildableArea:
AreaTypes: building
Adjacent: 3
GivesBuildableArea:
AreaTypes: building
Capturable:
CaptureThreshold: 100
SoundOnDamageTransition:

View File

@@ -1,10 +1,12 @@
^concrete:
AlwaysVisible:
Building:
Adjacent: 4
TerrainTypes: Rock
BuildSounds: CHUNG.WAV
AllowInvalidPlacement: true
RequiresBuildableArea:
AreaTypes: building
Adjacent: 4
LaysTerrain:
Template: 88
TerrainTypes: Rock
@@ -55,7 +57,6 @@ construction_yard:
Building:
Footprint: xxx xxx ===
Dimensions: 3,3
Adjacent: 4
LocalCenterOffset: 0,-512,0
LaysTerrain:
TerrainTypes: Rock
@@ -324,7 +325,7 @@ silo:
Cost: 120
Tooltip:
Name: Silo
Building:
RequiresBuildableArea:
Adjacent: 4
-GivesBuildableArea:
Health:
@@ -677,8 +678,10 @@ wall:
AppearsOnRadar:
Building:
BuildSounds: CHUNG.WAV
Adjacent: 7
TerrainTypes: Rock, Concrete
RequiresBuildableArea:
AreaTypes: building
Adjacent: 7
Health:
HP: 2000
Armor:
@@ -729,8 +732,9 @@ medium_gun_turret:
Tooltip:
Name: Gun Turret
Building:
Adjacent: 4
BuildSounds: CHUNG.WAV
RequiresBuildableArea:
Adjacent: 4
Sellable:
SellSounds: CHUNG.WAV
Selectable:
@@ -775,8 +779,9 @@ large_gun_turret:
Tooltip:
Name: Rocket Turret
Building:
Adjacent: 4
BuildSounds: CHUNG.WAV
RequiresBuildableArea:
Adjacent: 4
Sellable:
SellSounds: CHUNG.WAV
Selectable:

View File

@@ -141,7 +141,6 @@ MINVV:
HiddenUnderFog:
Building:
TerrainTypes: Clear,Road
Adjacent: -1
Buildable:
Queue: Building
BuildPaletteOrder: 10

View File

@@ -175,6 +175,7 @@ FTUR:
Power:
Amount: 0
GivesBuildableArea:
AreaTypes: building
PBOX:
Buildable:
@@ -188,6 +189,7 @@ PBOX:
Power:
Amount: 0
GivesBuildableArea:
AreaTypes: building
DOG:
Buildable:

View File

@@ -85,6 +85,7 @@ FCOM:
CaptureCompleteTime: 30
ExternalCapturableBar:
GivesBuildableArea:
AreaTypes: building
BaseProvider:
Range: 8c0
EngineerRepairable:

View File

@@ -587,6 +587,8 @@
Footprint: x
TerrainTypes: Clear,Road
RequiresBaseProvider: True
RequiresBuildableArea:
AreaTypes: building
SoundOnDamageTransition:
DamagedSounds: kaboom1.aud
DestroyedSounds: kaboom22.aud
@@ -616,6 +618,7 @@
Huntable:
UpdatesPlayerStatistics:
GivesBuildableArea:
AreaTypes: building
RepairableBuilding:
PlayerExperience: 25
EngineerRepairable:
@@ -662,8 +665,10 @@
Dimensions: 1,1
Footprint: x
BuildSounds: placbldg.aud
Adjacent: 7
TerrainTypes: Clear,Road
RequiresBuildableArea:
AreaTypes: building
Adjacent: 7
SoundOnDamageTransition:
DamagedSounds: sandbag2.aud
DestroyedSounds: sandbag2.aud
@@ -706,12 +711,14 @@
Tooltip:
Name: Gate
Gate:
Adjacent: 4
BlocksProjectilesHeight: 0
BuildSounds: place2.aud
OpeningSound: cashturn.aud
ClosingSound: cashturn.aud
TerrainTypes: Clear, Road
RequiresBuildableArea:
AreaTypes: building
Adjacent: 4
EditorTilesetFilter:
Categories: Wall

View File

@@ -49,8 +49,9 @@ SYRF:
Building:
Footprint: XXX xxx XXX
Dimensions: 3,3
Adjacent: 8
TerrainTypes: Water
RequiresBuildableArea:
Adjacent: 8
RenderSprites:
Image: SYRD
Valued:
@@ -91,8 +92,9 @@ SPEF:
Building:
Footprint: XXX xxx XXX
Dimensions: 3,3
Adjacent: 8
TerrainTypes: Water
RequiresBuildableArea:
Adjacent: 8
RenderSprites:
Image: SPEN
Valued:

View File

@@ -125,8 +125,10 @@ SPEN:
Building:
Footprint: XXX xxx XXX
Dimensions: 3,3
Adjacent: 8
TerrainTypes: Water
RequiresBuildableArea:
AreaTypes: building
Adjacent: 8
-GivesBuildableArea:
Health:
HP: 1000
@@ -227,8 +229,9 @@ SYRD:
Building:
Footprint: XXX xxx XXX
Dimensions: 3,3
Adjacent: 8
TerrainTypes: Water
RequiresBuildableArea:
Adjacent: 8
-GivesBuildableArea:
Health:
HP: 1000
@@ -1154,8 +1157,6 @@ SILO:
Cost: 150
Tooltip:
Name: Silo
Building:
Adjacent: 2
-GivesBuildableArea:
Health:
HP: 300
@@ -1603,8 +1604,6 @@ KENN:
Cost: 100
Tooltip:
Name: Kennel
Building:
Adjacent: 2
-GivesBuildableArea:
Health:
HP: 300

View File

@@ -309,6 +309,8 @@
Footprint: x
BuildSounds: place2.aud
TerrainTypes: Clear, Road, DirtRoad, Rough
RequiresBuildableArea:
AreaTypes: building
Adjacent: 4
FrozenUnderFog:
SoundOnDamageTransition:
@@ -340,6 +342,7 @@
Inherits@1: ^BasicBuilding
Inherits@2: ^EmpDisable
GivesBuildableArea:
AreaTypes: building
Capturable:
RepairableBuilding:
IndicatorPalette: mouse
@@ -439,8 +442,10 @@
Dimensions: 1,1
Footprint: x
BuildSounds: place2.aud
Adjacent: 7
TerrainTypes: Clear, Rough, Road, DirtRoad, Green, Sand, Pavement
RequiresBuildableArea:
AreaTypes: building
Adjacent: 7
SoundOnDamageTransition:
DamagedSounds: expnew01.aud
DestroyedSounds: crmble2.aud
@@ -1134,7 +1139,6 @@
OpenSequence: open
Tooltip:
Gate:
Adjacent: 4
BuildSounds: place2.aud
OpeningSound: gateup1.aud
ClosingSound: gatedwn1.aud

View File

@@ -348,9 +348,10 @@ NATMPL:
Tooltip:
Name: Temple of Nod
Building:
Adjacent: 3
Footprint: xxxx xxxx xxxX
Dimensions: 4,3
RequiresBuildableArea:
Adjacent: 3
Selectable:
Bounds: 134, 120, 12, -12
Health: