Update d2k AutoTarget definitions.
This commit is contained in:
@@ -33,13 +33,17 @@ barracks.harkonnen:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
-MustBeDestroyed:
|
||||
AutoTargetIgnore:
|
||||
Targetable:
|
||||
TargetTypes: Ground, C4, Structure, NoAutoTarget
|
||||
|
||||
starport:
|
||||
ExternalCondition@lua:
|
||||
Condition: captured
|
||||
AutoTargetIgnore:
|
||||
Targetable:
|
||||
RequiresCondition: captured
|
||||
Targetable@AUTOTARGET:
|
||||
RequiresCondition: !captured
|
||||
TargetTypes: Ground, C4, Structure, NoAutoTarget
|
||||
|
||||
concreteb:
|
||||
Buildable:
|
||||
|
||||
@@ -120,6 +120,18 @@
|
||||
RequiresCondition: rank-elite
|
||||
ZOffset: 256
|
||||
|
||||
^AutoTargetGround:
|
||||
AutoTarget:
|
||||
AutoTargetPriority@DEFAULT:
|
||||
ValidTargets: Infantry, Vehicle, Water, Structure, Defense
|
||||
InvalidTargets: NoAutoTarget
|
||||
|
||||
^AutoTargetAll:
|
||||
AutoTarget:
|
||||
AutoTargetPriority@DEFAULT:
|
||||
ValidTargets: Infantry, Vehicle, Water, Air, Structure, Defense
|
||||
InvalidTargets: NoAutoTarget
|
||||
|
||||
^Vehicle:
|
||||
Inherits@1: ^ExistsInWorld
|
||||
Inherits@2: ^GainsExperience
|
||||
@@ -190,7 +202,6 @@
|
||||
Type: CenterPosition
|
||||
Tooltip:
|
||||
Name: Wreck
|
||||
AutoTargetIgnore:
|
||||
ScriptTriggers:
|
||||
WithFacingSpriteBody:
|
||||
HitShape:
|
||||
@@ -278,7 +289,6 @@
|
||||
SmallExplosionDeath: 3
|
||||
BulletDeath: 4
|
||||
CrushedSequence: die-crushed
|
||||
AutoTarget:
|
||||
AttackMove:
|
||||
DrawLineToTarget:
|
||||
Passenger:
|
||||
@@ -395,7 +405,6 @@
|
||||
Inherits: ^Building
|
||||
WithSpriteTurret:
|
||||
AttackTurreted:
|
||||
AutoTarget:
|
||||
RenderRangeCircle:
|
||||
DetectCloaked:
|
||||
Range: 1c768
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
light_inf:
|
||||
Inherits: ^Infantry
|
||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||
Buildable:
|
||||
Queue: Infantry
|
||||
BuildPaletteOrder: 10
|
||||
@@ -43,13 +44,13 @@ engineer:
|
||||
Captures:
|
||||
CaptureTypes: building, husk
|
||||
PlayerExperience: 50
|
||||
-AutoTarget:
|
||||
-RevealOnFire:
|
||||
Voiced:
|
||||
VoiceSet: EngineerVoice
|
||||
|
||||
trooper:
|
||||
Inherits: ^Infantry
|
||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||
Buildable:
|
||||
Queue: Infantry
|
||||
BuildPaletteOrder: 20
|
||||
@@ -78,7 +79,6 @@ trooper:
|
||||
|
||||
thumper:
|
||||
Inherits: ^Infantry
|
||||
-AutoTarget:
|
||||
-RevealOnFire:
|
||||
Buildable:
|
||||
Queue: Infantry
|
||||
@@ -121,6 +121,7 @@ thumper:
|
||||
|
||||
fremen:
|
||||
Inherits: ^Infantry
|
||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||
Tooltip:
|
||||
Name: Fremen
|
||||
Buildable:
|
||||
@@ -164,6 +165,7 @@ fremen:
|
||||
|
||||
grenadier:
|
||||
Inherits: ^Infantry
|
||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||
Buildable:
|
||||
Queue: Infantry
|
||||
BuildPaletteOrder: 80
|
||||
@@ -194,6 +196,7 @@ grenadier:
|
||||
|
||||
sardaukar:
|
||||
Inherits: ^Infantry
|
||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||
Buildable:
|
||||
Queue: Infantry
|
||||
BuildPaletteOrder: 80
|
||||
@@ -244,7 +247,6 @@ saboteur:
|
||||
DetonationDelay: 0
|
||||
Flashes: 0
|
||||
EnterBehaviour: Suicide
|
||||
-AutoTarget:
|
||||
-RevealOnFire:
|
||||
Cloak:
|
||||
InitialDelay: 85
|
||||
|
||||
@@ -700,7 +700,6 @@ wall:
|
||||
Targetable:
|
||||
TargetTypes: Ground, Wall
|
||||
WithWallSpriteBody:
|
||||
AutoTargetIgnore:
|
||||
Sellable:
|
||||
SellSounds: CHUNG.WAV
|
||||
Guardable:
|
||||
@@ -718,6 +717,7 @@ wall:
|
||||
|
||||
medium_gun_turret:
|
||||
Inherits: ^Defense
|
||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||
Buildable:
|
||||
Queue: Building
|
||||
Prerequisites: barracks
|
||||
@@ -761,6 +761,7 @@ medium_gun_turret:
|
||||
large_gun_turret:
|
||||
Inherits: ^Defense
|
||||
Inherits@IDISABLE: ^DisabledOverlay
|
||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||
Buildable:
|
||||
Queue: Building
|
||||
Prerequisites: outpost, upgrade.conyard, ~techlevel.medium
|
||||
|
||||
@@ -100,6 +100,7 @@ harvester:
|
||||
|
||||
trike:
|
||||
Inherits: ^Vehicle
|
||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||
Buildable:
|
||||
Queue: Vehicle
|
||||
BuildPaletteOrder: 10
|
||||
@@ -131,7 +132,6 @@ trike:
|
||||
LocalOffset: -544,0,0
|
||||
MuzzleSequence: muzzle
|
||||
AttackFrontal:
|
||||
AutoTarget:
|
||||
Explodes:
|
||||
Weapon: UnitExplodeSmall
|
||||
EmptyWeapon: UnitExplodeSmall
|
||||
@@ -140,6 +140,7 @@ trike:
|
||||
|
||||
quad:
|
||||
Inherits: ^Vehicle
|
||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||
Buildable:
|
||||
Queue: Vehicle
|
||||
Prerequisites: upgrade.light, ~techlevel.medium
|
||||
@@ -164,7 +165,6 @@ quad:
|
||||
Weapon: Rocket
|
||||
LocalOffset: 128,64,64, 128,-64,64
|
||||
AttackFrontal:
|
||||
AutoTarget:
|
||||
Explodes:
|
||||
Weapon: UnitExplodeSmall
|
||||
EmptyWeapon: UnitExplodeSmall
|
||||
@@ -175,6 +175,7 @@ quad:
|
||||
|
||||
siege_tank:
|
||||
Inherits: ^Tank
|
||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||
Buildable:
|
||||
Queue: Armor
|
||||
Prerequisites: upgrade.heavy, ~techlevel.medium
|
||||
@@ -221,6 +222,7 @@ siege_tank:
|
||||
|
||||
missile_tank:
|
||||
Inherits: ^Tank
|
||||
Inherits@AUTOTARGET: ^AutoTargetAll
|
||||
Tooltip:
|
||||
Name: Missile Tank
|
||||
Buildable:
|
||||
@@ -259,6 +261,7 @@ missile_tank:
|
||||
|
||||
sonic_tank:
|
||||
Inherits: ^Vehicle
|
||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||
Buildable:
|
||||
Queue: Armor
|
||||
BuildPaletteOrder: 100
|
||||
@@ -283,7 +286,6 @@ sonic_tank:
|
||||
Weapon: Sound
|
||||
LocalOffset: 600,0,427
|
||||
AttackFrontal:
|
||||
AutoTarget:
|
||||
Explodes:
|
||||
Weapon: UnitExplodeLarge
|
||||
EmptyWeapon: UnitExplodeLarge
|
||||
@@ -294,6 +296,7 @@ sonic_tank:
|
||||
|
||||
devastator:
|
||||
Inherits: ^Tank
|
||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||
Buildable:
|
||||
Queue: Armor
|
||||
BuildPaletteOrder: 100
|
||||
@@ -322,7 +325,6 @@ devastator:
|
||||
AttackFrontal:
|
||||
WithMuzzleOverlay:
|
||||
IgnoreOffset: true
|
||||
AutoTarget:
|
||||
Explodes:
|
||||
Weapon: UnitExplodeLarge
|
||||
EmptyWeapon: UnitExplodeLarge
|
||||
@@ -339,6 +341,7 @@ devastator:
|
||||
|
||||
raider:
|
||||
Inherits: ^Vehicle
|
||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||
Buildable:
|
||||
Queue: Vehicle
|
||||
BuildPaletteOrder: 10
|
||||
@@ -368,7 +371,6 @@ raider:
|
||||
LocalOffset: 170,0,0
|
||||
MuzzleSequence: muzzle
|
||||
AttackFrontal:
|
||||
AutoTarget:
|
||||
Explodes:
|
||||
Weapon: UnitExplodeSmall
|
||||
EmptyWeapon: UnitExplodeSmall
|
||||
@@ -405,6 +407,7 @@ stealth_raider:
|
||||
|
||||
deviator:
|
||||
Inherits: ^Tank
|
||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||
Valued:
|
||||
Cost: 1000
|
||||
Tooltip:
|
||||
@@ -441,6 +444,7 @@ deviator:
|
||||
|
||||
^combat_tank:
|
||||
Inherits: ^Tank
|
||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||
Buildable:
|
||||
Queue: Armor
|
||||
BuildPaletteOrder: 40
|
||||
@@ -472,7 +476,6 @@ deviator:
|
||||
AttackTurreted:
|
||||
WithMuzzleOverlay:
|
||||
WithSpriteTurret:
|
||||
AutoTarget:
|
||||
Explodes:
|
||||
Weapon: UnitExplodeMed
|
||||
EmptyWeapon: UnitExplodeMed
|
||||
|
||||
Reference in New Issue
Block a user