AI-Move to surround

All new ideas for the upcoming releases of ToME 4.x.x should be discussed here

Moderator: Moderator

Post Reply
Message
Author
Lap
Cornac
Posts: 40
Joined: Sun Aug 29, 2010 1:31 am

AI-Move to surround

#1 Post by Lap »

Code: Select all

.XX
PMM
.XX

. = Open space
X = Obstacle
P = Player
M = Monster

When monsters are melee'ing players at junctions similar to the one above they don't seem to move forward to allow their friends to surround the player. This makes chokepointing too easy. I suggest adding a random chance that the monster moves forward in these situations instead of attacking. If there already is some chance of this happening it really needs to be increased as I never see it happen.

lukep
Sher'Tul Godslayer
Posts: 1712
Joined: Mon Mar 14, 2011 10:32 am
Location: Canada

Re: AI-Move to surround

#2 Post by lukep »

One that is far, far worse than your described scenario is this:

Code: Select all

..#M.
..MMM.
.M#M.
.@#....
The monster in the doorway two tiles from the player will not move from that spot, as the shortest path goes through an ally. Exploiting this makes the Room of Death much more manageable, as only one enemy can attack at a time, while you can hit many with ball shaped attacks.
Some of my tools for helping make talents:
Melee Talent Creator
Annotated Talent Code (incomplete)

tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

Re: AI-Move to surround

#3 Post by tiger_eye »

hehehe, I've got it so they can continue to move in lukep's configuration, and Lap's configuration is a work in progress :twisted:
darkgod wrote:OMFG tiger eye you are my hero!

Dekar
Spiderkin
Posts: 559
Joined: Wed Jan 26, 2011 3:47 pm

Re: AI-Move to surround

#4 Post by Dekar »

Nice! :D

Post Reply