• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 23:54
CEST 05:54
KST 12:54
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
BGE Stara Zagora 2025: Info & Preview27Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN3The Memories We Share - Facing the Final(?) GSL46Code S RO12 Preview: Cure, Zoun, Solar, Creator4[ASL19] Finals Preview: Daunting Task30
Community News
Weekly Cups (June 2-8): herO doubles down1[BSL20] ProLeague: Bracket Stage & Dates9GSL Ro4 and Finals moved to Sunday June 15th12Weekly Cups (May 27-June 1): ByuN goes back-to-back0EWC 2025 Regional Qualifier Results26
StarCraft 2
General
Weekly Cups (June 2-8): herO doubles down The SCII GOAT: A statistical Evaluation BGE Stara Zagora 2025: Info & Preview Magnus Carlsen and Fabi review Clem's chess game. Jim claims he and Firefly were involved in match-fixing
Tourneys
Bellum Gens Elite: Stara Zagora 2025 Sparkling Tuna Cup - Weekly Open Tournament SOOPer7s Showmatches 2025 Master Swan Open (Global Bronze-Master 2) $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
[G] Darkgrid Layout Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 477 Slow and Steady Mutation # 476 Charnel House Mutation # 475 Hard Target Mutation # 474 Futile Resistance
Brood War
General
Will foreigners ever be able to challenge Koreans? BGH auto balance -> http://bghmmr.eu/ Mihu vs Korea Players Statistics BW General Discussion [BSL20] ProLeague: Bracket Stage & Dates
Tourneys
[ASL19] Grand Finals NA Team League 6/8/2025 [Megathread] Daily Proleagues [BSL20] ProLeague Bracket Stage - Day 2
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Stormgate/Frost Giant Megathread Armies of Exigo - YesYes? Nintendo Switch Thread What do you want from future RTS games? Path of Exile
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Heroes of the Storm 2.0 Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Vape Nation Thread European Politico-economics QA Mega-thread
Fan Clubs
Maru Fan Club Serral Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard
TL Community
The Automated Ban List
Blogs
Cognitive styles x game perf…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Poker
Nebuchad
Customize Sidebar...

Website Feedback

Closed Threads



Active: 22347 users

Why AI doesnt ForceField? - Page 3

Forum Index > StarCraft 2 HotS
Post a Reply
Prev 1 2 3 4 5 6 Next All
VIB
Profile Blog Joined November 2007
Brazil3567 Posts
May 30 2011 17:24 GMT
#41
On May 31 2011 02:10 elitesniper420 wrote:
program the AI to detect big balls of units and then make it place forcefields in the middle of it

problem solved
That's actually not a bad idea and would work better than most average human players do
Great people talk about ideas. Average people talk about things. Small people talk about other people.
ComaDose
Profile Blog Joined December 2009
Canada10357 Posts
May 30 2011 17:39 GMT
#42
and many of the ideas here.
very few programers are commenting.
why not try it out.
BW pros training sc2 is like kiss making a dub step album.
aphorism
Profile Joined February 2011
United States226 Posts
May 30 2011 18:09 GMT
#43
On May 31 2011 02:39 ComaDose wrote:
and many of the ideas here.
very few programers are commenting.
why not try it out.


Wait, programmers or progamers?
Zhypher_Bronzer
Profile Joined February 2011
United States24 Posts
May 30 2011 18:19 GMT
#44
thats a good point, i noticed that they never FF xD
Dream as if you'll live forever, live as if you'll die today.
epikAnglory
Profile Blog Joined April 2011
United States1120 Posts
May 30 2011 18:19 GMT
#45
If FFs were that easy the AI would actually use them, but yeah I agree, I wish the AI would play more like a regular player (similar). Hope this is something implemented into future patches or at most HotS.
710+ Posts with a Probe Icon =D
ComaDose
Profile Blog Joined December 2009
Canada10357 Posts
May 30 2011 18:57 GMT
#46
On May 31 2011 03:09 aphorism wrote:
Show nested quote +
On May 31 2011 02:39 ComaDose wrote:
and many of the ideas here.
very few programers are commenting.
why not try it out.


Wait, programmers or progamers?


programmers* :$ it would be easy to make a sentry cast force field. Hard to make it do it correctly. I'm interested in what people who make custom maps and starcraft AI would say.

It is something that can be used for multiple purposes and many ways for each purpose. Like has been said there is decision making to be done.
BW pros training sc2 is like kiss making a dub step album.
VIB
Profile Blog Joined November 2007
Brazil3567 Posts
May 30 2011 19:04 GMT
#47
On May 31 2011 03:57 ComaDose wrote:
Show nested quote +
On May 31 2011 03:09 aphorism wrote:
On May 31 2011 02:39 ComaDose wrote:
and many of the ideas here.
very few programers are commenting.
why not try it out.


Wait, programmers or progamers?


programmers* :$ it would be easy to make a sentry cast force field. Hard to make it do it correctly. I'm interested in what people who make custom maps and starcraft AI would say.

It is something that can be used for multiple purposes and many ways for each purpose. Like has been said there is decision making to be done.

There's people on this thread pointing out to sites where you can find ai that does it. If I had the game myself I would prolly give it a shot, I find it fun to code ai. But I won't buy the game only for that.
Great people talk about ideas. Average people talk about things. Small people talk about other people.
epikAnglory
Profile Blog Joined April 2011
United States1120 Posts
Last Edited: 2011-05-30 23:24:01
May 30 2011 23:23 GMT
#48
It should not be that hard as well, if the army is bigger, then FF 90% of the entire army. Against even Terran army, FF about half. Against even Zerg army, FF the front 10-20%. I am no pro at coding, but for people working at Blizzard it should not take that long.
710+ Posts with a Probe Icon =D
epikAnglory
Profile Blog Joined April 2011
United States1120 Posts
Last Edited: 2011-05-31 02:15:34
May 31 2011 02:14 GMT
#49
Does this mean Insane AI will automatically generate Energy for ForceField as well? =D
EDIT: sorry for double post, but its been hours and its still on top of the Single Player section?
710+ Posts with a Probe Icon =D
japro
Profile Joined August 2010
172 Posts
Last Edited: 2011-05-31 20:41:12
May 31 2011 20:37 GMT
#50
Having an AI place "reasonable" forcefields would be doable I guess. The thing, is these things aren't trivial to program and it's hard draw the line what micro the AI should do and what not? What about drop micro? Line splash avoiding? Marine splitting? Stutterstep micro? etc.
From the point of a programmer you usually do the things that can be done elegantly and straight forward first and add in specific stuff (as which a complicated micro ability that applies to exactly one unit definitely counts) last. Abilities like that that require some intuition about environment usage are very hard to analyze and even if you do find a reasonable method for it, chances are high that you end up with this kind of ability where experienced players can abuse the AI to screw up its own paths etc.
Also Analyzing the "topology" of the environment and the movement of units in it tends to be computationally very expensive (involves for example a lot of very expensive path finding calculations I guess) and you don't want to have a single unit like the sentry take up significant amounts of computing power.
Giwoon
Profile Joined December 2010
Korea (South)431 Posts
June 01 2011 01:41 GMT
#51
On May 29 2011 21:44 leviathan20 wrote:
Show nested quote +
On May 29 2011 20:32 Siretu wrote:
On May 29 2011 19:48 Brewed Tea wrote:
this is how the terminator got started.


If the terminator had force fields the terminators would win the war easily.


Now I'm just going to imagine John Connor trying to run up a ramp that is being endlessly forcefielded whenever i watch that film.


LMFAOOO AHAHAHAHAHA
BUTTHURT?
snakeeyez
Profile Joined May 2011
United States1231 Posts
Last Edited: 2011-06-01 02:20:44
June 01 2011 02:18 GMT
#52
Starcraft 2 is not really a good game for AI type problems like these that are harder to do because it just uses way to many resources that get used for graphics these days. Brood war and the BWAPI is a way better place to work on real AI because you have tons of CPU to work on AI which can never have to much CPU to work with. Any real AI algorithm is going to eat CPU cycles for breakfast I mean even the typical A* they prune the tree at a certain depth because its just too expensive for dozens of units all running such an expensive algorithm. Anyone that says AI is easy has no idea what they are talking about.
That being said a computer that can use force fields intelligently could be done, but its just too much time/money and CPU to spend on something you can just ignore and let real people do instead since multiplayer is the real focus.
edc
Profile Blog Joined May 2011
United States666 Posts
June 01 2011 03:40 GMT
#53
Does the AI even make Sentries? I doubt it could correctly use Hallucinations and Guardian Shields.
“There are two kinds of people in this world, those with loaded guns, and those who dig. You dig.” - Clint Eastwood
epikAnglory
Profile Blog Joined April 2011
United States1120 Posts
June 02 2011 23:57 GMT
#54
On June 01 2011 12:40 edc.initiative wrote:
Does the AI even make Sentries? I doubt it could correctly use Hallucinations and Guardian Shields.

It does make Sentries, and sometimes uses Guardian Shield, but not once have I seen it use Force Fields at all.
710+ Posts with a Probe Icon =D
Rhykker
Profile Joined June 2011
Canada28 Posts
June 07 2011 20:41 GMT
#55
*imagines AI with perfectly-timed and -placed forcefields*

*shudders*

Personally, I'd rather have more difficult AI settings that don't rely on "cheating." Sure, force fielding would help the micro battles, but I'd rather have AI that is capable of radically different macro tactics.
starcraft911
Profile Blog Joined July 2008
Korea (South)1263 Posts
June 07 2011 20:55 GMT
#56
On May 29 2011 06:21 CampinSam wrote:
Forcefields look easy?
What!?

I can't imagine trying to code a unit to automatically forcefield around, or infront of a unit, and even if they did program that in, the forcefields probably wouldn't even be good.


It's not hard to code. Just need to set a param for density of units per grid space then have the FF be placed in the central area of the density > X. If units are spread out then it wont use FF if they are it will use them in order to cut them in half.
dimfish
Profile Blog Joined February 2010
United States663 Posts
June 07 2011 23:39 GMT
#57
It might not seem that hard to code this up, but the issue is that it is a lot harder to define optimal FF casting than to say, define optimal kiting. Let me break it down for you if don't write code.

In your mind you picture a situation with a blob of Protoss units and some sentries against some Terran units marching over in a ball, and you're like "oh, my toss army is bigger, so I would just FF a good-sized chunk of his stuff towards me I know I can kill."

This is not how computers think! There are a ton of conditions your human brain can recognize in an instant. Computers have to think much more rotely. Let's assume the FF AI you write has perfect knowledge (map hack, whatever you want to call it). The AI does not "see" the picture above that you saw. It sees the data of the game like this.

Player 1:
Zealot @ location 4, 5, facing 56 degrees
Zealot @ location 6, 2, facing 10 degrees
Sentry @ location 3, 3 facing 10 degrees

Player 2:
Marine @ location 1, 1, facing 115 degrees
Marine @ location 1, 2, facing 110 degrees

etc.

Now with a list of units and locations, what do you do? Are the armies close, far, scattered all over, what? Someone earlier in the thread mentioned you should do some kind of clustering algorithm on the units, which is a good start.

The point is, you have to write the code to account for the entire range of data. What if the Terran player has single marines standing around the map? Do you want your FF AI to spend energy trapping and killing one marine? If three SCVs and one marine charge up your ramp would you FF it? Your AI might unless you define very clearly what is dangerous and what is not.

What if you decide the Terran army is actually in a ball, and your army is actually in a ball and the conditions are right for casting FF? Should you just fire them off? Maybe not! Maybe the Terran army is actually walking away from your ball and in the time it takes your sentries to carry out the FF order you give it, the Terran units will be gone, and poof: silly-looking FF! This observation alone means a good FF AI will probably need to do some planning and keep sentries in range of points that might be good FF spots in the future.

I think a good FF AI is certainly doable, it will just take some serious development time.
Pughy
Profile Blog Joined July 2010
Wales662 Posts
Last Edited: 2011-06-08 03:45:30
June 08 2011 03:33 GMT
#58
I agree with some people in this thread. An AI will never be able to use forcefields in a competent way like real players can. Forcefields change the gameplay in a way computers can never anticipate. I've played nearly 3000 ladder 1v1's and knowing when/how to forcefield can still be very tricky (and I'm masters).

An example is in PvT when the T rushes up your ramp. You've gotta decide if you keep them out, or let them in. But then theres other stuff that comes into the equation. eg you may not have enough forces to kill the push but can block it for 15 seconds longer which may let you get extra units to beat the push, or an extra sentry to hold the ramp. Being optimal with sentries is the hardest thing, and when you think about it. Even now the most optimal use of sentries isn't even known so how could someone code that into an AI?

Also thought of another example. What about roaches with burrow? An AI would have alot of trouble figuring out how to forcefield burrowed roachs effiecently so you don't get over run or lose position? (which isn't easy for even a human player)
Commentatorwww.twitter.com/pughydude www.twitch.tv/pughydude
CoolManJones
Profile Joined October 2010
United States23 Posts
June 08 2011 20:07 GMT
#59
thx, excellent answer.
Siretu
Profile Blog Joined April 2010
151 Posts
Last Edited: 2011-06-08 23:02:16
June 08 2011 22:56 GMT
#60
On June 08 2011 08:39 dimfish wrote:
It might not seem that hard to code this up, but the issue is that it is a lot harder to define optimal FF casting than to say, define optimal kiting. Let me break it down for you if don't write code.

In your mind you picture a situation with a blob of Protoss units and some sentries against some Terran units marching over in a ball, and you're like "oh, my toss army is bigger, so I would just FF a good-sized chunk of his stuff towards me I know I can kill."

This is not how computers think! There are a ton of conditions your human brain can recognize in an instant. Computers have to think much more rotely. Let's assume the FF AI you write has perfect knowledge (map hack, whatever you want to call it). The AI does not "see" the picture above that you saw. It sees the data of the game like this.

Player 1:
Zealot @ location 4, 5, facing 56 degrees
Zealot @ location 6, 2, facing 10 degrees
Sentry @ location 3, 3 facing 10 degrees

Player 2:
Marine @ location 1, 1, facing 115 degrees
Marine @ location 1, 2, facing 110 degrees

etc.

Now with a list of units and locations, what do you do? Are the armies close, far, scattered all over, what? Someone earlier in the thread mentioned you should do some kind of clustering algorithm on the units, which is a good start.

The point is, you have to write the code to account for the entire range of data. What if the Terran player has single marines standing around the map? Do you want your FF AI to spend energy trapping and killing one marine? If three SCVs and one marine charge up your ramp would you FF it? Your AI might unless you define very clearly what is dangerous and what is not.

What if you decide the Terran army is actually in a ball, and your army is actually in a ball and the conditions are right for casting FF? Should you just fire them off? Maybe not! Maybe the Terran army is actually walking away from your ball and in the time it takes your sentries to carry out the FF order you give it, the Terran units will be gone, and poof: silly-looking FF! This observation alone means a good FF AI will probably need to do some planning and keep sentries in range of points that might be good FF spots in the future.

I think a good FF AI is certainly doable, it will just take some serious development time.



I disagree. There are a lot of handy functions to easily work out how scattered the army is and if it's a decent amount of enemy units(not just a single marine). Force fielding a ramp is harder and would take some time but I think I could probably make a decent one within a day of serious coding. Blizzard has a bunch of great programmers who should be able to fix it pretty fast.

The question is, does the AI have to be better than a human? You mention "keeping sentries in range of points that might be good FF spots in the future." What human actually does that. I mean, you might sort your sentries so they're in the middle so they can get in range for the force fields but it's not like you're actually trying to calculate the best spot for them to be at to make sure they can cast their force field.


On May 29 2011 06:21 CampinSam wrote:
Forcefields look easy?
What!?

I can't imagine trying to code a unit to automatically forcefield around, or infront of a unit, and even if they did program that in, the forcefields probably wouldn't even be good.

This would be even easier. Force fielding in a circle around a unit is not particulary hard at all. In front of a unit is still pretty easy(easier than splitting a whole army) but takes some more time.
Prev 1 2 3 4 5 6 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 7h 6m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 223
NeuroSwarm 213
Livibee 205
RuFF_SC2 183
StarCraft: Brood War
PianO 98
Sharp 87
Bale 12
Icarus 9
Terrorterran 6
Dota 2
monkeys_forever675
League of Legends
tarik_tv6553
JimRising 971
Super Smash Bros
Mew2King106
Heroes of the Storm
Khaldor154
Other Games
summit1g8364
FrodaN3299
shahzam1896
WinterStarcraft387
ViBE240
Models2
Organizations
Other Games
gamesdonequick685
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Berry_CruncH289
• practicex 29
• IndyKCrew
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• LaughNgamezSOOP
StarCraft: Brood War
• RayReign 8
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• Ler60
League of Legends
• Doublelift5848
• Lourlo1005
• Shiphtur908
Upcoming Events
Wardi Open
7h 6m
Replay Cast
20h 6m
Replay Cast
1d 6h
WardiTV Invitational
1d 7h
WardiTV Invitational
1d 7h
GSL Code S
2 days
Rogue vs GuMiho
Maru vs Solar
Online Event
2 days
Replay Cast
2 days
GSL Code S
3 days
herO vs Zoun
Classic vs Bunny
The PondCast
3 days
[ Show More ]
Replay Cast
3 days
WardiTV Invitational
4 days
Korean StarCraft League
4 days
CranKy Ducklings
5 days
WardiTV Invitational
5 days
Cheesadelphia
5 days
GSL Code S
6 days
Sparkling Tuna Cup
6 days
Replay Cast
6 days
Liquipedia Results

Completed

CSL Season 17: Qualifier 2
BGE Stara Zagora 2025
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL 17: 2025 SUMMER
2025 GSL S2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025

Upcoming

Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Murky Cup #2
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.