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