.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old February 2nd, 2012, 05:16 AM

Kobal2 Kobal2 is offline
Sergeant
 
Join Date: Apr 2004
Posts: 285
Thanks: 3
Thanked 19 Times in 13 Posts
Kobal2 is on a distinguished road
Default Re: Fire Archers Command

Good question.

I have always assumed, without much evidence for it, that it goes along the lines of:
- does this unit have a ranged weapon, yes/no ?
- if multiple units have ranged weapons, is this one closer, yes/no ?
- if multiple units have ranged weapons and are at the same distance, will attacking this one statistically cause more total HP damage, yes/no ?
- if all yes, pick at random.

The big if is on question n°3, specifically whether or not the AI considers shields and their chance to parry/add protection, size and the inherent chance to miss a smaller target etc... IIRC, the spell AI actually "casts" given spells at all likely targets, rolls and all, then picks the one location that affected the most HPs in total (good or bad - it'll bless giants over the same amount of human sized sacred for example) to cast it for realz. Presumably the archer AI is the same.

It will most certainly target Man's armoured crossbowmen (though possibly not prioritize them over, say, indy archers) and horse archers. Also slingers and javelineers (Ermor and Pythium's Principes are a neat way to mess with fliers with attack archer commands). Pretty sure it also goes for things like Green Lions, who are not exactly archers but do have a ranged weapon.
__________________
Anything wrong ?
Blame it on me - I'm the French.
Reply With Quote
  #2  
Old February 2nd, 2012, 01:20 PM

Shangrila00 Shangrila00 is offline
Corporal
 
Join Date: Dec 2011
Posts: 156
Thanks: 2
Thanked 6 Times in 6 Posts
Shangrila00 is on a distinguished road
Default Re: Fire Archers Command

Hmm, so nobody knows the exact mechanics? Thanks for the info on javelins though. I'd always suspected they don't count since so many javelin troops are primarily melee oriented.

I wonder if ranged troops have a hidden tag that mark them as such, or if the AI actually looks at whether or not they have ranged weapons.
Reply With Quote
Reply

Bookmarks


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 On

Forum Jump


All times are GMT -4. The time now is 02:41 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.