Add "Flat" and "Low Priority" selection modes to default mods

This commit is contained in:
Ivaylo Draganov
2019-05-08 18:12:46 +03:00
committed by teinarss
parent c1fc0c1b74
commit e23054631d
12 changed files with 65 additions and 0 deletions

View File

@@ -242,9 +242,18 @@
Condition: cloak-force-disabled
ValidDamageStates: Critical
^FlatSelectionMode:
Selectable:
PriorityModifiers: Ctrl
^LowPrioritySelectionMode:
Selectable:
PriorityModifiers: Ctrl, Alt
^Vehicle:
Inherits@1: ^ExistsInWorld
Inherits@3: ^SpriteActor
Inherits@SELECTION_MODE: ^FlatSelectionMode
Huntable:
OwnerLostAction:
Action: Kill
@@ -294,6 +303,7 @@
^Helicopter:
Inherits@1: ^ExistsInWorld
Inherits@3: ^SpriteActor
Inherits@SELECTION_MODE: ^FlatSelectionMode
Huntable:
OwnerLostAction:
Action: Kill
@@ -351,6 +361,7 @@
^Infantry:
Inherits@1: ^ExistsInWorld
Inherits@3: ^SpriteActor
Inherits@SELECTION_MODE: ^FlatSelectionMode
Huntable:
OwnerLostAction:
Action: Kill
@@ -517,6 +528,7 @@
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
Inherits@SELECTION_MODE: ^FlatSelectionMode
Huntable:
OwnerLostAction:
Action: Kill
@@ -573,6 +585,7 @@
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
Inherits@SELECTION_MODE: ^FlatSelectionMode
Huntable:
Health:
HP: 30000
@@ -629,6 +642,7 @@
^Plane:
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
Inherits@SELECTION_MODE: ^FlatSelectionMode
Huntable:
OwnerLostAction:
Action: Kill
@@ -653,6 +667,7 @@
^Ship:
Inherits@1: ^ExistsInWorld
Inherits@3: ^SpriteActor
Inherits@SELECTION_MODE: ^FlatSelectionMode
Huntable:
OwnerLostAction:
Action: Kill

View File

@@ -162,6 +162,7 @@ E5:
E6:
Inherits: ^Soldier
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode
Valued:
Cost: 500
Tooltip:

View File

@@ -1,5 +1,6 @@
MCV:
Inherits: ^Vehicle
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode
Valued:
Cost: 3500
Tooltip:
@@ -43,6 +44,7 @@ MCV:
HARV:
Inherits: ^Tank
Inherits@CLOAK: ^AcceptsCloakCrate
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode
Valued:
Cost: 1000
Tooltip:
@@ -681,6 +683,7 @@ MHQ:
TRUCK:
Inherits: ^Vehicle
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode
Buildable:
Queue: Vehicle.GDI, Vehicle.Nod
BuildPaletteOrder: 35

View File

@@ -163,9 +163,18 @@
AttackMove:
AssaultMoveCondition: assault-move
^FlatSelectionMode:
Selectable:
PriorityModifiers: Ctrl
^LowPrioritySelectionMode:
Selectable:
PriorityModifiers: Ctrl, Alt
^Vehicle:
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
Inherits@SELECTION_MODE: ^FlatSelectionMode
Tooltip:
GenericName: Unit
Huntable:
@@ -269,6 +278,7 @@
Inherits@1: ^ExistsInWorld
Inherits@2: ^GainsExperience
Inherits@3: ^SpriteActor
Inherits@SELECTION_MODE: ^FlatSelectionMode
Tooltip:
GenericName: Unit
Huntable:

View File

@@ -1,5 +1,6 @@
mcv:
Inherits: ^Tank
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode
Buildable:
Prerequisites: repair_pad, upgrade.heavy, ~techlevel.medium
Queue: Armor
@@ -50,6 +51,7 @@ mcv:
harvester:
Inherits: ^Tank
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode
Buildable:
Queue: Armor
Prerequisites: refinery

View File

@@ -138,6 +138,7 @@ OILB:
MOBILETENT:
Inherits: ^Vehicle
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode
Valued:
Cost: 2000
Tooltip:

View File

@@ -231,11 +231,20 @@
GivesBounty:
RequiresCondition: global-bounty
^FlatSelectionMode:
Selectable:
PriorityModifiers: Ctrl
^LowPrioritySelectionMode:
Selectable:
PriorityModifiers: Ctrl, Alt
^Vehicle:
Inherits@1: ^ExistsInWorld
Inherits@2: ^IronCurtainable
Inherits@3: ^SpriteActor
Inherits@bounty: ^GlobalBounty
Inherits@SELECTION_MODE: ^FlatSelectionMode
Huntable:
OwnerLostAction:
Action: Kill
@@ -319,6 +328,7 @@
Inherits@3: ^InfantryExperienceHospitalOverrides
Inherits@4: ^SpriteActor
Inherits@bounty: ^GlobalBounty
Inherits@SELECTION_MODE: ^FlatSelectionMode
Huntable:
OwnerLostAction:
Action: Kill
@@ -488,6 +498,7 @@
Inherits@3: ^IronCurtainable
Inherits@4: ^SpriteActor
Inherits@bounty: ^GlobalBounty
Inherits@SELECTION_MODE: ^FlatSelectionMode
Huntable:
OwnerLostAction:
Action: Kill
@@ -540,6 +551,7 @@
Inherits@3: ^IronCurtainable
Inherits@4: ^SpriteActor
Inherits@bounty: ^GlobalBounty
Inherits@SELECTION_MODE: ^FlatSelectionMode
Huntable:
OwnerLostAction:
Action: Kill

View File

@@ -244,6 +244,7 @@ E4:
E6:
Inherits: ^Soldier
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode
Buildable:
Queue: Infantry
BuildAtProductionType: Soldier

View File

@@ -289,6 +289,7 @@ ARTY:
HARV:
Inherits: ^Vehicle
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode
Buildable:
Queue: Vehicle
BuildPaletteOrder: 10
@@ -342,6 +343,7 @@ HARV:
MCV:
Inherits: ^Vehicle
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode
Buildable:
Queue: Vehicle
BuildPaletteOrder: 90
@@ -468,6 +470,7 @@ APC:
MNLY:
Inherits: ^TrackedVehicle
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode
Buildable:
Queue: Vehicle
BuildPaletteOrder: 100
@@ -511,6 +514,7 @@ MNLY:
TRUK:
Inherits: ^Vehicle
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode
Buildable:
Queue: Vehicle
BuildPaletteOrder: 20

View File

@@ -179,6 +179,14 @@
AttackMove:
AssaultMoveCondition: assault-move
^FlatSelectionMode:
Selectable:
PriorityModifiers: Ctrl
^LowPrioritySelectionMode:
Selectable:
PriorityModifiers: Ctrl, Alt
^2x1Shape:
HitShape:
Type: Rectangle
@@ -536,6 +544,7 @@
Inherits@3: ^SpriteActor
Inherits@4: ^Cloakable
Inherits@CRATESTATS: ^CrateStatModifiers
Inherits@SELECTION_MODE: ^FlatSelectionMode
Huntable:
OwnerLostAction:
Action: Kill
@@ -738,6 +747,7 @@
Inherits@4: ^Cloakable
Inherits@5: ^DamagedByVeins
Inherits@CRATESTATS: ^CrateStatModifiers
Inherits@SELECTION_MODE: ^FlatSelectionMode
Huntable:
OwnerLostAction:
Action: Kill
@@ -839,6 +849,7 @@
^Aircraft:
Inherits@2: ^ExistsInWorld
Inherits@3: ^Cloakable
Inherits@SELECTION_MODE: ^FlatSelectionMode
Huntable:
OwnerLostAction:
Action: Kill
@@ -931,6 +942,7 @@
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
Inherits@3: ^HealsOnTiberium
Inherits@SELECTION_MODE: ^FlatSelectionMode
Huntable:
DrawLineToTarget:
Health:
@@ -1082,6 +1094,7 @@
Inherits@1: ^EmpDisable
Inherits@2: ^ExistsInWorld
Inherits@3: ^Cloakable
Inherits@SELECTION_MODE: ^FlatSelectionMode
Huntable:
RenderVoxels:
RenderSprites:

View File

@@ -40,6 +40,7 @@ E1:
ENGINEER:
Inherits: ^Soldier
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode
Valued:
Cost: 500
Tooltip:

View File

@@ -1,6 +1,7 @@
MCV:
Inherits: ^Tank
Inherits@VOXELS: ^VoxelActor
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode
Buildable:
Queue: Vehicle
BuildPaletteOrder: 160
@@ -45,6 +46,7 @@ MCV:
HARV:
Inherits: ^Tank
Inherits@VOXELS: ^VoxelActor
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode
Valued:
Cost: 1400
Tooltip: