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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old December 24th, 2006, 07:30 PM

paparapapa paparapapa is offline
Private
 
Join Date: Dec 2006
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
paparapapa is on a distinguished road
Default Why Don\'t My Mages Cast the Spells I Tell Them To?

For example, I have one with fire 3 and fire gems set to cast flaming arrows on my archers, which I have researched. Instead, he just casts random spells. What?
Reply With Quote
  #2  
Old December 24th, 2006, 07:34 PM
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: Why Don\'t My Mages Cast the Spells I Tell Them To?

The 'AI' in its all seeing wisdom as decieded that the enemy force you are facing is not strong enough to waste a fire gem on casting flaming arrows.

I had a good one recently, scripted on a 1F, 1S mage, communion master (2 communion slaves on the battlefield), phoniex power, flaming arrows. Mage had 1 fire gem, I am tight with my gems ok. Theory was he would have been 2F, 2S after communion, then 3F 2S after phoniex power, so no problem casting flaming arrows?

WRONG
The mage used the 1 fire gem to cast the phoniex power, it did not recognize the level gain from communion. So no flaming arrows...battle lost...army slaughtered...ARRAGH...
Reply With Quote
  #3  
Old December 25th, 2006, 06:19 PM
Nephelim's Avatar

Nephelim Nephelim is offline
Private
 
Join Date: Mar 2004
Location: SF Bay Area, CA
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Nephelim is on a distinguished road
Default Re: Why Don\'t My Mages Cast the Spells I Tell Them

There is more oddness with the AI overriding scripting.

I had a SC set to cast:

Body Ethereal
Luck
Quicken self
Attack rear

She was not otherwise ethereal (Neither through item nor naturally). Every single battle she did the same thing:

Astral Shield
Luck
Quicken Self
Attack rear

Body Ethereal requires no gems, and she was not already ethereal, I see no legitimate reason for the AI to override what I told it to do.
Reply With Quote
  #4  
Old December 25th, 2006, 07:50 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Why Don\'t My Mages Cast the Spells I Tell Them

You are a God (in training).
You give them suggestions. If they dont follow them, then kill them.

Actually thats what it amounts to. Your instructions can be overridden if they
A) cant see who you wanted them to attack
B) seem to know that the enemy is fairly resistant
C) dont have the necessary ingredients (gems/slaves)
D) feel that would be otherwise wasteful

They dont always make GOOD decisions but you should check things like that first. Did you block their view with other troops, or forget to give them gems?

Also, unfortunetly, they might decide that the spell you had them do was not a very good idea but that doesnt mean they will pick a better one. They seem to go from "not too good" and drop to the bottom of their list which means sometimes they seem pretty stupid.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #5  
Old December 26th, 2006, 08:48 AM
QXel's Avatar

QXel QXel is offline
Corporal
 
Join Date: Dec 2006
Location: France, south
Posts: 100
Thanks: 1
Thanked 0 Times in 0 Posts
QXel is on a distinguished road
Default Re: Why Don\'t My Mages Cast the Spells I Tell Them

Yes, and I like not to have a total (and not 'realistic', but maybe the word here doesn't mean anything ... ;o) control of my troups in a computer game.
But, I don't like to see them make some pretty stupid actions ! (I know, I know, it's very hard to code AI, and I'm not saying that the work is not good, believe me ! I LOVE this game and your work !!! In fact, I had rarely seen a game as good and addictive as yours. Really. But, I always play against the AI because I don't have Internet at home, so, sometimes, it's just a bit frustrating ... But I'll make it ;o).

Some examples (unfortunatly, I had experimented these ...) :
- have your pretender F7 D4 casting over and over Raise Skeletons and NOT Pillar of Fire or Cloud ou Fire or Whatever-wich-strike-hard-and-destroy-the-enemy !!! (fatigue isn't being a problem in this case)
[in fact, and even in Dom2, the IA LOVE casting Raise skeletons .... Not Shadow Blast, not Fear Cloud, not anything BUT Raise skeletons ...]
- have a squad of artillery Mage casting all their overpowered spells on the same enemy groups of pityfull Militia while their heavy infantry cut my troops into pieces on one side and their archers obliterate them on the other side ... (range isn't a problem, as from the first example)
- have the enemy (yes, good for me, but a bit disapointing ...) casting Fire Fly, Flare or anything from Fire Magic onto my full-fire-immune Abysia army ...
- a bit different : had a commander with 'Stay behind troops' makes suddenly a suicide attack on heavy cavalry units, just for fun, during an uncertain battle ...

These are very extreme examples, but sometimes, I wish I could have the possibility of killing them right now, as you suggested !!! :^DDD

Next time : in front of the army 'attack nearest' !!!

P.S : I'm not an English speaker, so, excuse my mistakes.
__________________
QXel

The One Who Only Play Single Player Games For Fun, Who Is Not A Maniac of 'The Ultimate Tactic', The Negation of 'The Ugly But Very Efficient Micro-Management For Winning With Minimum Losses And Ascend All The Time'
Reply With Quote
  #6  
Old December 26th, 2006, 09:08 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Why Don\'t My Mages Cast the Spells I Tell Them

Quote:
QXel said:
- have your pretender F7 D4 casting over and over Raise Skeletons and NOT Pillar of Fire or Cloud ou Fire or Whatever-wich-strike-hard-and-destroy-the-enemy !!! (fatigue isn't being a problem in this case)
[in fact, and even in Dom2, the IA LOVE casting Raise skeletons .... Not Shadow Blast, not Fear Cloud, not anything BUT Raise skeletons ...]
- have a squad of artillery Mage casting all their overpowered spells on the same enemy groups of pityfull Militia while their heavy infantry cut my troops into pieces on one side and their archers obliterate them on the other side ... (range isn't a problem, as from the first example)
- have the enemy (yes, good for me, but a bit disapointing ...) casting Fire Fly, Flare or anything from Fire Magic onto my full-fire-immune Abysia army ...
- a bit different : had a commander with 'Stay behind troops' makes suddenly a suicide attack on heavy cavalry units, just for fun, during an uncertain battle ...

Raise Skeleton etc aren't good when they aren't massed. The fact that AI prefers to cast them makes it possible for some massed skeleton summons, which can work very well, but is annoying in cases like this. Perhaps mages should prefer to cast spells of their highest path(s)?

Mages casting spells at militia instead of HI or archers is probably due to the fact that targeting HI might kill your own troops, and targeting archers could miss them completely. It could also be due to the fact that militia are easier to kill than HI (no armor) or archers (farther away).

Fire spells won't be cast at totally fire-immune army. Are you sure that there were no Barkskin spells or effects affecting your units (it causes fire resistance to be lowered)?

Stay Behind Troops is a bit strange. In some cases, if the command in question doesn't have a bow and can't cast spells, he will move forward but never past (his own?) troops.
Reply With Quote
  #7  
Old December 25th, 2006, 08:49 PM

alexti alexti is offline
First Lieutenant
 
Join Date: Dec 2003
Location: Calgary, Canada
Posts: 762
Thanks: 0
Thanked 0 Times in 0 Posts
alexti is on a distinguished road
Default Re: Why Don\'t My Mages Cast the Spells I Tell Them

Quote:
Nephelim said:
There is more oddness with the AI overriding scripting.

I had a SC set to cast:

Body Ethereal
Luck
Quicken self
Attack rear

She was not otherwise ethereal (Neither through item nor naturally). Every single battle she did the same thing:

Astral Shield
Luck
Quicken Self
Attack rear

Body Ethereal requires no gems, and she was not already ethereal, I see no legitimate reason for the AI to override what I told it to do.
Maybe the opposition had magic weapons? (typical for specific nations, such as Caelum)
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 08:21 AM.


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