From cdbc2d2613ed79d089102c6793ba3a73997fd493 Mon Sep 17 00:00:00 2001 From: Mustafa Alperen Seki Date: Mon, 21 May 2018 19:23:36 +0300 Subject: [PATCH] Update default mods for OwnerLostAction --- mods/cnc/rules/defaults.yaml | 18 ++++++++++++++++++ mods/d2k/rules/defaults.yaml | 8 ++++++++ mods/d2k/rules/structures.yaml | 2 ++ mods/ra/rules/civilian.yaml | 10 ++++++++++ mods/ra/rules/defaults.yaml | 12 ++++++++++++ mods/ts/rules/defaults.yaml | 8 ++++++++ 6 files changed, 58 insertions(+) diff --git a/mods/cnc/rules/defaults.yaml b/mods/cnc/rules/defaults.yaml index a518cb586c..4e04e1e4a5 100644 --- a/mods/cnc/rules/defaults.yaml +++ b/mods/cnc/rules/defaults.yaml @@ -211,6 +211,8 @@ Inherits@1: ^ExistsInWorld Inherits@3: ^SpriteActor Huntable: + OwnerLostAction: + Action: Kill Mobile: Locomotor: wheeled TurnSpeed: 5 @@ -257,6 +259,8 @@ Inherits@1: ^ExistsInWorld Inherits@3: ^SpriteActor Huntable: + OwnerLostAction: + Action: Kill AppearsOnRadar: UseLocation: yes Targetable@GROUND: @@ -312,6 +316,8 @@ Inherits@1: ^ExistsInWorld Inherits@3: ^SpriteActor Huntable: + OwnerLostAction: + Action: Kill Health: Armor: Type: None @@ -457,6 +463,8 @@ Inherits@2: ^SpriteActor Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove Huntable: + OwnerLostAction: + Action: Kill Health: HP: 100000 Armor: @@ -567,6 +575,8 @@ Inherits@1: ^ExistsInWorld Inherits@2: ^SpriteActor Huntable: + OwnerLostAction: + Action: Kill AppearsOnRadar: UseLocation: yes HiddenUnderFog: @@ -589,6 +599,8 @@ Inherits@1: ^ExistsInWorld Inherits@3: ^SpriteActor Huntable: + OwnerLostAction: + Action: Kill SelectionDecorations: WithSpriteControlGroupDecoration: Selectable: @@ -617,6 +629,8 @@ Inherits@2: ^SpriteActor Inherits@shape: ^1x1Shape Huntable: + OwnerLostAction: + Action: Kill SelectionDecorations: WithSpriteControlGroupDecoration: Selectable: @@ -714,6 +728,8 @@ ^TechBuilding: Inherits: ^CivBuilding + OwnerLostAction: + Action: Kill Capturable: CaptureNotification: Notification: CivilianBuildingCaptured @@ -767,6 +783,8 @@ Interactable: CombatDebugOverlay: AppearsOnRadar: + OwnerLostAction: + Action: Kill Building: Dimensions: 1,1 Footprint: x diff --git a/mods/d2k/rules/defaults.yaml b/mods/d2k/rules/defaults.yaml index bd7864eaec..5b1cf4f953 100644 --- a/mods/d2k/rules/defaults.yaml +++ b/mods/d2k/rules/defaults.yaml @@ -167,6 +167,8 @@ Tooltip: GenericName: Unit Huntable: + OwnerLostAction: + Action: Kill Mobile: TurnSpeed: 5 Locomotor: vehicle @@ -266,6 +268,8 @@ Tooltip: GenericName: Unit Huntable: + OwnerLostAction: + Action: Kill Health: Armor: Type: none @@ -334,6 +338,8 @@ Tooltip: GenericName: Unit Huntable: + OwnerLostAction: + Action: Kill AppearsOnRadar: UseLocation: true HiddenUnderFog: @@ -354,6 +360,8 @@ Tooltip: GenericName: Structure Huntable: + OwnerLostAction: + Action: Kill SelectionDecorations: WithSpriteControlGroupDecoration: Selectable: diff --git a/mods/d2k/rules/structures.yaml b/mods/d2k/rules/structures.yaml index ca4feba558..181963ce85 100644 --- a/mods/d2k/rules/structures.yaml +++ b/mods/d2k/rules/structures.yaml @@ -692,6 +692,8 @@ wall: CombatDebugOverlay: FrozenUnderFog: ScriptTriggers: + OwnerLostAction: + Action: Kill Buildable: Queue: Building Prerequisites: barracks diff --git a/mods/ra/rules/civilian.yaml b/mods/ra/rules/civilian.yaml index 7552657673..5f6d497877 100644 --- a/mods/ra/rules/civilian.yaml +++ b/mods/ra/rules/civilian.yaml @@ -65,6 +65,8 @@ TECN: FCOM: Inherits: ^TechBuilding Inherits@shape: ^2x2Shape + OwnerLostAction: + Action: Kill Building: Footprint: xx xx == Dimensions: 2,3 @@ -104,6 +106,8 @@ FCOM: HOSP: Inherits: ^TechBuilding Inherits@shape: ^2x2Shape + OwnerLostAction: + Action: Kill Selectable: Priority: 0 Building: @@ -376,6 +380,8 @@ MISS: TargetableOffsets: 0,0,0, 840,0,0, 840,-1024,0, 420,768,0, -840,0,0, -840,-1024,0, -840,1024,0 Selectable: Priority: 0 + OwnerLostAction: + Action: Kill Building: Footprint: xxx xxx === Dimensions: 3,3 @@ -411,6 +417,8 @@ MISS: BIO: Inherits: ^TechBuilding Inherits@shape: ^2x2Shape + OwnerLostAction: + Action: Kill Building: Footprint: xx xx Dimensions: 2,2 @@ -442,6 +450,8 @@ OILB: TargetableOffsets: 0,0,0, 630,-300,0, 420,512,0, -420,-512,0, -630,300,0 Selectable: Priority: 0 + OwnerLostAction: + Action: Kill Building: Footprint: xx xx Dimensions: 2,2 diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index cbd1dc49b4..3d4cd43466 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -217,6 +217,8 @@ Inherits@3: ^SpriteActor Inherits@bounty: ^GlobalBounty Huntable: + OwnerLostAction: + Action: Kill DrawLineToTarget: UpdatesPlayerStatistics: Mobile: @@ -291,6 +293,8 @@ Inherits@3: ^SpriteActor Inherits@bounty: ^GlobalBounty Huntable: + OwnerLostAction: + Action: Kill DrawLineToTarget: Health: HP: 2500 @@ -429,6 +433,8 @@ Inherits@4: ^SpriteActor Inherits@bounty: ^GlobalBounty Huntable: + OwnerLostAction: + Action: Kill DrawLineToTarget: UpdatesPlayerStatistics: Mobile: @@ -472,6 +478,8 @@ Inherits@4: ^SpriteActor Inherits@bounty: ^GlobalBounty Huntable: + OwnerLostAction: + Action: Kill DrawLineToTarget: UpdatesPlayerStatistics: AppearsOnRadar: @@ -595,6 +603,8 @@ ^Building: Inherits: ^BasicBuilding Huntable: + OwnerLostAction: + Action: Kill UpdatesPlayerStatistics: GivesBuildableArea: AreaTypes: building, fake @@ -642,6 +652,8 @@ Inherits@2: ^SpriteActor Inherits@shape: ^1x1Shape Interactable: + OwnerLostAction: + Action: Kill Building: Dimensions: 1,1 Footprint: x diff --git a/mods/ts/rules/defaults.yaml b/mods/ts/rules/defaults.yaml index 20b7505eea..64dd2b51e9 100644 --- a/mods/ts/rules/defaults.yaml +++ b/mods/ts/rules/defaults.yaml @@ -438,6 +438,8 @@ FrozenUnderFog: AppearsOnRadar: Interactable: + OwnerLostAction: + Action: Kill Building: Dimensions: 1,1 Footprint: x @@ -498,6 +500,8 @@ Inherits@4: ^Cloakable Inherits@CRATESTATS: ^CrateStatModifiers Huntable: + OwnerLostAction: + Action: Kill DrawLineToTarget: Health: HP: 5000 @@ -683,6 +687,8 @@ Inherits@5: ^DamagedByVeins Inherits@CRATESTATS: ^CrateStatModifiers Huntable: + OwnerLostAction: + Action: Kill DrawLineToTarget: Mobile: TurnSpeed: 5 @@ -775,6 +781,8 @@ Inherits@2: ^ExistsInWorld Inherits@3: ^Cloakable Huntable: + OwnerLostAction: + Action: Kill DrawLineToTarget: AppearsOnRadar: UseLocation: true