Add selection tiers as inheritable templates

This commit is contained in:
Ivaylo Draganov
2019-07-09 00:08:07 +03:00
committed by reaperrr
parent 088919fecc
commit 93e42b0b27
17 changed files with 137 additions and 96 deletions

View File

@@ -242,18 +242,10 @@
Condition: cloak-force-disabled Condition: cloak-force-disabled
ValidDamageStates: Critical ValidDamageStates: Critical
^FlatSelectionMode:
Selectable:
PriorityModifiers: Ctrl
^LowPrioritySelectionMode:
Selectable:
PriorityModifiers: Ctrl, Alt
^Vehicle: ^Vehicle:
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@3: ^SpriteActor Inherits@3: ^SpriteActor
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Huntable: Huntable:
OwnerLostAction: OwnerLostAction:
Action: Kill Action: Kill
@@ -303,7 +295,7 @@
^Helicopter: ^Helicopter:
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@3: ^SpriteActor Inherits@3: ^SpriteActor
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Huntable: Huntable:
OwnerLostAction: OwnerLostAction:
Action: Kill Action: Kill
@@ -363,7 +355,7 @@
^Infantry: ^Infantry:
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@3: ^SpriteActor Inherits@3: ^SpriteActor
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Huntable: Huntable:
OwnerLostAction: OwnerLostAction:
Action: Kill Action: Kill
@@ -530,7 +522,7 @@
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor Inherits@2: ^SpriteActor
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Huntable: Huntable:
OwnerLostAction: OwnerLostAction:
Action: Kill Action: Kill
@@ -587,7 +579,7 @@
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor Inherits@2: ^SpriteActor
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Huntable: Huntable:
Health: Health:
HP: 30000 HP: 30000
@@ -668,7 +660,7 @@
^Ship: ^Ship:
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@3: ^SpriteActor Inherits@3: ^SpriteActor
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Huntable: Huntable:
OwnerLostAction: OwnerLostAction:
Action: Kill Action: Kill
@@ -699,13 +691,12 @@
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor Inherits@2: ^SpriteActor
Inherits@shape: ^1x1Shape Inherits@shape: ^1x1Shape
Inherits@selection: ^SelectableBuilding
Huntable: Huntable:
OwnerLostAction: OwnerLostAction:
Action: Kill Action: Kill
SelectionDecorations: SelectionDecorations:
WithSpriteControlGroupDecoration: WithSpriteControlGroupDecoration:
Selectable:
Priority: 3
Targetable: Targetable:
TargetTypes: Ground, C4, Structure TargetTypes: Ground, C4, Structure
Armor: Armor:
@@ -1150,6 +1141,7 @@
^Defense: ^Defense:
Inherits: ^BaseBuilding Inherits: ^BaseBuilding
Inherits@selection: ^SelectableCombatBuilding
RenderRangeCircle: RenderRangeCircle:
RenderDetectionCircle: RenderDetectionCircle:
-GivesBuildableArea: -GivesBuildableArea:
@@ -1169,3 +1161,26 @@
WithColoredOverlay@IDISABLE: WithColoredOverlay@IDISABLE:
RequiresCondition: lowpower RequiresCondition: lowpower
Palette: disabled Palette: disabled
^SelectableCombatUnit:
Selectable:
Priority: 10
PriorityModifiers: Ctrl
^SelectableSupportUnit:
Selectable:
Priority: 8
PriorityModifiers: Ctrl, Alt
^SelectableEconomicUnit:
Selectable:
Priority: 6
PriorityModifiers: Ctrl, Alt
^SelectableCombatBuilding:
Selectable:
Priority: 4
^SelectableBuilding:
Selectable:
Priority: 2

View File

@@ -162,7 +162,7 @@ E5:
E6: E6:
Inherits: ^Soldier Inherits: ^Soldier
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode Inherits@selection: ^SelectableSupportUnit
Valued: Valued:
Cost: 500 Cost: 500
Tooltip: Tooltip:
@@ -190,8 +190,6 @@ E6:
Captures@CAPTURES: Captures@CAPTURES:
CaptureTypes: building, husk CaptureTypes: building, husk
PlayerExperience: 50 PlayerExperience: 50
Selectable:
Priority: 5
-AttackFrontal: -AttackFrontal:
RMBO: RMBO:

View File

@@ -39,7 +39,6 @@ HOSP:
Inherits@shape: ^2x2Shape Inherits@shape: ^2x2Shape
Selectable: Selectable:
Bounds: 48,48 Bounds: 48,48
Priority: 0
Building: Building:
Footprint: xx xx Footprint: xx xx
Dimensions: 2,2 Dimensions: 2,2

View File

@@ -1,6 +1,6 @@
MCV: MCV:
Inherits: ^Vehicle Inherits: ^Vehicle
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode Inherits@selection: ^SelectableSupportUnit
Valued: Valued:
Cost: 3500 Cost: 3500
Tooltip: Tooltip:
@@ -13,7 +13,6 @@ MCV:
BuildDurationModifier: 40 BuildDurationModifier: 40
Description: Deploys into another Construction Yard.\n Unarmed Description: Deploys into another Construction Yard.\n Unarmed
Selectable: Selectable:
Priority: 4
DecorationBounds: 36,36 DecorationBounds: 36,36
Mobile: Mobile:
Speed: 71 Speed: 71
@@ -44,7 +43,7 @@ MCV:
HARV: HARV:
Inherits: ^Tank Inherits: ^Tank
Inherits@CLOAK: ^AcceptsCloakCrate Inherits@CLOAK: ^AcceptsCloakCrate
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode Inherits@selection: ^SelectableEconomicUnit
Valued: Valued:
Cost: 1000 Cost: 1000
Tooltip: Tooltip:
@@ -58,7 +57,6 @@ HARV:
BuildDurationModifier: 40 BuildDurationModifier: 40
Description: Collects Tiberium for processing.\n Unarmed Description: Collects Tiberium for processing.\n Unarmed
Selectable: Selectable:
Priority: 7
DecorationBounds: 36,36 DecorationBounds: 36,36
Harvester: Harvester:
Resources: Tiberium, BlueTiberium Resources: Tiberium, BlueTiberium
@@ -683,7 +681,7 @@ MHQ:
TRUCK: TRUCK:
Inherits: ^Vehicle Inherits: ^Vehicle
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode Inherits@selection: ^SelectableSupportUnit
Buildable: Buildable:
Queue: Vehicle.GDI, Vehicle.Nod Queue: Vehicle.GDI, Vehicle.Nod
BuildPaletteOrder: 35 BuildPaletteOrder: 35
@@ -693,8 +691,6 @@ TRUCK:
Cost: 500 Cost: 500
Tooltip: Tooltip:
Name: Supply Truck Name: Supply Truck
Selectable:
Priority: 6
Health: Health:
HP: 11000 HP: 11000
Armor: Armor:

View File

@@ -163,18 +163,10 @@
AttackMove: AttackMove:
AssaultMoveCondition: assault-move AssaultMoveCondition: assault-move
^FlatSelectionMode:
Selectable:
PriorityModifiers: Ctrl
^LowPrioritySelectionMode:
Selectable:
PriorityModifiers: Ctrl, Alt
^Vehicle: ^Vehicle:
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor Inherits@2: ^SpriteActor
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Tooltip: Tooltip:
GenericName: Unit GenericName: Unit
Huntable: Huntable:
@@ -279,7 +271,7 @@
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@2: ^GainsExperience Inherits@2: ^GainsExperience
Inherits@3: ^SpriteActor Inherits@3: ^SpriteActor
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Tooltip: Tooltip:
GenericName: Unit GenericName: Unit
Huntable: Huntable:
@@ -374,6 +366,7 @@
^Building: ^Building:
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor Inherits@2: ^SpriteActor
Inherits@selection: ^SelectableBuilding
Tooltip: Tooltip:
GenericName: Structure GenericName: Structure
Huntable: Huntable:
@@ -381,8 +374,6 @@
Action: Kill Action: Kill
SelectionDecorations: SelectionDecorations:
WithSpriteControlGroupDecoration: WithSpriteControlGroupDecoration:
Selectable:
Priority: 2
RevealsShroud: RevealsShroud:
Targetable: Targetable:
TargetTypes: Ground, C4, Structure TargetTypes: Ground, C4, Structure
@@ -464,6 +455,7 @@
^Defense: ^Defense:
Inherits: ^Building Inherits: ^Building
Inherits@selection: ^SelectableCombatBuilding
WithSpriteTurret: WithSpriteTurret:
AttackTurreted: AttackTurreted:
RenderRangeCircle: RenderRangeCircle:
@@ -529,3 +521,26 @@
WithBuildingRepairDecoration: WithBuildingRepairDecoration:
Offsets: Offsets:
powerdown: -10, 0 powerdown: -10, 0
^SelectableCombatUnit:
Selectable:
Priority: 10
PriorityModifiers: Ctrl
^SelectableSupportUnit:
Selectable:
Priority: 8
PriorityModifiers: Ctrl, Alt
^SelectableEconomicUnit:
Selectable:
Priority: 6
PriorityModifiers: Ctrl, Alt
^SelectableCombatBuilding:
Selectable:
Priority: 4
^SelectableBuilding:
Selectable:
Priority: 2

View File

@@ -24,6 +24,7 @@ light_inf:
engineer: engineer:
Inherits: ^Infantry Inherits: ^Infantry
Inherits@selection: ^SelectableSupportUnit
Buildable: Buildable:
Queue: Infantry Queue: Infantry
BuildPaletteOrder: 30 BuildPaletteOrder: 30

View File

@@ -799,7 +799,6 @@ medium_gun_turret:
Selectable: Selectable:
Bounds: 32,32 Bounds: 32,32
DecorationBounds: 32,40,0,-8 DecorationBounds: 32,40,0,-8
Priority: 3
Health: Health:
HP: 27000 HP: 27000
Armor: Armor:
@@ -847,7 +846,6 @@ large_gun_turret:
Selectable: Selectable:
Bounds: 32,32 Bounds: 32,32
DecorationBounds: 32,40,0,-8 DecorationBounds: 32,40,0,-8
Priority: 3
Health: Health:
HP: 30000 HP: 30000
Armor: Armor:

View File

@@ -1,6 +1,6 @@
mcv: mcv:
Inherits: ^Tank Inherits: ^Tank
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode Inherits@selection: ^SelectableSupportUnit
Buildable: Buildable:
Prerequisites: repair_pad, upgrade.heavy, ~techlevel.medium Prerequisites: repair_pad, upgrade.heavy, ~techlevel.medium
Queue: Armor Queue: Armor
@@ -14,7 +14,6 @@ mcv:
Name: Mobile Construction Vehicle Name: Mobile Construction Vehicle
Selectable: Selectable:
Class: mcv Class: mcv
Priority: 3
DecorationBounds: 42,42 DecorationBounds: 42,42
Health: Health:
HP: 45000 HP: 45000
@@ -51,7 +50,7 @@ mcv:
harvester: harvester:
Inherits: ^Tank Inherits: ^Tank
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode Inherits@selection: ^SelectableEconomicUnit
Buildable: Buildable:
Queue: Armor Queue: Armor
Prerequisites: refinery Prerequisites: refinery
@@ -65,7 +64,6 @@ harvester:
Name: Spice Harvester Name: Spice Harvester
Selectable: Selectable:
Class: harvester Class: harvester
Priority: 7
DecorationBounds: 42,42 DecorationBounds: 42,42
Harvester: Harvester:
PipCount: 7 PipCount: 7

View File

@@ -138,13 +138,12 @@ OILB:
MOBILETENT: MOBILETENT:
Inherits: ^Vehicle Inherits: ^Vehicle
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode Inherits@selection: ^SelectableSupportUnit
Valued: Valued:
Cost: 2000 Cost: 2000
Tooltip: Tooltip:
Name: Mobile Tent Name: Mobile Tent
Selectable: Selectable:
Priority: 4
DecorationBounds: 21,21 DecorationBounds: 21,21
SelectionDecorations: SelectionDecorations:
Health: Health:

View File

@@ -224,20 +224,12 @@
GivesBounty: GivesBounty:
RequiresCondition: global-bounty RequiresCondition: global-bounty
^FlatSelectionMode:
Selectable:
PriorityModifiers: Ctrl
^LowPrioritySelectionMode:
Selectable:
PriorityModifiers: Ctrl, Alt
^Vehicle: ^Vehicle:
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@2: ^IronCurtainable Inherits@2: ^IronCurtainable
Inherits@3: ^SpriteActor Inherits@3: ^SpriteActor
Inherits@bounty: ^GlobalBounty Inherits@bounty: ^GlobalBounty
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Huntable: Huntable:
OwnerLostAction: OwnerLostAction:
Action: Kill Action: Kill
@@ -321,7 +313,7 @@
Inherits@3: ^InfantryExperienceHospitalOverrides Inherits@3: ^InfantryExperienceHospitalOverrides
Inherits@4: ^SpriteActor Inherits@4: ^SpriteActor
Inherits@bounty: ^GlobalBounty Inherits@bounty: ^GlobalBounty
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Huntable: Huntable:
OwnerLostAction: OwnerLostAction:
Action: Kill Action: Kill
@@ -492,7 +484,7 @@
Inherits@3: ^IronCurtainable Inherits@3: ^IronCurtainable
Inherits@4: ^SpriteActor Inherits@4: ^SpriteActor
Inherits@bounty: ^GlobalBounty Inherits@bounty: ^GlobalBounty
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Huntable: Huntable:
OwnerLostAction: OwnerLostAction:
Action: Kill Action: Kill
@@ -544,7 +536,7 @@
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@4: ^SpriteActor Inherits@4: ^SpriteActor
Inherits@bounty: ^GlobalBounty Inherits@bounty: ^GlobalBounty
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Huntable: Huntable:
OwnerLostAction: OwnerLostAction:
Action: Kill Action: Kill
@@ -641,10 +633,9 @@
Inherits@3: ^SpriteActor Inherits@3: ^SpriteActor
Inherits@shape: ^1x1Shape Inherits@shape: ^1x1Shape
Inherits@bounty: ^GlobalBounty Inherits@bounty: ^GlobalBounty
Inherits@selection: ^SelectableBuilding
SelectionDecorations: SelectionDecorations:
WithSpriteControlGroupDecoration: WithSpriteControlGroupDecoration:
Selectable:
Priority: 3
Targetable: Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure TargetTypes: Ground, C4, DetonateAttack, Structure
Building: Building:
@@ -729,6 +720,7 @@
^Defense: ^Defense:
Inherits: ^Building Inherits: ^Building
Inherits@selection: ^SelectableCombatBuilding
Selectable: Selectable:
Bounds: 24,24 Bounds: 24,24
Targetable: Targetable:
@@ -1242,3 +1234,26 @@
Types: SpyInfiltrate Types: SpyInfiltrate
Power: Power:
RequiresCondition: !disabled RequiresCondition: !disabled
^SelectableCombatUnit:
Selectable:
Priority: 10
PriorityModifiers: Ctrl
^SelectableSupportUnit:
Selectable:
Priority: 8
PriorityModifiers: Ctrl, Alt
^SelectableEconomicUnit:
Selectable:
Priority: 6
PriorityModifiers: Ctrl, Alt
^SelectableCombatBuilding:
Selectable:
Priority: 4
^SelectableBuilding:
Selectable:
Priority: 2

View File

@@ -242,7 +242,7 @@ E4:
E6: E6:
Inherits: ^Soldier Inherits: ^Soldier
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode Inherits@selection: ^SelectableSupportUnit
Buildable: Buildable:
Queue: Infantry Queue: Infantry
BuildAtProductionType: Soldier BuildAtProductionType: Soldier
@@ -283,8 +283,6 @@ E6:
EnterBlockedCursor: move-blocked EnterBlockedCursor: move-blocked
Voiced: Voiced:
VoiceSet: EngineerVoice VoiceSet: EngineerVoice
Selectable:
Priority: 5
-AttackFrontal: -AttackFrontal:
SPY: SPY:

View File

@@ -286,7 +286,7 @@ ARTY:
HARV: HARV:
Inherits: ^Vehicle Inherits: ^Vehicle
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode Inherits@selection: ^SelectableEconomicUnit
Buildable: Buildable:
Queue: Vehicle Queue: Vehicle
BuildPaletteOrder: 110 BuildPaletteOrder: 110
@@ -298,7 +298,6 @@ HARV:
Name: Ore Truck Name: Ore Truck
GenericName: Harvester GenericName: Harvester
Selectable: Selectable:
Priority: 7
DecorationBounds: 42,42 DecorationBounds: 42,42
SelectionDecorations: SelectionDecorations:
Harvester: Harvester:
@@ -340,7 +339,7 @@ HARV:
MCV: MCV:
Inherits: ^Vehicle Inherits: ^Vehicle
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode Inherits@selection: ^SelectableSupportUnit
Buildable: Buildable:
Queue: Vehicle Queue: Vehicle
BuildPaletteOrder: 210 BuildPaletteOrder: 210
@@ -352,7 +351,6 @@ MCV:
Tooltip: Tooltip:
Name: Mobile Construction Vehicle Name: Mobile Construction Vehicle
Selectable: Selectable:
Priority: 4
DecorationBounds: 42,42 DecorationBounds: 42,42
SelectionDecorations: SelectionDecorations:
Health: Health:
@@ -467,7 +465,7 @@ APC:
MNLY: MNLY:
Inherits: ^TrackedVehicle Inherits: ^TrackedVehicle
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode Inherits@selection: ^SelectableSupportUnit
Buildable: Buildable:
Queue: Vehicle Queue: Vehicle
BuildPaletteOrder: 310 BuildPaletteOrder: 310
@@ -479,8 +477,6 @@ MNLY:
Name: Minelayer Name: Minelayer
UpdatesPlayerStatistics: UpdatesPlayerStatistics:
AddToArmyValue: true AddToArmyValue: true
Selectable:
Priority: 5
Health: Health:
HP: 30000 HP: 30000
Armor: Armor:
@@ -511,7 +507,7 @@ MNLY:
TRUK: TRUK:
Inherits: ^Vehicle Inherits: ^Vehicle
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode Inherits@selection: ^SelectableSupportUnit
Buildable: Buildable:
Queue: Vehicle Queue: Vehicle
BuildPaletteOrder: 410 BuildPaletteOrder: 410
@@ -521,8 +517,6 @@ TRUK:
Cost: 500 Cost: 500
Tooltip: Tooltip:
Name: Supply Truck Name: Supply Truck
Selectable:
Priority: 6
Health: Health:
HP: 11000 HP: 11000
Armor: Armor:

View File

@@ -42,6 +42,7 @@
^TRUCK: ^TRUCK:
Inherits: ^CivilianVoxelVehicle Inherits: ^CivilianVoxelVehicle
Inherits@selection: ^SelectableSupportUnit
Valued: Valued:
Cost: 500 Cost: 500
Tooltip: Tooltip:
@@ -65,6 +66,7 @@ TRUCKB:
ICBM: ICBM:
Inherits: ^CivilianVoxelCrusher Inherits: ^CivilianVoxelCrusher
Inherits@selection: ^SelectableSupportUnit
Valued: Valued:
Cost: 1400 Cost: 1400
Tooltip: Tooltip:

View File

@@ -179,14 +179,6 @@
AttackMove: AttackMove:
AssaultMoveCondition: assault-move AssaultMoveCondition: assault-move
^FlatSelectionMode:
Selectable:
PriorityModifiers: Ctrl
^LowPrioritySelectionMode:
Selectable:
PriorityModifiers: Ctrl, Alt
^2x1Shape: ^2x1Shape:
HitShape: HitShape:
Type: Rectangle Type: Rectangle
@@ -305,12 +297,11 @@
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor Inherits@2: ^SpriteActor
Inherits@3: ^Cloakable Inherits@3: ^Cloakable
Inherits@selection: ^SelectableBuilding
Huntable: Huntable:
WithTextControlGroupDecoration: WithTextControlGroupDecoration:
SelectionDecorations: SelectionDecorations:
Palette: pips Palette: pips
Selectable:
Priority: 3
Targetable: Targetable:
TargetTypes: Ground, Building, C4 TargetTypes: Ground, Building, C4
HitShape: HitShape:
@@ -546,7 +537,7 @@
Inherits@3: ^SpriteActor Inherits@3: ^SpriteActor
Inherits@4: ^Cloakable Inherits@4: ^Cloakable
Inherits@CRATESTATS: ^CrateStatModifiers Inherits@CRATESTATS: ^CrateStatModifiers
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Huntable: Huntable:
OwnerLostAction: OwnerLostAction:
Action: Kill Action: Kill
@@ -751,7 +742,7 @@
Inherits@4: ^Cloakable Inherits@4: ^Cloakable
Inherits@5: ^DamagedByVeins Inherits@5: ^DamagedByVeins
Inherits@CRATESTATS: ^CrateStatModifiers Inherits@CRATESTATS: ^CrateStatModifiers
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Huntable: Huntable:
OwnerLostAction: OwnerLostAction:
Action: Kill Action: Kill
@@ -856,7 +847,7 @@
^Aircraft: ^Aircraft:
Inherits@2: ^ExistsInWorld Inherits@2: ^ExistsInWorld
Inherits@3: ^Cloakable Inherits@3: ^Cloakable
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Huntable: Huntable:
OwnerLostAction: OwnerLostAction:
Action: Kill Action: Kill
@@ -950,7 +941,7 @@
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor Inherits@2: ^SpriteActor
Inherits@3: ^HealsOnTiberium Inherits@3: ^HealsOnTiberium
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Huntable: Huntable:
DrawLineToTarget: DrawLineToTarget:
QueuedLineWidth: 2 QueuedLineWidth: 2
@@ -1085,6 +1076,7 @@
^Defense: ^Defense:
Inherits: ^Building Inherits: ^Building
Inherits@selection: ^SelectableCombatBuilding
-GivesBuildableArea: -GivesBuildableArea:
RenderRangeCircle: RenderRangeCircle:
RenderDetectionCircle: RenderDetectionCircle:
@@ -1104,7 +1096,7 @@
Inherits@1: ^EmpDisable Inherits@1: ^EmpDisable
Inherits@2: ^ExistsInWorld Inherits@2: ^ExistsInWorld
Inherits@3: ^Cloakable Inherits@3: ^Cloakable
Inherits@SELECTION_MODE: ^FlatSelectionMode Inherits@selection: ^SelectableCombatUnit
Huntable: Huntable:
RenderVoxels: RenderVoxels:
RenderSprites: RenderSprites:
@@ -1330,3 +1322,26 @@
GrantCondition@IDISABLE: GrantCondition@IDISABLE:
RequiresCondition: lowpower || powerdown RequiresCondition: lowpower || powerdown
Condition: disabled Condition: disabled
^SelectableCombatUnit:
Selectable:
Priority: 10
PriorityModifiers: Ctrl
^SelectableSupportUnit:
Selectable:
Priority: 8
PriorityModifiers: Ctrl, Alt
^SelectableEconomicUnit:
Selectable:
Priority: 6
PriorityModifiers: Ctrl, Alt
^SelectableCombatBuilding:
Selectable:
Priority: 4
^SelectableBuilding:
Selectable:
Priority: 2

View File

@@ -343,6 +343,7 @@ REPAIR:
WEED: WEED:
Inherits: ^Tank Inherits: ^Tank
Inherits@VOXELS: ^VoxelActor Inherits@VOXELS: ^VoxelActor
Inherits@selection: ^SelectableEconomicUnit
Valued: Valued:
Cost: 1400 Cost: 1400
Tooltip: Tooltip:

View File

@@ -40,7 +40,7 @@ E1:
ENGINEER: ENGINEER:
Inherits: ^Soldier Inherits: ^Soldier
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode Inherits@selection: ^SelectableSupportUnit
Valued: Valued:
Cost: 500 Cost: 500
Tooltip: Tooltip:
@@ -72,8 +72,6 @@ ENGINEER:
FactionImages: FactionImages:
gdi: engineer.gdi gdi: engineer.gdi
nod: engineer.nod nod: engineer.nod
Selectable:
Priority: 5
FLAMEGUY: FLAMEGUY:
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld

View File

@@ -1,7 +1,7 @@
MCV: MCV:
Inherits: ^Tank Inherits: ^Tank
Inherits@VOXELS: ^VoxelActor Inherits@VOXELS: ^VoxelActor
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode Inherits@selection: ^SelectableSupportUnit
Buildable: Buildable:
Queue: Vehicle Queue: Vehicle
BuildPaletteOrder: 160 BuildPaletteOrder: 160
@@ -12,7 +12,6 @@ MCV:
Tooltip: Tooltip:
Name: Mobile Construction Vehicle Name: Mobile Construction Vehicle
Selectable: Selectable:
Priority: 3
DecorationBounds: 42,42 DecorationBounds: 42,42
Health: Health:
HP: 100000 HP: 100000
@@ -45,7 +44,7 @@ MCV:
HARV: HARV:
Inherits: ^Tank Inherits: ^Tank
Inherits@VOXELS: ^VoxelActor Inherits@VOXELS: ^VoxelActor
Inherits@SELECTION_MODE: ^LowPrioritySelectionMode Inherits@selection: ^SelectableEconomicUnit
Valued: Valued:
Cost: 1400 Cost: 1400
Tooltip: Tooltip:
@@ -56,7 +55,6 @@ HARV:
Prerequisites: ~factory, proc, ~techlevel.low Prerequisites: ~factory, proc, ~techlevel.low
Description: Collects Tiberium for processing.\n Unarmed Description: Collects Tiberium for processing.\n Unarmed
Selectable: Selectable:
Priority: 7
Bounds: 36,36 Bounds: 36,36
DecorationBounds: 36,36 DecorationBounds: 36,36
Harvester: Harvester:
@@ -106,6 +104,7 @@ HARV:
LPST: LPST:
Inherits: ^Tank Inherits: ^Tank
Inherits@VOXELS: ^VoxelActor Inherits@VOXELS: ^VoxelActor
Inherits@selection: ^SelectableSupportUnit
-AppearsOnRadar: -AppearsOnRadar:
Buildable: Buildable:
Queue: Vehicle Queue: Vehicle