Customizing tactical AI of party members

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Customizing tactical AI of party members

#1 Post by yufra »

So the first round of tactical AI improvments is in the SVN and I have started work on something... err well I don't remember exactly who suggested it, sorry. A few people on IRC I think. Anyway, the idea is to allow the player more control over what talents are or are not used by party members. Tired of your warper phase dooring enemies away? Tell him not to. Want your golem to emphasize arcane talents since a specific enemy has high physical immunity? Make it so.

The attached patch is an amalgamation of a few fixes and the first attempt at implementing this feature. First start/load an alchemist or summoner (if you are using a summoner you need Summon Control for this to work, so lvl 12 at least). Right click on your party member on the map, go to "Give Orders" and select the new "Set talent weights" option. This should pop open a new dialog, and although it works the information on that dialog is fairly sparse right now. Suggestions on how to improve it would be much appreciated.

So, my to-do list:
a) improve the dialog
b) have the preferences work over multiple summons
c) add option to escorts
Attachments
talent_interface.txt
(24.67 KiB) Downloaded 141 times
<DarkGod> lets say it's intended

yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: Customizing tactical AI of party members

#2 Post by yufra »

Here is a second version of the patch that solves (b), allowing summons to have their talent preferences stored for the next time they are summoned. This is currently done by checking the name of the summon, and since it is possible (but I don't think ever done) for two different types of summons to have the same name there could be issues in the future. I could make the check more rigorous, extended to say type and subtype, but I think name will suffice for now.

EDIT: Updated the attachment with more in-game description.
Attachments
talent_interface_v2.txt
(26.17 KiB) Downloaded 120 times
<DarkGod> lets say it's intended

Post Reply