EDT 13:30 CEST 19:30 KST 02:30

Streams: 127 live
110652 total viewers

Active: 9567
StarLadder Season Six Prev…
[SPL] Round 5 Week 3 Previ…
Presenting Store 2.0
[WCS EU] Ro16 - Group D Pr…
[GSTL] Week 9 - Things Tha…
Dragon joins Clarity Gaming
Code S Group of Death, Par…
Axiom.Miya Retires
This Week in Starcraft 2: …
TargA joins Team Dignitas
Invites and Qualifiers for…
[SPL] Round 5 Week 3 Start…
tradimo - $36,000 stock pi…
TL Advertising Features
UN's Insect Eating Report
[game]Boobs, butt or sho…
Korean Music Discussion
Nintendo claims ownershi…
Men's Fashion Thread
Presenting Store 2.0
The Automated Ban List
2013 Philadelphia Starcraf…
Cybercraft NYC HoTS Tourna…
TL Store Spring Cleaning S…
INnoVation Fanclub
The Liquid`HerO Fanclub!
15 year old master T strea…
[Stream] Dutch StarCraft L…
Buying new computer can so…
Computer failure
[G] Streaming with OBS (Op…
Computer Build Resource Th…
Mac Mouse woes be gone!
Twitch.tv needs to impro…
Streaming website - alte…
[Interview] 2013 WCS EU …
Pilot Episode - Nesteeeeea
[Acer] WCS EU Ro16 cover…
Code S Group of Death, P…
[SPL] CJ Entus vs. STX Sou…
[SPL] SKT Telecom T1 vs. W…
[ECS] EnerJ Cup Series 2013
iMpulse eSports $150 Team …
BO7 Challenger Series 200€
[G] Going CC-first Bio in …
[D] TvT forGGeddon strateg…
TvZ: A different flavored …
The HotS Protoss Help Me T…
Practice Partners Thread S…
OneGoal: A better SC2 [Pro…
Map Jam & Challenge #5
[D] Map Maker's Show
[A] Starbow
[MOD] HotS Build Order Tes…
General Discussion
TL's Item Trading Thread.
Dota 2 QQ thread
Inhouse Dota
The International 3 East…
Curse Dota 2 Invitationa…
[The International] Wester…
Liquid Pasture Community L…
Starladder Season 6
Curse DOTA2 Invitational
Sticky Flames Weekly Dota …
Drum of endurance, why?
Simple Questions, Simple A…
A solid line-up for low lv…
Solo Mid - Who? What? How?
[Guide] Storm Spirit by Bl…
SC2 Player looking to le…
[Update] itemBay SSL Gra…
[TLS2] Qualifiers - Lega…
[TLS2] Qualifier #3 VODs
Map (4)Kyanite Prospect …
iCCup Attack Episode 5 "…
[TLS2] Qualifier #4
Gambit's Cup Season 3 Roun…
[TLS2] Qualifier #3
D Ranks Teamleague Season 4
[TLS2] Qualifier #2
Simple Questions, Simple A…
Tips and tricks: Defilers …
Practice Partner Thread
Challenger map on Starcraf…
2012 - 2013 Football Thr…
Steam Sales Thread
Rome II Announced
Touhou Discussion Thread
Ice Hockey World Champio…
[Patch 3.07: Nerf Everythi…
The LoCicero Memorial for …
The Shikyo Memorial for QQ…
[D] Pro Scene Evolution
[LPL] Tencent LoL ProLeagu…
[OGN] Olympus The Champion…
[Champion] Swain
[Champion] Shyvana
[Champion] Twisted Fate
5-7-2013 Diablo's 1929
The: What is my item worth?
D3 Hardcore Community
[M][N] Les Mafia
TL Mafia Ban List
Les Mafia Voting Thread
Running Thread
The 2013 Weightlifting Pro…
Questions & Answers
Leta - Movie
Michael - skyline
Anytime - Beast
By.Hero - Shuttle
Anytime - Pusan

Website Feedback

Closed Threads

IRC Chat
irc.quakenet.org #teamliquid

IRC Web Client

TeamSpeak 3 (66 users)

SC2 Targeting AI

Forum Index > StarCraft 2 1 2 All
 
 broke   September 10 2010 06:15. Posts 39
Profile Blog # 
I was wondering if anyone knew if preferential targeting applied to units with 'special' attacks.

Will the immortal prefer to target the roach over a zergling and thus gain the bonus damage
from vs. armored attacks, and likewise, will the ghost prefer to target light targets as
opposed to armored ones? Or will these units simply target randomly if they are
left unchecked?

As I understand it the tank AI isn't that retarded, so basically I'm wondering if that AI
extends to other units. I've dug around on the internets but haven't found a clear answer.
(see: (Wiki)Attack Target Priority)
Old Post

 
 cAPS   United States. September 10 2010 06:17. Posts 153
Profile Blog # 

On September 10 2010 06:15 broke wrote:
these units simply target randomly (the closest target) if they are left unchecked

Last edit: 2010-09-10 06:17:48
Old Post

 
 CidO   United States. September 10 2010 06:19. Posts 694
Profile # 
Tanks have smart AI, they do not waste shots anymore. No other unit has smart AI (Zerglings will still try to attack the thors instead of the SCVs).

edit: I didn't mean they picked and chose their shots in a smart manner. They hit instantly and if 1 tank is enough to kill 1 marine and 3 are at perfect range to see it at the exact same moment, one will fire.
Last edit: 2010-09-10 07:21:07
:P
Old Post

 
 epik640x   United States. September 10 2010 06:20. Posts 1130
Profile # 
Hmm, if everything just targets whatever is closest I feel better about having lings and roaches in front of Hydras.

But still the Hydras seem to go down so fast :/
Old Post

 
 R0YAL   United States. September 10 2010 06:23. Posts 1762
Profile Blog # 
Hm thats a good question but afaik they just attack whatever has the highest priority. I don't believe the liquidpedia page is correct with the numbers because i'v tested some of this stuff out. For example Stalkers vs Marauder/Medivac, the Stalkers will attack the Medivacs first and then the Marauders. Please correct me if i'm mistaken

On September 10 2010 06:20 epik640x wrote:
Hmm, if everything just targets whatever is closest I feel better about having lings and roaches in front of Hydras.

But still the Hydras seem to go down so fast :/


They dont attack whats closest.. SC2 has a threat system so higher tier units get taken over priority over lower tier (within range).
Last edit: 2010-09-10 06:40:15
Absence of evidence is not evidence of absence.
Old Post

 
 Mikami_   Estonia. September 10 2010 06:23. Posts 274
Profile Blog # 
My zealots always want to attack my opponents zealot/stalker instead of probes, even if they are far away..
Old Post

 
 JinDesu   United States. September 10 2010 06:25. Posts 3380
Profile Blog # 

On September 10 2010 06:19 CidO wrote:
Tanks have smart AI, they do not waste shots anymore. No other unit has smart AI (Zerglings will still try to attack the thors instead of the SCVs).


Sorta - they don't overkill, but it doesn't change their attack selection preference.


On September 10 2010 06:23 Mikami_ wrote:
My zealots always want to attack my opponents zealot/stalker instead of probes, even if they are far away..


That's because your opponent's zealots/stalkers have aggro, while their mining probes don't. Now, if their probes attacked you....
Last edit: 2010-09-10 06:25:42
Yargh
Old Post

 
 J7S   Brazil. September 10 2010 06:32. Posts 179
Profile # 

On September 10 2010 06:23 R0YAL wrote:
Hm thats a good question but afaik they just attack whatever has the highest priority.

Show nested quote +



They dont attack whats closest.. SC2 has a threat system so higher tier units get taken over priority over lower tier (within range).



If the Attack Target Priority page in liquipedia is correct, then this is not true. All units have the same priority. I'm thinking it should good to take some overlords along with the army to serve as some meat shield.
"Mein Führer, I can walk!" - Dr. Strangelove
Old Post

 
 pilsken   Germany. September 10 2010 06:32. Posts 360
Profile # 
Tanks do not have smart AI. Tanks just don't have a projectile, so they hit instantly, making it impossible for other tanks to shoot the same target. It's not smart. You just cannot target something thats dead and since the zergling dies instantly after the first tank shoots, the next tank will simply aquire a new target. Units with delay between shooting animation and the damage dealing will still overkill as usual as you can see with Stalkers, Hydras, Roaches, Marauders etc. There really is no different AI working.

I assume the auto-attack targeting is the closest unit, unless it can't hit that and will then take the next target. Exeptions seem to be repairing SCV.

Old Post

 
 blitzkrieger   United States. September 10 2010 06:33. Posts 512
Profile # 

On September 10 2010 06:19 CidO wrote:
Tanks have smart AI, they do not waste shots anymore. No other unit has smart AI (Zerglings will still try to attack the thors instead of the SCVs).


No no no no...

People say tanks are IMBA b/c they smartfire which is true (but being fixed). But its not TANKS that smartfire. Its ANY unit that has an INSTANT attack, aka marines, immortals, etc. Unit like stalker or banshees have missiles that take time to hit so they will not overkill. Since tank shots are instant they don't overkill.
Old Post

 
 Lexvink   Canada. September 10 2010 06:35. Posts 243
Profile Blog # 

On September 10 2010 06:19 CidO wrote:
Tanks have smart AI, they do not waste shots anymore. No other unit has smart AI (Zerglings will still try to attack the thors instead of the SCVs).


Reapers and Marines have smart AI, not sure what other units have it though.
 
Old Post

 
 R0YAL   United States. September 10 2010 06:39. Posts 1762
Profile Blog # 

On September 10 2010 06:35 Lexvink wrote:

Show nested quote +



Reapers and Marines have smart AI, not sure what other units have it though.

Any unit without a projectile attack has "Smart AI."
Absence of evidence is not evidence of absence.
Old Post

 
 Piousflea   United States. September 10 2010 06:50. Posts 239
Profile # 
From what I understand, in SC2 most units have equal target priority. This means that units will autoattack the closest valid target. They don't make any special preference to unit type, immortals can definitely waste a lot of shots on zealots even though stalkers are within range. I am not 100% sure, but burrowed zerg units may have a lower target priority and static defenses may have a higher target priority.

So-called "smart firing" is a completely different phenomenon, and has to do with the change in unit AI.

In SC1, units do something like this:
1) (Every frame, while idle and ready to fire) Check if any valid targets are in range. If so, start attack animation.
2) (0.1sec later) Deal damage.
3) (0.3sec later) Attack animation finishes.

In SC2 it's more like this:
1) (Every frame, while idle and ready to fire) Check if any valid targets are in range. If so, start attack animation.
2) (Every frame, while attack animation is going but before damage is dealt) Check if target is dead/untargetable/invulnerable. If so, stop attack animation and return to #1.
3) (0.1sec later) Deal damage.
4) (0.3sec later) Attack animation finishes.

The SC2 attack process leads to two peculiarities:
i) All units instantly retarget when their target dies. This means that a unit with an instant attack will never waste attacks on overkill. However, units with slow projectile attacks can still overkill. (Vikings are really bad for this)
ii) It is possible for a unit to play part of its attack animation, have its target die, then immediately repeat its attack animation and hit a different target. This phenomenon is most visible on the Immortal due to its huge muzzle flash animation, and looks like the animation is stuttering.

Despite the nickname "smart firing", I think auto-retargeting is quite stupid. IMO, Blizzard should change unit AI so that it is no longer able to auto-retarget. As this would significantly change game balance (particularly nerfing siege tanks and immortals) I'm guessing it'd probably come in an expansion.
Last edit: 2010-09-10 06:51:51
Seek, behold, and reveal the truth
Old Post

 
 R0YAL   United States. September 10 2010 06:54. Posts 1762
Profile Blog # 

On September 10 2010 06:50 Piousflea wrote:
From what I understand, in SC2 most units have equal target priority. This means that units will autoattack the closest valid target. They don't make any special preference to unit type, immortals can definitely waste a lot of shots on zealots even though stalkers are within range. I am not 100% sure, but burrowed zerg units may have a lower target priority and static defenses may have a higher target priority.

So-called "smart firing" is a completely different phenomenon, and has to do with the change in unit AI.

In SC1, units do something like this:
1) (Every frame, while idle and ready to fire) Check if any valid targets are in range. If so, start attack animation.
2) (0.1sec later) Deal damage.
3) (0.3sec later) Attack animation finishes.

In SC2 it's more like this:
1) (Every frame, while idle and ready to fire) Check if any valid targets are in range. If so, start attack animation.
2) (Every frame, while attack animation is going but before damage is dealt) Check if target is dead/untargetable/invulnerable. If so, stop attack animation and return to #1.
3) (0.1sec later) Deal damage.
4) (0.3sec later) Attack animation finishes.

The SC2 attack process leads to two peculiarities:
i) All units instantly retarget when their target dies. This means that a unit with an instant attack will never waste attacks on overkill. However, units with slow projectile attacks can still overkill. (Vikings are really bad for this)
ii) It is possible for a unit to play part of its attack animation, have its target die, then immediately repeat its attack animation and hit a different target. This phenomenon is most visible on the Immortal due to its huge muzzle flash animation, and looks like the animation is stuttering.

Despite the nickname "smart firing", I think auto-retargeting is quite stupid. IMO, Blizzard should change unit AI so that it is no longer able to auto-retarget. As this would significantly change game balance (particularly nerfing siege tanks and immortals) I'm guessing it'd probably come in an expansion.

I don't believe that Blizzard will take it out at this point. They decided to take the route of nerfing the crap out of tank damage instead. Personally I would rather have had them take out the auto targeting as well :\
Last edit: 2010-09-10 06:57:53
Absence of evidence is not evidence of absence.
Old Post

  ArvickHero   September 10 2010 06:58. Posts 9378Profile Blog # 
IMO, repairing SCVs should have the same targeting priority as attacking units that way a Thor being surrounded by SCVs won't be as retarded as it is now..
http://www.youtube.com/user/whereismy5
Old Post

 
 Voyager I   United States. September 10 2010 07:07. Posts 260
Profile # 
I believe the above is correct, in a general sense. BW also had a 0 hp frame, which meant dead units could still be targeted with attacks. In SC2, units die instantly, so once something's dead, units with instant shots can't attack them. There's simply nothing there to target.
Old Post

 
 SuperGnu   Sweden. September 10 2010 07:08. Posts 230
Profile # 

On September 10 2010 06:39 R0YAL wrote:

Show nested quote +


Any unit without a projectile attack has "Smart AI."


THen why do immortals always without exeption(sp?) attack the non armoured units first?
From: TL.net Bot; This is a Warning! - Your posting sucks. Try to work on that. - Thanks in advance for your cooperation, KwarK
Old Post

 
 jaj22   United Kingdom. September 10 2010 07:10. Posts 1373
Profile # 
Some testing in the unit tester shows that medivacs have the same auto-target priority as marauders. If they're the closest target, they'll be attacked first.

The only exception I can find is workers, which are only auto-targeted if there are no military units in range.

Old Post

 
 griff   Netherlands. September 10 2010 07:12. Posts 26
Profile # 
Disclaimer, this is from what I've noticed playing.

Units target whatever is closest so they don't pick armored or whatever, except for:

Workers, repairing/mining/walking workers don't seem to have priority over other units. If the workers attack then the closest rule counts again. This means you can surround units with workers and then attack so your workers don't die before they surround. Also makes killing a planetary fortress a horrible experience

Flying units seem to have priority over walking units. My stalkers seem to go for flying units over ground units when they have range on both. Could just be that they are somehow closer so the being-closer rule counts but it feels that they prioritize flying units.

Warping in units don't have priority over attacking units, so you can warp stuff on top of marauders and they will keep firing at your warped in units before attack the warping in units.
Last edit: 2010-09-10 07:13:09
Old Post

 
 R0YAL   United States. September 10 2010 07:12. Posts 1762
Profile Blog # 

On September 10 2010 07:08 SuperGnu wrote:

Show nested quote +



THen why do immortals always without exeption(sp?) attack the non armoured units first?


On September 10 2010 06:50 Piousflea wrote:
From what I understand, in SC2 most units have equal target priority. This means that units will autoattack the closest valid target. They don't make any special preference to unit type, immortals can definitely waste a lot of shots on zealots even though stalkers are within range. I am not 100% sure, but burrowed zerg units may have a lower target priority and static defenses may have a higher target priority.

So-called "smart firing" is a completely different phenomenon, and has to do with the change in unit AI.

In SC1, units do something like this:
1) (Every frame, while idle and ready to fire) Check if any valid targets are in range. If so, start attack animation.
2) (0.1sec later) Deal damage.
3) (0.3sec later) Attack animation finishes.

In SC2 it's more like this:
1) (Every frame, while idle and ready to fire) Check if any valid targets are in range. If so, start attack animation.
2) (Every frame, while attack animation is going but before damage is dealt) Check if target is dead/untargetable/invulnerable. If so, stop attack animation and return to #1.
3) (0.1sec later) Deal damage.
4) (0.3sec later) Attack animation finishes.

The SC2 attack process leads to two peculiarities:
i) All units instantly retarget when their target dies. This means that a unit with an instant attack will never waste attacks on overkill. However, units with slow projectile attacks can still overkill. (Vikings are really bad for this)
ii) It is possible for a unit to play part of its attack animation, have its target die, then immediately repeat its attack animation and hit a different target. This phenomenon is most visible on the Immortal due to its huge muzzle flash animation, and looks like the animation is stuttering.

Despite the nickname "smart firing", I think auto-retargeting is quite stupid. IMO, Blizzard should change unit AI so that it is no longer able to auto-retarget. As this would significantly change game balance (particularly nerfing siege tanks and immortals) I'm guessing it'd probably come in an expansion.

Read this. Units don't do what you are referring to.
Last edit: 2010-09-10 07:13:37
Absence of evidence is not evidence of absence.
Old Post

1 2 All
Please log in or register to reply.
 
Refresh
StarCraft: Brood War
StarCraft 2
Dota 2
Other Notable Streams
[ Show 105 non-featured ]

» Recent SC2 Results
» Premier SC2 Tournaments
Sidebar Settings...

The Little App Factory



The opinions expressed by our users do not reflect the official position of TeamLiquid.net or its staff.

Advertising | Jobs | Privacy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren. Ad tag: TF_US.
The contents of this webpage are copyright © 2002-2013 Teamliquid.net. All Rights Reserved