Replace UnitTraitOrderTargeter with TargetTypeOrderTargeter.
This also makes naval buildings untargetable for c4 and demo trucks, as they don't make much sense.
This commit is contained in:
@@ -208,7 +208,7 @@
|
||||
Selectable:
|
||||
Priority: 3
|
||||
TargetableBuilding:
|
||||
TargetTypes: Ground
|
||||
TargetTypes: Ground, C4
|
||||
Armor:
|
||||
Type: Wood
|
||||
RepairableBuilding:
|
||||
|
||||
@@ -225,7 +225,7 @@
|
||||
Selectable:
|
||||
Priority: 3
|
||||
TargetableBuilding:
|
||||
TargetTypes: Ground
|
||||
TargetTypes: Ground, C4
|
||||
Armor:
|
||||
Type: Wood
|
||||
RepairableBuilding:
|
||||
@@ -267,7 +267,6 @@
|
||||
Sellable:
|
||||
Capturable:
|
||||
CapturableBar:
|
||||
C4Demolishable:
|
||||
DebugMuzzlePositions:
|
||||
|
||||
^CivBuilding:
|
||||
@@ -339,7 +338,7 @@
|
||||
Adjacent: 7
|
||||
TerrainTypes: Clear,Road
|
||||
TargetableBuilding:
|
||||
TargetTypes: Ground
|
||||
TargetTypes: Ground, C4
|
||||
Wall:
|
||||
CrushClasses: wall
|
||||
CrushSound: sandbag2.aud
|
||||
@@ -356,7 +355,6 @@
|
||||
RelativeToTopLeft: yes
|
||||
AutoTargetIgnore:
|
||||
Sellable:
|
||||
C4Demolishable:
|
||||
|
||||
^Tree:
|
||||
Tooltip:
|
||||
|
||||
@@ -215,7 +215,7 @@
|
||||
Selectable:
|
||||
Priority: 2
|
||||
TargetableBuilding:
|
||||
TargetTypes: Ground
|
||||
TargetTypes: Ground, C4
|
||||
Building:
|
||||
Dimensions: 1,1
|
||||
Footprint: x
|
||||
@@ -263,6 +263,5 @@
|
||||
Types:Building
|
||||
Sellable:
|
||||
GivesBounty:
|
||||
C4Demolishable:
|
||||
DebugMuzzlePositions:
|
||||
Bib:
|
||||
|
||||
@@ -433,7 +433,7 @@ WALL:
|
||||
#Selectable:
|
||||
# Priority: 1
|
||||
TargetableBuilding:
|
||||
TargetTypes: Ground
|
||||
TargetTypes: Ground, C4
|
||||
RenderBuildingWall:
|
||||
HasMakeAnimation: false
|
||||
#GivesExperience:
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
Selectable:
|
||||
Voice: GenericVoice
|
||||
TargetableUnit:
|
||||
TargetTypes: Ground
|
||||
TargetTypes: Ground, Disguise
|
||||
RenderInfantry:
|
||||
AutoTarget:
|
||||
AttackMove:
|
||||
@@ -164,7 +164,7 @@
|
||||
Selectable:
|
||||
Priority: 3
|
||||
TargetableBuilding:
|
||||
TargetTypes: Ground
|
||||
TargetTypes: Ground, C4, DemoTruck
|
||||
Building:
|
||||
Dimensions: 1,1
|
||||
Footprint: x
|
||||
@@ -210,7 +210,7 @@
|
||||
Selectable:
|
||||
Priority: 1
|
||||
TargetableBuilding:
|
||||
TargetTypes: Ground
|
||||
TargetTypes: Ground, C4, DemoTruck
|
||||
RenderBuildingWall:
|
||||
HasMakeAnimation: false
|
||||
Palette: terrain
|
||||
|
||||
@@ -246,7 +246,8 @@ BARL:
|
||||
AutoTargetIgnore:
|
||||
Armor:
|
||||
Type: Light
|
||||
-C4Demolishable:
|
||||
TargetableBuilding:
|
||||
TargetTypes: Ground, DemoTruck
|
||||
|
||||
BRL3:
|
||||
Inherits: ^TechBuilding
|
||||
@@ -261,7 +262,8 @@ BRL3:
|
||||
AutoTargetIgnore:
|
||||
Armor:
|
||||
Type: Light
|
||||
-C4Demolishable:
|
||||
TargetableBuilding:
|
||||
TargetTypes: Ground, DemoTruck
|
||||
|
||||
MISS:
|
||||
Inherits: ^TechBuilding
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
Selectable:
|
||||
Voice: GenericVoice
|
||||
TargetableUnit:
|
||||
TargetTypes: Ground
|
||||
TargetTypes: Ground, Disguise
|
||||
RenderInfantry:
|
||||
AutoTarget:
|
||||
DebugRetiliateAgainstAggressor:
|
||||
@@ -196,7 +196,7 @@
|
||||
Selectable:
|
||||
Priority: 3
|
||||
TargetableBuilding:
|
||||
TargetTypes: Ground
|
||||
TargetTypes: Ground, C4, DemoTruck
|
||||
Building:
|
||||
Dimensions: 1,1
|
||||
Footprint: x
|
||||
@@ -227,7 +227,6 @@
|
||||
AcceptsSupplies:
|
||||
GivesBounty:
|
||||
UpdatesPlayerStatistics:
|
||||
C4Demolishable:
|
||||
DebugMuzzlePositions:
|
||||
|
||||
^Wall:
|
||||
@@ -249,7 +248,7 @@
|
||||
Selectable:
|
||||
Priority: 1
|
||||
TargetableBuilding:
|
||||
TargetTypes: Ground
|
||||
TargetTypes: Ground, C4, DemoTruck
|
||||
RenderBuildingWall:
|
||||
HasMakeAnimation: false
|
||||
Palette: terrain
|
||||
@@ -262,7 +261,6 @@
|
||||
Types:Wall
|
||||
Sellable:
|
||||
UpdatesPlayerStatistics:
|
||||
C4Demolishable:
|
||||
|
||||
^TechBuilding:
|
||||
Inherits: ^Building
|
||||
|
||||
Reference in New Issue
Block a user