AliYousuf / hedgewars

Automatically exported from code.google.com/p/hedgewars
GNU General Public License v2.0
0 stars 0 forks source link

AI sometimes performs in a really stupid way #896

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
hedgehogs sometimes shoots themselves

https://www.dropbox.com/s/wdovz1o172tv9wv/stupid%20AI.49.hwd?dl=0

"Jackson" hog, after  one minute from the start

What version of the product are you using? On what operating system?
0.9.21, linux

Original issue reported on code.google.com by gianfran...@abinsula.com on 27 Dec 2014 at 9:15

GoogleCodeExporter commented 8 years ago
So... the switch indicates the AI expected a kill.  The likely target for a 
bazooka was the 39hp hog below.

AI was on the edge of a cliff, but unfortunately the weak level to which he was 
set, forced error in his targetting causing the shot to hit him instead.

That's the theory I'm going w/.

You want AIs less likely to fail, pick stronger AI level ☺

Original comment by kyberneticist@gmail.com on 19 Jan 2015 at 2:41

GoogleCodeExporter commented 8 years ago
how can I change the AI level? :)

Original comment by costamag...@gmail.com on 19 Jan 2015 at 11:38

GoogleCodeExporter commented 8 years ago
For quick game, the AI level is hardcoded.  I thought to a little less stupid 
though.

Otherwise, go to game settings, add a team, and set an AI level.  I suggest max 
☺

Can't rule out the occasional stupidity even then if he doesn't notice some 
small chunk of land somewhere blocking his epic shot.

And, at present the AI is really stupid about whole classes of things.
Bee PickHammer Rope Mine Parachute MineStrike BlowTorch Girder Teleport Switch 
Seduction HellishBomb Napalm Ballgun RCPlane LowGravity ExtraDamage 
Invulnerable ExtraTime LaserSight Vampiric Jetpack Birdy PortalGun Piano 
Flamethrower Resurrector DrillStrike Snowball TimeBox LandGun Freezer Cleaver 
Rubber AirMine

Are all things the AI has not yet been taught to use (well, there's some 
unenabled teleport code).

Also he's pretty clueless about things like escaping sudden death.  And 
naturally not much in the way of strategy.

Original comment by kyberneticist@gmail.com on 20 Jan 2015 at 12:25

GoogleCodeExporter commented 8 years ago
wonderful, thanks! so let's close this one ;)

(it isn't a real issue, yes, the AI can be improved, but it is already well 
performing for me)

Original comment by costamag...@gmail.com on 20 Jan 2015 at 12:43