diff --git a/mods/ra/maps/Sahara.oramap b/mods/ra/maps/Sahara.oramap index 86b8530e25..c818f7e0ff 100644 Binary files a/mods/ra/maps/Sahara.oramap and b/mods/ra/maps/Sahara.oramap differ diff --git a/mods/ra/maps/a-path-beyond.oramap b/mods/ra/maps/a-path-beyond.oramap index feaee12482..30969ee255 100644 Binary files a/mods/ra/maps/a-path-beyond.oramap and b/mods/ra/maps/a-path-beyond.oramap differ diff --git a/mods/ra/maps/alaska-anarchy-redux.oramap b/mods/ra/maps/alaska-anarchy-redux.oramap index e1ea7c5fc8..b78d31a6a6 100644 Binary files a/mods/ra/maps/alaska-anarchy-redux.oramap and b/mods/ra/maps/alaska-anarchy-redux.oramap differ diff --git a/mods/ra/maps/all-connected.oramap b/mods/ra/maps/all-connected.oramap index 850316b7b7..fbf536ea22 100644 Binary files a/mods/ra/maps/all-connected.oramap and b/mods/ra/maps/all-connected.oramap differ diff --git a/mods/ra/maps/allies-01/map.yaml b/mods/ra/maps/allies-01/map.yaml index b88288f2a3..11409fb653 100644 --- a/mods/ra/maps/allies-01/map.yaml +++ b/mods/ra/maps/allies-01/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@USSR: Name: USSR @@ -444,140 +446,6 @@ Actors: Location: 68,76 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: allies01.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: Rescue Einstein from the Headquarters inside this Soviet complex.\n\nOnce found, evacuate him via the helicopter at the signal flare.\n\nEinstein and Tanya must be kept alive at all costs.\n\nBeware the Soviet's Tesla Coils.\n\nDirect Tanya to destroy the westmost power plants to take them off-line. - BackgroundVideo: prolog.vqa - BriefingVideo: ally1.vqa - StartVideo: landing.vqa - WinVideo: snowbomb.vqa - LossVideo: bmap.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - TRAN.Extraction: - Inherits: TRAN - WithFacingSpriteBody: - RevealsShroud: - Range: 0c0 - RejectsOrders: - -Selectable: - Cargo: - Types: Einstein - MaxWeight: 1 - AutoSelectionSize: - RenderSprites: - Image: tran - TRAN.Insertion: - Inherits: TRAN.Extraction - WithFacingSpriteBody: - Cargo: - MaxWeight: 0 - AutoSelectionSize: - RenderSprites: - Image: tran - EINSTEIN: - Passenger: - CargoType: Einstein - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^CivInfantry: - RevealsShroud: - Range: 0c0 - C8: - Inherits@2: ^ArmedCivilian - AutoTarget: - JEEP: - Cargo: - Types: Infantry, Einstein - E7: - AutoTarget: - EnableStances: false - -AttackMove: - TSLA: - Power: - Amount: -150 - -Sequences: - -VoxelSequences: - -Weapons: - 8Inch: - Range: 25c0 - M60mg: - Range: 5c0 - ReloadDelay: 20 - Burst: 1 - Warhead: SpreadDamage - Damage: 20 - DamageTypes: Prone50Percent, TriggerProne, BulletDeath - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/allies-01/rules.yaml b/mods/ra/maps/allies-01/rules.yaml new file mode 100644 index 0000000000..f5780b550a --- /dev/null +++ b/mods/ra/maps/allies-01/rules.yaml @@ -0,0 +1,130 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: allies01.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: Rescue Einstein from the Headquarters inside this Soviet complex.\n\nOnce found, evacuate him via the helicopter at the signal flare.\n\nEinstein and Tanya must be kept alive at all costs.\n\nBeware the Soviet's Tesla Coils.\n\nDirect Tanya to destroy the westmost power plants to take them off-line. + BackgroundVideo: prolog.vqa + BriefingVideo: ally1.vqa + StartVideo: landing.vqa + WinVideo: snowbomb.vqa + LossVideo: bmap.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + +TRAN.Extraction: + Inherits: TRAN + WithFacingSpriteBody: + RevealsShroud: + Range: 0c0 + RejectsOrders: + -Selectable: + Cargo: + Types: Einstein + MaxWeight: 1 + AutoSelectionSize: + RenderSprites: + Image: tran + +TRAN.Insertion: + Inherits: TRAN.Extraction + WithFacingSpriteBody: + Cargo: + MaxWeight: 0 + AutoSelectionSize: + RenderSprites: + Image: tran + +EINSTEIN: + Passenger: + CargoType: Einstein + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^CivInfantry: + RevealsShroud: + Range: 0c0 + +C8: + Inherits@2: ^ArmedCivilian + AutoTarget: + +JEEP: + Cargo: + Types: Infantry, Einstein + +E7: + AutoTarget: + EnableStances: false + -AttackMove: + +TSLA: + Power: + Amount: -150 diff --git a/mods/ra/maps/allies-01/weapons.yaml b/mods/ra/maps/allies-01/weapons.yaml new file mode 100644 index 0000000000..3f94399b36 --- /dev/null +++ b/mods/ra/maps/allies-01/weapons.yaml @@ -0,0 +1,10 @@ +8Inch: + Range: 25c0 + +M60mg: + Range: 5c0 + ReloadDelay: 20 + Burst: 1 + Warhead: SpreadDamage + Damage: 20 + DamageTypes: Prone50Percent, TriggerProne, BulletDeath diff --git a/mods/ra/maps/allies-02/map.yaml b/mods/ra/maps/allies-02/map.yaml index 90d3eff867..2ede4354f2 100644 --- a/mods/ra/maps/allies-02/map.yaml +++ b/mods/ra/maps/allies-02/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@USSR: Name: USSR @@ -670,182 +672,6 @@ Actors: Location: 89,51 Owner: Neutral -Smudges: - cr1 60,79 0: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5700 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: allies02.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: A critical supply convoy is due through this area in 10 minutes, but Soviet forces have blocked the road in several places.\n\nUnless you can clear them out, those supplies will never make it to the front.\n\nThe convoy will come from the northwest, and time is short so work quickly. - BriefingVideo: ally2.vqa - StartVideo: mcv.vqa - WinVideo: montpass.vqa - LossVideo: frozen.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal, Hard, Real tough guy - ShortGameLocked: True - ShortGameEnabled: False - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - HARV: - Buildable: - Prerequisites: weap - APWR: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - SYRD: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - DOME: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - ATEK: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - HBOX: - Buildable: - Prerequisites: ~disabled - PBOX: - Buildable: - Prerequisites: ~disabled - GUN: - Buildable: - Prerequisites: ~disabled - AGUN: - Buildable: - Prerequisites: ~disabled - GAP: - Buildable: - Prerequisites: ~disabled - PDOX: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - E6: - Buildable: - Prerequisites: ~disabled - SPY: - Buildable: - Prerequisites: ~disabled - MECH: - Buildable: - Prerequisites: ~disabled - E7: - Buildable: - Prerequisites: ~disabled - FACF: - Buildable: - Prerequisites: ~disabled - WEAF: - Buildable: - Prerequisites: ~disabled - SYRF: - Buildable: - Prerequisites: ~disabled - DOMF: - Buildable: - Prerequisites: ~disabled - ATEF: - Buildable: - Prerequisites: ~disabled - MSLF: - Buildable: - Prerequisites: ~disabled - PDOF: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - M60mg: - Range: 5c0 - ReloadDelay: 20 - Burst: 1 - Warhead: SpreadDamage - Damage: 20 - DamageTypes: Prone50Percent, TriggerProne, BulletDeath - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/allies-02/rules.yaml b/mods/ra/maps/allies-02/rules.yaml new file mode 100644 index 0000000000..8ee60af3fd --- /dev/null +++ b/mods/ra/maps/allies-02/rules.yaml @@ -0,0 +1,195 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5700 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: allies02.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: A critical supply convoy is due through this area in 10 minutes, but Soviet forces have blocked the road in several places.\n\nUnless you can clear them out, those supplies will never make it to the front.\n\nThe convoy will come from the northwest, and time is short so work quickly. + BriefingVideo: ally2.vqa + StartVideo: mcv.vqa + WinVideo: montpass.vqa + LossVideo: frozen.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal, Hard, Real tough guy + ShortGameLocked: True + ShortGameEnabled: False + SmudgeLayer@CRATER: + InitialSmudges: + 60,79: cr1,0 + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +HARV: + Buildable: + Prerequisites: weap + +APWR: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +SYRD: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +DOME: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +ATEK: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +HBOX: + Buildable: + Prerequisites: ~disabled + +PBOX: + Buildable: + Prerequisites: ~disabled + +GUN: + Buildable: + Prerequisites: ~disabled + +AGUN: + Buildable: + Prerequisites: ~disabled + +GAP: + Buildable: + Prerequisites: ~disabled + +PDOX: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +E6: + Buildable: + Prerequisites: ~disabled + +SPY: + Buildable: + Prerequisites: ~disabled + +MECH: + Buildable: + Prerequisites: ~disabled + +E7: + Buildable: + Prerequisites: ~disabled + +FACF: + Buildable: + Prerequisites: ~disabled + +WEAF: + Buildable: + Prerequisites: ~disabled + +SYRF: + Buildable: + Prerequisites: ~disabled + +DOMF: + Buildable: + Prerequisites: ~disabled + +ATEF: + Buildable: + Prerequisites: ~disabled + +MSLF: + Buildable: + Prerequisites: ~disabled + +PDOF: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/allies-02/weapons.yaml b/mods/ra/maps/allies-02/weapons.yaml new file mode 100644 index 0000000000..d2b5afea76 --- /dev/null +++ b/mods/ra/maps/allies-02/weapons.yaml @@ -0,0 +1,7 @@ +M60mg: + Range: 5c0 + ReloadDelay: 20 + Burst: 1 + Warhead: SpreadDamage + Damage: 20 + DamageTypes: Prone50Percent, TriggerProne, BulletDeath diff --git a/mods/ra/maps/allies-03a/map.yaml b/mods/ra/maps/allies-03a/map.yaml index 3e1f711078..ad4a7361b9 100644 --- a/mods/ra/maps/allies-03a/map.yaml +++ b/mods/ra/maps/allies-03a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -1305,258 +1307,6 @@ Actors: Location: 59,72 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: allies03a.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: LANDCOM 16 HQS.\nTOP SECRET.\nTO: FIELD COMMANDER A9\n\nINTELLIGENCE RECON SHOWS HEAVY\nSOVIET MOVEMENT IN YOUR AREA.\nNEARBY BRIDGES ARE KEY TO SOVIET\nADVANCEMENT. DESTROY ALL BRIDGES\nASAP. TANYA WILL ASSIST. KEEP HER\nALIVE AT ALL COSTS.\n\nCONFIRMATION CODE 1612.\n\nTRANSMISSION ENDS.\n - StartVideo: brdgtilt.vqa - WinVideo: toofar.vqa - LossVideo: sovtstar.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Building: - Capturable: - CaptureThreshold: 0.25 - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^TechBuilding: - Capturable: - Type: ~disabled - ^CivBuilding: - Tooltip: - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - FCOM: - Tooltip: - ShowOwnerRow: false - powerproxy.paratroopers: - ParatroopersPower: - DropItems: E1,E1,E1,E2,E2 - HACKE6: - Inherits: E6 - -RepairsBridges: - -ExternalCaptures: - Captures: - CaptureTypes: building - Targetable: - UpgradeTypes: jail - UpgradeMaxEnabledLevel: 0 - Targetable@PRISONER: - TargetTypes: Prisoner - RenderSprites: - Image: E6 - MEDI: - Targetable: - UpgradeTypes: jail - UpgradeMaxEnabledLevel: 0 - Targetable@PRISONER: - TargetTypes: Prisoner - E7.noautotarget: - Inherits: E7 - AutoTarget: - EnableStances: false - -AttackMove: - RenderSprites: - Image: E7 - PRISON: - HiddenUnderShroud: - Type: CenterPosition - Immobile: - OccupiesSpace: false - UpgradeActorsNear: - Upgrades: jail - Range: 1c0 - CAMERA: - RevealsShroud: - Range: 8c7 - CAMERA.VeryLarge: - Inherits: CAMERA - RevealsShroud: - Range: 40c0 - MONEYCRATE: - Tooltip: - Name: Crate - WithCrateBody: - RenderSprites: - Image: scrate - E1.Autotarget: - Inherits: E1 - Buildable: - Prerequisites: ~disabled - RevealsShroud: - Range: 8c0 - AutoTarget: - ScanRadius: 7 - RenderSprites: - Image: E1 - E2.Autotarget: - Inherits: E2 - Buildable: - Prerequisites: ~disabled - RevealsShroud: - Range: 8c0 - AutoTarget: - ScanRadius: 7 - RenderSprites: - Image: E2 - DOG: - RevealsShroud: - Range: 9c0 - AutoTarget: - ScanRadius: 8 - DOME: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - APC: - Buildable: - Prerequisites: ~disabled - V2RL: - Buildable: - Prerequisites: ~disabled - 2TNK: - Buildable: - Prerequisites: ~disabled - 3TNK: - Buildable: - Prerequisites: ~disabled - 4TNK: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - MNLY.AP: - Buildable: - Prerequisites: ~disabled - TTNK: - Buildable: - Prerequisites: ~disabled - FTRK: - Buildable: - Prerequisites: ~disabled - DTRK: - Buildable: - Prerequisites: ~disabled - QTNK: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - SPEN: - Buildable: - Prerequisites: ~disabled - IRON: - Buildable: - Prerequisites: ~disabled - TSLA: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - AFLD: - Buildable: - Prerequisites: ~disabled - APWR: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - KENN: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - E6: - Buildable: - Prerequisites: ~disabled - SNIPER: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - BarrelExplode: - Warhead@1Dam: - ValidTargets: Ground, Prisoner - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/allies-03a/rules.yaml b/mods/ra/maps/allies-03a/rules.yaml new file mode 100644 index 0000000000..8e2a2a0f3b --- /dev/null +++ b/mods/ra/maps/allies-03a/rules.yaml @@ -0,0 +1,286 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: allies03a.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: LANDCOM 16 HQS.\nTOP SECRET.\nTO: FIELD COMMANDER A9\n\nINTELLIGENCE RECON SHOWS HEAVY\nSOVIET MOVEMENT IN YOUR AREA.\nNEARBY BRIDGES ARE KEY TO SOVIET\nADVANCEMENT. DESTROY ALL BRIDGES\nASAP. TANYA WILL ASSIST. KEEP HER\nALIVE AT ALL COSTS.\n\nCONFIRMATION CODE 1612.\n\nTRANSMISSION ENDS.\n + StartVideo: brdgtilt.vqa + WinVideo: toofar.vqa + LossVideo: sovtstar.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Building: + Capturable: + CaptureThreshold: 0.25 + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^TechBuilding: + Capturable: + Type: ~disabled + +^CivBuilding: + Tooltip: + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +FCOM: + Tooltip: + ShowOwnerRow: false + +powerproxy.paratroopers: + ParatroopersPower: + DropItems: E1,E1,E1,E2,E2 + +HACKE6: + Inherits: E6 + -RepairsBridges: + -ExternalCaptures: + Captures: + CaptureTypes: building + Targetable: + UpgradeTypes: jail + UpgradeMaxEnabledLevel: 0 + Targetable@PRISONER: + TargetTypes: Prisoner + RenderSprites: + Image: E6 + +MEDI: + Targetable: + UpgradeTypes: jail + UpgradeMaxEnabledLevel: 0 + Targetable@PRISONER: + TargetTypes: Prisoner + +E7.noautotarget: + Inherits: E7 + AutoTarget: + EnableStances: false + -AttackMove: + RenderSprites: + Image: E7 + +PRISON: + HiddenUnderShroud: + Type: CenterPosition + Immobile: + OccupiesSpace: false + UpgradeActorsNear: + Upgrades: jail + Range: 1c0 + +CAMERA: + RevealsShroud: + Range: 8c7 + +CAMERA.VeryLarge: + Inherits: CAMERA + RevealsShroud: + Range: 40c0 + +MONEYCRATE: + Tooltip: + Name: Crate + WithCrateBody: + RenderSprites: + Image: scrate + +E1.Autotarget: + Inherits: E1 + Buildable: + Prerequisites: ~disabled + RevealsShroud: + Range: 8c0 + AutoTarget: + ScanRadius: 7 + RenderSprites: + Image: E1 + +E2.Autotarget: + Inherits: E2 + Buildable: + Prerequisites: ~disabled + RevealsShroud: + Range: 8c0 + AutoTarget: + ScanRadius: 7 + RenderSprites: + Image: E2 + +DOG: + RevealsShroud: + Range: 9c0 + AutoTarget: + ScanRadius: 8 + +DOME: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +APC: + Buildable: + Prerequisites: ~disabled + +V2RL: + Buildable: + Prerequisites: ~disabled + +2TNK: + Buildable: + Prerequisites: ~disabled + +3TNK: + Buildable: + Prerequisites: ~disabled + +4TNK: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +MNLY.AP: + Buildable: + Prerequisites: ~disabled + +TTNK: + Buildable: + Prerequisites: ~disabled + +FTRK: + Buildable: + Prerequisites: ~disabled + +DTRK: + Buildable: + Prerequisites: ~disabled + +QTNK: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +SPEN: + Buildable: + Prerequisites: ~disabled + +IRON: + Buildable: + Prerequisites: ~disabled + +TSLA: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +AFLD: + Buildable: + Prerequisites: ~disabled + +APWR: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +KENN: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +E6: + Buildable: + Prerequisites: ~disabled + +SNIPER: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/allies-03a/weapons.yaml b/mods/ra/maps/allies-03a/weapons.yaml new file mode 100644 index 0000000000..a8004c0566 --- /dev/null +++ b/mods/ra/maps/allies-03a/weapons.yaml @@ -0,0 +1,3 @@ +BarrelExplode: + Warhead@1Dam: + ValidTargets: Ground, Prisoner diff --git a/mods/ra/maps/allies-03b/map.yaml b/mods/ra/maps/allies-03b/map.yaml index bebf9c3b25..098c3cc96a 100644 --- a/mods/ra/maps/allies-03b/map.yaml +++ b/mods/ra/maps/allies-03b/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -1200,249 +1202,6 @@ Actors: Location: 83,94 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: allies03b.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: LANDCOM 16 HQS.\nTOP SECRET.\nTO: FIELD COMMANDER A9\n\nINTELLIGENCE RECON SHOWS HEAVY\nSOVIET MOVEMENT IN YOUR AREA.\nNEARBY BRIDGES ARE KEY TO SOVIET\nADVANCEMENT. DESTROY ALL BRIDGES\nASAP. TANYA WILL ASSIST. KEEP HER\nALIVE AT ALL COSTS.\n\nCONFIRMATION CODE 1612.\n\nTRANSMISSION ENDS.\n - StartVideo: brdgtilt.vqa - WinVideo: toofar.vqa - LossVideo: sovtstar.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Building: - Capturable: - CaptureThreshold: 0.25 - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^TechBuilding: - Capturable: - Type: ~disabled - ^CivBuilding: - Tooltip: - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - FCOM: - Tooltip: - ShowOwnerRow: false - powerproxy.paratroopers: - ParatroopersPower: - DropItems: E1,E1,E1,E2,E2 - HACKE6: - Inherits: E6 - -RepairsBridges: - -ExternalCaptures: - Captures: - CaptureTypes: building - WithInfantryBody: - Targetable: - UpgradeTypes: jail - UpgradeMaxEnabledLevel: 0 - Targetable@PRISONER: - TargetTypes: Prisoner - RenderSprites: - Image: E6 - MEDI: - Targetable: - UpgradeTypes: jail - UpgradeMaxEnabledLevel: 0 - Targetable@PRISONER: - TargetTypes: Prisoner - E7.noautotarget: - Inherits: E7 - AutoTarget: - EnableStances: false - -AttackMove: - RenderSprites: - Image: E7 - PRISON: - HiddenUnderShroud: - Type: CenterPosition - Immobile: - OccupiesSpace: false - UpgradeActorsNear: - Upgrades: jail - Range: 1c0 - CAMERA: - RevealsShroud: - Range: 8c5 - FTUR: - DetectCloaked: - Range: 0 - DOME: - DetectCloaked: - Range: 0 - CAMERA.VeryLarge: - Inherits: CAMERA - RevealsShroud: - Range: 40c0 - CAMERA.Jeep: - AlwaysVisible: - Mobile: - TerrainSpeeds: - RevealsShroud: - Range: 4c0 - ScriptTriggers: - MONEYCRATE: - Tooltip: - Name: Crate - WithCrateBody: - RenderSprites: - Image: scrate - E1.Autotarget: - Inherits: E1 - Buildable: - Prerequisites: ~disabled - RevealsShroud: - Range: 8c0 - AutoTarget: - ScanRadius: 7 - RenderSprites: - Image: E1 - E2.Autotarget: - Inherits: E2 - Buildable: - Prerequisites: ~disabled - RevealsShroud: - Range: 8c0 - AutoTarget: - ScanRadius: 7 - RenderSprites: - Image: E2 - DOG: - Buildable: - Prerequisites: ~disabled - RevealsShroud: - Range: 9c0 - AutoTarget: - ScanRadius: 8 - TRUK: - -Demolishable: - Armor: - Type: Truk - TRAN: - RejectsOrders: - -Selectable: - RevealsShroud: - Range: 0c0 - Cargo: - Types: ~disabled - Tooltip: - ShowOwnerRow: false - LST: - Tooltip: - ShowOwnerRow: false - JEEP.mission: - Inherits: JEEP - -Selectable: - -Demolishable: - -Huntable: - -Targetable: - -Armament: - -WithSpriteTurret: - -WithMuzzleOverlay: - Cargo: - Types: ~disabled - RevealsShroud: - Range: 0c0 - RenderSprites: - Image: JEEP - E3: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - E6: - Buildable: - Prerequisites: ~disabled - SNIPER: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - SS: - Buildable: - Prerequisites: ~disabled - MSUB: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - Colt45: - Warhead@1Dam: SpreadDamage - Versus: - Truk: 50 - FireballLauncher: - Projectile: - High: True - BarrelExplode: - Warhead@1Dam: - ValidTargets: Ground, Prisoner - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/allies-03b/rules.yaml b/mods/ra/maps/allies-03b/rules.yaml new file mode 100644 index 0000000000..23e17388c3 --- /dev/null +++ b/mods/ra/maps/allies-03b/rules.yaml @@ -0,0 +1,256 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: allies03b.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: LANDCOM 16 HQS.\nTOP SECRET.\nTO: FIELD COMMANDER A9\n\nINTELLIGENCE RECON SHOWS HEAVY\nSOVIET MOVEMENT IN YOUR AREA.\nNEARBY BRIDGES ARE KEY TO SOVIET\nADVANCEMENT. DESTROY ALL BRIDGES\nASAP. TANYA WILL ASSIST. KEEP HER\nALIVE AT ALL COSTS.\n\nCONFIRMATION CODE 1612.\n\nTRANSMISSION ENDS.\n + StartVideo: brdgtilt.vqa + WinVideo: toofar.vqa + LossVideo: sovtstar.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Building: + Capturable: + CaptureThreshold: 0.25 + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^TechBuilding: + Capturable: + Type: ~disabled + +^CivBuilding: + Tooltip: + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +FCOM: + Tooltip: + ShowOwnerRow: false + +powerproxy.paratroopers: + ParatroopersPower: + DropItems: E1,E1,E1,E2,E2 + +HACKE6: + Inherits: E6 + -RepairsBridges: + -ExternalCaptures: + Captures: + CaptureTypes: building + WithInfantryBody: + Targetable: + UpgradeTypes: jail + UpgradeMaxEnabledLevel: 0 + Targetable@PRISONER: + TargetTypes: Prisoner + RenderSprites: + Image: E6 + +MEDI: + Targetable: + UpgradeTypes: jail + UpgradeMaxEnabledLevel: 0 + Targetable@PRISONER: + TargetTypes: Prisoner + +E7.noautotarget: + Inherits: E7 + AutoTarget: + EnableStances: false + -AttackMove: + RenderSprites: + Image: E7 + +PRISON: + HiddenUnderShroud: + Type: CenterPosition + Immobile: + OccupiesSpace: false + UpgradeActorsNear: + Upgrades: jail + Range: 1c0 + +CAMERA: + RevealsShroud: + Range: 8c5 + +FTUR: + DetectCloaked: + Range: 0 + +DOME: + DetectCloaked: + Range: 0 + +CAMERA.VeryLarge: + Inherits: CAMERA + RevealsShroud: + Range: 40c0 + +CAMERA.Jeep: + AlwaysVisible: + Mobile: + TerrainSpeeds: + RevealsShroud: + Range: 4c0 + ScriptTriggers: + +MONEYCRATE: + Tooltip: + Name: Crate + WithCrateBody: + RenderSprites: + Image: scrate + +E1.Autotarget: + Inherits: E1 + Buildable: + Prerequisites: ~disabled + RevealsShroud: + Range: 8c0 + AutoTarget: + ScanRadius: 7 + RenderSprites: + Image: E1 + +E2.Autotarget: + Inherits: E2 + Buildable: + Prerequisites: ~disabled + RevealsShroud: + Range: 8c0 + AutoTarget: + ScanRadius: 7 + RenderSprites: + Image: E2 + +DOG: + Buildable: + Prerequisites: ~disabled + RevealsShroud: + Range: 9c0 + AutoTarget: + ScanRadius: 8 + +TRUK: + -Demolishable: + Armor: + Type: Truk + +TRAN: + RejectsOrders: + -Selectable: + RevealsShroud: + Range: 0c0 + Cargo: + Types: ~disabled + Tooltip: + ShowOwnerRow: false + +LST: + Tooltip: + ShowOwnerRow: false + +JEEP.mission: + Inherits: JEEP + -Selectable: + -Demolishable: + -Huntable: + -Targetable: + -Armament: + -WithSpriteTurret: + -WithMuzzleOverlay: + Cargo: + Types: ~disabled + RevealsShroud: + Range: 0c0 + RenderSprites: + Image: JEEP + +E3: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +E6: + Buildable: + Prerequisites: ~disabled + +SNIPER: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +SS: + Buildable: + Prerequisites: ~disabled + +MSUB: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/allies-03b/weapons.yaml b/mods/ra/maps/allies-03b/weapons.yaml new file mode 100644 index 0000000000..9306e53705 --- /dev/null +++ b/mods/ra/maps/allies-03b/weapons.yaml @@ -0,0 +1,12 @@ +Colt45: + Warhead@1Dam: SpreadDamage + Versus: + Truk: 50 + +FireballLauncher: + Projectile: + High: True + +BarrelExplode: + Warhead@1Dam: + ValidTargets: Ground, Prisoner diff --git a/mods/ra/maps/allies-05a/map.yaml b/mods/ra/maps/allies-05a/map.yaml index 10143d10c5..02b166391d 100644 --- a/mods/ra/maps/allies-05a/map.yaml +++ b/mods/ra/maps/allies-05a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -1559,300 +1561,8 @@ Actors: Owner: Neutral Location: 63,63 -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: allies05a.lua, allies05a-AI.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: Rescue Tanya.\n\nOnce disguised, your spy can move past any enemy unit, except dogs, without being detected. Direct him into the weapons factory located at a nearby Soviet Base where he will hijack a truck and free Tanya.\n\nWith Tanya's help, take out the air defenses on the island and a Chinook will arrive to rescue her.\n\nThen destroy all remaining Soviet buildings and units. - BriefingVideo: ally5.vqa - StartVideo: tanya1.vqa - WinVideo: tanya2.vqa - LossVideo: grvestne.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Medium - Difficulties: Easy, Normal, Hard, Real tough guy - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - Camera.Truk: - AlwaysVisible: - Mobile: - TerrainSpeeds: - RevealsShroud: - Range: 4c0 - ScriptTriggers: - FTUR: - DetectCloaked: - Range: 0 - TSLA: - DetectCloaked: - Range: 0 - Buildable: - Prerequisites: ~disabled - SAM: - DetectCloaked: - Range: 0 - Buildable: - Prerequisites: ~disabled - LST: - -Selectable: - Targetable: - TargetTypes: Ground, Water - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - LST.IN: - Inherits: LST - RenderSprites: - Image: LST - Cargo: - Types: disabled - TRAN: - -Selectable: - RevealsShroud: - Range: 4c0 - Tooltip: - ShowOwnerRow: false - Targetable@GROUND: - TargetTypes: Ground - TRAN.IN: - Inherits: TRAN - RenderSprites: - Image: TRAN - Cargo: - Types: disabled - FLARE: - Tooltip: - ShowOwnerRow: false - TRUK.mission: - Inherits: TRUK - Buildable: - Prerequisites: ~disabled - WithFacingSpriteBody: - -SpawnActorOnDeath: - -EjectOnDeath: - RenderSprites: - Image: TRUK - SPY: - Infiltrates: - Types: Mission Objectives - DisguiseToolTip: - ShowOwnerRow: false - WEAP: - -InfiltrateForSupportPower: - Targetable: - TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives - MISS: - Tooltip: - Name: Prison - ShowOwnerRow: False - Targetable: - TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives - E7.noautotarget: - Inherits: E7 - AutoTarget: - EnableStances: false - -AttackMove: - RenderSprites: - Image: E7 - Colt: - Inherits: ^Defense - AutoTargetIgnore: - Valued: - Cost: 800 - Building: - Footprint: _ x - Dimensions: 1,2 - Health: - HP: 400 - Armor: - Type: Heavy - RevealsShroud: - Range: 0c0 - Turreted: - TurnSpeed: 15 - InitialFacing: 224 - RenderSprites: - Image: AGUN - WithTurretedSpriteBody: - Armament: - Weapon: MissionColt - LocalOffset: 432,150,-30, 432,-150,-30 - AttackTurreted: - AutoTarget: - -Selectable: - -Huntable: - E1.Autotarget: - Inherits: E1 - Buildable: - Prerequisites: ~disabled - RevealsShroud: - Range: 8c0 - AutoTarget: - ScanRadius: 7 - RenderSprites: - Image: E1 - E2.Autotarget: - Inherits: E2 - Buildable: - Prerequisites: ~disabled - RevealsShroud: - Range: 8c0 - AutoTarget: - ScanRadius: 7 - RenderSprites: - Image: E2 - AFLD: - AirstrikePower@spyplane: - Prerequisites: ~disabled - ParatroopersPower@paratroopers: - Prerequisites: ~disabled - FCOM: - MustBeDestroyed: - Tooltip: - ShowOwnerRow: false - 4TNK: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - MNLY.AP: - Buildable: - Prerequisites: ~disabled - TTNK: - Buildable: - Prerequisites: ~disabled - FTRK: - Buildable: - Prerequisites: ~disabled - DTRK: - Buildable: - Prerequisites: ~disabled - QTNK: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - SPEN: - Buildable: - Prerequisites: ~disabled - IRON: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - E6: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - MIG: - Buildable: - Prerequisites: ~disabled +Weapons: weapons.yaml -Sequences: - -VoxelSequences: - -Weapons: - MissionColt: - ReloadDelay: 6 - Range: 7c0 - Report: gun5.aud - Projectile: Bullet - High: true - Speed: 1c682 - Warhead@1Dam: SpreadDamage - Spread: 42 - Damage: 50 - Versus: - None: 0 - Wood: 10 - Light: 0 - Heavy: 0 - Concrete: 0 - DamageTypes: Prone50Percent, TriggerProne, BulletDeath - Warhead@2Eff: CreateEffect - Explosions: piffs - InvalidImpactTypes: Water - -Voices: - -Music: - -Notifications: - Sounds: - Notifications: - bombit: bombit1 - laugh: laugh1 - gotit: gotit1 - lefty: lefty1 - keepem: keepem1 - tuffguy: tuffguy1 - sking: sking1 - -Translations: +Notifications: notifications.yaml diff --git a/mods/ra/maps/allies-05a/notifications.yaml b/mods/ra/maps/allies-05a/notifications.yaml new file mode 100644 index 0000000000..6a7d9a5e79 --- /dev/null +++ b/mods/ra/maps/allies-05a/notifications.yaml @@ -0,0 +1,9 @@ +Sounds: + Notifications: + bombit: bombit1 + laugh: laugh1 + gotit: gotit1 + lefty: lefty1 + keepem: keepem1 + tuffguy: tuffguy1 + sking: sking1 \ No newline at end of file diff --git a/mods/ra/maps/allies-05a/rules.yaml b/mods/ra/maps/allies-05a/rules.yaml new file mode 100644 index 0000000000..949df73b74 --- /dev/null +++ b/mods/ra/maps/allies-05a/rules.yaml @@ -0,0 +1,294 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: allies05a.lua, allies05a-AI.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: Rescue Tanya.\n\nOnce disguised, your spy can move past any enemy unit, except dogs, without being detected. Direct him into the weapons factory located at a nearby Soviet Base where he will hijack a truck and free Tanya.\n\nWith Tanya's help, take out the air defenses on the island and a Chinook will arrive to rescue her.\n\nThen destroy all remaining Soviet buildings and units. + BriefingVideo: ally5.vqa + StartVideo: tanya1.vqa + WinVideo: tanya2.vqa + LossVideo: grvestne.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Medium + Difficulties: Easy, Normal, Hard, Real tough guy + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +Camera.Truk: + AlwaysVisible: + Mobile: + TerrainSpeeds: + RevealsShroud: + Range: 4c0 + ScriptTriggers: + +FTUR: + DetectCloaked: + Range: 0 + +TSLA: + DetectCloaked: + Range: 0 + Buildable: + Prerequisites: ~disabled + +SAM: + DetectCloaked: + Range: 0 + Buildable: + Prerequisites: ~disabled + +LST: + -Selectable: + Targetable: + TargetTypes: Ground, Water + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +LST.IN: + Inherits: LST + RenderSprites: + Image: LST + Cargo: + Types: disabled + +TRAN: + -Selectable: + RevealsShroud: + Range: 4c0 + Tooltip: + ShowOwnerRow: false + Targetable@GROUND: + TargetTypes: Ground + +TRAN.IN: + Inherits: TRAN + RenderSprites: + Image: TRAN + Cargo: + Types: disabled + +FLARE: + Tooltip: + ShowOwnerRow: false + +TRUK.mission: + Inherits: TRUK + Buildable: + Prerequisites: ~disabled + WithFacingSpriteBody: + -SpawnActorOnDeath: + -EjectOnDeath: + RenderSprites: + Image: TRUK + +SPY: + Infiltrates: + Types: Mission Objectives + DisguiseToolTip: + ShowOwnerRow: false + +WEAP: + -InfiltrateForSupportPower: + Targetable: + TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives + +MISS: + Tooltip: + Name: Prison + ShowOwnerRow: False + Targetable: + TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives + +E7.noautotarget: + Inherits: E7 + AutoTarget: + EnableStances: false + -AttackMove: + RenderSprites: + Image: E7 + +Colt: + Inherits: ^Defense + AutoTargetIgnore: + Valued: + Cost: 800 + Building: + Footprint: _ x + Dimensions: 1,2 + Health: + HP: 400 + Armor: + Type: Heavy + RevealsShroud: + Range: 0c0 + Turreted: + TurnSpeed: 15 + InitialFacing: 224 + RenderSprites: + Image: AGUN + WithTurretedSpriteBody: + Armament: + Weapon: MissionColt + LocalOffset: 432,150,-30, 432,-150,-30 + AttackTurreted: + AutoTarget: + -Selectable: + -Huntable: + +E1.Autotarget: + Inherits: E1 + Buildable: + Prerequisites: ~disabled + RevealsShroud: + Range: 8c0 + AutoTarget: + ScanRadius: 7 + RenderSprites: + Image: E1 + +E2.Autotarget: + Inherits: E2 + Buildable: + Prerequisites: ~disabled + RevealsShroud: + Range: 8c0 + AutoTarget: + ScanRadius: 7 + RenderSprites: + Image: E2 + +AFLD: + AirstrikePower@spyplane: + Prerequisites: ~disabled + ParatroopersPower@paratroopers: + Prerequisites: ~disabled + +FCOM: + MustBeDestroyed: + Tooltip: + ShowOwnerRow: false + +4TNK: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +MNLY.AP: + Buildable: + Prerequisites: ~disabled + +TTNK: + Buildable: + Prerequisites: ~disabled + +FTRK: + Buildable: + Prerequisites: ~disabled + +DTRK: + Buildable: + Prerequisites: ~disabled + +QTNK: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +SPEN: + Buildable: + Prerequisites: ~disabled + +IRON: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +E6: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +MIG: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/allies-05a/weapons.yaml b/mods/ra/maps/allies-05a/weapons.yaml new file mode 100644 index 0000000000..9bbbfec9d0 --- /dev/null +++ b/mods/ra/maps/allies-05a/weapons.yaml @@ -0,0 +1,20 @@ +MissionColt: + ReloadDelay: 6 + Range: 7c0 + Report: gun5.aud + Projectile: Bullet + High: true + Speed: 1c682 + Warhead@1Dam: SpreadDamage + Spread: 42 + Damage: 50 + Versus: + None: 0 + Wood: 10 + Light: 0 + Heavy: 0 + Concrete: 0 + DamageTypes: Prone50Percent, TriggerProne, BulletDeath + Warhead@2Eff: CreateEffect + Explosions: piffs + InvalidImpactTypes: Water diff --git a/mods/ra/maps/arctic-triangle-affair.oramap b/mods/ra/maps/arctic-triangle-affair.oramap index c2ee3ceb25..5c91e8fc7b 100644 Binary files a/mods/ra/maps/arctic-triangle-affair.oramap and b/mods/ra/maps/arctic-triangle-affair.oramap differ diff --git a/mods/ra/maps/asymmetric-battle.oramap b/mods/ra/maps/asymmetric-battle.oramap index 300e876980..a3336b0cbc 100644 Binary files a/mods/ra/maps/asymmetric-battle.oramap and b/mods/ra/maps/asymmetric-battle.oramap differ diff --git a/mods/ra/maps/bad-neighbors.oramap b/mods/ra/maps/bad-neighbors.oramap index a993924bd3..38f0844090 100644 Binary files a/mods/ra/maps/bad-neighbors.oramap and b/mods/ra/maps/bad-neighbors.oramap differ diff --git a/mods/ra/maps/barracuda.oramap b/mods/ra/maps/barracuda.oramap index 029f0e0482..a10b20cb60 100644 Binary files a/mods/ra/maps/barracuda.oramap and b/mods/ra/maps/barracuda.oramap differ diff --git a/mods/ra/maps/behind-the-veil.oramap b/mods/ra/maps/behind-the-veil.oramap index 93da8951da..b7bfedc6e3 100644 Binary files a/mods/ra/maps/behind-the-veil.oramap and b/mods/ra/maps/behind-the-veil.oramap differ diff --git a/mods/ra/maps/blitzkrieg.oramap b/mods/ra/maps/blitzkrieg.oramap index d9c480fba4..c16e9f0b66 100644 Binary files a/mods/ra/maps/blitzkrieg.oramap and b/mods/ra/maps/blitzkrieg.oramap differ diff --git a/mods/ra/maps/bloody-delta.oramap b/mods/ra/maps/bloody-delta.oramap index 307ec942cc..402dc17442 100644 Binary files a/mods/ra/maps/bloody-delta.oramap and b/mods/ra/maps/bloody-delta.oramap differ diff --git a/mods/ra/maps/bombardment-islands.oramap b/mods/ra/maps/bombardment-islands.oramap index 4b5a452eec..da82fcae87 100644 Binary files a/mods/ra/maps/bombardment-islands.oramap and b/mods/ra/maps/bombardment-islands.oramap differ diff --git a/mods/ra/maps/bomber-john/map.png b/mods/ra/maps/bomber-john/map.png new file mode 100644 index 0000000000..c01122ce62 Binary files /dev/null and b/mods/ra/maps/bomber-john/map.png differ diff --git a/mods/ra/maps/bomber-john/map.yaml b/mods/ra/maps/bomber-john/map.yaml index 389921b4f9..7789a3ccae 100644 --- a/mods/ra/maps/bomber-john/map.yaml +++ b/mods/ra/maps/bomber-john/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -752,227 +752,6 @@ Actors: Location: 27,18 Owner: Multi7 -Smudges: +Rules: rules.yaml -Rules: - World: - -CrateSpawner: - -SpawnMPUnits: - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Unrestricted - APWR: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - BARR: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - POWR: - Buildable: - Prerequisites: ~disabled - AFLD: - Buildable: - Prerequisites: ~disabled - PROC: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - DOME: - Buildable: - Prerequisites: ~disabled - SPEN: - Buildable: - Prerequisites: ~disabled - SILO: - Buildable: - Prerequisites: ~disabled - Player: - ClassicProductionQueue@Building: - BuildSpeed: 0.4 - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 60 - MNLYR: - Inherits: ^Tank - Buildable: - Queue: Vehicle - BuildPaletteOrder: 30 - Prerequisites: fix - Valued: - Cost: 800 - Tooltip: - Name: Bomber - Description: Lays mines to destroy unwary enemy units.\n Unarmed - Health: - HP: 500 - Armor: - Type: Heavy - Mobile: - Speed: 128 - WaitAverage: 1 - WaitSpread: 1 - TurnSpeed: 900 - RevealsShroud: - Range: 40c0 - MustBeDestroyed: - RequiredForShortGame: true - Transforms: - IntoActor: ftur - Offset: 0,0 - Facing: 96 - CashTrickler: - Period: 150 - Amount: 20 - RenderSprites: - Image: MNLY - Chronoshiftable: - ReturnToOrigin: false - FTUR: - Health: - HP: 1000 - Transforms: - IntoActor: mnlyr - Offset: 0,0 - Facing: 96 - MustBeDestroyed: - RequiredForShortGame: true - CashTrickler: - Period: 150 - Amount: 30 - ChronoshiftPower: - Icon: chrono - ChargeTime: 60 - Description: Chronoshift - LongDesc: Teleport a group of vehicles across\nthe map. - SelectTargetSound: slcttgt1.aud - BeginChargeSound: chrochr1.aud - EndChargeSound: chrordy1.aud - Range: 3 - GrantUpgradePower@IRONCURTAIN: - Icon: invuln - ChargeTime: 30 - Description: Invulnerability - LongDesc: Makes a unit invulnerable\nfor 3 seconds. - Duration: 75 - SelectTargetSound: slcttgt1.aud - BeginChargeSound: ironchg1.aud - EndChargeSound: ironrdy1.aud - Range: 1 - Upgrades: invulnerability - GrantUpgradeSequence: idle - Power: - Amount: 0 - MINVV: - Inherits@1: ^SpriteActor - HiddenUnderFog: - Building: - Adjacent: 99 - TerrainTypes: Clear,Road - ProvidesPrerequisite: - Prerequisite: MNLYVV - Buildable: - Queue: Building - BuildPaletteOrder: 30 - Valued: - Cost: 30 - Health: - HP: 200 - RenderSprites: - Image: miner - WithSpriteBody: - Tooltip: - Name: Bomb - Description: Bomb (Hotkey B) - SelfHealing: - Step: -1 - Ticks: 1 - HealIfBelow: 101% - DamageCooldown: 0 - Explodes: - Weapon: CrateNuke - EmptyWeapon: CrateNuke - T17: - Health: - HP: 999999999 - Building: - Adjacent: 99 - GivesBuildableArea: - Production: - Produces: Building - BaseBuilding: - Tooltip: - Name: Tree - ChronoshiftPower: - Icon: chrono - ChargeTime: 60 - Description: Chronoshift - LongDesc: Teleport a group of vehicles across\nthe map. - SelectTargetSound: slcttgt1.aud - BeginChargeSound: chrochr1.aud - EndChargeSound: chrordy1.aud - Duration: 999999 - KillCargo: yes - Range: 3 - GrantUpgradePower@IRONCURTAIN: - Icon: invuln - ChargeTime: 30 - Description: Invulnerability - LongDesc: Makes a unit invulnerable\nfor 3 seconds. - Duration: 75 - SelectTargetSound: slcttgt1.aud - BeginChargeSound: ironchg1.aud - EndChargeSound: ironrdy1.aud - Range: 1 - Upgrades: invulnerability - GrantUpgradeSequence: idle - -Sequences: - miner: - idle: - Start: 0 - Length: 1 - ZOffset: -512 - damaged-idle: - Start: 1 - Length: * - ZOffset: -512 - damaged-build: - Start: 1 - Length: * - ZOffset: -512 - icon: jmin - Start: 0 - mnlyr: - icon: mnlyicon - brick: - idle: - Start: 0 - Length: * - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Sequences: sequences.yaml diff --git a/mods/ra/maps/bomber-john/rules.yaml b/mods/ra/maps/bomber-john/rules.yaml new file mode 100644 index 0000000000..26d240969d --- /dev/null +++ b/mods/ra/maps/bomber-john/rules.yaml @@ -0,0 +1,202 @@ +World: + -CrateSpawner: + -SpawnMPUnits: + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Unrestricted + +APWR: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +BARR: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +POWR: + Buildable: + Prerequisites: ~disabled + +AFLD: + Buildable: + Prerequisites: ~disabled + +PROC: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +DOME: + Buildable: + Prerequisites: ~disabled + +SPEN: + Buildable: + Prerequisites: ~disabled + +SILO: + Buildable: + Prerequisites: ~disabled + +Player: + ClassicProductionQueue@Building: + BuildSpeed: 0.4 + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 60 + +MNLYR: + Inherits: ^Tank + Buildable: + Queue: Vehicle + BuildPaletteOrder: 30 + Prerequisites: fix + Valued: + Cost: 800 + Tooltip: + Name: Bomber + Description: Lays mines to destroy unwary enemy units.\n Unarmed + Health: + HP: 500 + Armor: + Type: Heavy + Mobile: + Speed: 128 + WaitAverage: 1 + WaitSpread: 1 + TurnSpeed: 900 + RevealsShroud: + Range: 40c0 + MustBeDestroyed: + RequiredForShortGame: true + Transforms: + IntoActor: ftur + Offset: 0,0 + Facing: 96 + CashTrickler: + Period: 150 + Amount: 20 + RenderSprites: + Image: MNLY + Chronoshiftable: + ReturnToOrigin: false + +FTUR: + Health: + HP: 1000 + Transforms: + IntoActor: mnlyr + Offset: 0,0 + Facing: 96 + MustBeDestroyed: + RequiredForShortGame: true + CashTrickler: + Period: 150 + Amount: 30 + ChronoshiftPower: + Icon: chrono + ChargeTime: 60 + Description: Chronoshift + LongDesc: Teleport a group of vehicles across\nthe map. + SelectTargetSound: slcttgt1.aud + BeginChargeSound: chrochr1.aud + EndChargeSound: chrordy1.aud + Range: 3 + GrantUpgradePower@IRONCURTAIN: + Icon: invuln + ChargeTime: 30 + Description: Invulnerability + LongDesc: Makes a unit invulnerable\nfor 3 seconds. + Duration: 75 + SelectTargetSound: slcttgt1.aud + BeginChargeSound: ironchg1.aud + EndChargeSound: ironrdy1.aud + Range: 1 + Upgrades: invulnerability + GrantUpgradeSequence: idle + Power: + Amount: 0 + +MINVV: + Inherits@1: ^SpriteActor + HiddenUnderFog: + Building: + Adjacent: 99 + TerrainTypes: Clear,Road + ProvidesPrerequisite: + Prerequisite: MNLYVV + Buildable: + Queue: Building + BuildPaletteOrder: 30 + Valued: + Cost: 30 + Health: + HP: 200 + RenderSprites: + Image: miner + WithSpriteBody: + Tooltip: + Name: Bomb + Description: Bomb (Hotkey B) + SelfHealing: + Step: -1 + Ticks: 1 + HealIfBelow: 101% + DamageCooldown: 0 + Explodes: + Weapon: CrateNuke + EmptyWeapon: CrateNuke + +T17: + Health: + HP: 999999999 + Building: + Adjacent: 99 + GivesBuildableArea: + Production: + Produces: Building + BaseBuilding: + Tooltip: + Name: Tree + ChronoshiftPower: + Icon: chrono + ChargeTime: 60 + Description: Chronoshift + LongDesc: Teleport a group of vehicles across\nthe map. + SelectTargetSound: slcttgt1.aud + BeginChargeSound: chrochr1.aud + EndChargeSound: chrordy1.aud + Duration: 999999 + KillCargo: yes + Range: 3 + GrantUpgradePower@IRONCURTAIN: + Icon: invuln + ChargeTime: 30 + Description: Invulnerability + LongDesc: Makes a unit invulnerable\nfor 3 seconds. + Duration: 75 + SelectTargetSound: slcttgt1.aud + BeginChargeSound: ironchg1.aud + EndChargeSound: ironrdy1.aud + Range: 1 + Upgrades: invulnerability + GrantUpgradeSequence: idle diff --git a/mods/ra/maps/bomber-john/sequences.yaml b/mods/ra/maps/bomber-john/sequences.yaml new file mode 100644 index 0000000000..f3180460d3 --- /dev/null +++ b/mods/ra/maps/bomber-john/sequences.yaml @@ -0,0 +1,21 @@ +miner: + idle: + Start: 0 + Length: 1 + ZOffset: -512 + damaged-idle: + Start: 1 + Length: * + ZOffset: -512 + damaged-build: + Start: 1 + Length: * + ZOffset: -512 + icon: jmin + Start: 0 +mnlyr: + icon: mnlyicon +brick: + idle: + Start: 0 + Length: * \ No newline at end of file diff --git a/mods/ra/maps/breaking-point.oramap b/mods/ra/maps/breaking-point.oramap index f3f1eac20e..22d0d3f827 100644 Binary files a/mods/ra/maps/breaking-point.oramap and b/mods/ra/maps/breaking-point.oramap differ diff --git a/mods/ra/maps/burlesca/map.png b/mods/ra/maps/burlesca/map.png new file mode 100644 index 0000000000..023ee43b40 Binary files /dev/null and b/mods/ra/maps/burlesca/map.png differ diff --git a/mods/ra/maps/burlesca/map.yaml b/mods/ra/maps/burlesca/map.yaml index 39c179cb14..f93192d146 100644 --- a/mods/ra/maps/burlesca/map.yaml +++ b/mods/ra/maps/burlesca/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -209,21 +209,3 @@ Actors: Actor54: mine Location: 6,19 Owner: Neutral - -Smudges: - -Rules: - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: diff --git a/mods/ra/maps/calm-before-storm.oramap b/mods/ra/maps/calm-before-storm.oramap index 4aba20692c..e4665077cc 100644 Binary files a/mods/ra/maps/calm-before-storm.oramap and b/mods/ra/maps/calm-before-storm.oramap differ diff --git a/mods/ra/maps/center-of-attention-redux-2/map.png b/mods/ra/maps/center-of-attention-redux-2/map.png new file mode 100644 index 0000000000..ee2b7e5616 Binary files /dev/null and b/mods/ra/maps/center-of-attention-redux-2/map.png differ diff --git a/mods/ra/maps/center-of-attention-redux-2/map.yaml b/mods/ra/maps/center-of-attention-redux-2/map.yaml index e1bbb86568..4326c8a3c9 100644 --- a/mods/ra/maps/center-of-attention-redux-2/map.yaml +++ b/mods/ra/maps/center-of-attention-redux-2/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -880,32 +880,4 @@ Actors: Location: 121,96 Owner: Creeps -Smudges: - -Rules: - OILB.Strong: - Inherits: OILB - Health: - HP: 6000 - RenderSprites: - Image: OILB - OILB.Weak: - Inherits: OILB - Health: - HP: 900 - RenderSprites: - Image: OILB - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/center-of-attention-redux-2/rules.yaml b/mods/ra/maps/center-of-attention-redux-2/rules.yaml new file mode 100644 index 0000000000..21b5101701 --- /dev/null +++ b/mods/ra/maps/center-of-attention-redux-2/rules.yaml @@ -0,0 +1,13 @@ +OILB.Strong: + Inherits: OILB + Health: + HP: 6000 + RenderSprites: + Image: OILB + +OILB.Weak: + Inherits: OILB + Health: + HP: 900 + RenderSprites: + Image: OILB diff --git a/mods/ra/maps/central-conflict.oramap b/mods/ra/maps/central-conflict.oramap index e4cdb06c45..95e67142dc 100644 Binary files a/mods/ra/maps/central-conflict.oramap and b/mods/ra/maps/central-conflict.oramap differ diff --git a/mods/ra/maps/chaos-canyon.oramap b/mods/ra/maps/chaos-canyon.oramap index b78274c4df..c4e67507e3 100644 Binary files a/mods/ra/maps/chaos-canyon.oramap and b/mods/ra/maps/chaos-canyon.oramap differ diff --git a/mods/ra/maps/chokepoint.oramap b/mods/ra/maps/chokepoint.oramap index ed013b8edc..324a33fe7e 100644 Binary files a/mods/ra/maps/chokepoint.oramap and b/mods/ra/maps/chokepoint.oramap differ diff --git a/mods/ra/maps/coastal-influence.oramap b/mods/ra/maps/coastal-influence.oramap index 3bdba98e95..a790eae56d 100644 Binary files a/mods/ra/maps/coastal-influence.oramap and b/mods/ra/maps/coastal-influence.oramap differ diff --git a/mods/ra/maps/cold-front.oramap b/mods/ra/maps/cold-front.oramap index 2da20518ac..db66339d40 100644 Binary files a/mods/ra/maps/cold-front.oramap and b/mods/ra/maps/cold-front.oramap differ diff --git a/mods/ra/maps/contact.oramap b/mods/ra/maps/contact.oramap index bb0dbcaeec..7c775610b0 100644 Binary files a/mods/ra/maps/contact.oramap and b/mods/ra/maps/contact.oramap differ diff --git a/mods/ra/maps/desert-shellmap/map.png b/mods/ra/maps/desert-shellmap/map.png new file mode 100644 index 0000000000..023532849a Binary files /dev/null and b/mods/ra/maps/desert-shellmap/map.png differ diff --git a/mods/ra/maps/desert-shellmap/map.yaml b/mods/ra/maps/desert-shellmap/map.yaml index 809387e8e4..ac30bb76f4 100644 --- a/mods/ra/maps/desert-shellmap/map.yaml +++ b/mods/ra/maps/desert-shellmap/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -1240,123 +1240,6 @@ Actors: Location: 80,65 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - MusicPlaylist: - BackgroundMusic: intro - ResourceType@ore: - ValuePerUnit: 0 - LuaScript: - Scripts: desert-shellmap.lua - ScriptUpgradesCache: - Upgrades: unkillable - -StartGameNotification: - ^Vehicle: - GivesBounty: - Percentage: 0 - GainsExperience: - Upgrades: - DamageMultiplier@UNKILLABLE: - UpgradeTypes: unkillable - Modifier: 0, 0 - ^Tank: - GivesBounty: - Percentage: 0 - GainsExperience: - Upgrades: - DamageMultiplier@UNKILLABLE: - UpgradeTypes: unkillable - Modifier: 0, 0 - ^Infantry: - GivesBounty: - Percentage: 0 - GainsExperience: - Upgrades: - DeathSounds@NORMAL: - VolumeMultiplier: 0.1 - DeathSounds@BURNED: - VolumeMultiplier: 0.1 - DeathSounds@ZAPPED: - VolumeMultiplier: 0.1 - DamageMultiplier@UNKILLABLE: - UpgradeTypes: unkillable - Modifier: 0, 0 - ^Ship: - GivesBounty: - Percentage: 0 - GainsExperience: - Upgrades: - DamageMultiplier@UNKILLABLE: - UpgradeTypes: unkillable - Modifier: 0, 0 - ^Plane: - GivesBounty: - Percentage: 0 - DamageMultiplier@UNKILLABLE: - UpgradeTypes: unkillable - Modifier: 0, 0 - ^Building: - GivesBounty: - Percentage: 0 - DamageMultiplier@UNKILLABLE: - UpgradeTypes: unkillable - Modifier: 0, 0 - OILB: - CashTrickler: - ShowTicks: false - TRAN.Husk2: - Burns: - Damage: 0 - MISS: - DamageMultiplier@INVULNERABLE: - Modifier: 0 - APC: - Cargo: - InitialUnits: e1, e1, e2, e3, e4 - Ant: - Buildable: - Prerequisites: barr - Health: - HP: 200 - E7: - -AnnounceOnKill: - powerproxy.paratroopers: - AlwaysVisible: - ParatroopersPower: - DisplayBeacon: false - DropItems: E1,E1,E2,E3,E4 - powerproxy.parazombies: - AlwaysVisible: - ParatroopersPower: - DropItems: ZOMBIE,ZOMBIE,ZOMBIE,ZOMBIE,ZOMBIE - QuantizedFacings: 8 - DisplayBeacon: false - -Sequences: - -VoxelSequences: - -Weapons: - 8Inch: - Report: tank6.aud - 2Inch: - Range: 10c0 - TTankZap: - Range: 4c768 - FLAK-23-AG: - Range: 4c0 - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/desert-shellmap/rules.yaml b/mods/ra/maps/desert-shellmap/rules.yaml new file mode 100644 index 0000000000..cca4d37d12 --- /dev/null +++ b/mods/ra/maps/desert-shellmap/rules.yaml @@ -0,0 +1,110 @@ +Player: + -ConquestVictoryConditions: + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + MusicPlaylist: + BackgroundMusic: intro + ResourceType@ore: + ValuePerUnit: 0 + LuaScript: + Scripts: desert-shellmap.lua + ScriptUpgradesCache: + Upgrades: unkillable + -StartGameNotification: + +^Vehicle: + GivesBounty: + Percentage: 0 + GainsExperience: + Upgrades: + DamageMultiplier@UNKILLABLE: + UpgradeTypes: unkillable + Modifier: 0, 0 + +^Tank: + GivesBounty: + Percentage: 0 + GainsExperience: + Upgrades: + DamageMultiplier@UNKILLABLE: + UpgradeTypes: unkillable + Modifier: 0, 0 + +^Infantry: + GivesBounty: + Percentage: 0 + GainsExperience: + Upgrades: + DeathSounds@NORMAL: + VolumeMultiplier: 0.1 + DeathSounds@BURNED: + VolumeMultiplier: 0.1 + DeathSounds@ZAPPED: + VolumeMultiplier: 0.1 + DamageMultiplier@UNKILLABLE: + UpgradeTypes: unkillable + Modifier: 0, 0 + +^Ship: + GivesBounty: + Percentage: 0 + GainsExperience: + Upgrades: + DamageMultiplier@UNKILLABLE: + UpgradeTypes: unkillable + Modifier: 0, 0 + +^Plane: + GivesBounty: + Percentage: 0 + DamageMultiplier@UNKILLABLE: + UpgradeTypes: unkillable + Modifier: 0, 0 + +^Building: + GivesBounty: + Percentage: 0 + DamageMultiplier@UNKILLABLE: + UpgradeTypes: unkillable + Modifier: 0, 0 + +OILB: + CashTrickler: + ShowTicks: false + +TRAN.Husk2: + Burns: + Damage: 0 + +MISS: + DamageMultiplier@INVULNERABLE: + Modifier: 0 + +APC: + Cargo: + InitialUnits: e1, e1, e2, e3, e4 + +Ant: + Buildable: + Prerequisites: barr + Health: + HP: 200 + +E7: + -AnnounceOnKill: + +powerproxy.paratroopers: + AlwaysVisible: + ParatroopersPower: + DisplayBeacon: false + DropItems: E1,E1,E2,E3,E4 + +powerproxy.parazombies: + AlwaysVisible: + ParatroopersPower: + DropItems: ZOMBIE,ZOMBIE,ZOMBIE,ZOMBIE,ZOMBIE + QuantizedFacings: 8 + DisplayBeacon: false diff --git a/mods/ra/maps/desert-shellmap/weapons.yaml b/mods/ra/maps/desert-shellmap/weapons.yaml new file mode 100644 index 0000000000..a62a510484 --- /dev/null +++ b/mods/ra/maps/desert-shellmap/weapons.yaml @@ -0,0 +1,11 @@ +8Inch: + Report: tank6.aud + +2Inch: + Range: 10c0 + +TTankZap: + Range: 4c768 + +FLAK-23-AG: + Range: 4c0 diff --git a/mods/ra/maps/doubles.oramap b/mods/ra/maps/doubles.oramap index c99a73a7b5..4896efeb74 100644 Binary files a/mods/ra/maps/doubles.oramap and b/mods/ra/maps/doubles.oramap differ diff --git a/mods/ra/maps/doughnut.oramap b/mods/ra/maps/doughnut.oramap index c0140c3042..4243577687 100644 Binary files a/mods/ra/maps/doughnut.oramap and b/mods/ra/maps/doughnut.oramap differ diff --git a/mods/ra/maps/drop-zone-battle-of-tikiaki/map.png b/mods/ra/maps/drop-zone-battle-of-tikiaki/map.png new file mode 100644 index 0000000000..bebcde5904 Binary files /dev/null and b/mods/ra/maps/drop-zone-battle-of-tikiaki/map.png differ diff --git a/mods/ra/maps/drop-zone-battle-of-tikiaki/map.yaml b/mods/ra/maps/drop-zone-battle-of-tikiaki/map.yaml index 51b921d36c..33d852ff49 100644 --- a/mods/ra/maps/drop-zone-battle-of-tikiaki/map.yaml +++ b/mods/ra/maps/drop-zone-battle-of-tikiaki/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -274,102 +274,6 @@ Actors: Location: 41,17 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - World: - CrateSpawner: - Maximum: 3 - SpawnInterval: 125 - CrateActors: unitcrate - InitialSpawnDelay: 0 - -SpawnMPUnits: - -MPStartLocations: - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Unrestricted - UNITCRATE: - Inherits: ^Crate - GiveUnitCrateAction@ttnk: - SelectionShares: 4 - Units: ttnk - GiveUnitCrateAction@ftrk: - SelectionShares: 6 - Units: ftrk - GiveUnitCrateAction@harv: - SelectionShares: 1 - Units: harv - GiveUnitCrateAction@shok: - SelectionShares: 1 - Units: shok - GiveUnitCrateAction@dog: - SelectionShares: 1 - Units: dog - Crate: - TerrainTypes: Clear, Road, Ore, Beach - ^Infantry: - GivesBounty: - Percentage: 0 - ^Tank: - GivesBounty: - Percentage: 0 - ^Vehicle: - GivesBounty: - Percentage: 0 - APC: - Health: - HP: 1000 - MustBeDestroyed: - RequiredForShortGame: true - -AttackMove: - HARV: - Tooltip: - Name: Bomb Truck - Description: Explodes like a damn nuke! - Health: - HP: 100 - Explodes: - Weapon: CrateNuke - EmptyWeapon: CrateNuke - AttackSuicides: - SHOK: - Health: - HP: 800 - DOG: - Health: - HP: 120 - Mobile: - Speed: 99 - Player: - Shroud: - FogLocked: True - FogEnabled: False - ExploredMapLocked: True - ExploredMapEnabled: True - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - -Sequences: - -VoxelSequences: - -Weapons: - PortaTesla: - ReloadDelay: 20 - Range: 10c0 - Warhead: SpreadDamage - Spread: 42 - Damage: 80 - DamageTypes: Prone50Percent, TriggerProne, FireDeath - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/drop-zone-battle-of-tikiaki/rules.yaml b/mods/ra/maps/drop-zone-battle-of-tikiaki/rules.yaml new file mode 100644 index 0000000000..b1b1ed224f --- /dev/null +++ b/mods/ra/maps/drop-zone-battle-of-tikiaki/rules.yaml @@ -0,0 +1,84 @@ +World: + CrateSpawner: + Maximum: 3 + SpawnInterval: 125 + CrateActors: unitcrate + InitialSpawnDelay: 0 + -SpawnMPUnits: + -MPStartLocations: + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Unrestricted + +UNITCRATE: + Inherits: ^Crate + GiveUnitCrateAction@ttnk: + SelectionShares: 4 + Units: ttnk + GiveUnitCrateAction@ftrk: + SelectionShares: 6 + Units: ftrk + GiveUnitCrateAction@harv: + SelectionShares: 1 + Units: harv + GiveUnitCrateAction@shok: + SelectionShares: 1 + Units: shok + GiveUnitCrateAction@dog: + SelectionShares: 1 + Units: dog + Crate: + TerrainTypes: Clear, Road, Ore, Beach + +^Infantry: + GivesBounty: + Percentage: 0 + +^Tank: + GivesBounty: + Percentage: 0 + +^Vehicle: + GivesBounty: + Percentage: 0 + +APC: + Health: + HP: 1000 + MustBeDestroyed: + RequiredForShortGame: true + -AttackMove: + +HARV: + Tooltip: + Name: Bomb Truck + Description: Explodes like a damn nuke! + Health: + HP: 100 + Explodes: + Weapon: CrateNuke + EmptyWeapon: CrateNuke + AttackSuicides: + +SHOK: + Health: + HP: 800 + +DOG: + Health: + HP: 120 + Mobile: + Speed: 99 + +Player: + Shroud: + FogLocked: True + FogEnabled: False + ExploredMapLocked: True + ExploredMapEnabled: True + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 diff --git a/mods/ra/maps/drop-zone-battle-of-tikiaki/weapons.yaml b/mods/ra/maps/drop-zone-battle-of-tikiaki/weapons.yaml new file mode 100644 index 0000000000..4cbbcc54f5 --- /dev/null +++ b/mods/ra/maps/drop-zone-battle-of-tikiaki/weapons.yaml @@ -0,0 +1,7 @@ +PortaTesla: + ReloadDelay: 20 + Range: 10c0 + Warhead: SpreadDamage + Spread: 42 + Damage: 80 + DamageTypes: Prone50Percent, TriggerProne, FireDeath diff --git a/mods/ra/maps/drop-zone-w/map.png b/mods/ra/maps/drop-zone-w/map.png new file mode 100644 index 0000000000..f8d6e03fe9 Binary files /dev/null and b/mods/ra/maps/drop-zone-w/map.png differ diff --git a/mods/ra/maps/drop-zone-w/map.yaml b/mods/ra/maps/drop-zone-w/map.yaml index 8708381323..4a1fda960d 100644 --- a/mods/ra/maps/drop-zone-w/map.yaml +++ b/mods/ra/maps/drop-zone-w/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -179,162 +179,8 @@ Actors: Location: 23,34 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - World: - CrateSpawner: - Maximum: 3 - SpawnInterval: 125 - WaterChance: 100 - CrateActors: unitcrate - InitialSpawnDelay: 0 - -SpawnMPUnits: - -MPStartLocations: - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Unrestricted - UNITCRATE: - Inherits: ^Crate - GiveUnitCrateAction@pt: - SelectionShares: 7 - Units: pt - GiveUnitCrateAction@dd: - SelectionShares: 6 - Units: dd - GiveUnitCrateAction@ca: - SelectionShares: 4 - Units: ca - GiveUnitCrateAction@ss: - SelectionShares: 6 - Units: ss - GiveUnitCrateAction@msub: - SelectionShares: 4 - Units: msub - Crate: - TerrainTypes: Water - LST: - Tooltip: - Name: Naval Mobile HQ - Health: - HP: 1000 - Mobile: - Speed: 170 - Armament@PRIMARY: - Weapon: M60mg - Armament@SECONDARY: - Name: secondary - Weapon: M60mg - AttackFrontal: - WithMuzzleOverlay@PRIMARY: - WithMuzzleOverlay@SECONDARY: - Armament: secondary - MustBeDestroyed: - RequiredForShortGame: true - -GivesBounty: - PT: - -GivesBounty: - DD: - -GivesBounty: - CA: - -GivesBounty: - SS: - -GivesBounty: - MSUB: - -GivesBounty: - Player: - Shroud: - FogLocked: True - FogEnabled: False - ExploredMapLocked: True - ExploredMapEnabled: True - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 +Sequences: sequences.yaml -Sequences: - lst: - muzzle: minigun - Start: 0 - Length: 6 - Facings: 8 - turret: mgun - Start: 0 - Facings: 32 - -VoxelSequences: - -Weapons: - 8Inch: - ReloadDelay: 200 - Range: 32c0 - Burst: 4 - Report: turret1.aud - Projectile: Bullet - Speed: 546 - High: true - Angle: 62 - Inaccuracy: 3c341 - Image: 120MM - ContrailLength: 30 - Warhead: SpreadDamage - Spread: 128 - Versus: - None: 60 - Wood: 75 - Light: 60 - Heavy: 25 - Damage: 250 - DamageTypes: Prone50Percent, TriggerProne, BulletDeath - Warhead@1Eff: CreateEffect - Explosions: large_explosion - ImpactSounds: kaboom12.aud - ValidImpactTypes: Ground - Warhead@2Eff: CreateEffect - Explosions: large_splash - ImpactSounds: splash9.aud - ValidImpactTypes: Water - Warhead@3Smu: LeaveSmudge - SmudgeType: Crater - SubMissile: - ReloadDelay: 250 - Range: 32c0 - Burst: 4 - Report: missile6.aud - Projectile: Bullet - Speed: 409 - High: true - Angle: 62 - Inaccuracy: 2c938 - Image: MISSILE - Trail: smokey - ContrailLength: 30 - Warhead: SpreadDamage - Spread: 426 - Versus: - None: 40 - Light: 30 - Heavy: 30 - Damage: 400 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - Warhead@1Eff: CreateEffect - Explosions: large_explosion - ImpactSounds: kaboom12.aud - ValidImpactTypes: Ground - Warhead@2Eff: CreateEffect - Explosions: large_splash - ImpactSounds: splash9.aud - ValidImpactTypes: Water - Warhead@3Smu: LeaveSmudge - SmudgeType: Crater - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/drop-zone-w/rules.yaml b/mods/ra/maps/drop-zone-w/rules.yaml new file mode 100644 index 0000000000..8520cc3937 --- /dev/null +++ b/mods/ra/maps/drop-zone-w/rules.yaml @@ -0,0 +1,80 @@ +World: + CrateSpawner: + Maximum: 3 + SpawnInterval: 125 + WaterChance: 100 + CrateActors: unitcrate + InitialSpawnDelay: 0 + -SpawnMPUnits: + -MPStartLocations: + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Unrestricted + +UNITCRATE: + Inherits: ^Crate + GiveUnitCrateAction@pt: + SelectionShares: 7 + Units: pt + GiveUnitCrateAction@dd: + SelectionShares: 6 + Units: dd + GiveUnitCrateAction@ca: + SelectionShares: 4 + Units: ca + GiveUnitCrateAction@ss: + SelectionShares: 6 + Units: ss + GiveUnitCrateAction@msub: + SelectionShares: 4 + Units: msub + Crate: + TerrainTypes: Water + +LST: + Tooltip: + Name: Naval Mobile HQ + Health: + HP: 1000 + Mobile: + Speed: 170 + Armament@PRIMARY: + Weapon: M60mg + Armament@SECONDARY: + Name: secondary + Weapon: M60mg + AttackFrontal: + WithMuzzleOverlay@PRIMARY: + WithMuzzleOverlay@SECONDARY: + Armament: secondary + MustBeDestroyed: + RequiredForShortGame: true + -GivesBounty: + +PT: + -GivesBounty: + +DD: + -GivesBounty: + +CA: + -GivesBounty: + +SS: + -GivesBounty: + +MSUB: + -GivesBounty: + +Player: + Shroud: + FogLocked: True + FogEnabled: False + ExploredMapLocked: True + ExploredMapEnabled: True + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 diff --git a/mods/ra/maps/drop-zone-w/sequences.yaml b/mods/ra/maps/drop-zone-w/sequences.yaml new file mode 100644 index 0000000000..759fe863d4 --- /dev/null +++ b/mods/ra/maps/drop-zone-w/sequences.yaml @@ -0,0 +1,8 @@ +lst: + muzzle: minigun + Start: 0 + Length: 6 + Facings: 8 + turret: mgun + Start: 0 + Facings: 32 \ No newline at end of file diff --git a/mods/ra/maps/drop-zone-w/weapons.yaml b/mods/ra/maps/drop-zone-w/weapons.yaml new file mode 100644 index 0000000000..a4e8eb126a --- /dev/null +++ b/mods/ra/maps/drop-zone-w/weapons.yaml @@ -0,0 +1,63 @@ +8Inch: + ReloadDelay: 200 + Range: 32c0 + Burst: 4 + Report: turret1.aud + Projectile: Bullet + Speed: 546 + High: true + Angle: 62 + Inaccuracy: 3c341 + Image: 120MM + ContrailLength: 30 + Warhead: SpreadDamage + Spread: 128 + Versus: + None: 60 + Wood: 75 + Light: 60 + Heavy: 25 + Damage: 250 + DamageTypes: Prone50Percent, TriggerProne, BulletDeath + Warhead@1Eff: CreateEffect + Explosions: large_explosion + ImpactSounds: kaboom12.aud + ValidImpactTypes: Ground + Warhead@2Eff: CreateEffect + Explosions: large_splash + ImpactSounds: splash9.aud + ValidImpactTypes: Water + Warhead@3Smu: LeaveSmudge + SmudgeType: Crater + +SubMissile: + ReloadDelay: 250 + Range: 32c0 + Burst: 4 + Report: missile6.aud + Projectile: Bullet + Speed: 409 + High: true + Angle: 62 + Inaccuracy: 2c938 + Image: MISSILE + Trail: smokey + ContrailLength: 30 + Warhead: SpreadDamage + Spread: 426 + Versus: + None: 40 + Light: 30 + Heavy: 30 + Damage: 400 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@1Eff: CreateEffect + Explosions: large_explosion + ImpactSounds: kaboom12.aud + ValidImpactTypes: Ground + Warhead@2Eff: CreateEffect + Explosions: large_splash + ImpactSounds: splash9.aud + ValidImpactTypes: Water + Warhead@3Smu: LeaveSmudge + SmudgeType: Crater diff --git a/mods/ra/maps/drop-zone/map.png b/mods/ra/maps/drop-zone/map.png new file mode 100644 index 0000000000..d20689283f Binary files /dev/null and b/mods/ra/maps/drop-zone/map.png differ diff --git a/mods/ra/maps/drop-zone/map.yaml b/mods/ra/maps/drop-zone/map.yaml index 8484845c5f..70247e6cd9 100644 --- a/mods/ra/maps/drop-zone/map.yaml +++ b/mods/ra/maps/drop-zone/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -169,102 +169,6 @@ Actors: Location: 30,29 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - World: - CrateSpawner: - Maximum: 3 - SpawnInterval: 125 - CrateActors: unitcrate - InitialSpawnDelay: 0 - -SpawnMPUnits: - -MPStartLocations: - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Unrestricted - UNITCRATE: - Inherits: ^Crate - GiveUnitCrateAction@ttnk: - SelectionShares: 4 - Units: ttnk - GiveUnitCrateAction@ftrk: - SelectionShares: 6 - Units: ftrk - GiveUnitCrateAction@harv: - SelectionShares: 1 - Units: harv - GiveUnitCrateAction@shok: - SelectionShares: 1 - Units: shok - GiveUnitCrateAction@dog: - SelectionShares: 1 - Units: dog - Crate: - TerrainTypes: Clear, Road, Ore, Beach - ^Infantry: - GivesBounty: - Percentage: 0 - ^Tank: - GivesBounty: - Percentage: 0 - ^Vehicle: - GivesBounty: - Percentage: 0 - APC: - Health: - HP: 1000 - MustBeDestroyed: - RequiredForShortGame: true - -AttackMove: - HARV: - Tooltip: - Name: Bomb Truck - Description: Explodes like a damn nuke! - Health: - HP: 100 - Explodes: - Weapon: CrateNuke - EmptyWeapon: CrateNuke - AttackSuicides: - SHOK: - Health: - HP: 800 - DOG: - Health: - HP: 120 - Mobile: - Speed: 99 - Player: - Shroud: - FogLocked: True - FogEnabled: False - ExploredMapLocked: True - ExploredMapEnabled: True - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - -Sequences: - -VoxelSequences: - -Weapons: - PortaTesla: - ReloadDelay: 20 - Range: 10c0 - Warhead: SpreadDamage - Spread: 42 - Damage: 80 - DamageTypes: Prone50Percent, TriggerProne, FireDeath - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/drop-zone/rules.yaml b/mods/ra/maps/drop-zone/rules.yaml new file mode 100644 index 0000000000..b1b1ed224f --- /dev/null +++ b/mods/ra/maps/drop-zone/rules.yaml @@ -0,0 +1,84 @@ +World: + CrateSpawner: + Maximum: 3 + SpawnInterval: 125 + CrateActors: unitcrate + InitialSpawnDelay: 0 + -SpawnMPUnits: + -MPStartLocations: + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Unrestricted + +UNITCRATE: + Inherits: ^Crate + GiveUnitCrateAction@ttnk: + SelectionShares: 4 + Units: ttnk + GiveUnitCrateAction@ftrk: + SelectionShares: 6 + Units: ftrk + GiveUnitCrateAction@harv: + SelectionShares: 1 + Units: harv + GiveUnitCrateAction@shok: + SelectionShares: 1 + Units: shok + GiveUnitCrateAction@dog: + SelectionShares: 1 + Units: dog + Crate: + TerrainTypes: Clear, Road, Ore, Beach + +^Infantry: + GivesBounty: + Percentage: 0 + +^Tank: + GivesBounty: + Percentage: 0 + +^Vehicle: + GivesBounty: + Percentage: 0 + +APC: + Health: + HP: 1000 + MustBeDestroyed: + RequiredForShortGame: true + -AttackMove: + +HARV: + Tooltip: + Name: Bomb Truck + Description: Explodes like a damn nuke! + Health: + HP: 100 + Explodes: + Weapon: CrateNuke + EmptyWeapon: CrateNuke + AttackSuicides: + +SHOK: + Health: + HP: 800 + +DOG: + Health: + HP: 120 + Mobile: + Speed: 99 + +Player: + Shroud: + FogLocked: True + FogEnabled: False + ExploredMapLocked: True + ExploredMapEnabled: True + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 diff --git a/mods/ra/maps/drop-zone/weapons.yaml b/mods/ra/maps/drop-zone/weapons.yaml new file mode 100644 index 0000000000..4cbbcc54f5 --- /dev/null +++ b/mods/ra/maps/drop-zone/weapons.yaml @@ -0,0 +1,7 @@ +PortaTesla: + ReloadDelay: 20 + Range: 10c0 + Warhead: SpreadDamage + Spread: 42 + Damage: 80 + DamageTypes: Prone50Percent, TriggerProne, FireDeath diff --git a/mods/ra/maps/east-vs-west.oramap b/mods/ra/maps/east-vs-west.oramap index 1afea2081b..5b38ba0739 100644 Binary files a/mods/ra/maps/east-vs-west.oramap and b/mods/ra/maps/east-vs-west.oramap differ diff --git a/mods/ra/maps/encounter.oramap b/mods/ra/maps/encounter.oramap index 8d7e31fcf6..4633bfeb95 100644 Binary files a/mods/ra/maps/encounter.oramap and b/mods/ra/maps/encounter.oramap differ diff --git a/mods/ra/maps/engagement.oramap b/mods/ra/maps/engagement.oramap index 29b4d47a94..14e9fdf27b 100644 Binary files a/mods/ra/maps/engagement.oramap and b/mods/ra/maps/engagement.oramap differ diff --git a/mods/ra/maps/equal-opportunity.oramap b/mods/ra/maps/equal-opportunity.oramap index bdeec4bb89..7aadcde5be 100644 Binary files a/mods/ra/maps/equal-opportunity.oramap and b/mods/ra/maps/equal-opportunity.oramap differ diff --git a/mods/ra/maps/first-come-first-served.oramap b/mods/ra/maps/first-come-first-served.oramap index 7d8f602522..59fba6095c 100644 Binary files a/mods/ra/maps/first-come-first-served.oramap and b/mods/ra/maps/first-come-first-served.oramap differ diff --git a/mods/ra/maps/forest-path.oramap b/mods/ra/maps/forest-path.oramap index 195523c0ed..eee3ad846d 100644 Binary files a/mods/ra/maps/forest-path.oramap and b/mods/ra/maps/forest-path.oramap differ diff --git a/mods/ra/maps/fort-lonestar/map.png b/mods/ra/maps/fort-lonestar/map.png new file mode 100644 index 0000000000..482d8c9632 Binary files /dev/null and b/mods/ra/maps/fort-lonestar/map.png differ diff --git a/mods/ra/maps/fort-lonestar/map.yaml b/mods/ra/maps/fort-lonestar/map.yaml index b1ab9388da..bafb55e3d5 100644 --- a/mods/ra/maps/fort-lonestar/map.yaml +++ b/mods/ra/maps/fort-lonestar/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -465,536 +465,8 @@ Actors: Location: 46,32 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - World: - CrateSpawner: - InitialSpawnDelay: 0 - Maximum: 4 - SpawnInterval: 1000 - CrateActors: fortcrate - MPStartUnits@mcvonly: - BaseActor: tent - WeatherOverlay: - WindTick: 150, 550 - UseSquares: false - ScatterDirection: 0, 0 - Gravity: 8.00, 12.00 - SwingOffset: 0, 0 - SwingSpeed: 0, 0 - SwingAmplitude: 0, 0 - ParticleColors: 304074, 28386C, 202C60, 182C54 - LineTailAlphaValue: 150 - ParticleSize: 1, 1 - GlobalLightingPaletteEffect: - Red: 0.75 - Green: 0.85 - Blue: 1.5 - Ambient: 0.35 - MusicPlaylist: - BackgroundMusic: rain - FlashPaletteEffect@LIGHTNINGSTRIKE: - Type: LightningStrike - LuaScript: - Scripts: fort-lonestar.lua - ScriptUpgradesCache: - Upgrades: invulnerability - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: True - SpawnMPUnits: - Locked: True - MapOptions: - TechLevelLocked: True - TechLevel: Unrestricted - Difficulties: Hard (4P), Normal (3P), Easy (2P), Very Easy (1P), Real tough guy, Endless mode - ShortGameLocked: True - ShortGameEnabled: False - FORTCRATE: - Inherits: ^Crate - SupportPowerCrateAction@parabombs: - SelectionShares: 30 - Proxy: powerproxy.parabombs - Effect: parabombs - HealUnitsCrateAction: - SelectionShares: 30 - Notification: heal2.aud - Effect: heal - GiveCashCrateAction: - Amount: 400 - UseCashTick: true - SelectionShares: 30 - GiveUnitCrateAction@e7: - Units: e7 - SelectionShares: 10 - GrantUpgradeCrateAction@ironcurtain: - SelectionShares: 10 - Effect: invuln - Notification: ironcur9.aud - Upgrades: invulnerability - Duration: 1200 - ExplodeCrateAction@bigboom: - Weapon: SCUD - SelectionShares: 5 - GiveMcvCrateAction: - SelectionShares: 0 - NoBaseSelectionShares: 1000 - Units: mobiletent - ValidFactions: allies - Player: - ClassicProductionQueue@Infantry: - BuildSpeed: 1 - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 50 - ^Infantry: - Inherits@IC: ^IronCurtainable - ^Husk: - TransformOnCapture: - ForceHealthPercentage: 80 - OILB: - Health: - HP: 3000 - Armor: - Type: Wood - Bib: - RevealsShroud: - Range: 3c0 - CashTrickler: - Period: 250 - Amount: 50 - MOBILETENT: - Inherits: ^Vehicle - Valued: - Cost: 2000 - Tooltip: - Name: Mobile Tent - Selectable: - Priority: 4 - SelectionDecorations: - VisualBounds: 21,21 - Health: - HP: 600 - Armor: - Type: Light - Mobile: - Speed: 85 - Crushes: wall, mine, crate, infantry - RevealsShroud: - Range: 4c0 - MustBeDestroyed: - RequiredForShortGame: true - BaseBuilding: - Transforms: - IntoActor: tent - Offset: 0,0 - Facing: 96 - TransformSounds: placbldg.aud, build5.aud - NoTransformNotification: BuildingCannotPlaceAudio - RenderSprites: - Image: TRUK - TENT: - Health: - HP: 1000 - Production: - Produces: Infantry, Soldier, Dog, Defense - -Sellable: - BaseProvider: - Range: 12c0 - Power: - Amount: 0 - ProductionBar@Defense: - ProductionType: Defense - Color: 8A8A8A - BaseBuilding: - FTUR: - Buildable: - Prerequisites: barracks - Valued: - Cost: 400 - Power: - Amount: 0 - GivesBuildableArea: - PBOX: - Buildable: - Prerequisites: barracks - Valued: - Cost: 400 - Health: - HP: 200 - Armor: - Type: Heavy - Power: - Amount: 0 - GivesBuildableArea: - DOG: - Buildable: - Prerequisites: barracks - Valued: - Cost: 20 - E1: - Buildable: - Prerequisites: barracks - Valued: - Cost: 20 - E2: - Buildable: - Prerequisites: barracks - Valued: - Cost: 40 - Explodes: - Chance: 20 - E3: - Buildable: - Prerequisites: barracks - Valued: - Cost: 60 - E4: - Buildable: - Prerequisites: barracks - Valued: - Cost: 100 - E6: - Buildable: - Prerequisites: barracks - Valued: - Cost: 100 - E7: - Buildable: - Prerequisites: barracks - Valued: - Cost: 750 - 3TNK: - Inherits: ^Tank - Armament: - Weapon: TankNapalm - Recoil: 200 - RecoilRecovery: 38 - MEDI: - Buildable: - Prerequisites: barracks - Valued: - Cost: 100 - SHOK: - Buildable: - Prerequisites: barracks - Valued: - Cost: 150 - SNIPER: - Valued: - Cost: 200 - Buildable: - Prerequisites: barracks - Health: - HP: 200 - SNIPER.soviets: - Inherits: SNIPER - Buildable: - Prerequisites: ~disabled - MustBeDestroyed: - Targetable: - TargetTypes: Disguise - AutoTarget: - InitialStanceAI: AttackAnything - RenderSprites: - Image: SNIPER - SPY: - Buildable: - BuildPaletteOrder: 60 - Prerequisites: barracks - Valued: - Cost: 300 - -MustBeDestroyed: - FTRK: - -Armament@AA: - -Armament@AG: - Armament: - Weapon: FLAK-23 - Recoil: 85 - LocalOffset: 512,0,192 - MuzzleSequence: muzzle - ARTY: - Inherits: ^Tank - Valued: - Cost: 600 - Health: - HP: 75 - RevealsShroud: - Range: 7c0 - V2RL: - Health: - HP: 100 - 4TNK: - Health: - HP: 2500 - Mobile: - Speed: 56 - RevealsShroud: - Range: 14c0 - Turreted: - TurnSpeed: 1 - Armament@PRIMARY: - Recoil: 8 - RecoilRecovery: 0c7 - Armament@SECONDARY: - Recoil: 2 - Explodes: - Weapon: napalm - EmptyWeapon: napalm - SelfHealing: - Step: 2 - Ticks: 1 - HealIfBelow: 40% - BADR.Bomber: - Health: - HP: 60 - Aircraft: - Speed: 280 - AmmoPool: - Ammo: 30 - Tooltip: - Name: Mig Bomber - SpawnActorOnDeath: - Actor: MIG.Husk - RenderSprites: - Image: mig - MECH: - Buildable: - Prerequisites: barracks - Valued: - Cost: 1500 - powerproxy.paratroopers: - ParatroopersPower: - DropItems: E1,E1,E1,E1,E2,E2 - SILO: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - HBOX: - Buildable: - Prerequisites: ~disabled - GUN: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - SBAG: - Buildable: - Prerequisites: ~disabled - FENC: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - GAP: - Buildable: - Prerequisites: ~disabled - IRON: - Buildable: - Prerequisites: ~disabled - PDOX: - Buildable: - Prerequisites: ~disabled - AGUN: - Buildable: - Prerequisites: ~disabled - TSLA: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled +Weapons: weapons.yaml -Sequences: - -VoxelSequences: - -Weapons: - 120mm: - ReloadDelay: 150 - Range: 10c0 - Burst: 6 - Projectile: Bullet - Speed: 204 - Blockable: false - Inaccuracy: 1c682 - Image: 120MM - ContrailLength: 50 - Warhead@1Dam: SpreadDamage - Spread: 256 - Versus: - None: 75 - Concrete: 100 - Damage: 150 - Warhead@3Eff: CreateEffect - Explosions: self_destruct - MammothTusk: - ReloadDelay: 300 - Range: 10c0 - ValidTargets: Ground, Air - Projectile: Missile - Blockable: false - Speed: 128 - TrailImage: smokey - ContrailLength: 150 - Inaccuracy: 0c853 - ROT: 10 - RangeLimit: 80 - Warhead@1Dam: SpreadDamage - Spread: 640 - ValidTargets: Ground, Air - Versus: - None: 125 - Wood: 110 - Light: 110 - Heavy: 100 - Concrete: 200 - Damage: 250 - Warhead@3Eff: CreateEffect - Explosions: nuke - TankNapalm: - ReloadDelay: 40 - Range: 8c0 - Report: aacanon3.aud - ValidTargets: Ground - Burst: 6 - BurstDelay: 1 - Projectile: Bullet - Speed: 426 - Image: 120MM - Inaccuracy: 2c512 - TrailImage: smokey - ContrailLength: 2 - Blockable: false - Warhead: SpreadDamage - Spread: 341 - ValidTargets: Ground - Versus: - None: 90 - Wood: 170 - Light: 100 - Heavy: 100 - Concrete: 100 - Damage: 15 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Scorch - Warhead@3Eff: CreateEffect - Explosions: small_explosion - ImpactSounds: firebl3.aud - ParaBomb: - ReloadDelay: 5 - Range: 5c0 - Projectile: GravityBomb - Image: BOMBLET - OpenSequence: idle - Warhead@1Dam: SpreadDamage - Spread: 426 - Versus: - None: 125 - Wood: 100 - Light: 60 - Concrete: 25 - Damage: 200 - DamageTypes: Prone50Percent, TriggerProne, FireDeath - Warhead@3Eff: CreateEffect - Explosions: napalm - ImpactSounds: firebl3.aud - 155mm: - ReloadDelay: 10 - Range: 7c5 - Burst: 20 - -Report: - Projectile: Bullet - Speed: 170 - TrailImage: fb4 - Image: fb3 - Blockable: false - Angle: 30 - Inaccuracy: 1c682 - ContrailLength: 2 - Warhead@1Dam: SpreadDamage - Versus: - None: 80 - Wood: 100 - Heavy: 75 - Concrete: 35 - Damage: 20 - DamageTypes: Prone50Percent, TriggerProne, FireDeath - Warhead@3Eff: CreateEffect - Explosions: small_napalm - ImpactSounds: firebl3.aud - FLAK-23: - ReloadDelay: 10 - Range: 8c0 - Report: aacanon3.aud - ValidTargets: Air, Ground - Projectile: Bullet - Speed: 1c682 - Blockable: false - Warhead: SpreadDamage - Spread: 213 - ValidTargets: Air, Ground - Versus: - None: 35 - Wood: 30 - Light: 30 - Heavy: 40 - Concrete: 30 - Damage: 25 - DamageTypes: Prone50Percent, TriggerProne, DefaultDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Scorch - Warhead@3Eff: CreateEffect - Explosions: med_explosion - SCUD: - ReloadDelay: 280 - Range: 7c0 - Projectile: Bullet - Arm: 10 - TrailImage: smokey - Blockable: false - Inaccuracy: 0c426 - Angle: 216 - Warhead@1Dam: SpreadDamage - Spread: 853 - Falloff: 100, 37, 14, 5, 0 - Versus: - None: 100 - Wood: 90 - Light: 80 - Heavy: 70 - Damage: 500 - AffectsParent: true - Warhead@3Eff: CreateEffect - Explosions: nuke - ImpactSounds: kaboom1.aud - SilencedPPK: - Range: 25c0 - ValidTargets: Infantry, Tank, Vehicle, Husk - InvalidTargets: Water, Structure, Wall - Warhead@1Dam: SpreadDamage - ValidTargets: Infantry, Tank, Vehicle, Husk - Versus: - Heavy: 50 - -Voices: - -Music: - rain: Rain (ambient) - Hidden: true - -Notifications: - -Translations: +Music: music.yaml diff --git a/mods/ra/maps/fort-lonestar/music.yaml b/mods/ra/maps/fort-lonestar/music.yaml new file mode 100644 index 0000000000..71ace5638e --- /dev/null +++ b/mods/ra/maps/fort-lonestar/music.yaml @@ -0,0 +1,2 @@ +rain: Rain (ambient) + Hidden: true \ No newline at end of file diff --git a/mods/ra/maps/fort-lonestar/rules.yaml b/mods/ra/maps/fort-lonestar/rules.yaml new file mode 100644 index 0000000000..ca47cd8372 --- /dev/null +++ b/mods/ra/maps/fort-lonestar/rules.yaml @@ -0,0 +1,390 @@ +World: + CrateSpawner: + InitialSpawnDelay: 0 + Maximum: 4 + SpawnInterval: 1000 + CrateActors: fortcrate + MPStartUnits@mcvonly: + BaseActor: tent + WeatherOverlay: + WindTick: 150, 550 + UseSquares: false + ScatterDirection: 0, 0 + Gravity: 8.00, 12.00 + SwingOffset: 0, 0 + SwingSpeed: 0, 0 + SwingAmplitude: 0, 0 + ParticleColors: 304074, 28386C, 202C60, 182C54 + LineTailAlphaValue: 150 + ParticleSize: 1, 1 + GlobalLightingPaletteEffect: + Red: 0.75 + Green: 0.85 + Blue: 1.5 + Ambient: 0.35 + MusicPlaylist: + BackgroundMusic: rain + FlashPaletteEffect@LIGHTNINGSTRIKE: + Type: LightningStrike + LuaScript: + Scripts: fort-lonestar.lua + ScriptUpgradesCache: + Upgrades: invulnerability + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: True + SpawnMPUnits: + Locked: True + MapOptions: + TechLevelLocked: True + TechLevel: Unrestricted + Difficulties: Hard (4P), Normal (3P), Easy (2P), Very Easy (1P), Real tough guy, Endless mode + ShortGameLocked: True + ShortGameEnabled: False + +FORTCRATE: + Inherits: ^Crate + SupportPowerCrateAction@parabombs: + SelectionShares: 30 + Proxy: powerproxy.parabombs + Effect: parabombs + HealUnitsCrateAction: + SelectionShares: 30 + Notification: heal2.aud + Effect: heal + GiveCashCrateAction: + Amount: 400 + UseCashTick: true + SelectionShares: 30 + GiveUnitCrateAction@e7: + Units: e7 + SelectionShares: 10 + GrantUpgradeCrateAction@ironcurtain: + SelectionShares: 10 + Effect: invuln + Notification: ironcur9.aud + Upgrades: invulnerability + Duration: 1200 + ExplodeCrateAction@bigboom: + Weapon: SCUD + SelectionShares: 5 + GiveMcvCrateAction: + SelectionShares: 0 + NoBaseSelectionShares: 1000 + Units: mobiletent + ValidFactions: allies + +Player: + ClassicProductionQueue@Infantry: + BuildSpeed: 1 + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 50 + +^Infantry: + Inherits@IC: ^IronCurtainable + +^Husk: + TransformOnCapture: + ForceHealthPercentage: 80 + +OILB: + Health: + HP: 3000 + Armor: + Type: Wood + Bib: + RevealsShroud: + Range: 3c0 + CashTrickler: + Period: 250 + Amount: 50 + +MOBILETENT: + Inherits: ^Vehicle + Valued: + Cost: 2000 + Tooltip: + Name: Mobile Tent + Selectable: + Priority: 4 + SelectionDecorations: + VisualBounds: 21,21 + Health: + HP: 600 + Armor: + Type: Light + Mobile: + Speed: 85 + Crushes: wall, mine, crate, infantry + RevealsShroud: + Range: 4c0 + MustBeDestroyed: + RequiredForShortGame: true + BaseBuilding: + Transforms: + IntoActor: tent + Offset: 0,0 + Facing: 96 + TransformSounds: placbldg.aud, build5.aud + NoTransformNotification: BuildingCannotPlaceAudio + RenderSprites: + Image: TRUK + +TENT: + Health: + HP: 1000 + Production: + Produces: Infantry, Soldier, Dog, Defense + -Sellable: + BaseProvider: + Range: 12c0 + Power: + Amount: 0 + ProductionBar@Defense: + ProductionType: Defense + Color: 8A8A8A + BaseBuilding: + +FTUR: + Buildable: + Prerequisites: barracks + Valued: + Cost: 400 + Power: + Amount: 0 + GivesBuildableArea: + +PBOX: + Buildable: + Prerequisites: barracks + Valued: + Cost: 400 + Health: + HP: 200 + Armor: + Type: Heavy + Power: + Amount: 0 + GivesBuildableArea: + +DOG: + Buildable: + Prerequisites: barracks + Valued: + Cost: 20 + +E1: + Buildable: + Prerequisites: barracks + Valued: + Cost: 20 + +E2: + Buildable: + Prerequisites: barracks + Valued: + Cost: 40 + Explodes: + Chance: 20 + +E3: + Buildable: + Prerequisites: barracks + Valued: + Cost: 60 + +E4: + Buildable: + Prerequisites: barracks + Valued: + Cost: 100 + +E6: + Buildable: + Prerequisites: barracks + Valued: + Cost: 100 + +E7: + Buildable: + Prerequisites: barracks + Valued: + Cost: 750 + +3TNK: + Inherits: ^Tank + Armament: + Weapon: TankNapalm + Recoil: 200 + RecoilRecovery: 38 + +MEDI: + Buildable: + Prerequisites: barracks + Valued: + Cost: 100 + +SHOK: + Buildable: + Prerequisites: barracks + Valued: + Cost: 150 + +SNIPER: + Valued: + Cost: 200 + Buildable: + Prerequisites: barracks + Health: + HP: 200 + +SNIPER.soviets: + Inherits: SNIPER + Buildable: + Prerequisites: ~disabled + MustBeDestroyed: + Targetable: + TargetTypes: Disguise + AutoTarget: + InitialStanceAI: AttackAnything + RenderSprites: + Image: SNIPER + +SPY: + Buildable: + BuildPaletteOrder: 60 + Prerequisites: barracks + Valued: + Cost: 300 + -MustBeDestroyed: + +FTRK: + -Armament@AA: + -Armament@AG: + Armament: + Weapon: FLAK-23 + Recoil: 85 + LocalOffset: 512,0,192 + MuzzleSequence: muzzle + +ARTY: + Inherits: ^Tank + Valued: + Cost: 600 + Health: + HP: 75 + RevealsShroud: + Range: 7c0 + +V2RL: + Health: + HP: 100 + +4TNK: + Health: + HP: 2500 + Mobile: + Speed: 56 + RevealsShroud: + Range: 14c0 + Turreted: + TurnSpeed: 1 + Armament@PRIMARY: + Recoil: 8 + RecoilRecovery: 0c7 + Armament@SECONDARY: + Recoil: 2 + Explodes: + Weapon: napalm + EmptyWeapon: napalm + SelfHealing: + Step: 2 + Ticks: 1 + HealIfBelow: 40% + +BADR.Bomber: + Health: + HP: 60 + Aircraft: + Speed: 280 + AmmoPool: + Ammo: 30 + Tooltip: + Name: Mig Bomber + SpawnActorOnDeath: + Actor: MIG.Husk + RenderSprites: + Image: mig + +MECH: + Buildable: + Prerequisites: barracks + Valued: + Cost: 1500 + +powerproxy.paratroopers: + ParatroopersPower: + DropItems: E1,E1,E1,E1,E2,E2 + +SILO: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +HBOX: + Buildable: + Prerequisites: ~disabled + +GUN: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +SBAG: + Buildable: + Prerequisites: ~disabled + +FENC: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +GAP: + Buildable: + Prerequisites: ~disabled + +IRON: + Buildable: + Prerequisites: ~disabled + +PDOX: + Buildable: + Prerequisites: ~disabled + +AGUN: + Buildable: + Prerequisites: ~disabled + +TSLA: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/fort-lonestar/weapons.yaml b/mods/ra/maps/fort-lonestar/weapons.yaml new file mode 100644 index 0000000000..5dfdaeceb0 --- /dev/null +++ b/mods/ra/maps/fort-lonestar/weapons.yaml @@ -0,0 +1,174 @@ +120mm: + ReloadDelay: 150 + Range: 10c0 + Burst: 6 + Projectile: Bullet + Speed: 204 + Blockable: false + Inaccuracy: 1c682 + Image: 120MM + ContrailLength: 50 + Warhead@1Dam: SpreadDamage + Spread: 256 + Versus: + None: 75 + Concrete: 100 + Damage: 150 + Warhead@3Eff: CreateEffect + Explosions: self_destruct + +MammothTusk: + ReloadDelay: 300 + Range: 10c0 + ValidTargets: Ground, Air + Projectile: Missile + Blockable: false + Speed: 128 + TrailImage: smokey + ContrailLength: 150 + Inaccuracy: 0c853 + ROT: 10 + RangeLimit: 80 + Warhead@1Dam: SpreadDamage + Spread: 640 + ValidTargets: Ground, Air + Versus: + None: 125 + Wood: 110 + Light: 110 + Heavy: 100 + Concrete: 200 + Damage: 250 + Warhead@3Eff: CreateEffect + Explosions: nuke + +TankNapalm: + ReloadDelay: 40 + Range: 8c0 + Report: aacanon3.aud + ValidTargets: Ground + Burst: 6 + BurstDelay: 1 + Projectile: Bullet + Speed: 426 + Image: 120MM + Inaccuracy: 2c512 + TrailImage: smokey + ContrailLength: 2 + Blockable: false + Warhead: SpreadDamage + Spread: 341 + ValidTargets: Ground + Versus: + None: 90 + Wood: 170 + Light: 100 + Heavy: 100 + Concrete: 100 + Damage: 15 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Scorch + Warhead@3Eff: CreateEffect + Explosions: small_explosion + ImpactSounds: firebl3.aud + +ParaBomb: + ReloadDelay: 5 + Range: 5c0 + Projectile: GravityBomb + Image: BOMBLET + OpenSequence: idle + Warhead@1Dam: SpreadDamage + Spread: 426 + Versus: + None: 125 + Wood: 100 + Light: 60 + Concrete: 25 + Damage: 200 + DamageTypes: Prone50Percent, TriggerProne, FireDeath + Warhead@3Eff: CreateEffect + Explosions: napalm + ImpactSounds: firebl3.aud + +155mm: + ReloadDelay: 10 + Range: 7c5 + Burst: 20 + -Report: + Projectile: Bullet + Speed: 170 + TrailImage: fb4 + Image: fb3 + Blockable: false + Angle: 30 + Inaccuracy: 1c682 + ContrailLength: 2 + Warhead@1Dam: SpreadDamage + Versus: + None: 80 + Wood: 100 + Heavy: 75 + Concrete: 35 + Damage: 20 + DamageTypes: Prone50Percent, TriggerProne, FireDeath + Warhead@3Eff: CreateEffect + Explosions: small_napalm + ImpactSounds: firebl3.aud + +FLAK-23: + ReloadDelay: 10 + Range: 8c0 + Report: aacanon3.aud + ValidTargets: Air, Ground + Projectile: Bullet + Speed: 1c682 + Blockable: false + Warhead: SpreadDamage + Spread: 213 + ValidTargets: Air, Ground + Versus: + None: 35 + Wood: 30 + Light: 30 + Heavy: 40 + Concrete: 30 + Damage: 25 + DamageTypes: Prone50Percent, TriggerProne, DefaultDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Scorch + Warhead@3Eff: CreateEffect + Explosions: med_explosion + +SCUD: + ReloadDelay: 280 + Range: 7c0 + Projectile: Bullet + Arm: 10 + TrailImage: smokey + Blockable: false + Inaccuracy: 0c426 + Angle: 216 + Warhead@1Dam: SpreadDamage + Spread: 853 + Falloff: 100, 37, 14, 5, 0 + Versus: + None: 100 + Wood: 90 + Light: 80 + Heavy: 70 + Damage: 500 + AffectsParent: true + Warhead@3Eff: CreateEffect + Explosions: nuke + ImpactSounds: kaboom1.aud + +SilencedPPK: + Range: 25c0 + ValidTargets: Infantry, Tank, Vehicle, Husk + InvalidTargets: Water, Structure, Wall + Warhead@1Dam: SpreadDamage + ValidTargets: Infantry, Tank, Vehicle, Husk + Versus: + Heavy: 50 diff --git a/mods/ra/maps/ghost-town.oramap b/mods/ra/maps/ghost-town.oramap index 3e9ab2c061..a45d71344e 100644 Binary files a/mods/ra/maps/ghost-town.oramap and b/mods/ra/maps/ghost-town.oramap differ diff --git a/mods/ra/maps/haos-ridges.oramap b/mods/ra/maps/haos-ridges.oramap index 3bf8c11fbe..e1d624288c 100644 Binary files a/mods/ra/maps/haos-ridges.oramap and b/mods/ra/maps/haos-ridges.oramap differ diff --git a/mods/ra/maps/high-and-low-extended.oramap b/mods/ra/maps/high-and-low-extended.oramap index cef56ce5f6..8c4596cde1 100644 Binary files a/mods/ra/maps/high-and-low-extended.oramap and b/mods/ra/maps/high-and-low-extended.oramap differ diff --git a/mods/ra/maps/high-and-low.oramap b/mods/ra/maps/high-and-low.oramap index eea1b8e44c..b219ed0e9e 100644 Binary files a/mods/ra/maps/high-and-low.oramap and b/mods/ra/maps/high-and-low.oramap differ diff --git a/mods/ra/maps/intervention/map.yaml b/mods/ra/maps/intervention/map.yaml index f144ec62d2..3bd78331ab 100644 --- a/mods/ra/maps/intervention/map.yaml +++ b/mods/ra/maps/intervention/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Mission +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -2197,229 +2199,6 @@ Actors: Location: 129,57 Owner: Soviets -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 2000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: intervention.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: The Soviet Air Force is flying air raids against a civilian village.\n\nWe have to do everything in our power to stop them!\n\nYour job is to establish a base on the mainland ASAP. We can prevent the village's destruction by capturing the enemy's Air Force Headquarters building. The enemy base is heavily guarded, though. You will not have enough time to build a force big enough to overpower the Soviet defences. You will have to find a way to sneak in!\n\nGood luck, Commander!\n - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Medium, Hard - ShortGameLocked: True - ShortGameEnabled: False - CAMERA: - RevealsShroud: - Range: 18c0 - MISS: - Tooltip: - Name: Soviet Air Force HQ - Capturable: - Type: building - AllowAllies: False - AllowNeutral: False - AllowEnemies: True - CaptureThreshold: 1.0 - E6.MOD: - Inherits: E6 - Buildable: - Prerequisites: ~barracks - Captures: - CaptureTypes: building - Sabotage: False - RenderSprites: - Image: e6 - E6: - Buildable: - Prerequisites: ~disabled - TENT: - Buildable: - Prerequisites: anypower, ~structures.allies, ~techlevel.infonly, mainland - DOME: - Buildable: - Prerequisites: proc, ~techlevel.medium, mainland - WEAP: - Buildable: - Prerequisites: proc, ~techlevel.low, mainland - ProvidesPrerequisite: - Prerequisite: givefix - MAINLAND: - AlwaysVisible: - Tooltip: - Name: Reach the mainland - ProvidesPrerequisite: - Prerequisite: mainland - HPAD: - ProvidesPrerequisite: - Prerequisite: givefix - FIX: - Buildable: - Prerequisites: givefix - GIVEFIX: - AlwaysVisible: - Tooltip: - Name: Weapons Factory or Helipad - MIG: - Buildable: - Prerequisites: ~afld - AmmoPool: - Ammo: 2 - HELI: - Buildable: - Prerequisites: ~hpad - Valued: - Cost: 1500 - SAM: - RevealsShroud: - Range: 7c0 - Power: - Amount: -5 - TSLA: - Power: - Amount: -50 - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ATEK: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - GAP: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - PDOX: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - E7: - Buildable: - Prerequisites: ~disabled - THF: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - SNIPER: - Buildable: - Prerequisites: ~disabled - 2TNK: - Buildable: - Prerequisites: ~disabled - ARTY: - Buildable: - Prerequisites: ~disabled - CTNK: - Buildable: - Prerequisites: ~disabled - MGG: - Buildable: - Prerequisites: ~disabled - MNLY.AT: - Buildable: - Prerequisites: ~disabled - MNLY.AP: - Buildable: - Prerequisites: ~disabled - MRJ: - Buildable: - Prerequisites: ~disabled - TRUK: - Buildable: - Prerequisites: ~disabled - HIND: - Buildable: - Prerequisites: ~disabled - YAK: - Buildable: - Prerequisites: ~disabled - CA: - Buildable: - Prerequisites: ~disabled - DD: - Buildable: - Prerequisites: ~disabled - STNK: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - Nike: - Range: 9c0 - Maverick: - Warhead@1Dam: SpreadDamage - Damage: 175 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/intervention/rules.yaml b/mods/ra/maps/intervention/rules.yaml new file mode 100644 index 0000000000..7d9dce836b --- /dev/null +++ b/mods/ra/maps/intervention/rules.yaml @@ -0,0 +1,251 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 2000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: intervention.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: The Soviet Air Force is flying air raids against a civilian village.\n\nWe have to do everything in our power to stop them!\n\nYour job is to establish a base on the mainland ASAP. We can prevent the village's destruction by capturing the enemy's Air Force Headquarters building. The enemy base is heavily guarded, though. You will not have enough time to build a force big enough to overpower the Soviet defences. You will have to find a way to sneak in!\n\nGood luck, Commander!\n + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Medium, Hard + ShortGameLocked: True + ShortGameEnabled: False + +CAMERA: + RevealsShroud: + Range: 18c0 + +MISS: + Tooltip: + Name: Soviet Air Force HQ + Capturable: + Type: building + AllowAllies: False + AllowNeutral: False + AllowEnemies: True + CaptureThreshold: 1.0 + +E6.MOD: + Inherits: E6 + Buildable: + Prerequisites: ~barracks + Captures: + CaptureTypes: building + Sabotage: False + RenderSprites: + Image: e6 + +E6: + Buildable: + Prerequisites: ~disabled + +TENT: + Buildable: + Prerequisites: anypower, ~structures.allies, ~techlevel.infonly, mainland + +DOME: + Buildable: + Prerequisites: proc, ~techlevel.medium, mainland + +WEAP: + Buildable: + Prerequisites: proc, ~techlevel.low, mainland + ProvidesPrerequisite: + Prerequisite: givefix + +MAINLAND: + AlwaysVisible: + Tooltip: + Name: Reach the mainland + ProvidesPrerequisite: + Prerequisite: mainland + +HPAD: + ProvidesPrerequisite: + Prerequisite: givefix + +FIX: + Buildable: + Prerequisites: givefix + +GIVEFIX: + AlwaysVisible: + Tooltip: + Name: Weapons Factory or Helipad + +MIG: + Buildable: + Prerequisites: ~afld + AmmoPool: + Ammo: 2 + +HELI: + Buildable: + Prerequisites: ~hpad + Valued: + Cost: 1500 + +SAM: + RevealsShroud: + Range: 7c0 + Power: + Amount: -5 + +TSLA: + Power: + Amount: -50 + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +ATEK: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +GAP: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +PDOX: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +E7: + Buildable: + Prerequisites: ~disabled + +THF: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +SNIPER: + Buildable: + Prerequisites: ~disabled + +2TNK: + Buildable: + Prerequisites: ~disabled + +ARTY: + Buildable: + Prerequisites: ~disabled + +CTNK: + Buildable: + Prerequisites: ~disabled + +MGG: + Buildable: + Prerequisites: ~disabled + +MNLY.AT: + Buildable: + Prerequisites: ~disabled + +MNLY.AP: + Buildable: + Prerequisites: ~disabled + +MRJ: + Buildable: + Prerequisites: ~disabled + +TRUK: + Buildable: + Prerequisites: ~disabled + +HIND: + Buildable: + Prerequisites: ~disabled + +YAK: + Buildable: + Prerequisites: ~disabled + +CA: + Buildable: + Prerequisites: ~disabled + +DD: + Buildable: + Prerequisites: ~disabled + +STNK: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/intervention/weapons.yaml b/mods/ra/maps/intervention/weapons.yaml new file mode 100644 index 0000000000..00d8411987 --- /dev/null +++ b/mods/ra/maps/intervention/weapons.yaml @@ -0,0 +1,7 @@ +Nike: + Range: 9c0 + +Maverick: + Warhead@1Dam: SpreadDamage + Damage: 175 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath diff --git a/mods/ra/maps/island-hoppers.oramap b/mods/ra/maps/island-hoppers.oramap index 6251d9de46..5497a84ceb 100644 Binary files a/mods/ra/maps/island-hoppers.oramap and b/mods/ra/maps/island-hoppers.oramap differ diff --git a/mods/ra/maps/keep-off-the-grass-2.oramap b/mods/ra/maps/keep-off-the-grass-2.oramap index 00e8f84fbd..aaa2fb2bac 100644 Binary files a/mods/ra/maps/keep-off-the-grass-2.oramap and b/mods/ra/maps/keep-off-the-grass-2.oramap differ diff --git a/mods/ra/maps/koth-hopes-anchor/map.png b/mods/ra/maps/koth-hopes-anchor/map.png new file mode 100644 index 0000000000..fd59ff6a68 Binary files /dev/null and b/mods/ra/maps/koth-hopes-anchor/map.png differ diff --git a/mods/ra/maps/koth-hopes-anchor/map.yaml b/mods/ra/maps/koth-hopes-anchor/map.yaml index d2da4a6ba2..e0f5cf6bb5 100644 --- a/mods/ra/maps/koth-hopes-anchor/map.yaml +++ b/mods/ra/maps/koth-hopes-anchor/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -621,42 +621,4 @@ Actors: Location: 8,56 Owner: Neutral -Smudges: - -Rules: - MISS: - ProximityCapturable: - MustBeClear: true - Range: 9c0 - CaptorTypes: Ship,Vehicle,Tank,Infantry - StrategicPoint: - Critical: false - Tooltip: - Name: Strategic Point - RevealsShroud: - Range: 20c0 - DamageMultiplier@INVULNERABLE: - Modifier: 0 - -Selectable: - -Targetable: - Player: - StrategicVictoryConditions: - TicksToHold: 3000 - ResetOnHoldLost: true - RatioRequired: 0.65 - CriticalRatioRequired: 0.65 - -ConquestVictoryConditions: - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/koth-hopes-anchor/rules.yaml b/mods/ra/maps/koth-hopes-anchor/rules.yaml new file mode 100644 index 0000000000..82257f331c --- /dev/null +++ b/mods/ra/maps/koth-hopes-anchor/rules.yaml @@ -0,0 +1,23 @@ +MISS: + ProximityCapturable: + MustBeClear: true + Range: 9c0 + CaptorTypes: Ship,Vehicle,Tank,Infantry + StrategicPoint: + Critical: false + Tooltip: + Name: Strategic Point + RevealsShroud: + Range: 20c0 + DamageMultiplier@INVULNERABLE: + Modifier: 0 + -Selectable: + -Targetable: + +Player: + StrategicVictoryConditions: + TicksToHold: 3000 + ResetOnHoldLost: true + RatioRequired: 0.65 + CriticalRatioRequired: 0.65 + -ConquestVictoryConditions: diff --git a/mods/ra/maps/mad-science.oramap b/mods/ra/maps/mad-science.oramap index eeba94b843..4e6d9a75b5 100644 Binary files a/mods/ra/maps/mad-science.oramap and b/mods/ra/maps/mad-science.oramap differ diff --git a/mods/ra/maps/man-to-man.oramap b/mods/ra/maps/man-to-man.oramap index cb6519164c..74a75d5fa9 100644 Binary files a/mods/ra/maps/man-to-man.oramap and b/mods/ra/maps/man-to-man.oramap differ diff --git a/mods/ra/maps/marooned-2.oramap b/mods/ra/maps/marooned-2.oramap index f1c7fc7374..08a98cb144 100644 Binary files a/mods/ra/maps/marooned-2.oramap and b/mods/ra/maps/marooned-2.oramap differ diff --git a/mods/ra/maps/mass-confliction.oramap b/mods/ra/maps/mass-confliction.oramap index d3753654df..e4ab97b289 100644 Binary files a/mods/ra/maps/mass-confliction.oramap and b/mods/ra/maps/mass-confliction.oramap differ diff --git a/mods/ra/maps/monster-tank-madness/map.yaml b/mods/ra/maps/monster-tank-madness/map.yaml index 10a325f3d6..2177ea4d3d 100644 --- a/mods/ra/maps/monster-tank-madness/map.yaml +++ b/mods/ra/maps/monster-tank-madness/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Mission +LockPreview: True + Players: PlayerReference@Greece: Name: Greece @@ -2085,359 +2087,8 @@ Actors: Location: 65,78 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: monster-tank-madness.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - -StartGameNotification: - MissionData: - Briefing: Dr. Demitri, creator of a Soviet Super Tank, wants to defect.\n\nWe planned to extract him while the Soviets were testing their new weapon, but something has gone wrong.\n\nThe Super Tanks are out of control, and Demitri is missing -- likely hiding in the village to the far south.\n\nFind our outpost and start repairs on it, then find and evacuate Demitri.\n\nAs for the tanks, we can reprogram them. Send a spy into the Soviet radar dome in the NE, turning the tanks on their creators.\n - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - AnnounceOnSeen: - ^TechBuilding: - Tooltip: - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - ^CivBuilding: - Explodes: - Weapon: BarrelExplode - EmptyWeapon: BarrelExplode - Tooltip: - ShowOwnerRow: false - DEMITRI: - Inherits: DELPHI - Tooltip: - Name: Dr. Demitri - Passenger: - CargoType: Demitri - RenderSprites: - Image: DELPHI - Voiced: - VoiceSet: DemitriVoice - TRAN: - RevealsShroud: - Range: 0c0 - Cargo: - Types: Demitri - MaxWeight: 1 - -Selectable: - LST: - Cargo: - Types: Infantry, Vehicle, Demitri - JEEP: - Cargo: - Types: Infantry, Demitri - PBOX: - Cargo: - Types: Infantry, Demitri - 5TNK: - Inherits: ^Tank - Valued: - Cost: 10000 - Tooltip: - Name: Super Tank - GenericName: Super Tank - Health: - HP: 20000 - Armor: - Type: Concrete - Mobile: - Speed: 42 - Crushes: wall, mine, crate, infantry - RevealsShroud: - Range: 6c0 - Turreted: - TurnSpeed: 1 - Armament@PRIMARY: - Weapon: SuperTankPrimary - LocalOffset: 900,180,340, 900,-180,340 - Recoil: 171 - RecoilRecovery: 30 - MuzzleSequence: muzzle - Armament@SECONDARY: - Name: secondary - Weapon: MammothTusk - LocalOffset: -85,384,340, -85,-384,340 - LocalYaw: -100,100 - Recoil: 43 - MuzzleSequence: muzzle - AttackTurreted: - WithMuzzleOverlay: - WithSpriteTurret: - AutoTarget: - Explodes: - Weapon: MiniNuke - EmptyWeapon: MiniNuke - SpawnActorOnDeath: - Actor: 5TNK.Husk - SelfHealing: - Step: 1 - Ticks: 1 - HealIfBelow: 100% - DamageCooldown: 150 - Selectable: - Bounds: 44,38,0,-4 - -EjectOnDeath: - RenderSprites: - Image: 4TNK - 5TNK.Husk: - Inherits: ^Husk - Tooltip: - Name: Husk (Super Tank) - ThrowsParticle@turret: - Anim: turret - Health: - HP: 2000 - RenderSprites: - Image: 4TNK - DOME.NoInfiltrate: - Inherits: DOME - Buildable: - Prerequisites: ~disabled - RenderSprites: - Image: DOME - -InfiltrateForExploration: - Targetable: - TargetTypes: Ground, C4, DetonateAttack, MissionObjective - SPY: - Infiltrates: - Types: SpyInfiltrate, MissionObjective - BAD3TNK: - Inherits: 3TNK - Buildable: - Prerequisites: ~disabled - -EjectOnDeath: - RenderSprites: - Image: 3TNK - BADTRUK: - Inherits: TRUK - Buildable: - Prerequisites: ~disabled - -EjectOnDeath: - RenderSprites: - Image: TRUK - SS: - Buildable: - Prerequisites: ~disabled - AGUN: - Buildable: - Prerequisites: ~disabled - MSUB: - Buildable: - Prerequisites: ~disabled - DD: - Buildable: - Prerequisites: ~disabled - CA: - Buildable: - Prerequisites: ~disabled - PT: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - SYRD: - Buildable: - Prerequisites: ~disabled - SPEN: - Buildable: - Prerequisites: ~disabled - IRON: - Buildable: - Prerequisites: ~disabled - PDOX: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - AFLD: - Buildable: - Prerequisites: ~disabled - ATEK: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - 4TNK: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - MNLY.AP: - Buildable: - Prerequisites: ~disabled - MNLY.AT: - Buildable: - Prerequisites: ~disabled - TTNK: - Buildable: - Prerequisites: ~disabled - CTNK: - Buildable: - Prerequisites: ~disabled - MGG: - Buildable: - Prerequisites: ~disabled - GAP: - Buildable: - Prerequisites: ~disabled - MRJ: - Buildable: - Prerequisites: ~disabled - E7: - Buildable: - Prerequisites: ~disabled - C1: - -Crushable: - C2: - -Crushable: - C5: - -Crushable: - C7: - -Crushable: - C8: - -Crushable: - SHOK: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - STNK: - Buildable: - Prerequisites: ~disabled - DTRK: - Buildable: - Prerequisites: ~disabled - QTNK: - Buildable: - Prerequisites: ~disabled +Weapons: weapons.yaml -Sequences: - -VoxelSequences: - -Weapons: - FireballLauncher: - Projectile: - Blockable: false - TurretGun: - Projectile: - Blockable: false - SuperTankPrimary: - ROF: 70 - Range: 4c768 - Report: turret1.aud - Burst: 2 - InvalidTargets: Air, Infantry - Projectile: Bullet - Speed: 682 - Image: 120MM - Warhead@1Dam: SpreadDamage - Spread: 128 - Damage: 50 - InvalidTargets: Air, Infantry - Versus: - None: 20 - Wood: 75 - Light: 75 - Concrete: 50 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Crater - Warhead@3EffGround: CreateEffect - Explosions: small_explosion - InvalidImpactTypes: Water - Warhead@4EffWater: CreateEffect - Explosions: small_splash - ValidImpactTypes: Water - -Voices: - DemitriVoice: - Variants: - allies: .r01,.r03 - england: .r01,.r03 - france: .r01,.r03 - germany: .r01,.r03 - soviet: .r01,.r03 - russia: .r01,.r03 - ukraine: .r01,.r03 - Voices: - Select: await1,ready,report1,yessir1 - Action: ackno,affirm1,noprob,overout,ritaway,roger,ugotit - Die: dedman1,dedman2,dedman3,dedman4,dedman5,dedman7,dedman8 - Burned: dedman10 - Zapped: dedman6 - DisableVariants: Die, Burned, Zapped - -Music: - -Notifications: - -Translations: +Voices: voices.yaml diff --git a/mods/ra/maps/monster-tank-madness/rules.yaml b/mods/ra/maps/monster-tank-madness/rules.yaml new file mode 100644 index 0000000000..b7bbd8a6a3 --- /dev/null +++ b/mods/ra/maps/monster-tank-madness/rules.yaml @@ -0,0 +1,349 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: monster-tank-madness.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + -StartGameNotification: + MissionData: + Briefing: Dr. Demitri, creator of a Soviet Super Tank, wants to defect.\n\nWe planned to extract him while the Soviets were testing their new weapon, but something has gone wrong.\n\nThe Super Tanks are out of control, and Demitri is missing -- likely hiding in the village to the far south.\n\nFind our outpost and start repairs on it, then find and evacuate Demitri.\n\nAs for the tanks, we can reprogram them. Send a spy into the Soviet radar dome in the NE, turning the tanks on their creators.\n + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + AnnounceOnSeen: + +^TechBuilding: + Tooltip: + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +^CivBuilding: + Explodes: + Weapon: BarrelExplode + EmptyWeapon: BarrelExplode + Tooltip: + ShowOwnerRow: false + +DEMITRI: + Inherits: DELPHI + Tooltip: + Name: Dr. Demitri + Passenger: + CargoType: Demitri + RenderSprites: + Image: DELPHI + Voiced: + VoiceSet: DemitriVoice + +TRAN: + RevealsShroud: + Range: 0c0 + Cargo: + Types: Demitri + MaxWeight: 1 + -Selectable: + +LST: + Cargo: + Types: Infantry, Vehicle, Demitri + +JEEP: + Cargo: + Types: Infantry, Demitri + +PBOX: + Cargo: + Types: Infantry, Demitri + +5TNK: + Inherits: ^Tank + Valued: + Cost: 10000 + Tooltip: + Name: Super Tank + GenericName: Super Tank + Health: + HP: 20000 + Armor: + Type: Concrete + Mobile: + Speed: 42 + Crushes: wall, mine, crate, infantry + RevealsShroud: + Range: 6c0 + Turreted: + TurnSpeed: 1 + Armament@PRIMARY: + Weapon: SuperTankPrimary + LocalOffset: 900,180,340, 900,-180,340 + Recoil: 171 + RecoilRecovery: 30 + MuzzleSequence: muzzle + Armament@SECONDARY: + Name: secondary + Weapon: MammothTusk + LocalOffset: -85,384,340, -85,-384,340 + LocalYaw: -100,100 + Recoil: 43 + MuzzleSequence: muzzle + AttackTurreted: + WithMuzzleOverlay: + WithSpriteTurret: + AutoTarget: + Explodes: + Weapon: MiniNuke + EmptyWeapon: MiniNuke + SpawnActorOnDeath: + Actor: 5TNK.Husk + SelfHealing: + Step: 1 + Ticks: 1 + HealIfBelow: 100% + DamageCooldown: 150 + Selectable: + Bounds: 44,38,0,-4 + -EjectOnDeath: + RenderSprites: + Image: 4TNK + +5TNK.Husk: + Inherits: ^Husk + Tooltip: + Name: Husk (Super Tank) + ThrowsParticle@turret: + Anim: turret + Health: + HP: 2000 + RenderSprites: + Image: 4TNK + +DOME.NoInfiltrate: + Inherits: DOME + Buildable: + Prerequisites: ~disabled + RenderSprites: + Image: DOME + -InfiltrateForExploration: + Targetable: + TargetTypes: Ground, C4, DetonateAttack, MissionObjective + +SPY: + Infiltrates: + Types: SpyInfiltrate, MissionObjective + +BAD3TNK: + Inherits: 3TNK + Buildable: + Prerequisites: ~disabled + -EjectOnDeath: + RenderSprites: + Image: 3TNK + +BADTRUK: + Inherits: TRUK + Buildable: + Prerequisites: ~disabled + -EjectOnDeath: + RenderSprites: + Image: TRUK + +SS: + Buildable: + Prerequisites: ~disabled + +AGUN: + Buildable: + Prerequisites: ~disabled + +MSUB: + Buildable: + Prerequisites: ~disabled + +DD: + Buildable: + Prerequisites: ~disabled + +CA: + Buildable: + Prerequisites: ~disabled + +PT: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +SYRD: + Buildable: + Prerequisites: ~disabled + +SPEN: + Buildable: + Prerequisites: ~disabled + +IRON: + Buildable: + Prerequisites: ~disabled + +PDOX: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +AFLD: + Buildable: + Prerequisites: ~disabled + +ATEK: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +4TNK: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +MNLY.AP: + Buildable: + Prerequisites: ~disabled + +MNLY.AT: + Buildable: + Prerequisites: ~disabled + +TTNK: + Buildable: + Prerequisites: ~disabled + +CTNK: + Buildable: + Prerequisites: ~disabled + +MGG: + Buildable: + Prerequisites: ~disabled + +GAP: + Buildable: + Prerequisites: ~disabled + +MRJ: + Buildable: + Prerequisites: ~disabled + +E7: + Buildable: + Prerequisites: ~disabled + +C1: + -Crushable: + +C2: + -Crushable: + +C5: + -Crushable: + +C7: + -Crushable: + +C8: + -Crushable: + +SHOK: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +STNK: + Buildable: + Prerequisites: ~disabled + +DTRK: + Buildable: + Prerequisites: ~disabled + +QTNK: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/monster-tank-madness/voices.yaml b/mods/ra/maps/monster-tank-madness/voices.yaml new file mode 100644 index 0000000000..4ac80b71c4 --- /dev/null +++ b/mods/ra/maps/monster-tank-madness/voices.yaml @@ -0,0 +1,16 @@ +DemitriVoice: + Variants: + allies: .r01,.r03 + england: .r01,.r03 + france: .r01,.r03 + germany: .r01,.r03 + soviet: .r01,.r03 + russia: .r01,.r03 + ukraine: .r01,.r03 + Voices: + Select: await1,ready,report1,yessir1 + Action: ackno,affirm1,noprob,overout,ritaway,roger,ugotit + Die: dedman1,dedman2,dedman3,dedman4,dedman5,dedman7,dedman8 + Burned: dedman10 + Zapped: dedman6 + DisableVariants: Die, Burned, Zapped \ No newline at end of file diff --git a/mods/ra/maps/monster-tank-madness/weapons.yaml b/mods/ra/maps/monster-tank-madness/weapons.yaml new file mode 100644 index 0000000000..26bd9a3928 --- /dev/null +++ b/mods/ra/maps/monster-tank-madness/weapons.yaml @@ -0,0 +1,35 @@ +FireballLauncher: + Projectile: + Blockable: false + +TurretGun: + Projectile: + Blockable: false + +SuperTankPrimary: + ROF: 70 + Range: 4c768 + Report: turret1.aud + Burst: 2 + InvalidTargets: Air, Infantry + Projectile: Bullet + Speed: 682 + Image: 120MM + Warhead@1Dam: SpreadDamage + Spread: 128 + Damage: 50 + InvalidTargets: Air, Infantry + Versus: + None: 20 + Wood: 75 + Light: 75 + Concrete: 50 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Crater + Warhead@3EffGround: CreateEffect + Explosions: small_explosion + InvalidImpactTypes: Water + Warhead@4EffWater: CreateEffect + Explosions: small_splash + ValidImpactTypes: Water diff --git a/mods/ra/maps/north-by-northwest.oramap b/mods/ra/maps/north-by-northwest.oramap index fffca295fa..c6243ea11e 100644 Binary files a/mods/ra/maps/north-by-northwest.oramap and b/mods/ra/maps/north-by-northwest.oramap differ diff --git a/mods/ra/maps/ore-lord.oramap b/mods/ra/maps/ore-lord.oramap index e0884fbf0d..f28e7a1755 100644 Binary files a/mods/ra/maps/ore-lord.oramap and b/mods/ra/maps/ore-lord.oramap differ diff --git a/mods/ra/maps/pearly-wastelands.oramap b/mods/ra/maps/pearly-wastelands.oramap index 30c81ca111..051025e0ab 100644 Binary files a/mods/ra/maps/pearly-wastelands.oramap and b/mods/ra/maps/pearly-wastelands.oramap differ diff --git a/mods/ra/maps/poland-raid/map.png b/mods/ra/maps/poland-raid/map.png new file mode 100644 index 0000000000..67ea2bda7f Binary files /dev/null and b/mods/ra/maps/poland-raid/map.png differ diff --git a/mods/ra/maps/poland-raid/map.yaml b/mods/ra/maps/poland-raid/map.yaml index 185826aa0e..df9149a0b8 100644 --- a/mods/ra/maps/poland-raid/map.yaml +++ b/mods/ra/maps/poland-raid/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -777,27 +777,4 @@ Actors: Location: 91,86 Owner: Neutral -Smudges: - -Rules: - OILB: - CashTrickler: - Period: 250 - Amount: 100 - FACT: - RevealsShroud: - Range: 8c0 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/poland-raid/rules.yaml b/mods/ra/maps/poland-raid/rules.yaml new file mode 100644 index 0000000000..d67ee43efb --- /dev/null +++ b/mods/ra/maps/poland-raid/rules.yaml @@ -0,0 +1,8 @@ +OILB: + CashTrickler: + Period: 250 + Amount: 100 + +FACT: + RevealsShroud: + Range: 8c0 diff --git a/mods/ra/maps/pressure.oramap b/mods/ra/maps/pressure.oramap index c7a1041794..e3c2fbb0bb 100644 Binary files a/mods/ra/maps/pressure.oramap and b/mods/ra/maps/pressure.oramap differ diff --git a/mods/ra/maps/puddles-redux.oramap b/mods/ra/maps/puddles-redux.oramap index 49e3739300..874a2b5b78 100644 Binary files a/mods/ra/maps/puddles-redux.oramap and b/mods/ra/maps/puddles-redux.oramap differ diff --git a/mods/ra/maps/raraku.oramap b/mods/ra/maps/raraku.oramap index 8c4917dbed..ec419a266a 100644 Binary files a/mods/ra/maps/raraku.oramap and b/mods/ra/maps/raraku.oramap differ diff --git a/mods/ra/maps/regeneration-basin.oramap b/mods/ra/maps/regeneration-basin.oramap index e32af6dd7e..1ed3248392 100644 Binary files a/mods/ra/maps/regeneration-basin.oramap and b/mods/ra/maps/regeneration-basin.oramap differ diff --git a/mods/ra/maps/ring-of-fire.oramap b/mods/ra/maps/ring-of-fire.oramap index 9df2842e07..3beeb5ebcc 100644 Binary files a/mods/ra/maps/ring-of-fire.oramap and b/mods/ra/maps/ring-of-fire.oramap differ diff --git a/mods/ra/maps/seaside-2.oramap b/mods/ra/maps/seaside-2.oramap index e8beedb660..23fcf76fc4 100644 Binary files a/mods/ra/maps/seaside-2.oramap and b/mods/ra/maps/seaside-2.oramap differ diff --git a/mods/ra/maps/sidestep.oramap b/mods/ra/maps/sidestep.oramap index 2e03f5021a..9d47fc0cd2 100644 Binary files a/mods/ra/maps/sidestep.oramap and b/mods/ra/maps/sidestep.oramap differ diff --git a/mods/ra/maps/singles.oramap b/mods/ra/maps/singles.oramap index a0a2b546cf..58a2ca3850 100644 Binary files a/mods/ra/maps/singles.oramap and b/mods/ra/maps/singles.oramap differ diff --git a/mods/ra/maps/snow town/map.png b/mods/ra/maps/snow town/map.png new file mode 100644 index 0000000000..ab5209ebb7 Binary files /dev/null and b/mods/ra/maps/snow town/map.png differ diff --git a/mods/ra/maps/snow town/map.yaml b/mods/ra/maps/snow town/map.yaml index c6ce1cdfab..9538c80329 100644 --- a/mods/ra/maps/snow town/map.yaml +++ b/mods/ra/maps/snow town/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -651,41 +651,4 @@ Actors: Location: 75,43 Owner: Neutral -Smudges: - -Rules: - World: - WeatherOverlay: - ParticleDensityFactor: 0.0007625 - ChangingWindLevel: true - WindLevels: -5, -3, -2, 0, 2, 3, 5 - WindTick: 150, 550 - InstantWindChanges: false - UseSquares: true - ParticleSize: 1, 3 - ScatterDirection: -1, 1 - Gravity: 1.00, 2.00 - SwingOffset: 1.0, 1.5 - SwingSpeed: 0.001, 0.025 - SwingAmplitude: 1.0, 1.5 - ParticleColors: ECECEC, E4E4E4, D0D0D0, BCBCBC - LineTailAlphaValue: 0 - GlobalLightingPaletteEffect: - Red: 0.9 - Green: 0.9 - Blue: 1.0 - Ambient: 1.2 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/snow town/rules.yaml b/mods/ra/maps/snow town/rules.yaml new file mode 100644 index 0000000000..94ff76aad6 --- /dev/null +++ b/mods/ra/maps/snow town/rules.yaml @@ -0,0 +1,21 @@ +World: + WeatherOverlay: + ParticleDensityFactor: 0.0007625 + ChangingWindLevel: true + WindLevels: -5, -3, -2, 0, 2, 3, 5 + WindTick: 150, 550 + InstantWindChanges: false + UseSquares: true + ParticleSize: 1, 3 + ScatterDirection: -1, 1 + Gravity: 1.00, 2.00 + SwingOffset: 1.0, 1.5 + SwingSpeed: 0.001, 0.025 + SwingAmplitude: 1.0, 1.5 + ParticleColors: ECECEC, E4E4E4, D0D0D0, BCBCBC + LineTailAlphaValue: 0 + GlobalLightingPaletteEffect: + Red: 0.9 + Green: 0.9 + Blue: 1.0 + Ambient: 1.2 diff --git a/mods/ra/maps/snowy-island.oramap b/mods/ra/maps/snowy-island.oramap index 6c030373e9..b41670da35 100644 Binary files a/mods/ra/maps/snowy-island.oramap and b/mods/ra/maps/snowy-island.oramap differ diff --git a/mods/ra/maps/soviet-01/map.yaml b/mods/ra/maps/soviet-01/map.yaml index 19f1064640..9d3fd1436b 100644 --- a/mods/ra/maps/soviet-01/map.yaml +++ b/mods/ra/maps/soviet-01/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@France: Name: France @@ -583,107 +585,4 @@ Actors: Location: 51,84 Owner: Neutral -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet01.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: A pitiful excuse for resistance has blockaded itself in this village.\n\nStalin has decided to make an example of them. Kill them all and destroy their homes. You will have Yak aircraft to use in teaching these rebels a lesson. - BackgroundVideo: prolog.vqa - BriefingVideo: soviet1.vqa - StartVideo: flare.vqa - WinVideo: snstrafe.vqa - LossVideo: sfrozen.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - V01: - SpawnActorOnDeath: - Actor: healcrate - HEALCRATE: - Tooltip: - GenericStancePrefix: false - GenericVisibility: Enemy - ShowOwnerRow: false - ^CivBuilding: - MustBeDestroyed: - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - JEEP: - Explodes: - JamsRadar: - Range: 10c0 - YAK: - Buildable: - Prerequisites: ~disabled - MIG: - Buildable: - Prerequisites: ~disabled - AFLD: - AirstrikePower@spyplane: - Prerequisites: ~disabled - ParatroopersPower@paratroopers: - ChargeTime: 60 - DropItems: E1,E1,E1,E2,E2 - -RallyPoint: - -Sellable: - DOME: - -Sellable: - POWR: - -Sellable: - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/soviet-01/rules.yaml b/mods/ra/maps/soviet-01/rules.yaml new file mode 100644 index 0000000000..23ab1f42bb --- /dev/null +++ b/mods/ra/maps/soviet-01/rules.yaml @@ -0,0 +1,102 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet01.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: A pitiful excuse for resistance has blockaded itself in this village.\n\nStalin has decided to make an example of them. Kill them all and destroy their homes. You will have Yak aircraft to use in teaching these rebels a lesson. + BackgroundVideo: prolog.vqa + BriefingVideo: soviet1.vqa + StartVideo: flare.vqa + WinVideo: snstrafe.vqa + LossVideo: sfrozen.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +V01: + SpawnActorOnDeath: + Actor: healcrate + +HEALCRATE: + Tooltip: + GenericStancePrefix: false + GenericVisibility: Enemy + ShowOwnerRow: false + +^CivBuilding: + MustBeDestroyed: + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +JEEP: + Explodes: + JamsRadar: + Range: 10c0 + +YAK: + Buildable: + Prerequisites: ~disabled + +MIG: + Buildable: + Prerequisites: ~disabled + +AFLD: + AirstrikePower@spyplane: + Prerequisites: ~disabled + ParatroopersPower@paratroopers: + ChargeTime: 60 + DropItems: E1,E1,E1,E2,E2 + -RallyPoint: + -Sellable: + +DOME: + -Sellable: + +POWR: + -Sellable: diff --git a/mods/ra/maps/soviet-02a/map.yaml b/mods/ra/maps/soviet-02a/map.yaml index cd9cf03ff1..021d31da53 100644 --- a/mods/ra/maps/soviet-02a/map.yaml +++ b/mods/ra/maps/soviet-02a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@USSR: Name: USSR @@ -562,156 +564,4 @@ Actors: Owner: Germany SubCell: 2 -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet02a.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: Tomorrow, the attack on Germany begins, but today, we must protect our facility from Allied attacks.\n\nKeep the Command Center intact at all costs, and destroy any Allied fortification you might find. - BriefingVideo: soviet2.vqa - StartVideo: spotter.vqa - WinVideo: sovtstar.vqa - LossVideo: sovcemet.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - FCOM: - Tooltip: - ShowOwnerRow: false - SPEN: - Buildable: - Prerequisites: ~disabled - DOME: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - APWR: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - TSLA: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - IRON: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - E6: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - SNIPER: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - MIG: - Buildable: - Prerequisites: ~disabled - AFLD: - Buildable: - Prerequisites: ~disabled - AirstrikePower@spyplane: - Prerequisites: ~disabled - ParatroopersPower@paratroopers: - Prerequisites: ~disabled - DOG: - Health: - HP: 25 - AutoTarget: - ScanRadius: 5 - powerproxy.paratroopers: - ParatroopersPower: - DropItems: E2,E2,E2,E2,E2 - HARV: - Harvester: - SearchFromProcRadius: 50 - SearchFromOrderRadius: 50 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/soviet-02a/rules.yaml b/mods/ra/maps/soviet-02a/rules.yaml new file mode 100644 index 0000000000..617b37e8a0 --- /dev/null +++ b/mods/ra/maps/soviet-02a/rules.yaml @@ -0,0 +1,167 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet02a.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: Tomorrow, the attack on Germany begins, but today, we must protect our facility from Allied attacks.\n\nKeep the Command Center intact at all costs, and destroy any Allied fortification you might find. + BriefingVideo: soviet2.vqa + StartVideo: spotter.vqa + WinVideo: sovtstar.vqa + LossVideo: sovcemet.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +FCOM: + Tooltip: + ShowOwnerRow: false + +SPEN: + Buildable: + Prerequisites: ~disabled + +DOME: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +APWR: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +TSLA: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +IRON: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +E6: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +SNIPER: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +MIG: + Buildable: + Prerequisites: ~disabled + +AFLD: + Buildable: + Prerequisites: ~disabled + AirstrikePower@spyplane: + Prerequisites: ~disabled + ParatroopersPower@paratroopers: + Prerequisites: ~disabled + +DOG: + Health: + HP: 25 + AutoTarget: + ScanRadius: 5 + +powerproxy.paratroopers: + ParatroopersPower: + DropItems: E2,E2,E2,E2,E2 + +HARV: + Harvester: + SearchFromProcRadius: 50 + SearchFromOrderRadius: 50 diff --git a/mods/ra/maps/soviet-02b/map.yaml b/mods/ra/maps/soviet-02b/map.yaml index 98ac25b9fc..16b57e7d7d 100644 --- a/mods/ra/maps/soviet-02b/map.yaml +++ b/mods/ra/maps/soviet-02b/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -485,201 +487,6 @@ Actors: Location: 67,75 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet02b.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: Tomorrow, the attack on Germany begins, but today, we must protect our facility from Allied attacks.\n\nKeep the Command Center intact at all costs, and destroy any Allied fortification you might find. - BriefingVideo: soviet2.vqa - StartVideo: spotter.vqa - WinVideo: sovtstar.vqa - LossVideo: sovcemet.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - SPEN: - Buildable: - Prerequisites: ~disabled - DOME: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - APWR: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - TSLA: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - IRON: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - E6: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - SNIPER: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - MIG: - Buildable: - Prerequisites: ~disabled - GUN: - -RepairableBuilding: - FCOM: - RepairableBuilding: - Tooltip: - ShowOwnerRow: false - AFLD: - Buildable: - Prerequisites: ~disabled - AirstrikePower@spyplane: - Prerequisites: ~disabled - ParatroopersPower@paratroopers: - Prerequisites: ~disabled - DOG: - Health: - HP: 25 - AutoTarget: - ScanRadius: 5 - HARV: - Harvester: - SearchFromProcRadius: 50 - SearchFromOrderRadius: 50 - BARL: - Health: - HP: 1 - Explodes: - Weapon: MissionBarrelExplode - BRL3: - Health: - HP: 1 - Explodes: - Weapon: MissionBarrelExplode - MONEYCRATE: - GiveCashCrateAction: - Amount: 2000 - powerproxy.paratroopers: - ParatroopersPower: - DropItems: E1,E1,E2,E2,E2 - powerproxy.paratroopers2: - Inherits: powerproxy.paratroopers - ParatroopersPower: - DropItems: E2,E2,E2,E2,E2 - powerproxy.paratroopers3: - Inherits: powerproxy.paratroopers - ParatroopersPower: - DropItems: E1,E1,E1,E1,E1 - -Sequences: - -VoxelSequences: - -Weapons: - MissionBarrelExplode: - Warhead@1Dam: SpreadDamage - Spread: 600 - Damage: 100 - Falloff: 1000, 368, 135, 50, 18, 7, 0 - Delay: 5 - Versus: - None: 120 - Wood: 200 - Light: 50 - Heavy: 25 - Concrete: 10 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Scorch - Size: 2,1 - Delay: 5 - Warhead@3Eff: CreateEffect - Explosions: napalm - ImpactSounds: firebl3.aud - Delay: 5 - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/soviet-02b/rules.yaml b/mods/ra/maps/soviet-02b/rules.yaml new file mode 100644 index 0000000000..cc1243fbdb --- /dev/null +++ b/mods/ra/maps/soviet-02b/rules.yaml @@ -0,0 +1,197 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet02b.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: Tomorrow, the attack on Germany begins, but today, we must protect our facility from Allied attacks.\n\nKeep the Command Center intact at all costs, and destroy any Allied fortification you might find. + BriefingVideo: soviet2.vqa + StartVideo: spotter.vqa + WinVideo: sovtstar.vqa + LossVideo: sovcemet.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +SPEN: + Buildable: + Prerequisites: ~disabled + +DOME: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +APWR: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +TSLA: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +IRON: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +E6: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +SNIPER: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +MIG: + Buildable: + Prerequisites: ~disabled + +GUN: + -RepairableBuilding: + +FCOM: + RepairableBuilding: + Tooltip: + ShowOwnerRow: false + +AFLD: + Buildable: + Prerequisites: ~disabled + AirstrikePower@spyplane: + Prerequisites: ~disabled + ParatroopersPower@paratroopers: + Prerequisites: ~disabled + +DOG: + Health: + HP: 25 + AutoTarget: + ScanRadius: 5 + +HARV: + Harvester: + SearchFromProcRadius: 50 + SearchFromOrderRadius: 50 + +BARL: + Health: + HP: 1 + Explodes: + Weapon: MissionBarrelExplode + +BRL3: + Health: + HP: 1 + Explodes: + Weapon: MissionBarrelExplode + +MONEYCRATE: + GiveCashCrateAction: + Amount: 2000 + +powerproxy.paratroopers: + ParatroopersPower: + DropItems: E1,E1,E2,E2,E2 + +powerproxy.paratroopers2: + Inherits: powerproxy.paratroopers + ParatroopersPower: + DropItems: E2,E2,E2,E2,E2 + +powerproxy.paratroopers3: + Inherits: powerproxy.paratroopers + ParatroopersPower: + DropItems: E1,E1,E1,E1,E1 diff --git a/mods/ra/maps/soviet-02b/weapons.yaml b/mods/ra/maps/soviet-02b/weapons.yaml new file mode 100644 index 0000000000..3f46f31baa --- /dev/null +++ b/mods/ra/maps/soviet-02b/weapons.yaml @@ -0,0 +1,21 @@ +MissionBarrelExplode: + Warhead@1Dam: SpreadDamage + Spread: 600 + Damage: 100 + Falloff: 1000, 368, 135, 50, 18, 7, 0 + Delay: 5 + Versus: + None: 120 + Wood: 200 + Light: 50 + Heavy: 25 + Concrete: 10 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Scorch + Size: 2,1 + Delay: 5 + Warhead@3Eff: CreateEffect + Explosions: napalm + ImpactSounds: firebl3.aud + Delay: 5 diff --git a/mods/ra/maps/soviet-03/map.yaml b/mods/ra/maps/soviet-03/map.yaml index ff6667b553..93700eadf8 100644 --- a/mods/ra/maps/soviet-03/map.yaml +++ b/mods/ra/maps/soviet-03/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -1165,144 +1167,8 @@ Actors: Location: 47,50 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet03.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: A spy who has compromised the security of one of the northern sarin gas sites has been traced back to Lund, Sweden, by Nadia's intelligence groups.\n\nHe has been marked for death and a squad of Soviet troops was dispatched to the location to hunt him down. - BriefingVideo: soviet3.vqa - StartVideo: search.vqa - WinVideo: execute.vqa - LossVideo: take_off.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^TechBuilding: - AutoTargetIgnore: - Tooltip: - ShowOwnerRow: false - ^Infantry: - -GivesBounty: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - -GivesBounty: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Helicopter: - -GivesBounty: - Health: - HP: 9000 - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - BARL: - Health: - HP: 1 - Explodes: - Weapon: MissionBarrelExplode - BRL3: - Health: - HP: 1 - Explodes: - Weapon: MissionBarrelExplode - FENC: - Health: - HP: 9000 - HEALCRATE: - Tooltip: - GenericStancePrefix: false - GenericVisibility: Enemy - ShowOwnerRow: false - V01: - Cargo: - Types: Infantry - MaxWeight: 1 - PipCount: 1 - V05: - SpawnActorOnDeath: - Actor: healcrate - DOG: - -GainsExperience: - SPY: - Mobile: - Speed: 80 - powerproxy.paratroopers: - ParatroopersPower: - DropItems: E1,E1,E1,E2,E2 +Weapons: weapons.yaml -Sequences: - -VoxelSequences: - -Weapons: - MissionBarrelExplode: - Warhead@1Dam: SpreadDamage - Spread: 600 - Damage: 200 - Falloff: 1000, 368, 135, 50, 18, 7, 0 - Delay: 5 - Versus: - None: 120 - Wood: 200 - Light: 50 - Heavy: 25 - Concrete: 10 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Scorch - Size: 2,1 - Delay: 5 - Warhead@3Eff: CreateEffect - Explosions: napalm - ImpactSounds: firebl3.aud - Delay: 5 - -Voices: - -Music: - -Notifications: - Sounds: - Notifications: - sking: sking1 - -Translations: +Notifications: notifications.yaml diff --git a/mods/ra/maps/soviet-03/notifications.yaml b/mods/ra/maps/soviet-03/notifications.yaml new file mode 100644 index 0000000000..b50090bb66 --- /dev/null +++ b/mods/ra/maps/soviet-03/notifications.yaml @@ -0,0 +1,3 @@ +Sounds: + Notifications: + sking: sking1 \ No newline at end of file diff --git a/mods/ra/maps/soviet-03/rules.yaml b/mods/ra/maps/soviet-03/rules.yaml new file mode 100644 index 0000000000..e859caccf6 --- /dev/null +++ b/mods/ra/maps/soviet-03/rules.yaml @@ -0,0 +1,117 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet03.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: A spy who has compromised the security of one of the northern sarin gas sites has been traced back to Lund, Sweden, by Nadia's intelligence groups.\n\nHe has been marked for death and a squad of Soviet troops was dispatched to the location to hunt him down. + BriefingVideo: soviet3.vqa + StartVideo: search.vqa + WinVideo: execute.vqa + LossVideo: take_off.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^TechBuilding: + AutoTargetIgnore: + Tooltip: + ShowOwnerRow: false + +^Infantry: + -GivesBounty: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + -GivesBounty: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Helicopter: + -GivesBounty: + Health: + HP: 9000 + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +BARL: + Health: + HP: 1 + Explodes: + Weapon: MissionBarrelExplode + +BRL3: + Health: + HP: 1 + Explodes: + Weapon: MissionBarrelExplode + +FENC: + Health: + HP: 9000 + +HEALCRATE: + Tooltip: + GenericStancePrefix: false + GenericVisibility: Enemy + ShowOwnerRow: false + +V01: + Cargo: + Types: Infantry + MaxWeight: 1 + PipCount: 1 + +V05: + SpawnActorOnDeath: + Actor: healcrate + +DOG: + -GainsExperience: + +SPY: + Mobile: + Speed: 80 + +powerproxy.paratroopers: + ParatroopersPower: + DropItems: E1,E1,E1,E2,E2 diff --git a/mods/ra/maps/soviet-03/weapons.yaml b/mods/ra/maps/soviet-03/weapons.yaml new file mode 100644 index 0000000000..d4f2a7d387 --- /dev/null +++ b/mods/ra/maps/soviet-03/weapons.yaml @@ -0,0 +1,21 @@ +MissionBarrelExplode: + Warhead@1Dam: SpreadDamage + Spread: 600 + Damage: 200 + Falloff: 1000, 368, 135, 50, 18, 7, 0 + Delay: 5 + Versus: + None: 120 + Wood: 200 + Light: 50 + Heavy: 25 + Concrete: 10 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Scorch + Size: 2,1 + Delay: 5 + Warhead@3Eff: CreateEffect + Explosions: napalm + ImpactSounds: firebl3.aud + Delay: 5 diff --git a/mods/ra/maps/soviet-04a/map.yaml b/mods/ra/maps/soviet-04a/map.yaml index 8a9d5409b6..0b9e24f076 100644 --- a/mods/ra/maps/soviet-04a/map.yaml +++ b/mods/ra/maps/soviet-04a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -619,153 +621,4 @@ Actors: Location: 84,83 Owner: Neutral -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - -EnemyWatcher: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet04a.lua, soviet04a-AI.lua, soviet04a-reinforcements_teams.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: The Allied base in this region is proving to be problematic.\n\nYour mission is to take it out so that we can begin to move forces through this area.\n\nAs long as they have communications they will be able to call upon heavy reinforcements.\n\nCrush their communications, and they should be easier to remove. - BriefingVideo: soviet4.vqa - StartVideo: sovmcv.vqa - WinVideo: radrraid.vqa - LossVideo: allymorf.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Medium - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - ShowOwnerRow: false - ^TechBuilding: - Tooltip: - ShowOwnerRow: false - AFLD: - ParatroopersPower@paratroopers: - DropItems: E1,E1,E1,E2,E2 - TSLA: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - APWR: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~tent - E4: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - SPY: - Buildable: - Prerequisites: ~disabled - MECH: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - FTRK: - Buildable: - Prerequisites: ~disabled - TRUK: - Buildable: - Prerequisites: ~disabled - APC: - Buildable: - Prerequisites: ~disabled - AGUN: - Buildable: - Prerequisites: ~disabled - SPEN: - Buildable: - Prerequisites: ~disabled - SYRD: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/soviet-04a/rules.yaml b/mods/ra/maps/soviet-04a/rules.yaml new file mode 100644 index 0000000000..404b8eca78 --- /dev/null +++ b/mods/ra/maps/soviet-04a/rules.yaml @@ -0,0 +1,163 @@ +Player: + -ConquestVictoryConditions: + -EnemyWatcher: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet04a.lua, soviet04a-AI.lua, soviet04a-reinforcements_teams.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: The Allied base in this region is proving to be problematic.\n\nYour mission is to take it out so that we can begin to move forces through this area.\n\nAs long as they have communications they will be able to call upon heavy reinforcements.\n\nCrush their communications, and they should be easier to remove. + BriefingVideo: soviet4.vqa + StartVideo: sovmcv.vqa + WinVideo: radrraid.vqa + LossVideo: allymorf.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Medium + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + ShowOwnerRow: false + +^TechBuilding: + Tooltip: + ShowOwnerRow: false + +AFLD: + ParatroopersPower@paratroopers: + DropItems: E1,E1,E1,E2,E2 + +TSLA: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +APWR: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~tent + +E4: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +SPY: + Buildable: + Prerequisites: ~disabled + +MECH: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +FTRK: + Buildable: + Prerequisites: ~disabled + +TRUK: + Buildable: + Prerequisites: ~disabled + +APC: + Buildable: + Prerequisites: ~disabled + +AGUN: + Buildable: + Prerequisites: ~disabled + +SPEN: + Buildable: + Prerequisites: ~disabled + +SYRD: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/soviet-04b/map.yaml b/mods/ra/maps/soviet-04b/map.yaml index 82ce456604..a899e15862 100644 --- a/mods/ra/maps/soviet-04b/map.yaml +++ b/mods/ra/maps/soviet-04b/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -647,147 +649,4 @@ Actors: Location: 33,88 Owner: Neutral -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - -EnemyWatcher: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet04b.lua, soviet04b-AI.lua, soviet04b-reinforcements_teams.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: The Allied base in this region is proving to be problematic.\n\nYour mission is to take it out so that we can begin to move forces through this area.\n\nAs long as they have communications they will be able to call upon heavy reinforcements.\n\nCrush their communications, and they should be easier to remove. - BriefingVideo: soviet4.vqa - StartVideo: sovmcv.vqa - WinVideo: radrraid.vqa - LossVideo: allymorf.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Medium - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - ShowOwnerRow: false - ^TechBuilding: - Tooltip: - ShowOwnerRow: false - AFLD: - ParatroopersPower@paratroopers: - DropItems: E1,E1,E1,E2,E2 - TSLA: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - APWR: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~tent - E4: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - SPY: - Buildable: - Prerequisites: ~disabled - MECH: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - FTRK: - Buildable: - Prerequisites: ~disabled - TRUK: - Buildable: - Prerequisites: ~disabled - APC: - Buildable: - Prerequisites: ~disabled - AGUN: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/soviet-04b/rules.yaml b/mods/ra/maps/soviet-04b/rules.yaml new file mode 100644 index 0000000000..7e5a3101f0 --- /dev/null +++ b/mods/ra/maps/soviet-04b/rules.yaml @@ -0,0 +1,155 @@ +Player: + -ConquestVictoryConditions: + -EnemyWatcher: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet04b.lua, soviet04b-AI.lua, soviet04b-reinforcements_teams.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: The Allied base in this region is proving to be problematic.\n\nYour mission is to take it out so that we can begin to move forces through this area.\n\nAs long as they have communications they will be able to call upon heavy reinforcements.\n\nCrush their communications, and they should be easier to remove. + BriefingVideo: soviet4.vqa + StartVideo: sovmcv.vqa + WinVideo: radrraid.vqa + LossVideo: allymorf.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Medium + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + ShowOwnerRow: false + +^TechBuilding: + Tooltip: + ShowOwnerRow: false + +AFLD: + ParatroopersPower@paratroopers: + DropItems: E1,E1,E1,E2,E2 + +TSLA: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +APWR: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~tent + +E4: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +SPY: + Buildable: + Prerequisites: ~disabled + +MECH: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +FTRK: + Buildable: + Prerequisites: ~disabled + +TRUK: + Buildable: + Prerequisites: ~disabled + +APC: + Buildable: + Prerequisites: ~disabled + +AGUN: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/soviet-05/map.yaml b/mods/ra/maps/soviet-05/map.yaml index 8d7b5947d0..6bcefc54ac 100644 --- a/mods/ra/maps/soviet-05/map.yaml +++ b/mods/ra/maps/soviet-05/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -601,151 +603,4 @@ Actors: Location: 21,80 Owner: Neutral -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - -EnemyWatcher: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet05.lua, soviet05-AI.lua, soviet05-reinforcements_teams.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: Khalkis island contains a large quantity of ore that we need.\n\nThe Allies are well aware of our plans, and intend to establish their own base there. See to it that they fail.\n\nIn addition, capture their radar center so we can track Allied activity in this area. - BriefingVideo: soviet5.vqa - StartVideo: double.vqa - WinVideo: strafe.vqa - LossVideo: sovbatl.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Medium - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - AFLD: - ParatroopersPower@paratroopers: - DropItems: E1,E1,E1,E2,E2 - TSLA: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - APWR: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~tent - E4: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - SPY: - Buildable: - Prerequisites: ~disabled - MECH: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - FTRK: - Buildable: - Prerequisites: ~disabled - TRUK: - Buildable: - Prerequisites: ~disabled - APC: - Buildable: - Prerequisites: ~disabled - DOME.IGNORE: - Inherits: DOME - RenderSprites: - Image: DOME - AutoTargetIgnore: - Buildable: - Prerequisites: ~disabled - powerproxy.paratroopers: - ParatroopersPower: - DropItems: E1,E1,E1,E1,E1 - AGUN: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/soviet-05/rules.yaml b/mods/ra/maps/soviet-05/rules.yaml new file mode 100644 index 0000000000..1faa1172d3 --- /dev/null +++ b/mods/ra/maps/soviet-05/rules.yaml @@ -0,0 +1,159 @@ +Player: + -ConquestVictoryConditions: + -EnemyWatcher: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet05.lua, soviet05-AI.lua, soviet05-reinforcements_teams.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: Khalkis island contains a large quantity of ore that we need.\n\nThe Allies are well aware of our plans, and intend to establish their own base there. See to it that they fail.\n\nIn addition, capture their radar center so we can track Allied activity in this area. + BriefingVideo: soviet5.vqa + StartVideo: double.vqa + WinVideo: strafe.vqa + LossVideo: sovbatl.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Medium + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +AFLD: + ParatroopersPower@paratroopers: + DropItems: E1,E1,E1,E2,E2 + +TSLA: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +APWR: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~tent + +E4: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +SPY: + Buildable: + Prerequisites: ~disabled + +MECH: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +FTRK: + Buildable: + Prerequisites: ~disabled + +TRUK: + Buildable: + Prerequisites: ~disabled + +APC: + Buildable: + Prerequisites: ~disabled + +DOME.IGNORE: + Inherits: DOME + RenderSprites: + Image: DOME + AutoTargetIgnore: + Buildable: + Prerequisites: ~disabled + +powerproxy.paratroopers: + ParatroopersPower: + DropItems: E1,E1,E1,E1,E1 + +AGUN: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/soviet-06a/map.yaml b/mods/ra/maps/soviet-06a/map.yaml index 40093664a4..b8b3002a58 100644 --- a/mods/ra/maps/soviet-06a/map.yaml +++ b/mods/ra/maps/soviet-06a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -828,204 +830,4 @@ Actors: Location: 22,15 Owner: Greece -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 11500 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet06a.lua, soviet06a-AI.lua, soviet06a-reinforcements_teams.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: There is a special cargo that needs to be transported to a nearby Soviet base in the northeast.\n\nMake sure the trucks reach their destination intact. Along the way, there is a bridge which the Allies may have destroyed.\n\nIf so, use the Naval options at your disposal. Our attack subs will make short work of any Allied boats you discover. - BriefingVideo: soviet6.vqa - StartVideo: onthprwl.vqa - WinVideo: sitduck.vqa - LossVideo: dpthchrg.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^TechBuilding: - Tooltip: - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - APWR: - Buildable: - Prerequisites: ~structures.allies - ARTY: - Buildable: - Prerequisites: ~vehicles.allies, ~techlevel.low - ATEK: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - TSLA: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - IRON: - Buildable: - Prerequisites: ~disabled - MECH: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~tent - E7: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - SPY: - Buildable: - Prerequisites: ~disabled - SNIPER: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - MIG: - Buildable: - Prerequisites: ~disabled - FTRK: - Buildable: - Prerequisites: ~disabled - 2TNK: - Buildable: - Prerequisites: ~vehicles.allies, ~techlevel.low - 4TNK: - Buildable: - Prerequisites: ~disabled - APC: - Buildable: - Prerequisites: ~disabled - TRUK: - -SpawnActorOnDeath: - -SupplyTruck: - Buildable: - Prerequisites: ~disabled - QTNK: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - MSUB: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - PDOX: - Buildable: - Prerequisites: ~disabled - MRJ: - Buildable: - Prerequisites: ~disabled - CA: - Buildable: - Prerequisites: ~disabled - HELI: - Buildable: - Prerequisites: ~disabled - GAP: - Buildable: - Prerequisites: ~disabled - MNLY.AT: - Buildable: - Prerequisites: ~disabled - DOG: - Health: - HP: 25 - AutoTarget: - ScanRadius: 5 - HARV: - Harvester: - SearchFromProcRadius: 50 - SearchFromOrderRadius: 50 - AFLD: - ParatroopersPower@paratroopers: - DropItems: E1,E1,E1,E1,E1 - MONEYCRATE: - GiveCashCrateAction: - Amount: 2000 - V01: - SpawnActorOnDeath: - Actor: moneycrate - V05: - SpawnActorOnDeath: - Actor: healcrate - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/soviet-06a/rules.yaml b/mods/ra/maps/soviet-06a/rules.yaml new file mode 100644 index 0000000000..11a3afd0bd --- /dev/null +++ b/mods/ra/maps/soviet-06a/rules.yaml @@ -0,0 +1,231 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 11500 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet06a.lua, soviet06a-AI.lua, soviet06a-reinforcements_teams.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: There is a special cargo that needs to be transported to a nearby Soviet base in the northeast.\n\nMake sure the trucks reach their destination intact. Along the way, there is a bridge which the Allies may have destroyed.\n\nIf so, use the Naval options at your disposal. Our attack subs will make short work of any Allied boats you discover. + BriefingVideo: soviet6.vqa + StartVideo: onthprwl.vqa + WinVideo: sitduck.vqa + LossVideo: dpthchrg.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^TechBuilding: + Tooltip: + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +APWR: + Buildable: + Prerequisites: ~structures.allies + +ARTY: + Buildable: + Prerequisites: ~vehicles.allies, ~techlevel.low + +ATEK: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +TSLA: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +IRON: + Buildable: + Prerequisites: ~disabled + +MECH: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~tent + +E7: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +SPY: + Buildable: + Prerequisites: ~disabled + +SNIPER: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +MIG: + Buildable: + Prerequisites: ~disabled + +FTRK: + Buildable: + Prerequisites: ~disabled + +2TNK: + Buildable: + Prerequisites: ~vehicles.allies, ~techlevel.low + +4TNK: + Buildable: + Prerequisites: ~disabled + +APC: + Buildable: + Prerequisites: ~disabled + +TRUK: + -SpawnActorOnDeath: + -SupplyTruck: + Buildable: + Prerequisites: ~disabled + +QTNK: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +MSUB: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +PDOX: + Buildable: + Prerequisites: ~disabled + +MRJ: + Buildable: + Prerequisites: ~disabled + +CA: + Buildable: + Prerequisites: ~disabled + +HELI: + Buildable: + Prerequisites: ~disabled + +GAP: + Buildable: + Prerequisites: ~disabled + +MNLY.AT: + Buildable: + Prerequisites: ~disabled + +DOG: + Health: + HP: 25 + AutoTarget: + ScanRadius: 5 + +HARV: + Harvester: + SearchFromProcRadius: 50 + SearchFromOrderRadius: 50 + +AFLD: + ParatroopersPower@paratroopers: + DropItems: E1,E1,E1,E1,E1 + +MONEYCRATE: + GiveCashCrateAction: + Amount: 2000 + +V01: + SpawnActorOnDeath: + Actor: moneycrate + +V05: + SpawnActorOnDeath: + Actor: healcrate diff --git a/mods/ra/maps/soviet-06b/map.yaml b/mods/ra/maps/soviet-06b/map.yaml index 7087a534ee..e39adcdb68 100644 --- a/mods/ra/maps/soviet-06b/map.yaml +++ b/mods/ra/maps/soviet-06b/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -520,195 +522,4 @@ Actors: Location: 67,41 Owner: Greece -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 11500 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet06b.lua, soviet06b-AI.lua, soviet06b-reinforcements_teams.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: There is a special cargo that needs to be transported to a nearby Soviet base in the northeast.\n\nMake sure the trucks reach their destination intact. Along the way, there is a bridge which the Allies may have destroyed.\n\nIf so, use the Naval options at your disposal. Our attack subs will make short work of any Allied boats you discover. - BriefingVideo: soviet6.vqa - StartVideo: onthprwl.vqa - WinVideo: sitduck.vqa - LossVideo: dpthchrg.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^TechBuilding: - Tooltip: - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - APWR: - Buildable: - Prerequisites: ~structures.allies - ARTY: - Buildable: - Prerequisites: ~vehicles.allies, ~techlevel.low - ATEK: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - TSLA: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - IRON: - Buildable: - Prerequisites: ~disabled - MECH: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~tent - E7: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - SPY: - Buildable: - Prerequisites: ~disabled - SNIPER: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - MIG: - Buildable: - Prerequisites: ~disabled - FTRK: - Buildable: - Prerequisites: ~disabled - 2TNK: - Buildable: - Prerequisites: ~vehicles.allies, ~techlevel.low - 4TNK: - Buildable: - Prerequisites: ~disabled - APC: - Buildable: - Prerequisites: ~disabled - TRUK: - -SpawnActorOnDeath: - -SupplyTruck: - Buildable: - Prerequisites: ~disabled - QTNK: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - MSUB: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - PDOX: - Buildable: - Prerequisites: ~disabled - MRJ: - Buildable: - Prerequisites: ~disabled - CA: - Buildable: - Prerequisites: ~disabled - HELI: - Buildable: - Prerequisites: ~disabled - GAP: - Buildable: - Prerequisites: ~disabled - MNLY.AT: - Buildable: - Prerequisites: ~disabled - DOG: - Health: - HP: 25 - AutoTarget: - ScanRadius: 5 - HARV: - Harvester: - SearchFromProcRadius: 50 - SearchFromOrderRadius: 50 - AFLD: - ParatroopersPower@paratroopers: - DropItems: E1,E1,E1,E1,E1 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/soviet-06b/rules.yaml b/mods/ra/maps/soviet-06b/rules.yaml new file mode 100644 index 0000000000..d0483a96cf --- /dev/null +++ b/mods/ra/maps/soviet-06b/rules.yaml @@ -0,0 +1,219 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 11500 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet06b.lua, soviet06b-AI.lua, soviet06b-reinforcements_teams.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: There is a special cargo that needs to be transported to a nearby Soviet base in the northeast.\n\nMake sure the trucks reach their destination intact. Along the way, there is a bridge which the Allies may have destroyed.\n\nIf so, use the Naval options at your disposal. Our attack subs will make short work of any Allied boats you discover. + BriefingVideo: soviet6.vqa + StartVideo: onthprwl.vqa + WinVideo: sitduck.vqa + LossVideo: dpthchrg.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^TechBuilding: + Tooltip: + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +APWR: + Buildable: + Prerequisites: ~structures.allies + +ARTY: + Buildable: + Prerequisites: ~vehicles.allies, ~techlevel.low + +ATEK: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +TSLA: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +IRON: + Buildable: + Prerequisites: ~disabled + +MECH: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~tent + +E7: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +SPY: + Buildable: + Prerequisites: ~disabled + +SNIPER: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +MIG: + Buildable: + Prerequisites: ~disabled + +FTRK: + Buildable: + Prerequisites: ~disabled + +2TNK: + Buildable: + Prerequisites: ~vehicles.allies, ~techlevel.low + +4TNK: + Buildable: + Prerequisites: ~disabled + +APC: + Buildable: + Prerequisites: ~disabled + +TRUK: + -SpawnActorOnDeath: + -SupplyTruck: + Buildable: + Prerequisites: ~disabled + +QTNK: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +MSUB: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +PDOX: + Buildable: + Prerequisites: ~disabled + +MRJ: + Buildable: + Prerequisites: ~disabled + +CA: + Buildable: + Prerequisites: ~disabled + +HELI: + Buildable: + Prerequisites: ~disabled + +GAP: + Buildable: + Prerequisites: ~disabled + +MNLY.AT: + Buildable: + Prerequisites: ~disabled + +DOG: + Health: + HP: 25 + AutoTarget: + ScanRadius: 5 + +HARV: + Harvester: + SearchFromProcRadius: 50 + SearchFromOrderRadius: 50 + +AFLD: + ParatroopersPower@paratroopers: + DropItems: E1,E1,E1,E1,E1 diff --git a/mods/ra/maps/soviet-07/map.yaml b/mods/ra/maps/soviet-07/map.yaml index eb5bcba684..bca9c8ee90 100644 --- a/mods/ra/maps/soviet-07/map.yaml +++ b/mods/ra/maps/soviet-07/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -787,167 +789,6 @@ Actors: Owner: Neutral Location: 45,52 -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet07.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: The Allies have infiltrated one of our nuclear reactors! They have tampered with the core so that a meltdown is imminent within 30 minutes. They must not succeed!\n\nEnter the base and find any remaining technicians. Guide them to the 4 coolant stations so they can activate them, then activate the main computer. The security systems have been armed so beware.\n\nKill any Allies you find. - BriefingVideo: soviet7.vqa - StartVideo: countdwn.vqa - WinVideo: averted.vqa - LossVideo: nukestok.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - -GivesBounty: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - BARL: - Health: - HP: 1 - Explodes: - Weapon: MissionBarrelExplodeInterior - BRL3: - Health: - HP: 1 - Explodes: - Weapon: MissionBarrelExplodeInterior - CAMERA: - RevealsShroud: - Range: 6c0 - E1: - Armament@PRIMARY: - Weapon: M1CarbineInterior - FTUR: - Armament: - Weapon: FireballLauncherInterior - LocalOffset: 512,0,0 - Valued: - Cost: 0 - Power: - Amount: 0 - -Sellable: - PBOX: - -AutoTarget: - -Sequences: - -VoxelSequences: - -Weapons: - M1CarbineInterior: - ReloadDelay: 20 - Range: 3c0 - Report: gun11.aud - Projectile: Bullet - Speed: 1c682 - Warhead@1Dam: SpreadDamage - Spread: 128 - Damage: 15 - Versus: - Wood: 25 - Light: 30 - Heavy: 10 - Concrete: 10 - DamageTypes: Prone50Percent, TriggerProne, BulletDeath - Warhead@2Eff: CreateEffect - Explosions: piffs - InvalidImpactTypes: Water - Warhead@3EffWater: CreateEffect - Explosions: water_piffs - ValidImpactTypes: Water - FireballLauncherInterior: - ReloadDelay: 65 - Range: 3c0 - Burst: 2 - BurstDelay: 20 - Projectile: Bullet - Speed: 204 - Trail: fb2 - Image: FB1 - Warhead@1Dam: SpreadDamage - Spread: 213 - Damage: 150 - Versus: - None: 90 - Wood: 50 - Light: 60 - Heavy: 25 - Concrete: 50 - DamageTypes: Prone50Percent, TriggerProne, FireDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Scorch - Warhead@3Eff: CreateEffect - Explosions: napalm - ImpactSounds: firebl3.aud - MissionBarrelExplodeInterior: - Warhead@1Dam: SpreadDamage - Spread: 350 - Damage: 250 - Falloff: 1000, 368, 135, 50, 18, 7, 0 - Delay: 5 - Versus: - None: 120 - Wood: 200 - Light: 50 - Heavy: 25 - Concrete: 10 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Scorch - Size: 2,1 - Delay: 5 - Warhead@3Eff: CreateEffect - Explosions: napalm - ImpactSounds: firebl3.aud - Delay: 5 - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/soviet-07/rules.yaml b/mods/ra/maps/soviet-07/rules.yaml new file mode 100644 index 0000000000..690717c934 --- /dev/null +++ b/mods/ra/maps/soviet-07/rules.yaml @@ -0,0 +1,93 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet07.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: The Allies have infiltrated one of our nuclear reactors! They have tampered with the core so that a meltdown is imminent within 30 minutes. They must not succeed!\n\nEnter the base and find any remaining technicians. Guide them to the 4 coolant stations so they can activate them, then activate the main computer. The security systems have been armed so beware.\n\nKill any Allies you find. + BriefingVideo: soviet7.vqa + StartVideo: countdwn.vqa + WinVideo: averted.vqa + LossVideo: nukestok.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + -GivesBounty: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +BARL: + Health: + HP: 1 + Explodes: + Weapon: MissionBarrelExplodeInterior + +BRL3: + Health: + HP: 1 + Explodes: + Weapon: MissionBarrelExplodeInterior + +CAMERA: + RevealsShroud: + Range: 6c0 + +E1: + Armament@PRIMARY: + Weapon: M1CarbineInterior + +FTUR: + Armament: + Weapon: FireballLauncherInterior + LocalOffset: 512,0,0 + Valued: + Cost: 0 + Power: + Amount: 0 + -Sellable: + +PBOX: + -AutoTarget: diff --git a/mods/ra/maps/soviet-07/weapons.yaml b/mods/ra/maps/soviet-07/weapons.yaml new file mode 100644 index 0000000000..d03c74575c --- /dev/null +++ b/mods/ra/maps/soviet-07/weapons.yaml @@ -0,0 +1,68 @@ +M1CarbineInterior: + ReloadDelay: 20 + Range: 3c0 + Report: gun11.aud + Projectile: Bullet + Speed: 1c682 + Warhead@1Dam: SpreadDamage + Spread: 128 + Damage: 15 + Versus: + Wood: 25 + Light: 30 + Heavy: 10 + Concrete: 10 + DamageTypes: Prone50Percent, TriggerProne, BulletDeath + Warhead@2Eff: CreateEffect + Explosions: piffs + InvalidImpactTypes: Water + Warhead@3EffWater: CreateEffect + Explosions: water_piffs + ValidImpactTypes: Water + +FireballLauncherInterior: + ReloadDelay: 65 + Range: 3c0 + Burst: 2 + BurstDelay: 20 + Projectile: Bullet + Speed: 204 + Trail: fb2 + Image: FB1 + Warhead@1Dam: SpreadDamage + Spread: 213 + Damage: 150 + Versus: + None: 90 + Wood: 50 + Light: 60 + Heavy: 25 + Concrete: 50 + DamageTypes: Prone50Percent, TriggerProne, FireDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Scorch + Warhead@3Eff: CreateEffect + Explosions: napalm + ImpactSounds: firebl3.aud + +MissionBarrelExplodeInterior: + Warhead@1Dam: SpreadDamage + Spread: 350 + Damage: 250 + Falloff: 1000, 368, 135, 50, 18, 7, 0 + Delay: 5 + Versus: + None: 120 + Wood: 200 + Light: 50 + Heavy: 25 + Concrete: 10 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Scorch + Size: 2,1 + Delay: 5 + Warhead@3Eff: CreateEffect + Explosions: napalm + ImpactSounds: firebl3.aud + Delay: 5 diff --git a/mods/ra/maps/styrian-mountains.oramap b/mods/ra/maps/styrian-mountains.oramap index 94d68dedaa..a8d2c2973a 100644 Binary files a/mods/ra/maps/styrian-mountains.oramap and b/mods/ra/maps/styrian-mountains.oramap differ diff --git a/mods/ra/maps/suffrage.oramap b/mods/ra/maps/suffrage.oramap index 372316673b..6ae9fe9aa1 100644 Binary files a/mods/ra/maps/suffrage.oramap and b/mods/ra/maps/suffrage.oramap differ diff --git a/mods/ra/maps/survival01/map.yaml b/mods/ra/maps/survival01/map.yaml index e55e1f8581..f509ac3cd0 100644 --- a/mods/ra/maps/survival01/map.yaml +++ b/mods/ra/maps/survival01/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Mission +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -1194,202 +1196,4 @@ Actors: Location: 58,61 Owner: Neutral -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: survival01.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: LANDCOM 66 HQS.\nTOP SECRET.\nTO: FIELD COMMANDER A34\n\nTHE SOVIETS STARTED HEAVY ATTACKS AT OUR POSITION.\n SURVIVE AND HOLD THE BASE UNTIL OUR FRENCH ALLIES ARRIVE.\n\nCONFIRMATION CODE 5593.\n\nTRANSMISSION ENDS. - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Medium, Hard - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - powerproxy.paratroopers: - ParatroopersPower: - DropItems: E1,E1,E1,E2,E2 - powerproxy.allied: - Inherits: powerproxy.paratroopers - ParatroopersPower: - DropItems: ARTY,ARTY,ARTY - CAMERA.sam: - Inherits: CAMERA - RevealsShroud: - Range: 4c0 - CAMERA.Large: - Inherits: CAMERA - RevealsShroud: - Range: 1000 - AFLD.mission: - Inherits: AFLD - -AirstrikePower@spyplane: - -ParatroopersPower@paratroopers: - -AirstrikePower@parabombs: - -SupportPowerChargeBar: - RenderSprites: - Image: AFLD - ATEK.mission: - Inherits: ATEK - GpsPower: - ChargeTime: 0 - Power: - Amount: 0 - -Selectable: - -Targetable: - -GivesBuildableArea: - -Huntable: - RenderSprites: - Image: ATEK - GUN: - Valued: - Cost: 1000 - E7: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - MIG: - Buildable: - Prerequisites: ~disabled - HELI: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - GAP: - Buildable: - Prerequisites: ~disabled - SYRD: - Buildable: - Prerequisites: ~disabled - PDOX: - Buildable: - Prerequisites: ~disabled - AGUN: - Buildable: - Prerequisites: ~disabled - ATEK: - Buildable: - Prerequisites: ~disabled - 4TNK: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - MNLY.AP: - Buildable: - Prerequisites: ~disabled - MNLY.AT: - Buildable: - Prerequisites: ~disabled - TTNK: - Buildable: - Prerequisites: ~disabled - CTNK: - Buildable: - Prerequisites: ~disabled - DOME: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - MRJ: - Buildable: - Prerequisites: ~disabled - MGG: - Buildable: - Prerequisites: ~disabled - STNK: - Buildable: - Prerequisites: ~disabled - QTNK: - Buildable: - Prerequisites: ~disabled - DTRK: - Buildable: - Prerequisites: ~disabled - FACF: - Buildable: - Prerequisites: ~disabled - WEAF: - Buildable: - Prerequisites: ~disabled - SYRF: - Buildable: - Prerequisites: ~disabled - DOMF: - Buildable: - Prerequisites: ~disabled - ATEF: - Buildable: - Prerequisites: ~disabled - MSLF: - Buildable: - Prerequisites: ~disabled - PDOF: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/survival01/rules.yaml b/mods/ra/maps/survival01/rules.yaml new file mode 100644 index 0000000000..af7eab2484 --- /dev/null +++ b/mods/ra/maps/survival01/rules.yaml @@ -0,0 +1,226 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: survival01.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: LANDCOM 66 HQS.\nTOP SECRET.\nTO: FIELD COMMANDER A34\n\nTHE SOVIETS STARTED HEAVY ATTACKS AT OUR POSITION.\n SURVIVE AND HOLD THE BASE UNTIL OUR FRENCH ALLIES ARRIVE.\n\nCONFIRMATION CODE 5593.\n\nTRANSMISSION ENDS. + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Medium, Hard + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +powerproxy.paratroopers: + ParatroopersPower: + DropItems: E1,E1,E1,E2,E2 + +powerproxy.allied: + Inherits: powerproxy.paratroopers + ParatroopersPower: + DropItems: ARTY,ARTY,ARTY + +CAMERA.sam: + Inherits: CAMERA + RevealsShroud: + Range: 4c0 + +CAMERA.Large: + Inherits: CAMERA + RevealsShroud: + Range: 1000 + +AFLD.mission: + Inherits: AFLD + -AirstrikePower@spyplane: + -ParatroopersPower@paratroopers: + -AirstrikePower@parabombs: + -SupportPowerChargeBar: + RenderSprites: + Image: AFLD + +ATEK.mission: + Inherits: ATEK + GpsPower: + ChargeTime: 0 + Power: + Amount: 0 + -Selectable: + -Targetable: + -GivesBuildableArea: + -Huntable: + RenderSprites: + Image: ATEK + +GUN: + Valued: + Cost: 1000 + +E7: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +MIG: + Buildable: + Prerequisites: ~disabled + +HELI: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +GAP: + Buildable: + Prerequisites: ~disabled + +SYRD: + Buildable: + Prerequisites: ~disabled + +PDOX: + Buildable: + Prerequisites: ~disabled + +AGUN: + Buildable: + Prerequisites: ~disabled + +ATEK: + Buildable: + Prerequisites: ~disabled + +4TNK: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +MNLY.AP: + Buildable: + Prerequisites: ~disabled + +MNLY.AT: + Buildable: + Prerequisites: ~disabled + +TTNK: + Buildable: + Prerequisites: ~disabled + +CTNK: + Buildable: + Prerequisites: ~disabled + +DOME: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +MRJ: + Buildable: + Prerequisites: ~disabled + +MGG: + Buildable: + Prerequisites: ~disabled + +STNK: + Buildable: + Prerequisites: ~disabled + +QTNK: + Buildable: + Prerequisites: ~disabled + +DTRK: + Buildable: + Prerequisites: ~disabled + +FACF: + Buildable: + Prerequisites: ~disabled + +WEAF: + Buildable: + Prerequisites: ~disabled + +SYRF: + Buildable: + Prerequisites: ~disabled + +DOMF: + Buildable: + Prerequisites: ~disabled + +ATEF: + Buildable: + Prerequisites: ~disabled + +MSLF: + Buildable: + Prerequisites: ~disabled + +PDOF: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/survival02/map.yaml b/mods/ra/maps/survival02/map.yaml index 6e9f859523..16c9beb93d 100644 --- a/mods/ra/maps/survival02/map.yaml +++ b/mods/ra/maps/survival02/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Mission +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -1004,187 +1006,6 @@ Actors: Location: 39,37 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: survival02.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: INCOMING REPORT:\n\nCommander! The Soviets have rendered us useless...\nReports indicate Soviet reinforcements are coming to finish us off... The situation looks bleak...\n - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - SovietSquad: - AlwaysVisible: - ParatroopersPower: - DropItems: E1,E1,E2,E4,E4 - QuantizedFacings: 8 - DisplayBeacon: false - SovietPlatoonUnits: - AlwaysVisible: - ParatroopersPower: - DropItems: E1,E1,E2,E4,E4,E1,E1,E2,E4,E4 - QuantizedFacings: 8 - DisplayBeacon: false - MINV: - Mine: - AvoidFriendly: yes - CAMERA: - RevealsShroud: - Range: 7c0 - ARTY: - Valued: - Cost: 1000 - GUN: - Valued: - Cost: 1000 - E7: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - HELI: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - GAP: - Buildable: - Prerequisites: ~disabled - SYRD: - Buildable: - Prerequisites: ~disabled - PDOX: - Buildable: - Prerequisites: ~disabled - AGUN: - Buildable: - Prerequisites: ~disabled - ATEK: - Buildable: - Prerequisites: ~disabled - 4TNK: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - MNLY.AP: - Buildable: - Prerequisites: ~disabled - MNLY.AT: - Buildable: - Prerequisites: ~disabled - TTNK: - Buildable: - Prerequisites: ~disabled - CTNK: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - MRJ: - Buildable: - Prerequisites: ~disabled - MGG: - Buildable: - Prerequisites: ~disabled - STNK: - Buildable: - Prerequisites: ~disabled - QTNK: - Buildable: - Prerequisites: ~disabled - DTRK: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - ParaBomb: - ROF: 5 - Range: 7c0 - Report: chute1.aud - Projectile: GravityBomb - Image: BOMBLET - -OpenSequence: - Warhead@1Dam: SpreadDamage - Spread: 150 - Damage: 3500 - Versus: - None: 125 - Wood: 100 - Light: 60 - Heavy: 50 - Concrete: 25 - DamageTypes: Prone50Percent, TriggerProne, FireDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Crater - Warhead@3Eff: CreateEffect - Explosions: napalm - ImpactSounds: firebl3.aud - InvalidImpactTypes: Water - Warhead@4EffWater: CreateEffect - Explosions: napalm - ImpactSounds: splash9.aud - ValidImpactTypes: Water - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/survival02/rules.yaml b/mods/ra/maps/survival02/rules.yaml new file mode 100644 index 0000000000..0f3cfaf471 --- /dev/null +++ b/mods/ra/maps/survival02/rules.yaml @@ -0,0 +1,174 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: survival02.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: INCOMING REPORT:\n\nCommander! The Soviets have rendered us useless...\nReports indicate Soviet reinforcements are coming to finish us off... The situation looks bleak...\n + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +SovietSquad: + AlwaysVisible: + ParatroopersPower: + DropItems: E1,E1,E2,E4,E4 + QuantizedFacings: 8 + DisplayBeacon: false + +SovietPlatoonUnits: + AlwaysVisible: + ParatroopersPower: + DropItems: E1,E1,E2,E4,E4,E1,E1,E2,E4,E4 + QuantizedFacings: 8 + DisplayBeacon: false + +MINV: + Mine: + AvoidFriendly: yes + +CAMERA: + RevealsShroud: + Range: 7c0 + +ARTY: + Valued: + Cost: 1000 + +GUN: + Valued: + Cost: 1000 + +E7: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +HELI: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +GAP: + Buildable: + Prerequisites: ~disabled + +SYRD: + Buildable: + Prerequisites: ~disabled + +PDOX: + Buildable: + Prerequisites: ~disabled + +AGUN: + Buildable: + Prerequisites: ~disabled + +ATEK: + Buildable: + Prerequisites: ~disabled + +4TNK: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +MNLY.AP: + Buildable: + Prerequisites: ~disabled + +MNLY.AT: + Buildable: + Prerequisites: ~disabled + +TTNK: + Buildable: + Prerequisites: ~disabled + +CTNK: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +MRJ: + Buildable: + Prerequisites: ~disabled + +MGG: + Buildable: + Prerequisites: ~disabled + +STNK: + Buildable: + Prerequisites: ~disabled + +QTNK: + Buildable: + Prerequisites: ~disabled + +DTRK: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/survival02/weapons.yaml b/mods/ra/maps/survival02/weapons.yaml new file mode 100644 index 0000000000..b66f3bfdcc --- /dev/null +++ b/mods/ra/maps/survival02/weapons.yaml @@ -0,0 +1,27 @@ +ParaBomb: + ROF: 5 + Range: 7c0 + Report: chute1.aud + Projectile: GravityBomb + Image: BOMBLET + -OpenSequence: + Warhead@1Dam: SpreadDamage + Spread: 150 + Damage: 3500 + Versus: + None: 125 + Wood: 100 + Light: 60 + Heavy: 50 + Concrete: 25 + DamageTypes: Prone50Percent, TriggerProne, FireDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Crater + Warhead@3Eff: CreateEffect + Explosions: napalm + ImpactSounds: firebl3.aud + InvalidImpactTypes: Water + Warhead@4EffWater: CreateEffect + Explosions: napalm + ImpactSounds: splash9.aud + ValidImpactTypes: Water diff --git a/mods/ra/maps/synergy.oramap b/mods/ra/maps/synergy.oramap index a3010423a7..e450b347d6 100644 Binary files a/mods/ra/maps/synergy.oramap and b/mods/ra/maps/synergy.oramap differ diff --git a/mods/ra/maps/tabula-rasa.oramap b/mods/ra/maps/tabula-rasa.oramap index dd7c3c789b..f54d35e4f5 100644 Binary files a/mods/ra/maps/tabula-rasa.oramap and b/mods/ra/maps/tabula-rasa.oramap differ diff --git a/mods/ra/maps/tainted-peak.oramap b/mods/ra/maps/tainted-peak.oramap index 12c18469ec..d77f055636 100644 Binary files a/mods/ra/maps/tainted-peak.oramap and b/mods/ra/maps/tainted-peak.oramap differ diff --git a/mods/ra/maps/temperal.oramap b/mods/ra/maps/temperal.oramap index ac9141a5e3..9cc8deba0f 100644 Binary files a/mods/ra/maps/temperal.oramap and b/mods/ra/maps/temperal.oramap differ diff --git a/mods/ra/maps/tournament-island.oramap b/mods/ra/maps/tournament-island.oramap index 3a12ca9223..70bbc78739 100644 Binary files a/mods/ra/maps/tournament-island.oramap and b/mods/ra/maps/tournament-island.oramap differ diff --git a/mods/ra/maps/training-camp/map.png b/mods/ra/maps/training-camp/map.png new file mode 100644 index 0000000000..11ab3150d2 Binary files /dev/null and b/mods/ra/maps/training-camp/map.png differ diff --git a/mods/ra/maps/training-camp/map.yaml b/mods/ra/maps/training-camp/map.yaml index 6be043de75..8b06c9a627 100644 --- a/mods/ra/maps/training-camp/map.yaml +++ b/mods/ra/maps/training-camp/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -790,279 +790,4 @@ Actors: Location: 37,33 Owner: Neutral -Smudges: - -Rules: - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Unrestricted - Player: - ClassicProductionQueue@Infantry: - BuildSpeed: 1 - ClassicProductionQueue@Vehicle: - BuildSpeed: 1 - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 100 - OILB: - Health: - HP: 6000 - BARR: - Buildable: - Prerequisites: ~disabled - Health: - HP: 5000 - Production: - Produces: Building, Infantry, Soldier, Dog - BaseProvider: - Range: 16c0 - Power: - Amount: 0 - WEAP: - Buildable: - Prerequisites: ~disabled - Health: - HP: 10000 - Valued: - Cost: 2000 - Power: - Amount: 0 - FTUR: - Power: - Amount: 0 - SPEN: - Buildable: - Prerequisites: ~disabled - DOME: - Buildable: - Prerequisites: ~disabled - PROC: - Buildable: - Prerequisites: ~disabled - SILO: - Buildable: - Prerequisites: ~disabled - APWR: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - POWR: - Buildable: - Prerequisites: ~disabled - MIG: - Buildable: - Prerequisites: afld - Valued: - Cost: 2000 - YAK: - Buildable: - Prerequisites: afld - Valued: - Cost: 150 - TRAN: - Buildable: - Prerequisites: hpad - Valued: - Cost: 150 - HIND: - Buildable: - Prerequisites: hpad - Valued: - Cost: 200 - HELI: - Buildable: - Prerequisites: hpad - Valued: - Cost: 200 - HPAD: - Buildable: - Prerequisites: barr - Valued: - Cost: 200 - Power: - Amount: 0 - FENC: - Buildable: - Queue: Building - Prerequisites: barr - Valued: - Cost: 10 - AFLD: - Buildable: - Prerequisites: barr - Valued: - Cost: 200 - Power: - Amount: 0 - DOG: - Buildable: - Prerequisites: barr - Valued: - Cost: 20 - E1: - Buildable: - Prerequisites: barr - Valued: - Cost: 20 - E2: - Buildable: - Prerequisites: barr - Valued: - Cost: 32 - E3: - Buildable: - Prerequisites: barr - Valued: - Cost: 60 - E4: - Buildable: - Prerequisites: barr - Valued: - Cost: 60 - E6: - Buildable: - Prerequisites: barr - Valued: - Cost: 100 - SPY: - Buildable: - Prerequisites: barr - Valued: - Cost: 100 - E7: - Buildable: - Prerequisites: barr - Valued: - Cost: 400 - MEDI: - Buildable: - Prerequisites: barr - Valued: - Cost: 60 - SHOK: - Buildable: - Prerequisites: barr - Valued: - Cost: 200 - SNIPER: - Buildable: - Prerequisites: barr - Valued: - Cost: 200 - HIJACKER: - Buildable: - Prerequisites: ~disabled - V2RL: - Buildable: - Prerequisites: weap - Valued: - Cost: 1250 - 1TNK: - Buildable: - Prerequisites: weap - Valued: - Cost: 125 - 2TNK: - Buildable: - Prerequisites: weap - Valued: - Cost: 175 - 3TNK: - Buildable: - Prerequisites: weap - Valued: - Cost: 250 - 4TNK: - Buildable: - Prerequisites: weap - Valued: - Cost: 500 - ARTY: - Buildable: - Prerequisites: weap - Valued: - Cost: 1000 - HARV: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - MNLY.AP: - Buildable: - Prerequisites: ~disabled - MNLY.AT: - Buildable: - Prerequisites: ~disabled - TRUK: - Buildable: - Prerequisites: ~disabled - STNK: - Buildable: - Prerequisites: ~disabled - MRJ: - Buildable: - Prerequisites: ~disabled - MGG: - Buildable: - Prerequisites: ~disabled - CTNK: - Buildable: - Prerequisites: ~disabled - JEEP: - Buildable: - Prerequisites: weap - Valued: - Cost: 50 - APC: - Buildable: - Prerequisites: weap - Valued: - Cost: 250 - TTNK: - Buildable: - Prerequisites: weap - Valued: - Cost: 200 - FTRK: - Buildable: - Prerequisites: weap - Valued: - Cost: 150 - DTRK: - Buildable: - BuildPaletteOrder: 10 - Prerequisites: weap - Valued: - Cost: 150 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/training-camp/rules.yaml b/mods/ra/maps/training-camp/rules.yaml new file mode 100644 index 0000000000..c81395d0af --- /dev/null +++ b/mods/ra/maps/training-camp/rules.yaml @@ -0,0 +1,312 @@ +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Unrestricted + +Player: + ClassicProductionQueue@Infantry: + BuildSpeed: 1 + ClassicProductionQueue@Vehicle: + BuildSpeed: 1 + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 100 + +OILB: + Health: + HP: 6000 + +BARR: + Buildable: + Prerequisites: ~disabled + Health: + HP: 5000 + Production: + Produces: Building, Infantry, Soldier, Dog + BaseProvider: + Range: 16c0 + Power: + Amount: 0 + +WEAP: + Buildable: + Prerequisites: ~disabled + Health: + HP: 10000 + Valued: + Cost: 2000 + Power: + Amount: 0 + +FTUR: + Power: + Amount: 0 + +SPEN: + Buildable: + Prerequisites: ~disabled + +DOME: + Buildable: + Prerequisites: ~disabled + +PROC: + Buildable: + Prerequisites: ~disabled + +SILO: + Buildable: + Prerequisites: ~disabled + +APWR: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +POWR: + Buildable: + Prerequisites: ~disabled + +MIG: + Buildable: + Prerequisites: afld + Valued: + Cost: 2000 + +YAK: + Buildable: + Prerequisites: afld + Valued: + Cost: 150 + +TRAN: + Buildable: + Prerequisites: hpad + Valued: + Cost: 150 + +HIND: + Buildable: + Prerequisites: hpad + Valued: + Cost: 200 + +HELI: + Buildable: + Prerequisites: hpad + Valued: + Cost: 200 + +HPAD: + Buildable: + Prerequisites: barr + Valued: + Cost: 200 + Power: + Amount: 0 + +FENC: + Buildable: + Queue: Building + Prerequisites: barr + Valued: + Cost: 10 + +AFLD: + Buildable: + Prerequisites: barr + Valued: + Cost: 200 + Power: + Amount: 0 + +DOG: + Buildable: + Prerequisites: barr + Valued: + Cost: 20 + +E1: + Buildable: + Prerequisites: barr + Valued: + Cost: 20 + +E2: + Buildable: + Prerequisites: barr + Valued: + Cost: 32 + +E3: + Buildable: + Prerequisites: barr + Valued: + Cost: 60 + +E4: + Buildable: + Prerequisites: barr + Valued: + Cost: 60 + +E6: + Buildable: + Prerequisites: barr + Valued: + Cost: 100 + +SPY: + Buildable: + Prerequisites: barr + Valued: + Cost: 100 + +E7: + Buildable: + Prerequisites: barr + Valued: + Cost: 400 + +MEDI: + Buildable: + Prerequisites: barr + Valued: + Cost: 60 + +SHOK: + Buildable: + Prerequisites: barr + Valued: + Cost: 200 + +SNIPER: + Buildable: + Prerequisites: barr + Valued: + Cost: 200 + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +V2RL: + Buildable: + Prerequisites: weap + Valued: + Cost: 1250 + +1TNK: + Buildable: + Prerequisites: weap + Valued: + Cost: 125 + +2TNK: + Buildable: + Prerequisites: weap + Valued: + Cost: 175 + +3TNK: + Buildable: + Prerequisites: weap + Valued: + Cost: 250 + +4TNK: + Buildable: + Prerequisites: weap + Valued: + Cost: 500 + +ARTY: + Buildable: + Prerequisites: weap + Valued: + Cost: 1000 + +HARV: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +MNLY.AP: + Buildable: + Prerequisites: ~disabled + +MNLY.AT: + Buildable: + Prerequisites: ~disabled + +TRUK: + Buildable: + Prerequisites: ~disabled + +STNK: + Buildable: + Prerequisites: ~disabled + +MRJ: + Buildable: + Prerequisites: ~disabled + +MGG: + Buildable: + Prerequisites: ~disabled + +CTNK: + Buildable: + Prerequisites: ~disabled + +JEEP: + Buildable: + Prerequisites: weap + Valued: + Cost: 50 + +APC: + Buildable: + Prerequisites: weap + Valued: + Cost: 250 + +TTNK: + Buildable: + Prerequisites: weap + Valued: + Cost: 200 + +FTRK: + Buildable: + Prerequisites: weap + Valued: + Cost: 150 + +DTRK: + Buildable: + BuildPaletteOrder: 10 + Prerequisites: weap + Valued: + Cost: 150 diff --git a/mods/ra/maps/vegetation.oramap b/mods/ra/maps/vegetation.oramap index 5f98766c38..5202407339 100644 Binary files a/mods/ra/maps/vegetation.oramap and b/mods/ra/maps/vegetation.oramap differ