Files
OpenRA/mods/cnc-classic/rules/system.yaml

374 lines
8.1 KiB
YAML

Player:
TechTree:
ClassicProductionQueue@Building:
Type: Building
BuildSpeed: .4
LowPowerSlowdown: 3
QueuedAudio: Building
ReadyAudio: ConstructionComplete
SpeedUp: yes
BuildTimeSpeedUpDivisor: 2
MaxBuildTimeReductionSteps: 6
ClassicProductionQueue@Defense:
Type: Defense
BuildSpeed: .4
LowPowerSlowdown: 3
QueuedAudio: Building
ReadyAudio: ConstructionComplete
SpeedUp: yes
BuildTimeSpeedUpDivisor: 2
MaxBuildTimeReductionSteps: 6
ClassicProductionQueue@Vehicle:
Type: Vehicle
BuildSpeed: .4
LowPowerSlowdown: 3
SpeedUp: yes
BuildTimeSpeedUpDivisor: 2
MaxBuildTimeReductionSteps: 6
ClassicProductionQueue@Infantry:
Type: Infantry
BuildSpeed: .4
LowPowerSlowdown: 3
SpeedUp: yes
BuildTimeSpeedUpDivisor: 2
MaxBuildTimeReductionSteps: 6
ClassicProductionQueue@Aircraft:
Type: Aircraft
BuildSpeed: .4
LowPowerSlowdown: 3
SpeedUp: yes
BuildTimeSpeedUpDivisor: 2
MaxBuildTimeReductionSteps: 6
PlaceBuilding:
SupportPowerManager:
ConquestVictoryConditions:
PowerManager:
AllyRepair:
PlayerResources:
InitialCash: 5000
ActorGroupProxy:
DeveloperMode:
HackyAI@Default:
Name:Easy AI
BuildingFractions:
proc: 20%
nuke: 9%
pyle: 5%
hand: 5%
hq: 4%
nuk2: 9%
weap: 9%
afld: 9%
gtwr: 5%
gun: 5%
atwr: 9%
obli: 7%
sam: 7%
eye: 1%
tmpl: 1%
silo: 4%
fix: 1%
hpad: 2%
UnitsToBuild:
e1: 14%
e3: 7%
e2: 10%
e4: 7%
e5: 5%
harv: 1%
bggy: 5%
bike: 40%
ltnk: 25%
ftnk: 10%
arty: 60%
stnk: 40%
jeep: 5%
mtnk: 20%
msam: 40%
htnk: 50%
heli: 5%
orca: 5%
PlayerColorPalette:
BasePalette: terrain
RemapIndex: 176, 178, 180, 182, 184, 186, 189, 191, 177, 179, 181, 183, 185, 187, 188, 190
DebugResourceCash:
DebugResourceOre:
DebugResourceOreCapacity:
Shroud:
Fog: false
BaseAttackNotifier:
PlayerStatistics:
World:
OpenWidgetAtGameStart:
Widget: INGAME_ROOT
ObserverWidget: OBSERVER_ROOT
CloakPaletteEffect:
ScreenShaker:
WaterPaletteRotation:
NukePaletteEffect:
BuildingInfluence:
ChooseBuildTabOnSelect:
BridgeLayer:
Bridges: bridge1, bridge2, bridge3, bridge4
CrateSpawner:
Minimum: 1
Maximum: 255
SpawnInterval: 180
WaterChance: 0
PaletteFromCurrentTileset@terrain:
Name: terrain
ShadowIndex: 4
PaletteFromCurrentTileset@static:
Name: staticterrain
ShadowIndex: 4
PaletteFromFile@chrome:
Name: chrome
Filename: temperat.pal
ShadowIndex: 3
PaletteFromFile@effect:
Name: effect
Filename: temperat.pal
ShadowIndex: 4
PaletteFromFile@colorpicker:
Name: colorpicker
Filename: temperat.pal
ShadowIndex: 4
AllowModifiers: false
PaletteFromRGBA@shadow:
Name: shadow
R: 0
G: 0
B: 0
A: 140
PaletteFromRGBA@cloak:
Name: cloak
R: 0
G: 0
B: 0
A: 140
PaletteFromRGBA@highlight:
Name: highlight
R: 255
G: 255
B: 255
A: 128
PaletteFromRGBA@disabled:
Name: disabled
R: 0
G: 0
B: 0
A: 180
ShroudPalette:
Country@gdi:
Name: GDI
Race: gdi
Country@nod:
Name: Nod
Race: nod
BibLayer:
ResourceLayer:
ResourceClaimLayer:
ResourceType@green-tib:
ResourceType: 1
Palette: staticterrain
TerrainType: Tiberium
SpriteNames: ti1,ti2,ti3,ti4,ti5,ti6,ti7,ti8,ti9,ti10,ti11,ti12
ValuePerUnit: 35
Name: Tiberium
PipColor: Green
AllowedTerrainTypes: Clear,Road
AllowUnderActors: false
ResourceType@blue-tib:
ResourceType: 2
Palette: staticterrain
TerrainType: BlueTiberium
SpriteNames: bti1,bti2,bti3,bti4,bti5,bti6,bti7,bti8,bti9,bti10,bti11,bti12
ValuePerUnit: 75
Name: BlueTiberium
PipColor: Blue
AllowedTerrainTypes: Clear,Road
AllowUnderActors: false
SmudgeLayer@SCORCH:
Type:Scorch
SmokePercentage:50
Types:sc1,sc2,sc3,sc4,sc5,sc6
Depths:1,1,1,1,1,1
SmudgeLayer@CRATER:
Type:Crater
Types:cr1,cr2,cr3,cr4,cr5,cr6
Depths:5,5,5,5,5,5
SpawnMapActors:
CreateMPPlayers:
MPStartLocations:
SpawnMPUnits:
SpatialBins:
BinSize: 4
PathFinder:
ValidateOrder:
DebugPauseState:
CRATE:
Tooltip:
Name: Crate
Crate:
Lifetime: 600
TerrainTypes: Clear, Rough, Road, Tiberium, BlueTiberium, Beach
# All shares have been multiplied by 10 from the values in C&C's rules.ini
# For cash, the rules.ini says shares==50, and the maximum cash=2000. I've never seen above 1000 in playing cnc, though. maybe 1000 is max in multiplayer?
GiveCashCrateAction@200:
Amount: 200
SelectionShares: 100
UseCashTick: yes
GiveCashCrateAction@400:
Amount: 400
SelectionShares: 100
UseCashTick: yes
GiveCashCrateAction@600:
Amount: 600
SelectionShares: 100
UseCashTick: yes
GiveCashCrateAction@800:
Amount: 800
SelectionShares: 100
UseCashTick: yes
GiveCashCrateAction@1000:
Amount: 1000
SelectionShares: 100
UseCashTick: yes
CloakCrateAction:
SelectionShares: 50
InitialDelay: 25
CloakDelay: 90
CloakSound: trans1.aud
UncloakSound: trans1.aud
Effect: cloak
ExplodeCrateAction@fire:
Weapon: Napalm.Crate
SelectionShares: 50
ExplodeCrateAction@boom:
Weapon: CrateExplosion
SelectionShares: 50
ExplodeCrateAction@atomic:
Weapon: Atomic
SelectionShares: 10
RevealMapCrateAction:
SelectionShares: 10
Effect: reveal-map
HideMapCrateAction:
SelectionShares: 10
Effect: hide-map
SupportPowerCrateAction@napalm:
SelectionShares: 30
Proxy: powerproxy.napalm
SupportPowerCrateAction@ion:
SelectionShares: 10
Proxy: powerproxy.ion
SupportPowerCrateAction@nuke:
SelectionShares: 0
Proxy: powerproxy.nuke
# Viceroid is currently disabled as a precaution since Scott said that it might cause problems if a map doesn't have "Creeps" as a team name.
# GiveUnitCrateAction@vice:
# SelectionShares: 50
# Unit: vice
# Owner: Creeps
# The total shares for receiving a unit should be 200, so I made each unit (14 total) have 14 shares. 14 x 14 = 196, which is close.
# There are 2 or 3 different kinds of infantry crates you should get, so once those get included, the value of the other unit crates should be adjusted, so that the total is close to 200.
GiveUnitCrateAction@bggy:
SelectionShares: 14
Unit: bggy
GiveUnitCrateAction@bike:
SelectionShares: 14
Unit: bike
GiveUnitCrateAction@jeep:
SelectionShares: 14
Unit: jeep
GiveUnitCrateAction@apc:
SelectionShares: 14
Unit: apc
GiveUnitCrateAction@ltnk:
SelectionShares: 14
Unit: ltnk
GiveUnitCrateAction@arty:
SelectionShares: 14
Unit: arty
GiveUnitCrateAction@ftnk:
SelectionShares: 14
Unit: ftnk
GiveUnitCrateAction@mtnk:
SelectionShares: 14
Unit: mtnk
GiveUnitCrateAction@msam:
SelectionShares: 14
Unit: msam
GiveUnitCrateAction@stnk:
SelectionShares: 14
Unit: stnk
GiveUnitCrateAction@htnk:
SelectionShares: 14
Unit: htnk
GiveUnitCrateAction@mlrs:
SelectionShares: 14
Unit: htnk
GiveUnitCrateAction@harv:
SelectionShares: 14
Unit: harv
GiveMcvCrateAction:
SelectionShares: 14
NoBaseSelectionShares: 9001
Unit: mcv
RenderSimple:
BelowUnits:
ProximityCaptor:
Types:Crate
Passenger:
powerproxy.napalm:
AirstrikePower:
Image: bombicnh
ChargeTime: 160
Description: Air Strike
LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line.
OneShot: yes
AllowMultiple: no #should be "yes", but the feature is broken
EndChargeSound: airredy1.aud
SelectTargetSound: select1.aud
UnitType: a10
powerproxy.ion
IonCannonPower:
Image: ionicnh
ChargeTime: 200
Description: Ion Cannon
LongDesc: Initiate an Ion Cannon strike.\nApplies instant damage to a small area.
OneShot: yes
AllowMultiple: no #should be "yes", but the feature is broken
BeginChargeSound: ionchrg1.aud
EndChargeSound: ionredy1.aud
LaunchSound: ion1.aud
SelectTargetSound: select1.aud
#nuke is broken, using it will crash the game.
powerproxy.nuke:
NukePower:
Image: atomicnh
ChargeTime: 260
Description: Nuclear Strike
LongDesc: Launch a tactical nuke.\nApplies heavy damage over a large area.
OneShot: yes
AllowMultiple: no #should be "yes", but the feature is broken
BeginChargeSound:
EndChargeSound: nukavail.aud
SelectTargetSound: select1.aud
LaunchSound: nukemisl.aud
MissileWeapon: atomic
# SpawnOffset: 28,12
mpspawn:
Waypoint:
RenderEditorOnly:
waypoint:
Waypoint:
RenderEditorOnly: