From 34f5482d26b87bd88864e46fb743f6b51869902f Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 13 Jun 2015 16:26:02 +0100 Subject: [PATCH] Update RA rules. --- mods/ra/maps/allies-03a/map.yaml | 1 + mods/ra/maps/allies-03b/map.yaml | 2 ++ mods/ra/maps/allies-05a/map.yaml | 2 ++ mods/ra/maps/bomber-john/map.yaml | 1 + mods/ra/maps/desert-shellmap/map.yaml | 2 ++ mods/ra/maps/intervention/map.yaml | 2 ++ mods/ra/maps/survival02/map.yaml | 2 ++ mods/ra/rules/civilian.yaml | 2 ++ mods/ra/rules/defaults.yaml | 2 ++ mods/ra/rules/misc.yaml | 16 ++++++++++++++++ mods/ra/rules/player.yaml | 1 + mods/ra/rules/structures.yaml | 3 +++ mods/ra/rules/world.yaml | 1 + 13 files changed, 37 insertions(+) diff --git a/mods/ra/maps/allies-03a/map.yaml b/mods/ra/maps/allies-03a/map.yaml index fea2396a9d..4cec468d4c 100644 --- a/mods/ra/maps/allies-03a/map.yaml +++ b/mods/ra/maps/allies-03a/map.yaml @@ -1405,6 +1405,7 @@ Rules: RenderSprites: Image: E7 PRISON: + HiddenUnderShroud: Immobile: OccupiesSpace: false BodyOrientation: diff --git a/mods/ra/maps/allies-03b/map.yaml b/mods/ra/maps/allies-03b/map.yaml index 1ccc8650f8..3e5da47a43 100644 --- a/mods/ra/maps/allies-03b/map.yaml +++ b/mods/ra/maps/allies-03b/map.yaml @@ -1301,6 +1301,7 @@ Rules: RenderSprites: Image: E7 PRISON: + HiddenUnderShroud: Immobile: OccupiesSpace: false BodyOrientation: @@ -1321,6 +1322,7 @@ Rules: RevealsShroud: Range: 40c0 CAMERA.Jeep: + AlwaysVisible: Mobile: TerrainSpeeds: RevealsShroud: diff --git a/mods/ra/maps/allies-05a/map.yaml b/mods/ra/maps/allies-05a/map.yaml index cc20ce373b..ad134ce93b 100644 --- a/mods/ra/maps/allies-05a/map.yaml +++ b/mods/ra/maps/allies-05a/map.yaml @@ -1622,6 +1622,7 @@ Rules: Tooltip: ShowOwnerRow: false Camera.Truk: + AlwaysVisible: Mobile: TerrainSpeeds: RevealsShroud: @@ -1674,6 +1675,7 @@ Rules: CloakDelay: 0 Palette: CloakUpgrade: + AlwaysVisible: Immobile: OccupiesSpace: false BodyOrientation: diff --git a/mods/ra/maps/bomber-john/map.yaml b/mods/ra/maps/bomber-john/map.yaml index e1aa8eeaf1..6c40239ec8 100644 --- a/mods/ra/maps/bomber-john/map.yaml +++ b/mods/ra/maps/bomber-john/map.yaml @@ -879,6 +879,7 @@ Rules: Power: Amount: 0 MINVV: + HiddenUnderFog: Building: Adjacent: 99 TerrainTypes: Clear,Road diff --git a/mods/ra/maps/desert-shellmap/map.yaml b/mods/ra/maps/desert-shellmap/map.yaml index 6c6938f6d8..f1a3e27e83 100644 --- a/mods/ra/maps/desert-shellmap/map.yaml +++ b/mods/ra/maps/desert-shellmap/map.yaml @@ -1329,10 +1329,12 @@ Rules: 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 diff --git a/mods/ra/maps/intervention/map.yaml b/mods/ra/maps/intervention/map.yaml index 19ed55d12a..1701f34bb6 100644 --- a/mods/ra/maps/intervention/map.yaml +++ b/mods/ra/maps/intervention/map.yaml @@ -2258,6 +2258,7 @@ Rules: ProvidesPrerequisite: Prerequisite: givefix MAINLAND: + AlwaysVisible: Tooltip: Name: Reach the mainland ProvidesPrerequisite: @@ -2269,6 +2270,7 @@ Rules: Buildable: Prerequisites: givefix GIVEFIX: + AlwaysVisible: Tooltip: Name: Weapons Factory or Helipad MIG: diff --git a/mods/ra/maps/survival02/map.yaml b/mods/ra/maps/survival02/map.yaml index 716ea2e206..469ba69653 100644 --- a/mods/ra/maps/survival02/map.yaml +++ b/mods/ra/maps/survival02/map.yaml @@ -1059,11 +1059,13 @@ Rules: 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 diff --git a/mods/ra/rules/civilian.yaml b/mods/ra/rules/civilian.yaml index b365048b99..d82541291c 100644 --- a/mods/ra/rules/civilian.yaml +++ b/mods/ra/rules/civilian.yaml @@ -487,6 +487,7 @@ SBRIDGE4: SpawnOffset: 2,1 BRIDGEHUT: + HiddenUnderShroud: Building: Footprint: __ __ Dimensions: 2,2 @@ -497,6 +498,7 @@ BRIDGEHUT: TargetTypes: BridgeHut, C4 BRIDGEHUT.small: + HiddenUnderShroud: Building: Footprint: _ Dimensions: 1,1 diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index 9de3e1a045..ea91a963e9 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -604,6 +604,7 @@ -TransformOnCapture: ^Bridge: + HiddenUnderShroud: Tooltip: Name: Bridge TargetableBuilding: @@ -653,6 +654,7 @@ RequireTilesets: DESERT ^Crate: + HiddenUnderShroud: Tooltip: Name: Crate GenericName: Crate diff --git a/mods/ra/rules/misc.yaml b/mods/ra/rules/misc.yaml index 2328f4441e..c1afe93759 100644 --- a/mods/ra/rules/misc.yaml +++ b/mods/ra/rules/misc.yaml @@ -1,4 +1,5 @@ MINP: + HiddenUnderShroud: Mine: CrushClasses: mine DetonateClasses: mine @@ -27,6 +28,7 @@ MINP: OccupiesSpace: true MINV: + HiddenUnderShroud: Mine: CrushClasses: mine DetonateClasses: mine @@ -165,6 +167,7 @@ HEALCRATE: Effect: heal CAMERA: + AlwaysVisible: Immobile: OccupiesSpace: false Health: @@ -180,6 +183,7 @@ CAMERA: Image: camera camera.paradrop: + AlwaysVisible: Immobile: OccupiesSpace: false Health: @@ -191,6 +195,7 @@ camera.paradrop: BodyOrientation: SONAR: + AlwaysVisible: Immobile: OccupiesSpace: false Health: @@ -220,6 +225,7 @@ FLARE: BodyOrientation: MINE: + HiddenUnderShroud: Tooltip: Name: Ore Mine RenderBuilding: @@ -238,6 +244,7 @@ MINE: SeedsResource: GMINE: + HiddenUnderShroud: Tooltip: Name: Gem Mine RenderBuilding: @@ -257,6 +264,7 @@ GMINE: ResourceType: Gems RAILMINE: + HiddenUnderShroud: Tooltip: Name: Abandoned Mine RenderBuilding: @@ -273,6 +281,7 @@ RAILMINE: ExcludeTilesets: INTERIOR QUEE: + HiddenUnderShroud: Tooltip: Name: Queen Ant Building: @@ -288,6 +297,7 @@ QUEE: UseTerrainPalette: true LAR1: + HiddenUnderShroud: Tooltip: Name: Ant Larva Building: @@ -304,6 +314,7 @@ LAR1: UseTerrainPalette: true LAR2: + HiddenUnderShroud: Tooltip: Name: Ant Larvae Building: @@ -320,6 +331,7 @@ LAR2: UseTerrainPalette: true powerproxy.parabombs: + AlwaysVisible: AirstrikePower: Icon: parabombs Description: Parabombs (Single Use) @@ -334,6 +346,7 @@ powerproxy.parabombs: CameraActor: camera powerproxy.sonarpulse: + AlwaysVisible: SpawnActorPower: Icon: sonar Description: Sonar Pulse @@ -348,6 +361,7 @@ powerproxy.sonarpulse: EffectPalette: moveflash powerproxy.paratroopers: + AlwaysVisible: ParatroopersPower: Icon: paratroopers Description: Paratroopers @@ -361,12 +375,14 @@ powerproxy.paratroopers: BeaconPoster: pinficon mpspawn: + AlwaysVisible: Immobile: OccupiesSpace: false RenderEditorOnly: BodyOrientation: waypoint: + AlwaysVisible: Immobile: OccupiesSpace: false RenderEditorOnly: diff --git a/mods/ra/rules/player.yaml b/mods/ra/rules/player.yaml index 79f607c078..ce7607c5ee 100644 --- a/mods/ra/rules/player.yaml +++ b/mods/ra/rules/player.yaml @@ -1,4 +1,5 @@ Player: + AlwaysVisible: TechTree: ClassicProductionQueue@Building: Type: Building diff --git a/mods/ra/rules/structures.yaml b/mods/ra/rules/structures.yaml index 606b70fad4..bd4f760f69 100644 --- a/mods/ra/rules/structures.yaml +++ b/mods/ra/rules/structures.yaml @@ -1617,16 +1617,19 @@ WOOD: Type: woodfence BARRACKS: + AlwaysVisible: Tooltip: Name: Infantry Production Description: Infantry Production TECHCENTER: + AlwaysVisible: Tooltip: Name: Tech Center Description: Tech Center ANYPOWER: + AlwaysVisible: Tooltip: Name: Power Plant Description: Power Plant diff --git a/mods/ra/rules/world.yaml b/mods/ra/rules/world.yaml index 2d094ad808..9a09ee119c 100644 --- a/mods/ra/rules/world.yaml +++ b/mods/ra/rules/world.yaml @@ -1,5 +1,6 @@ ^BaseWorld: Inherits: ^Palettes + AlwaysVisible: ActorMap: ScreenMap: TerrainGeometryOverlay: