Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old November 24, 2010, 09:37   #1
Timo Pietilš
Prophet
 
Join Date: Apr 2007
Location: Climbing up from hole I just dug.
Posts: 4,096
Timo Pietilš is on a distinguished road
Pack UI = artificial stupidity?

I think we need to revise now a very old pack behavior AI. That ambush-AI just doesn't work, hounds, spiders etc. that charge "stupidly" at you are more dangerous than hounds that don't.

The very least is to make that AI force attack when monster is hurt, no matter if player is in sight or not. It feels stupid that I can stand on corridor infinitely and blast hounds with ball-spells until they all are dead, when that same group of monsters could make minced meat out of me by attacking immediately.

Best AI would be "ambush" with some knowledge of other members of the group, so that if one of them get hurt they all attack at once. This still allows dealing with them one by one, but that standing in corridor blasting monsters with ball-spells would turn deadly.

Or just plain remove that AI. It is no use as it is now.
Timo Pietilš is offline   Reply With Quote
Old November 24, 2010, 13:10   #2
buzzkill
Prophet
 
buzzkill's Avatar
 
Join Date: May 2008
Location: Indiana, USA
Posts: 2,939
Donated: $8
buzzkill is on a distinguished road
Aggravation .
__________________
www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
My banding life on Buzzkill's ladder.
buzzkill is offline   Reply With Quote
Old November 24, 2010, 18:15   #3
ewert
Knight
 
Join Date: Jul 2009
Posts: 525
ewert is on a distinguished road
I second the idea of making pack AI so that if any member of the pack is hurt, it "turns off" (as in they get "stupid" and try to kill the player that is killing them from safety).
ewert is offline   Reply With Quote
Old November 24, 2010, 18:56   #4
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,941
Derakon is on a distinguished road
The main issue there is that it requires tracking the pack so that monsters can appraise each other of how they're doing.

An alternate approach would be to charge the player (permanently disabling ambush AI) if they have not moved towards the room for a few turns. That could be used as a shorthand for "player knows the pack is in the room". Ambush AI is only really useful for surprising players who haven't detected the monsters, so as soon as the monsters suspect that's happened, they should give up on an ambush.

Alternately you could use the act of detecting itself to toss the monsters out of ambush mode, but that seems weird.
Derakon is offline   Reply With Quote
Old November 24, 2010, 21:35   #5
ewert
Knight
 
Join Date: Jul 2009
Posts: 525
ewert is on a distinguished road
Maybe have pack monsters have a "shriekerlike" effect, doing a LoS "aggravate" on same type pack monsters that turns off the AI? Doesn't sound too complicated, mostly adding a monster ability and check on AI based on the ability turned on?
ewert is offline   Reply With Quote
Old November 24, 2010, 21:48   #6
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 39
Posts: 1,516
d_m is on a distinguished road
I think it could be even simpler... a monster only acts using pack AI if none of the other visible monsters are damaged.
__________________
linux->xterm->screen->pmacs
d_m is offline   Reply With Quote
Old November 24, 2010, 22:05   #7
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,860
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by d_m View Post
I think it could be even simpler... a monster only acts using pack AI if none of the other visible monsters are damaged.
I like it.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old November 24, 2010, 23:24   #8
fizzix
Prophet
 
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,002
fizzix is on a distinguished road
Quote:
Originally Posted by d_m View Post
I think it could be even simpler... a monster only acts using pack AI if none of the other visible monsters are damaged.
This is good.

I might propose a slight change. Monsters need to be the same type.
fizzix is offline   Reply With Quote
Old November 25, 2010, 03:35   #9
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,941
Derakon is on a distinguished road
Yeah, that sounds good.

Also turn it off it there are fewer than N visible monsters of that type (N = 3?).
Derakon is offline   Reply With Quote
Old November 25, 2010, 03:59   #10
fizzix
Prophet
 
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,002
fizzix is on a distinguished road
Quote:
Originally Posted by Derakon View Post
Yeah, that sounds good.

Also turn it off it there are fewer than N visible monsters of that type (N = 3?).
I originally wrote this also but then erased it.

I think it's actually smart behavior for single animals to retreat to rooms to ambush you and get the first breath in.
fizzix is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Resistance to protect inventory / pack items Taha Vanilla 18 August 1, 2010 11:47
why sort the pack? PowerDiver Development 8 April 16, 2010 02:21
YASD - Earth Hounds and stupidity Sirridan AAR 6 May 30, 2009 09:13
[All] Protecting the @ from player stupidity. andrewdoull Variants 10 July 3, 2007 14:39


All times are GMT +1. The time now is 08:26.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.