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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old April 7th, 2010, 07:39 PM

chrispedersen chrispedersen is offline
BANNED USER
 
Join Date: May 2004
Posts: 4,075
Thanks: 203
Thanked 121 Times in 91 Posts
chrispedersen is on a distinguished road
Default Re: Why off script?

Quote:
Originally Posted by thejeff View Post
I don't think the AI is smart enough to recognize no archers. It probably just decided the enemy was too weak to waste gems on.

As said, the enemy was probably just out of range for Orb Lightning.
+1

Generally, reasons for going oft script:

1. Enemy force is not a sufficient threat to waste gems
2. Spell will put caster over fatigue 100
3. Insufficient gems (perhaps for blowing extra gems earlier)
4. No targets in range.
5. too much collateral damage (too many friendlies affected)
6. The ai really thinks it can do a better job with something else.
7. Insufficient paths to cast the spell. Communion didn't get off due to death of slaves, pots didn't get off etc.

Essentially looking at the log, whatever you script has a weighting bonus. The computer looks at all castable spells,
and weighs them. It does a pretty good job on direct damage spells, pretty arbitrary on others.

things that excessively fatigue you will get a penalty, as will gem use.

Spell with the best results is cast.
Reply With Quote
 

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 08:44 AM.


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