Files
OpenRA/mods/d2k/rules/system.yaml
Matthias Mailänder 9b1e798b35 added spice as a ressource
still needs work though
2012-06-02 15:36:31 +02:00

272 lines
5.1 KiB
YAML

#TODO: Currently only uses the Atreides voices.
Player:
TechTree:
ClassicProductionQueue@Building:
Type: Building
BuildSpeed: .4
LowPowerSlowdown: 3
QueuedAudio: AI_BUILD.AUD
OnHoldAudio: AI_HOLD.AUD
ReadyAudio: AI_BDRDY.AUD
CancelledAudio: AI_CANCL.AUD
BlockedAudio: AI_NROOM.AUD
ClassicProductionQueue@Defense:
Type: Defense
BuildSpeed: .4
LowPowerSlowdown: 3
QueuedAudio: AI_BUILD.AUD
OnHoldAudio: AI_HOLD.AUD
ReadyAudio: AI_BDRDY.AUD
CancelledAudio: AI_CANCL.AUD
BlockedAudio: AI_NROOM.AUD
ClassicProductionQueue@Vehicle:
Type: Vehicle
BuildSpeed: .4
LowPowerSlowdown: 3
ReadyAudio: AI_UNRDY.AUD
QueuedAudio:AI_TRAIN.AUD
OnHoldAudio: AI_HOLD.AUD
CancelledAudio: AI_CANCL.AUD
BlockedAudio: AI_NROOM.AUD
ClassicProductionQueue@Infantry:
Type: Infantry
BuildSpeed: .4
LowPowerSlowdown: 3
ReadyAudio: AI_UNRDY.AUD
QueuedAudio:AI_TRAIN.AUD
OnHoldAudio: AI_HOLD.AUD
CancelledAudio: AI_CANCL.AUD
BlockedAudio: AI_NROOM.AUD
ClassicProductionQueue@Plane:
Type: Plane
BuildSpeed: .4
LowPowerSlowdown: 3
ReadyAudio: AI_UNRDY.AUD
QueuedAudio:AI_TRAIN.AUD
OnHoldAudio: AI_HOLD.AUD
CancelledAudio: AI_CANCL.AUD
BlockedAudio: AI_NROOM.AUD
PlaceBuilding:
SupportPowerManager:
ConquestVictoryConditions:
WinNotification:AI_MWIN.AUD
LoseNotification:AI_MFAIL.AUD
PowerManager:
AllyRepair:
PlayerResources:
InitialCash: 5000
ActorGroupProxy:
DeveloperMode:
HackyAI@Omnius:
Name:Omnius
RallypointTestBuilding: conyarda
BuildingFractions:
refa: 30%
refh: 30%
refo: 30%
powra: 35%
powrh: 35%
powro: 35%
barra: 1%
barrh: 1%
barro: 1%
lighta: 1%
lighth: 1%
lighto: 1%
heavya: 1%
heavyh: 1%
heavyo: 1%
researcha: 1%
researchh: 1%
researcho: 1%
repaira: 0.1%
repairh: 0.1%
repairo: 0.1%
radara: 10%
radaro: 10%
radarh: 10%
UnitsToBuild:
trike: 30%
raider: 30%
quad: 40%
siege: 15%
combata: 70%
combath: 70%
combato: 70%
sonic: 25%
devast: 25%
deviator: 25%
SquadSize: 10
PlayerColorPalette:
BasePalette: d2k
PaletteFormat: d2k
BaseAttackNotifier:
Audio: AI_ATACK.AUD
World:
OpenWidgetAtGameStart:
Widget: INGAME_ROOT
ObserverWidget: OBSERVER_ROOT
ScreenShaker:
NukePaletteEffect:
BuildingInfluence:
ChooseBuildTabOnSelect:
CrateSpawner:
Minimum: 1
Maximum: 3
SpawnInterval: 120
WaterChance: 0
PaletteFromCurrentTileset:
Name: terrain
PaletteFromFile@d2k:
Name: d2k
Filename: d2k.pal
PaletteFromFile@chrome:
Name: chrome
Filename: d2k.pal
PaletteFromFile@effect:
Name: effect
Filename: d2k.pal
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@invuln:
Name: invuln
R: 128
G: 0
B: 0
A: 128
PaletteFromRGBA@disabled:
Name: disabled
R: 0
G: 0
B: 0
A: 180
ColorPickerPaletteModifier:
ShroudPalette@shroud:
ShroudPalette@fog:
IsFog: yes
Name: fog
Country@Atreides:
Name: Atreides
Race: atreides
Country@Harkonnen:
Name: Harkonnen
Race: harkonnen
Country@Ordos:
Name: Ordos
Race: ordos
# BibLayer:
ResourceLayer:
ResourceType@spice:
ResourceType: 1
Palette: d2k
TerrainType: Spice
SpriteNames: spice0
ValuePerUnit: 35
Name: Spice
PipColor: Yellow
AllowedTerrainTypes: Clear
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@atreides:
InitialUnit: mcva
Faction: atreides
SpawnMPUnits@harkonnen:
InitialUnit: mcvh
Faction: harkonnen
SpawnMPUnits@ordos:
InitialUnit: mcvo
Faction: ordos
#TODO: These are just the Atreides sounds.
EvaAlerts:
RadarUp:
RadarDown:
BuildingCannotPlaceAudio: AI_PLACE.AUD
CashTickUp:
CashTickDown:
NewOptions: AI_NEWOP.AUD
LowPower: AI_POWER.AUD
SilosNeeded: AI_SILOS.AUD
PrimaryBuildingSelected: AI_PRMRY.AUD
AbilityInsufficientPower:
LevelUp:
SpatialBins:
BinSize: 4
Shroud:
PathFinder:
ValidateOrder:
CRATE:
Tooltip:
Name: Crate
Crate:
Lifetime: 120
TerrainTypes: Clear, Rough, Road, Water, Beach
GiveCashCrateAction:
Amount: 1000
SelectionShares: 50
UseCashTick: yes
LevelUpCrateAction:
SelectionShares: 40
ExplodeCrateAction@boom:
Weapon: CrateExplosion
SelectionShares: 5
ExplodeCrateAction@nuke:
Weapon: CrateNuke
SelectionShares: 5
HideMapCrateAction:
SelectionShares: 5
Effect: hide-map
RevealMapCrateAction:
SelectionShares: 1
Effect: reveal-map
#TODO: Currently only gives you an Atreides MCV
GiveMcvCrateAction:
SelectionShares: 2
NoBaseSelectionShares: 9001
Unit: mcva
GiveUnitCrateAction@trike:
SelectionShares: 7
Unit: trike
GiveUnitCrateAction@quad:
SelectionShares: 6
Unit: quad
RenderSimple:
BelowUnits:
ProximityCaptor:
Types:Crate
Passenger:
mpspawn:
Waypoint:
RenderEditorOnly:
waypoint:
Waypoint:
RenderEditorOnly: