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

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old November 20th, 2006, 06:53 AM
Olive's Avatar

Olive Olive is offline
Sergeant
 
Join Date: Nov 2004
Location: Montpellier, France
Posts: 208
Thanks: 3
Thanked 2 Times in 2 Posts
Olive is on a distinguished road
Default AI doesn\'t follow orders ?

Hi,

Got a problem with the AI. I've a F9S5 pretender that I script like this :
- Cast offensive spell(s) which needs gems (i.e. Flame Storm).
- Cast returning.

The goal is to teleport him in an enemy province where there's an army, slaughter some troops and bring him back home.

But that moron doesn't seem able to follow those simple orders. He has the gems, but :

- If the army is too weak, he doesn't even cast the flame storm, he just casts spells like astral shield, and casts the returning spell. Complete waste of gems.

- If he casts the Flame Storm and the enemy army is routing, well, it's worse because he doesn't cast the returning spell and plays the sitting duck behind enemy lines.

OK, I think usually It's smart to spare gems if the enemy is too weak or routing, but here... Any way to force him executing his scripted orders without being too smart ?
Reply With Quote
  #2  
Old November 20th, 2006, 07:24 AM

Sheap Sheap is offline
Second Lieutenant
 
Join Date: Jun 2004
Location: Lakewood, CO
Posts: 596
Thanks: 0
Thanked 9 Times in 1 Post
Sheap is on a distinguished road
Default Re: AI doesn\'t follow orders ?

Not really, the AI is just too "smart" for its own good sometimes. It will ignore your orders if:
* There is no valid target for the spell it is trying to cast. It's not very smart about this, either. At least in dom2, it wouldn't cast for instance resist fire, if you had a 50% fire resist item, so having such an item actually made your resistance WORSE than if you didn't have it. I don't know if this aggravating problem is still around. Of course, the AI will happily try to summon soulless, even if there are no corpses...
* The AI thinks the enemy army is too weak and does not want to waste the spell.
* The AI thinks the fatigue cost would be too high for the spell (the AI will never cast a spell that puts it over 200 fatigue, and sometimes won't cast them to put it over 100 fatigue).

If you are worried about being a sitting duck, you should probably have Ritual of Returning on your pretender. This way, he won't risk getting himself killed when he is out playing mobile artillery. It's a waste of a turn if he gets stranded, but at least he won't die.
Reply With Quote
  #3  
Old November 20th, 2006, 07:26 AM
Meglobob's Avatar

Meglobob Meglobob is offline
Major General
 
Join Date: Sep 2006
Posts: 2,198
Thanks: 90
Thanked 32 Times in 22 Posts
Meglobob is on a distinguished road
Default Re: AI doesn\'t follow orders ?

Yes, I have encountered this too. Personally I would prefer the AI to follow the players script no matter what. Then if it all goes pear shaped, you have only your self to blame...
Reply With Quote
  #4  
Old November 20th, 2006, 09:30 AM
Olive's Avatar

Olive Olive is offline
Sergeant
 
Join Date: Nov 2004
Location: Montpellier, France
Posts: 208
Thanks: 3
Thanked 2 Times in 2 Posts
Olive is on a distinguished road
Default Re: AI doesn\'t follow orders ?

Yes I've ritual of returning cast on the pretender, it's safer as he's not of the SC type.

There's always the solution to script him with returning and attack his province with a earth attack or such to bring him back home next turn (let's hope he'll cast the returning spell this time )
Reply With Quote
  #5  
Old November 20th, 2006, 10:30 AM
Maltrease's Avatar

Maltrease Maltrease is offline
Second Lieutenant
 
Join Date: Apr 2004
Location: Ohio
Posts: 402
Thanks: 0
Thanked 0 Times in 0 Posts
Maltrease is on a distinguished road
Default Re: AI doesn\'t follow orders ?

There was abuse where players would flood large armies with count and chaff attacks and so the large armies would use up all of the gems, before the "real" battle.

So looks like both approaches have problems.
Reply With Quote
  #6  
Old November 20th, 2006, 01:27 PM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default AI also wastes gems while spellcasting


I've had scenarios where the entire enemy is retreating yet my mages were casting spells like "living fire" which summons fire elementals.
Complete waste of gems.
__________________
There can be only one.
Reply With Quote
  #7  
Old November 20th, 2006, 07:20 PM

Evil Dave Evil Dave is offline
Corporal
 
Join Date: Jan 2004
Location: Wilmington, Delaware, USA
Posts: 191
Thanks: 1
Thanked 13 Times in 2 Posts
Evil Dave is on a distinguished road
Default Re: AI also wastes gems while spellcasting

I occasionally run into problems with many-paths-1 rainbow mages "forgetting" to cast power of the spheres, making the rest of my orders for powerful spells useless. I wonder how hard it would be to add a "just follow orders" option to go with spell scripts.
__________________
No plan survives contact with the enemy.
--Helmut von Moltke

Have too may pretender files to keep track of? Use catgod to view them.
Reply With Quote
  #8  
Old November 21st, 2006, 05:05 AM

Sheap Sheap is offline
Second Lieutenant
 
Join Date: Jun 2004
Location: Lakewood, CO
Posts: 596
Thanks: 0
Thanked 9 Times in 1 Post
Sheap is on a distinguished road
Default Re: AI also wastes gems while spellcasting

Yes, the real problem with any simultaneous-turn game is that you never can predict exactly what will happen between what you are planning for and what actually happens, that might ruin your plan. Like in this MP game I am in, where I arranged my troops for elephants, but instead got longbowmen because someone else attacked at the same time as me.

Clever players will exploit this to waste your gems if the AI does not have ability to override orders, it is easy to do, just cast a cheap remote summon and watch the gems boil away.

A checkbox to say 'always follow my orders no matter what' would be good, but if you use it too much, gem-wasting attacks become viable again.

Better would be if the AI's overriding was smarter, but how smart can it get really?
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 01:28 PM.


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