Files
OpenRA/mods/cnc/rules/structures.yaml
psydev 6aa1b37563 Minor: adjust building HP for airstrike/ion
Nuke power plants and HPAD made more resilient vs. airstrike.

Communications Centre made more vulnerable to Ion Cannon. (Used to blow it up, but no more due to spread issue).
2014-04-18 07:38:26 -07:00

815 lines
14 KiB
YAML

FACT:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 1000
Owner: None
Valued:
Cost: 2000
Tooltip:
Name: Construction Yard
Description: Builds structures
Building:
Power: 0
Footprint: xxx xxx
Dimensions: 3,2
Health:
HP: 1400
Armor:
Type: Wood
RevealsShroud:
Range: 10c0
Bib:
Production:
Produces: Building,Defense
Transforms:
IntoActor: mcv
Offset: 1,1
Facing: 108
ProductionQueue@Building:
Type: Building
Group: Building
BuildSpeed: .4
LowPowerSlowdown: 3
QueuedAudio: Building
ReadyAudio: ConstructionComplete
ProductionQueue@Defense:
Type: Defense
Group: Defense
BuildSpeed: .4
LowPowerSlowdown: 3
QueuedAudio: Building
ReadyAudio: ConstructionComplete
BaseBuilding:
ProductionBar:
BaseProvider:
Cooldown: 75
Range: 14
NUKE:
Inherits: ^Building
Valued:
Cost: 500
Tooltip:
Name: Power Plant
Description: Generates power
ProvidesCustomPrerequisite:
Prerequisite: anypower
Buildable:
BuildPaletteOrder: 10
Owner: gdi,nod
Prerequisites: fact
Building:
Power: 100
Footprint: x_ xx
Dimensions: 2,2
Health:
HP: 500
RevealsShroud:
Range: 4c0
Bib:
NUK2:
Inherits: ^Building
Valued:
Cost: 800
Tooltip:
Name: Advanced Power Plant
Description: Provides more power, cheaper than the \nstandard Power Plant
ProvidesCustomPrerequisite:
Prerequisite: anypower
Buildable:
BuildPaletteOrder: 30
Prerequisites: anyhq
Owner: gdi,nod
Building:
Power: 200
Footprint: xx xx
Dimensions: 2,2
Health:
HP: 700
RevealsShroud:
Range: 4c0
Bib:
PROC:
Inherits: ^Building
Valued:
Cost: 1500
Tooltip:
Name: Tiberium Refinery
Description: Processes raw Tiberium\ninto useable resources
Buildable:
BuildPaletteOrder: 20
Prerequisites: anypower
Owner: gdi,nod
Building:
Power: -50
Footprint: _x_ xxx ===
Dimensions: 3,3
Health:
HP: 900
RevealsShroud:
Range: 6c0
Bib:
TiberiumRefinery:
DockOffset: 0,2
TickRate: 15
StoresOre:
PipColor: Green
PipCount: 15
Capacity: 1500
Selectable:
Bounds: 73,72
CustomSellValue:
Value: 500
FreeActor:
Actor: HARV
InitialActivity: FindResources
SpawnOffset: 1,2
Facing: 64
WithResources:
SILO:
Inherits: ^Building
Valued:
Cost: 300
Tooltip:
Name: Tiberium Silo
Description: Stores processed Tiberium
Buildable:
Queue: Defense
BuildPaletteOrder: 35
Prerequisites: proc
Owner: gdi,nod
Building:
Power: -10
Footprint: xx
Dimensions: 2,1
-GivesBuildableArea:
Health:
HP: 400
RevealsShroud:
Range: 4c0
Bib:
HasMinibib: Yes
RenderBuildingSilo:
StoresOre:
PipCount: 10
PipColor: Green
Capacity: 2400
Selectable:
Bounds: 49,30
-RenderBuilding:
-EmitInfantryOnSell:
PYLE:
Inherits: ^Building
Valued:
Cost: 300
Tooltip:
Name: Barracks
Description: Trains infantry
ProvidesCustomPrerequisite:
Prerequisite: barracks
Buildable:
BuildPaletteOrder: 40
Prerequisites: anypower
Owner: gdi
Building:
Power: -20
Footprint: xx xx
Dimensions: 2,2
Health:
HP: 500
RevealsShroud:
Range: 5c0
Bib:
RallyPoint:
Exit@1:
SpawnOffset: -426,85,0
ExitCell: 0,1
Exit@2:
SpawnOffset: 298,298,0
ExitCell: 1,1
Production:
Produces: Infantry
ProductionQueue:
Type: Infantry
Group: Infantry
BuildSpeed: .4
LowPowerSlowdown: 3
ProductionBar:
HAND:
Inherits: ^Building
Valued:
Cost: 300
Tooltip:
Name: Hand of Nod
Description: Trains infantry
ProvidesCustomPrerequisite:
Prerequisite: barracks
Buildable:
BuildPaletteOrder: 40
Prerequisites: anypower
Owner: nod
Building:
Power: -20
Footprint: __ xx xx
Dimensions: 2,3
Health:
HP: 500
RevealsShroud:
Range: 5c0
Bib:
RallyPoint:
Exit@1:
SpawnOffset: 512,1024,0
ExitCell: 1,2
Production:
Produces: Infantry
ProductionQueue:
Type: Infantry
Group: Infantry
BuildSpeed: .4
LowPowerSlowdown: 3
ProductionBar:
AFLD:
Inherits: ^Building
Valued:
Cost: 2000
Tooltip:
Name: Airstrip
Description: Provides a dropzone\nfor vehicle reinforcements
ProvidesCustomPrerequisite:
Prerequisite: vehicleproduction
Buildable:
BuildPaletteOrder: 50
Prerequisites: proc
Owner: nod
Building:
Power: -30
Footprint: xxxx xxxx
Dimensions: 4,2
Health:
HP: 1000
RevealsShroud:
Range: 7c0
Bib:
RallyPoint:
RallyPoint: 4,2
Exit@1:
SpawnOffset: -1024,0,0
ExitCell: 3,1
ProductionAirdrop:
Produces: Vehicle
ProductionQueue:
Type: Vehicle
Group: Vehicle
BuildSpeed: .4
LowPowerSlowdown: 3
ReadyAudio:
ProductionBar:
WEAP:
Inherits: ^Building
Valued:
Cost: 2000
Tooltip:
Name: Weapons Factory
Description: Assembly point for\nvehicle reinforcements
ProvidesCustomPrerequisite:
Prerequisite: vehicleproduction
Buildable:
BuildPaletteOrder: 50
Prerequisites: proc
Owner: gdi
Building:
Power: -30
Footprint: ___ xxx ===
Dimensions: 3,3
Health:
HP: 1000
RevealsShroud:
Range: 4c0
Bib:
-RenderBuilding:
RenderBuildingWarFactory:
RallyPoint:
RallyPoint: 0,3
Exit@1:
SpawnOffset: -341,-341,0
ExitCell: 0,2
Production:
Produces: Vehicle
ProductionQueue:
Type: Vehicle
Group: Vehicle
BuildSpeed: .4
LowPowerSlowdown: 3
ProductionBar:
HPAD:
Inherits: ^Building
Valued:
Cost: 1000
Tooltip:
Name: Helipad
Description: Produces, rearms and\nrepairs helicopters
Buildable:
BuildPaletteOrder: 60
Prerequisites: barracks
Owner: gdi,nod
Building:
Power: -10
Footprint: xx xx
Dimensions: 2,2
Health:
HP: 500
RevealsShroud:
Range: 5c0
Exit@1:
SpawnOffset: 0,-256,0
Production:
Produces: Aircraft
Reservable:
RepairsUnits:
RallyPoint:
ProductionQueue:
Type: Aircraft
Group: Aircraft
BuildSpeed: .4
LowPowerSlowdown: 3
ProductionBar:
HQ:
Inherits: ^Building
Valued:
Cost: 1000
Tooltip:
Name: Communications Center
Description: Provides an overview of the battlefield.\n Requires power to operate.
ProvidesCustomPrerequisite:
Prerequisite: anyhq
Buildable:
BuildPaletteOrder: 70
Prerequisites: proc
Owner: gdi,nod
Building:
Power: -40
Footprint: x_ xx
Dimensions: 2,2
RequiresPower:
CanPowerDown:
DisabledOverlay:
Health:
HP: 700
RevealsShroud:
Range: 10c0
Bib:
ProvidesRadar:
RenderDetectionCircle:
DetectCloaked:
Range: 5
AirstrikePower:
Icon: airstrike
ChargeTime: 180
SquadSize: 3
QuantizedFacings: 8
Description: Air Strike
LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line.
EndChargeSound: airredy1.aud
SelectTargetSound: select1.aud
InsufficientPowerSound: nopower1.aud
IncomingSound: enemya.aud
UnitType: a10
DisplayBeacon: True
BeaconDuration: -1
BeaconPoster: airstrike
DisplayRadarPing: True
CameraActor: camera
SupportPowerChargeBar:
FIX:
Inherits: ^Building
Valued:
Cost: 500
Tooltip:
Name: Repair Facility
Description: Repairs vehicles
Buildable:
BuildPaletteOrder: 80
Prerequisites: vehicleproduction
Owner: gdi,nod
Building:
Power: -30
Footprint: _x_ xxx _x_
Dimensions: 3,3
Health:
HP: 400
RevealsShroud:
Range: 5c0
Bib:
HasMinibib: Yes
Reservable:
RepairsUnits:
RallyPoint:
EYE:
Inherits: ^Building
Valued:
Cost: 1800
Tooltip:
Name: Advanced Communications Center
Description: Provides access to the Ion Cannon.\n Requires power to operate.
ProvidesCustomPrerequisite:
Prerequisite: anyhq
Buildable:
BuildPaletteOrder: 100
Prerequisites: anyhq
Owner: gdi
Building:
Power: -200
Footprint: x_ xx
Dimensions: 2,2
RequiresPower:
CanPowerDown:
DisabledOverlay:
Health:
HP: 1200
RevealsShroud:
Range: 10c0
Bib:
ProvidesRadar:
RenderDetectionCircle:
DetectCloaked:
Range: 5
IonCannonPower:
Icon: ioncannon
ChargeTime: 180
Description: Ion Cannon
LongDesc: Initiate an Ion Cannon strike.\nApplies instant damage to a small area.
BeginChargeSound: ionchrg1.aud
EndChargeSound: ionredy1.aud
LaunchSound: ion1.aud
SelectTargetSound: select1.aud
InsufficientPowerSound: nopower1.aud
DisplayRadarPing: True
CameraActor: camera.small
SupportPowerChargeBar:
TMPL:
Inherits: ^Building
Valued:
Cost: 2000
Tooltip:
Name: Temple of Nod
Description: Place of worship and secret missile silo.\n Requires power to operate.
ProvidesCustomPrerequisite:
Prerequisite: anyhq
Buildable:
BuildPaletteOrder: 100
Prerequisites: anyhq
Owner: nod
Building:
Power: -150
Footprint: ___ xxx xxx
Dimensions: 3,3
RequiresPower:
CanPowerDown:
DisabledOverlay:
Health:
HP: 2000
RevealsShroud:
Range: 6c0
Bib:
NukePower:
Icon: abomb
ChargeTime: 300
Description: Nuclear Strike
LongDesc: Launch a tactical nuke.\nApplies heavy damage over a large area.
BeginChargeSound:
EndChargeSound: nukavail.aud
SelectTargetSound: select1.aud
InsufficientPowerSound: nopower1.aud
LaunchSound: nuklnch1.aud
IncomingSound: nuke1.aud
MissileWeapon: atomic
DisplayBeacon: True
BeaconDuration: -1
BeaconPoster: atomic
DisplayRadarPing: True
CameraActor: camera
SupportPowerChargeBar:
GUN:
Inherits: ^Building
Valued:
Cost: 600
CustomBuildTimeValue:
Value: 1440
Tooltip:
Name: Turret
Description: Anti-Armor base defense.\n Strong vs Tanks\n Weak vs Infantry, Aircraft
Buildable:
Queue: Defense
BuildPaletteOrder: 45
Prerequisites: barracks
Owner: gdi,nod
Building:
Power: -20
-GivesBuildableArea:
Health:
HP: 400
RevealsShroud:
Range: 6c0
Bib:
HasMinibib: Yes
Turreted:
ROT: 12
InitialFacing: 50
RenderBuildingTurreted:
Armament:
Weapon: TurretGun
LocalOffset: 512,0,112
MuzzleSequence: muzzle
AttackTurreted:
WithMuzzleFlash:
AutoTarget:
-RenderBuilding:
-DeadBuildingState:
RenderRangeCircle:
RenderDetectionCircle:
DetectCloaked:
Range: 3
SAM:
Inherits: ^Building
Valued:
Cost: 750
CustomBuildTimeValue:
Value: 2160
Tooltip:
Name: SAM Site
Description: Anti-Air base defense.\n Strong vs Aircraft\n Weak vs Infantry, Tanks
Buildable:
Queue: Defense
BuildPaletteOrder: 50
Prerequisites: hand
Owner: nod
Building:
Power: -20
Footprint: xx
Dimensions: 2,1
RequiresPower:
DisabledOverlay:
-GivesBuildableArea:
Health:
HP: 400
Armor:
Type: Heavy
RevealsShroud:
Range: 8c0
Turreted:
ROT: 10
InitialFacing: 0
RenderBuildingTurreted:
Armament:
Weapon: SAMMissile
MuzzleSequence: muzzle
AttackPopupTurreted:
WithMuzzleFlash:
AutoTarget:
-RenderBuilding:
RenderRangeCircle:
OBLI:
Inherits: ^Building
Valued:
Cost: 1500
CustomBuildTimeValue:
Value: 3120
Tooltip:
Name: Obelisk of Light
Description: Advanced base defense.\n Requires power to operate.\n Strong vs Tanks, Infantry\n Weak vs Aircraft
Buildable:
Queue: Defense
BuildPaletteOrder: 60
Prerequisites: tmpl
Owner: nod
Building:
Power: -150
Footprint: _ x
Dimensions: 1,2
RequiresPower:
DisabledOverlay:
-GivesBuildableArea:
Health:
HP: 600
Armor:
Type: Heavy
RevealsShroud:
Range: 8c0
Bib:
HasMinibib: Yes
RenderBuildingCharge:
ChargeAudio: obelpowr.aud
Armament:
Weapon: Laser
LocalOffset: 0,0,725
FireDelay: 0
AttackCharge:
ReloadTime: 40
InitialChargeDelay: 50
AutoTarget:
-RenderBuilding:
RenderRangeCircle:
-EmitInfantryOnSell:
RenderDetectionCircle:
DetectCloaked:
Range: 5
GTWR:
Inherits: ^Building
Valued:
Cost: 600
CustomBuildTimeValue:
Value: 1440
Tooltip:
Name: Guard Tower
Description: Basic defensive structure.\n Strong vs Infantry\n Weak vs Tanks, Aircraft
Buildable:
Queue: Defense
BuildPaletteOrder: 40
Prerequisites: barracks
Owner: gdi,nod
Building:
Power: -10
-GivesBuildableArea:
Health:
HP: 400
RevealsShroud:
Range: 7c0
Bib:
HasMinibib: Yes
Armament:
Weapon: HighV
LocalOffset: 256,0,256
MuzzleSequence: muzzle
AttackTurreted:
BodyOrientation:
QuantizedFacings: 8
AutoTarget:
DetectCloaked:
Range: 3
RenderDetectionCircle:
RenderRangeCircle:
WithMuzzleFlash:
Turreted:
ROT: 255
ATWR:
Inherits: ^Building
Valued:
Cost: 1000
CustomBuildTimeValue:
Value: 2880
Tooltip:
Name: Advanced Guard Tower
Description: Anti-armor defensive structure.\n Strong vs Light Vehicles, Tanks\n Weak vs Infantry
Buildable:
Queue: Defense
BuildPaletteOrder: 60
Prerequisites: anyhq
Owner: gdi
Building:
Power: -40
Footprint: _ x
Dimensions: 1,2
RequiresPower:
DisabledOverlay:
-GivesBuildableArea:
Health:
HP: 600
Armor:
Type: Heavy
RevealsShroud:
Range: 8c0
Bib:
HasMinibib: Yes
Turreted:
ROT: 255
Offset: 128,128,-85
Armament:
Weapon: TowerMissle
LocalOffset: 256,128,0, 256,-128,0
LocalYaw: -100,100
AttackTurreted:
AutoTarget:
BodyOrientation:
QuantizedFacings: 8
RenderDetectionCircle:
DetectCloaked:
Range: 5
RenderRangeCircle:
SBAG:
Inherits: ^Wall
Valued:
Cost: 25
CustomSellValue:
Value: 0
Tooltip:
Name: Sandbag Barrier
Description: Stops infantry and blocks enemy fire.\nCan be crushed by tanks.
Buildable:
Queue: Defense
BuildPaletteOrder: 20
Prerequisites: fact
Owner: gdi
Health:
HP: 100
Armor:
Type: Light
LineBuild:
Range: 8
NodeTypes: sandbag
LineBuildNode:
Types: sandbag
CYCL:
Inherits: ^Wall
Valued:
Cost: 25
CustomSellValue:
Value: 0
Tooltip:
Name: Chain Link Barrier
Description: Stops infantry and blocks enemy fire.\nCan be crushed by tanks.
Buildable:
Queue: Defense
BuildPaletteOrder: 20
Prerequisites: fact
Owner: nod
Health:
HP: 100
Armor:
Type: Light
LineBuild:
Range: 8
NodeTypes: chain
LineBuildNode:
Types: chain
BRIK:
Inherits: ^Wall
Valued:
Cost: 100
CustomSellValue:
Value: 0
Tooltip:
Name: Concrete Barrier
Description: Stop units and blocks enemy fire.
Buildable:
Queue: Defense
BuildPaletteOrder: 30
Prerequisites: vehicleproduction
Owner: gdi,nod
Health:
HP: 250
Armor:
Type: Heavy
Wall:
CrushClasses: heavywall
-CrushSound:
SoundOnDamageTransition:
DestroyedSound: crumble.aud
LineBuild:
Range: 8
NodeTypes: concrete
LineBuildNode:
Types: concrete
BARRACKS:
Tooltip:
Name: Infantry Production
Description: Infantry Production
VEHICLEPRODUCTION:
Tooltip:
Name: Vehicle Production
Description: Vehicle Production
ANYPOWER:
Tooltip:
Name: Power Plant
Description: Power Plant
ANYHQ:
Tooltip:
Name: a communications center
Description: a communications center