Files
OpenRA/mods/d2k/rules/structures.yaml
2013-08-17 23:31:23 +02:00

671 lines
11 KiB
YAML

^CONYARD:
Inherits: ^Building
Building:
Power: 20
Footprint: xxx xxx
Dimensions: 3,2
Adjacent: 4
Bib:
Buildable:
Queue: Building
BuildPaletteOrder: 1000
Owner: None
Selectable:
Bounds: 96,64
Health:
HP: 1000
Armor:
Type: Concrete
RevealsShroud:
Range: 10
Production:
Produces: Building
Valued:
Cost: 2000
Tooltip:
Name: Construction Yard
CustomSellValue:
Value: 2000
BaseBuilding:
ProductionBar:
ProvidesCustomPrerequisite:
Prerequisite: Conyard
BaseProvider:
Cooldown: 25
Range: 30
^POWER:
Inherits: ^Building
Buildable:
Prerequisites: Conyard
Queue: Building
BuildPaletteOrder: 10
Hotkey: w
Selectable:
Bounds: 64,64
Valued:
Cost: 300
Tooltip:
Name: Windtrap
Description: Provides power for other structures
Building:
Power: 100
Footprint: xx xx
Dimensions: 2,2
Bib:
Health:
HP: 400
Armor:
Type: Wood
RevealsShroud:
Range: 4
ProvidesCustomPrerequisite:
Prerequisite: Power
WithIdleOverlay@ZAPS:
Sequence: idle-zaps
^BARRACKS:
Inherits: ^Building
Buildable:
Prerequisites: Power
Queue: Building
BuildPaletteOrder: 40
Hotkey: b
Selectable:
Bounds: 64,64
Valued:
Cost: 300
Tooltip:
Name: Barracks
Description: Trains infantry
Building:
Power: -20
Footprint: =x xx
Dimensions: 2,2
Bib:
Health:
HP: 800
Armor:
Type: Wood
RevealsShroud:
Range: 5
RallyPoint:
RallyPoint: 1,3
Exit@1:
SpawnOffset: 11,18
ExitCell: 0,2
Exit@2:
SpawnOffset: 16,15
ExitCell: 1,2
Production:
Produces: Infantry
PrimaryBuilding:
ProductionBar:
RepairsUnits:
ValuePercentage: 0
ProvidesCustomPrerequisite:
Prerequisite: Barracks
^REFINERY:
Inherits: ^Building
Buildable:
Prerequisites: Power
Queue: Building
BuildPaletteOrder: 20
Hotkey: r
Selectable:
Bounds: 96,64
Valued:
Cost: 1500
Tooltip:
Name: Spice Refinery
Description: Harvesters unload Spice here for processing
Building:
Power: -30
Footprint: xxx x==
Dimensions: 3,2
Bib:
Health:
HP: 900
Armor:
Type: Wood
RevealsShroud:
Range: 6
-RenderBuilding:
OreRefinery:
DockOffset: 2,1
DockAngle: 160
TickRate: 20
StoresOre:
PipColor: green
PipCount: 10
Capacity: 2000
CustomSellValue:
Value: 500
FreeActor:
Actor: HARVESTER
InitialActivity: FindResources
SpawnOffset: 2,1
Facing: 160
ProvidesCustomPrerequisite:
Prerequisite: Refinery
^SILO:
Inherits: ^Building
Buildable:
Prerequisites: Refinery
Queue: Building
BuildPaletteOrder: 30
Hotkey: i
Valued:
Cost: 150
Tooltip:
Name: Silo
Description: Stores excess harvested Spice
Building:
Power: -5
Adjacent: 4
-GivesBuildableArea:
Health:
HP: 300
Armor:
Type: Wood
RevealsShroud:
Range: 4
-RenderBuilding:
RenderBuildingSilo:
StoresOre:
PipColor: green
PipCount: 5
Capacity: 2000
-EmitInfantryOnSell:
^LIGHT:
Inherits: ^Building
Buildable:
Prerequisites: Refinery
Queue: Building
BuildPaletteOrder: 70
Hotkey: l
Selectable:
Bounds: 96,64
Valued:
Cost: 500
Tooltip:
Name: Light Factory
Description: Produces light vehicles
Building:
Power: -20
Footprint: xxx xx=
Dimensions: 3,2
Bib:
Health:
HP: 750
Armor:
Type: Wood
RevealsShroud:
Range: 4
-RenderBuilding:
RallyPoint:
RallyPoint: 2,2
Exit@1:
SpawnOffset: 17,-7
ExitCell: 2,1
Production:
Produces: Vehicle
PrimaryBuilding:
ProductionBar:
ProvidesCustomPrerequisite:
Prerequisite: Light
^HEAVY:
Inherits: ^Building
Buildable:
Prerequisites: Refinery
Queue: Building
BuildPaletteOrder: 100
Hotkey: h
Selectable:
Bounds: 96,96
Valued:
Cost: 2000
Tooltip:
Name: Heavy Factory
Description: Produces heavy vehicles
Building:
Power: -30
Footprint: _x_ xxx =xx
Dimensions: 3,3
Bib:
Health:
HP: 1500
Armor:
Type: Wood
RevealsShroud:
Range: 4
-RenderBuilding:
RallyPoint:
RallyPoint: 0,3
Exit@1:
SpawnOffset: 8,6
ExitCell: 0,2
Production:
Produces: Armor
PrimaryBuilding:
ProductionBar:
ProvidesCustomPrerequisite:
Prerequisite: Heavy
^RADAR:
RequiresPower:
CanPowerDown:
Inherits: ^Building
Buildable:
Prerequisites: Barracks
Queue: Building
BuildPaletteOrder: 50
Hotkey: o
Selectable:
Bounds: 96,64
Valued:
Cost: 700
Tooltip:
Name: Outpost
Description: Provides a radar map of the battlefield\n Requires power to operate
Building:
Power: -40
Footprint: xxx xxx
Dimensions: 3,2
Bib:
Health:
HP: 1000
Armor:
Type: Wood
RevealsShroud:
Range: 10
ProvidesRadar:
DetectCloaked:
Range: 6
RenderDetectionCircle:
ProvidesCustomPrerequisite:
Prerequisite: Outpost
^STARPORT:
Inherits: ^Building
Valued:
Cost: 2000
Tooltip:
Name: Starport
Description: Dropzone for quick reinforcements, at a price.\n Requires power to operate
Buildable:
Prerequisites: Outpost
Queue: Building
BuildPaletteOrder: 80
Hotkey: c
Building:
Power: -40
Footprint: xxx x=x =x=
Dimensions: 3,3
Bib:
Health:
HP: 1000
Armor:
Type: Wood
RevealsShroud:
Range: 7
RallyPoint:
RallyPoint: 1,3
Exit@1:
SpawnOffset: 0,-15
ExitCell: 2,2
Exit@2:
SpawnOffset: 0,-15
ExitCell: 0,2
ProductionAirdrop:
Produces: Starport
ActorType: frigate
ProductionBar:
PrimaryBuilding:
RequiresPower:
CanPowerDown:
ProvidesCustomPrerequisite:
Prerequisite: Starport
WALL:
Inherits: ^WALL
Buildable:
Owner:
^WALL:
Buildable:
Queue: Building
Prerequisites: Barracks
BuildPaletteOrder: 60
SoundOnDamageTransition:
DamagedSound:
DestroyedSound: EXPLSML4.WAV
Valued:
Cost: 100
CustomSellValue:
Value: 0
Tooltip:
Name: Concrete Wall
Description: Stop units and blocks enemy fire.
AppearsOnRadar:
Building:
BuildSounds: CHUNG.WAV
SellSounds: CHUNG.WAV
Adjacent: 7
TerrainTypes: Rock
Health:
HP: 300
Armor:
Type: Concrete
Wall:
CrushClasses: Concretewall
LineBuild:
Range: 8
# SelectionDecorations:
# Selectable:
# Priority: 1
TargetableBuilding:
TargetTypes: Ground, C4
RenderBuildingWall:
HasMakeAnimation: false
Image: walla
EditorAppearance:
RelativeToTopLeft: yes
AutoTargetIgnore:
ProximityCaptor:
Types:Wall
Sellable:
Guardable:
BodyOrientation:
^GUNTOWER:
Inherits: ^Building
Buildable:
Queue: Building
Prerequisites: Barracks
BuildPaletteOrder: 90
Hotkey: g
Valued:
Cost: 650
Tooltip:
Name: Gun Tower
Description: Defensive structure\n Strong vs Tanks\n Weak vs Infantry, Aircraft
Building:
Power: -20
Adjacent: 4
BuildSounds: CHUNG.WAV
SellSounds: CHUNG.WAV
Selectable:
Bounds: 32,32
Priority: 3
-GivesBuildableArea:
Health:
HP: 400
Armor:
Type: Concrete
RevealsShroud:
Range: 8
RenderRangeCircle:
RenderBuilding:
HasMakeAnimation: false
Image: guntowera
WithTurret:
Turreted:
ROT: 6
InitialFacing: 128
Armament:
Weapon: TurretGun
LocalOffset: 469,0,299
AttackTurreted:
AutoTarget:
RenderDetectionCircle:
DetectCloaked:
Range: 5
^ROCKETTOWER:
Inherits: ^Building
Buildable:
Queue: Building
Prerequisites: Outpost
BuildPaletteOrder: 120
Hotkey: m
Valued:
Cost: 850
Tooltip:
Name: Rocket Tower
Description: Defensive structure\n Strong vs Infantry, Aircraft\n Weak vs Tanks\n\n Requires power to operate
Building:
Power: -30
Adjacent: 4
BuildSounds: CHUNG.WAV
SellSounds: CHUNG.WAV
Selectable:
Bounds: 32,32
Priority: 3
-GivesBuildableArea:
Health:
HP: 400
Armor:
Type: Concrete
RevealsShroud:
Range: 10
RenderRangeCircle:
RenderBuilding:
HasMakeAnimation: false
WithTurret:
Armament:
Weapon: TowerMissile
LocalOffset: 85,597,469, 85,-597,469
AttackTurreted:
Turreted:
ROT: 8
InitialFacing: 128
AutoTarget:
RequiresPower:
CanPowerDown:
RenderDetectionCircle:
DetectCloaked:
Range: 6
^REPAIR:
Inherits: ^Building
Buildable:
Queue: Building
Prerequisites: Heavy
BuildPaletteOrder: 130
Hotkey: e
Valued:
Cost: 500
Tooltip:
Name: Repair Pad
Description: Repairs vehicles\n Allows construction of MCVs
Building:
Power: -10
Footprint: =x= =x= ===
Dimensions: 3,3
Health:
HP: 500
Armor:
Type: Concrete
RevealsShroud:
Range: 5
Reservable:
RepairsUnits:
Interval: 15
ValuePercentage: 50
RallyPoint:
RallyPoint: 1,3
ProvidesCustomPrerequisite:
Prerequisite: Repair
^HIGHTECH:
Inherits: ^Building
Buildable:
Prerequisites: Outpost
Queue: Building
BuildPaletteOrder: 110
Hotkey: t
Selectable:
Bounds: 96,96
Valued:
Cost: 750
Tooltip:
Name: High Tech Facility
Description: Unlocks advanced technology
Building:
Power: -40
Footprint: _x_ xxx xxx
Dimensions: 3,3
Bib:
Health:
HP: 1500
Armor:
Type: Wood
RevealsShroud:
Range: 4
ProvidesCustomPrerequisite:
Prerequisite: Hitech
^RESEARCH:
Inherits: ^Building
Buildable:
Queue: Building
Prerequisites: Hitech
BuildPaletteOrder: 140
Hotkey: v
Selectable:
Bounds: 96,64
Valued:
Cost: 1500
Tooltip:
Name: IX Research Center
Description: Unlocks experimental tanks\n Special Ability: Carryall Combat Drop
ParatroopersPower:
Icon: paratroopers
UnitType: carryall.infantry
FlareTime: 0
ChargeTime: 180
Description: Paratroopers
LongDesc: A Carryall drops a squad of Infantry \nanywhere on the map
Prerequisites: HIGHTECHO
DropItems: RIFLE, RIFLE, BAZOOKA, BAZOOKA, ENGINEER, BAZOOKA, RIFLE, RIFLE
SelectTargetSound:
FlareType:
Building:
Power: -40
Footprint: _x_ xxx xxx
Dimensions: 3,3
Bib:
Health:
HP: 1000
Armor:
Type: Wood
RevealsShroud:
Range: 4
ProvidesCustomPrerequisite:
Prerequisite: Research
^PALACE:
Inherits: ^Building
Buildable:
Prerequisites: Research
Queue: Building
BuildPaletteOrder: 150
Hotkey: p
Selectable:
Bounds: 96,96
Valued:
Cost: 2000
Tooltip:
Name: Palace
Description: Unlocks elite infantry\n Special Ability: Ornithopter Strike
Building:
Power: -50
Footprint: xxx xxx
Dimensions: 3,2
Bib:
Health:
HP: 2000
Armor:
Type: Wood
RevealsShroud:
Range: 8
RenderDetectionCircle:
DetectCloaked:
Range: 4
ProvidesCustomPrerequisite:
Prerequisite: Palace
SIETCH:
Inherits: ^Building
Tooltip:
Name: Fremen Sietch
Building:
Power: 0
Footprint: xx xx
Dimensions: 2,2
TerrainTypes: Cliff
Bib:
Sprite: bib2x
Health:
HP: 400
Armor:
Type: Concrete
RevealsShroud:
Range: 10
-GivesBuildableArea:
-Sellable:
-Capturable:
-CapturableBar:
STARPORTC:
Inherits: ^STARPORT
-Buildable:
PALACEC:
Inherits: ^PALACE
Buildable:
Queue: Building
BuildPaletteOrder: 1000
Owner: None
Building:
Footprint: xxx xxx
Dimensions: 3,2
RenderBuilding:
HasMakeAnimation: false
HEAVYC:
Inherits: ^HEAVY
-Buildable:
RenderBuildingWarFactory:
Image: HEAVYC
# custom prerequisites:
CONYARD:
Tooltip:
Name: Construction Yard
LIGHT:
Tooltip:
Name: Light Factory
HEAVY:
Tooltip:
Name: Heavy Factory
HITECH:
Tooltip:
Name: High-Tech Facility
REPAIR:
Tooltip:
Name: Repair Pad
RESEARCH:
Tooltip:
Name: Ix Research Center