.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 November 16th, 2007, 01:03 PM

konming konming is offline
Second Lieutenant
 
Join Date: Sep 2007
Posts: 525
Thanks: 17
Thanked 17 Times in 10 Posts
konming is on a distinguished road
Default Spell casting routine is seriously screwed?

In one test game, I have an E6 guy scripted to cast army of lead and an A6 guy scripted to cast fog warrior. They both have plenty of gems (I do not know how to put more than 30 on them ) and the opponent army is also huge. Well, the E6 guy casted army of gold instead and A6 guy casted arrow fend instead.

Why does this happen? What's the point of scripting commands when computer just blatantly ignores it? Of course arrow fend is not equivilant of fog warrior and army of gold certainly does not help against shadow blast.

I want to know if this is just AI sucks (as usual) or due to some mysterious reasons works as designed?
Reply With Quote
  #2  
Old November 16th, 2007, 01:52 PM

Lazy_Perfectionist Lazy_Perfectionist is offline
Lieutenant Colonel
 
Join Date: May 2007
Posts: 1,355
Thanks: 0
Thanked 5 Times in 4 Posts
Lazy_Perfectionist is on a distinguished road
Default Re: Spell casting routine is seriously screwed?

Well, I see no reason you'd be unable to cast the spell. If its some rule you've overlooked, I can't figure out what it might be.

Casting AI does suck, but I'm still surprised it ignored these spells.
Reply With Quote
  #3  
Old November 16th, 2007, 02:11 PM

Shovah32 Shovah32 is offline
Brigadier General
 
Join Date: Oct 2006
Location: Northern Ireland
Posts: 1,923
Thanks: 2
Thanked 5 Times in 5 Posts
Shovah32 is on a distinguished road
Default Re: Spell casting routine is seriously screwed?

I've had something similar happen recently in a multiplayer game. My pretender and a few other guys teleported/astral traveled into battle but, instead of casting will of the fates(he had plenty of astral magic and gems to do it) my pretender decided to buff himself..
Reply With Quote
  #4  
Old November 16th, 2007, 06:32 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Spell casting routine is seriously screwed?

Unless it's a magic/gem issue, they usually do this if they either think that the opponent's army is unworthy of said spells and go for a less gem-intensive solution or if your units wouldn't benefit as much. Turn on heavy debugging (-ddd) and rerun the battle again for their decision making process.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #5  
Old November 16th, 2007, 10:58 PM

Sir_Dr_D Sir_Dr_D is offline
Second Lieutenant
 
Join Date: Oct 2006
Location: Winnipeg, Canada
Posts: 566
Thanks: 8
Thanked 9 Times in 7 Posts
Sir_Dr_D is on a distinguished road
Default Re: Spell casting routine is seriously screwed?

I don't think gems so much make an impact on the decisions making process as fatigue. Often if the opponent army is small the mage will cast lower fatigue spells, but still waste all the gems you gave them.
Reply With Quote
  #6  
Old November 19th, 2007, 01:46 PM
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: Spell casting routine is seriously screwed?

Yep. This IA isn't very smart ...

In an SP game I am running these days, I have my EA Arcocephale 3A 1E 3N scripted as "Eagle Eye/Lighting Orb x4/ cast spells" for some [Medieval Fantasy réplicas of Katiouchkas] casting 'breath of the Dragon' in my war against ... C'Tis !!! (at list 50% Poison resistant Lizards ...)
Very, very, very irritating (at most ...).

Also, as other threads allready complains, the horrible "'touch of madness' 3N mages illness" ...

The same with magic items management.

Two examples : an IA mage going into battle with a the 'research skull' (forget the name) and the biggest joke the game made to me : my Abysian fire mage with an eye of aiming picking up after killing an enemy mage ... another Eye of aiming !!!

Well. This is not very often, so, I don't complain a lot ...

But still, a little cleaning in the routine code will be welcome ;o)
__________________
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
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:49 PM.


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