Files
OpenRA/mods/d2k/rules/structures.yaml
Paul Chote 0167bbfbaa Move weapon/turret definitions out of AttackBase.
Weapons are now defined with the Armament trait
and turret parameters live in Turreted.
This has the side effect of allowing any number
and distribution of weapons and turrets.
2013-03-24 11:58:45 +13:00

676 lines
11 KiB
YAML

^CONYARD:
Inherits: ^Building
Building:
Power: 0
Footprint: xxx xxx
Dimensions: 3,2
Adjacent: 4
Selectable:
Bounds: 96,64
Health:
HP: 1000
Armor:
Type: Concrete
RevealsShroud:
Range: 6
Production:
Produces: Building
Valued:
Cost: 2500
Tooltip:
Name: Construction Yard
CustomSellValue:
Value: 2500
BaseBuilding:
ProductionBar:
^POWER:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 0
Hotkey: w
Selectable:
Bounds: 64,64
Valued:
Cost: 400
Tooltip:
Name: Windtrap
Description: Provides power for other structures
Building:
Power: 100
Footprint: xx xx
Dimensions: 2,2
Health:
HP: 400
Armor:
Type: Wood
RevealsShroud:
Range: 4
^BARRACKS:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 15
Hotkey: b
Selectable:
Bounds: 64,64
Valued:
Cost: 500
Tooltip:
Name: Barracks
Description: Trains infantry
Building:
Power: -20
Footprint: =x xx
Dimensions: 2,2
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:
ProvidesCustomPrerequisite:
Prerequisite: Barracks
RepairsUnits:
ValuePercentage: 0
^HIGHTECH:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 50
Hotkey: t
Selectable:
Bounds: 96,96
Valued:
Cost: 2000
Tooltip:
Name: High Tech Facility
Description: Unlocks advanced technology
Building:
Power: -40
Footprint: _x_ xxx xxx
Dimensions: 3,3
Health:
HP: 1500
Armor:
Type: Wood
RevealsShroud:
Range: 4
ProvidesCustomPrerequisite:
Prerequisite: High Tech Facility
RESEARCH:
Inherits: ^Building
Buildable:
Queue: Building
Prerequisites: Outpost,High Tech Facility
Owner: atreides, harkonnen, ordos
BuildPaletteOrder: 65
Hotkey: v
Selectable:
Bounds: 96,64
Valued:
Cost: 2500
Tooltip:
Name: IX Research Center
Description: Unlocks experimental tanks\n Special Ability: Carryall Combat Drop
ParatroopersPower:
Image: carryallicon
UnitType: carryall.infantry
FlareTime: 0
ChargeTime: 360
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: xxx xxx
Dimensions: 3,2
Health:
HP: 1000
Armor:
Type: Wood
RevealsShroud:
Range: 4
^PALACE:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 70
Hotkey: p
Selectable:
Bounds: 96,96
Valued:
Cost: 4000
Tooltip:
Name: Palace
Description: Unlocks elite infantry\n Special Ability: Ornithopter Strike
Building:
Power: -50
Footprint: _x_ xxx =xx
Dimensions: 3,3
Health:
HP: 2000
Armor:
Type: Concrete
RevealsShroud:
Range: 8
ProvidesCustomPrerequisite:
Prerequisite: TPal
RenderDetectionCircle:
DetectCloaked:
Range: 2
^REFINERY:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 5
Hotkey: r
Selectable:
Bounds: 96,64
Valued:
Cost: 1500
Tooltip:
Name: Spice Refinery
Description: Harvesters unload Spice here for processing
Building:
Power: -30
Footprint: =xx xx=
Dimensions: 3,2
Health:
HP: 900
Armor:
Type: Wood
RevealsShroud:
Range: 6
-RenderBuilding:
OreRefinery:
DockOffset: 2,1
DockAngle: 160
StoresOre:
PipColor: green
PipCount: 10
Capacity: 3000
CustomSellValue:
Value: 500
ProvidesCustomPrerequisite:
Prerequisite: Spice Refinery
FreeActor:
Actor: HARVESTER
InitialActivity: FindResources
SpawnOffset: 2,1
Facing: 160
^SILO:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 10
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:
FillSteps: 39
StoresOre:
PipColor: green
PipCount: 5
Capacity: 1500
-EmitInfantryOnSell:
^LIGHT:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 30
Hotkey: l
Selectable:
Bounds: 96,64
Valued:
Cost: 1000
Tooltip:
Name: Light Factory
Description: Produces light vehicles
Building:
Power: -20
Footprint: xxx xx=
Dimensions: 3,2
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 Factory
^HEAVY:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 35
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
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 Factory
^RADAR:
RequiresPower:
CanPowerDown:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 20
Hotkey: o
Selectable:
Bounds: 96,64
Valued:
Cost: 1000
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
Health:
HP: 1000
Armor:
Type: Wood
RevealsShroud:
Range: 10
ProvidesRadar:
ProvidesCustomPrerequisite:
Prerequisite: Outpost
DetectCloaked:
Range: 2
^STARPORT:
Inherits: ^Building
Valued:
Cost: 3000
Tooltip:
Name: Starport
Description: Dropzone for cheap reinforcements\n Requires power to operate
Buildable:
Queue: Building
BuildPaletteOrder: 60
Hotkey: c
Building:
Power: -40
Footprint: xxx x=x =x=
Dimensions: 3,3
Health:
HP: 1000
Armor:
Type: Wood
RevealsShroud:
Range: 7
RallyPoint:
RallyPoint: 1,3
BelowUnits:
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:
WALL:
Buildable:
Queue: Building
Prerequisites: Barracks
Owner: atreides, harkonnen, ordos
BuildPaletteOrder: 25
#Hotkey: g
SoundOnDamageTransition:
DamagedSound:
DestroyedSound: CRMBLE2.aud
Valued:
Cost: 100
CustomSellValue:
Value: 0
Tooltip:
Name: Concrete Wall
Description: Stops units and blocks enemy fire
Icon: wallicon
AppearsOnRadar:
Building:
BuildSounds: CHUNG.aud
SellSounds: CHUNG.aud
Adjacent: 7
TerrainTypes: Rock
Health:
HP: 300
Armor:
Type: Concrete
Wall:
CrushClasses: Concretewall
LineBuild:
Range: 8
#SelectionDecorations:
#Selectable:
# Priority: 1
TargetableBuilding:
TargetTypes: Ground
RenderBuildingWall:
HasMakeAnimation: false
#GivesExperience:
EditorAppearance:
RelativeToTopLeft: yes
AutoTargetIgnore:
ProximityCaptor:
Types:Wall
Sellable:
GUNTOWER:
Inherits: ^Building
Buildable:
Queue: Building
Prerequisites: Outpost
Owner: atreides, harkonnen, ordos
BuildPaletteOrder: 40
Hotkey: g
Valued:
Cost: 600
Tooltip:
Name: Gun Tower
Description: Defensive structure\n Strong vs Tanks\n Weak vs Infantry, Aircraft
Icon: turreticon
Building:
Power: -20
Adjacent: 4
Selectable:
Bounds: 32,32
Priority: 3
-GivesBuildableArea:
Health:
HP: 500
Armor:
Type: Concrete
RevealsShroud:
Range: 6
RenderRangeCircle:
-RenderBuilding:
#-AutoTargetIgnore:
RenderBuildingSeparateTurret:
# HasMakeAnimation: false
Turreted:
ROT: 6
InitialFacing: 128
Armament:
Weapon: TurretGun
LocalOffset: 0,-11,0,-7,0
AttackTurreted:
AutoTarget:
LeavesHusk:
HuskActor: Guntower.Husk
RenderDetectionCircle:
DetectCloaked:
Range: 3
GUNTOWER.Husk:
Inherits: ^TowerHusk
Tooltip:
Name: Destroyed Tower
Icon: turreticon
RenderUnit:
Image: GUNTOWER
ThrowsParticle@turret:
Anim: turret
Spread: 4,4
Speed: 6
AnimKey: turret
ROCKETTOWER:
Inherits: ^Building
Buildable:
Queue: Building
Prerequisites: Outpost, High Tech Facility
Owner: atreides, harkonnen, ordos
BuildPaletteOrder: 55
Hotkey: m
Valued:
Cost: 800
Tooltip:
Name: Missile Tower
Icon: rturreticon
Description: Defensive structure\n Strong vs Infantry, Aircraft\n Weak vs Tanks\n\n Requires power to operate
Building:
Power: -30
Adjacent: 4
Selectable:
Bounds: 32,32
Priority: 3
-GivesBuildableArea:
Health:
HP: 500
Armor:
Type: Concrete
RevealsShroud:
Range: 6
RenderRangeCircle:
-RenderBuilding:
#-AutoTargetIgnore:
RenderBuildingSeparateTurret:
# HasMakeAnimation: false
Armament:
Weapon: TowerMissile
LocalOffset: 14,-2,0,-11,0, -14,-2,0,-11,0
AttackTurreted:
Turreted:
ROT: 8
InitialFacing: 128
AutoTarget:
RequiresPower:
CanPowerDown:
LeavesHusk:
HuskActor: Rockettower.Husk
RenderDetectionCircle:
DetectCloaked:
Range: 3
ROCKETTOWER.Husk:
Inherits: ^TowerHusk
Tooltip:
Name: Destroyed Tower
Icon: rturreticon
RenderUnit:
Image: ROCKETTOWER
ThrowsParticle@turret:
Anim: turret
Spread: 4,4
Speed: 6
AnimKey: turret
REPAIR:
Inherits: ^Building
Buildable:
Queue: Building
Prerequisites: Outpost
Owner: atreides, harkonnen, ordos
BuildPaletteOrder: 45
Hotkey: e
Valued:
Cost: 1000
Tooltip:
Name: Repair Pad
Description: Repairs vehicles\n Allows construction of MCVs
Building:
Power: -25
Footprint: =x= =x= ===
Dimensions: 3,3
Health:
HP: 500
Armor:
Type: Concrete
RevealsShroud:
Range: 5
BelowUnits:
Reservable:
RepairsUnits:
Interval: 15
ValuePercentage: 50
RallyPoint:
RallyPoint: 1,3
SIETCH:
Inherits: ^Building
Tooltip:
Name: Fremen Sietch
Building:
Power: 0
Footprint: xx xx
Dimensions: 2,2
TerrainTypes: Cliff
Health:
HP: 400
Armor:
Type: Concrete
RevealsShroud:
Range: 10
-GivesBuildableArea:
-Sellable:
-Capturable:
-CapturableBar:
STARPORTC:
Inherits: ^STARPORT
-Buildable:
PALACEC:
Inherits: ^PALACE
-Buildable:
Building:
Footprint: xxx xxx
Dimensions: 3,2
HEAVYC:
Inherits: ^HEAVY
-Buildable:
RenderBuildingWarFactory:
Image: HEAVYC
#4PLATES:
# Inherits: ^WALL
# Buildable:
# BuildPaletteOrder: 2000
# Owner: atreides, harkonnen, ordos
# Tooltip:
# Name: Fundament
# Description: Pretty useless at the moment.
# Icon: 4plateicon
# Building:
# TerrainTypes: Rock
# Footprint: =
# BelowUnits:
# LineBuild:
# Range: 4
# RenderBuildingWall:
# HasMakeAnimation: false
# Image: PLATES
# Wall:
# CrushClasses: plates
# -SelectionDecorations:
# -Selectable:
#6PLATES:
# Inherits: ^WALL
# Buildable:
# BuildPaletteOrder: 3000
# Owner: atreides, harkonnen, ordos
# Valued:
# Cost: 120
# Tooltip:
# Name: Fundament
# Description: Pretty useless at the moment.
# Icon: 6plateicon
# Building:
# TerrainTypes: Rock
# Footprint: =
# BelowUnits:
# LineBuild:
# Range: 6
# RenderBuildingWall:
# HasMakeAnimation: false
# Image: PLATES
# Wall:
# CrushClasses: plates
# -SelectionDecorations:
# -Selectable: