.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 April 25th, 2008, 06:33 PM
Wrana's Avatar

Wrana Wrana is offline
Major
 
Join Date: Mar 2008
Location: Moscow, Russia
Posts: 1,045
Thanks: 177
Thanked 23 Times in 21 Posts
Wrana is on a distinguished road
Default Re: AI spell casting priorities

Is it possible to lower priority for gem-using spells in general? This is the reason I need to park gems in some scout/fighter commander & transfer tham to mage each turn - or else hust not use gems... I don't think that this amount of micromanagement is much fun...
Reply With Quote
  #2  
Old April 25th, 2008, 07:09 PM
Tuidjy's Avatar

Tuidjy Tuidjy is offline
Major
 
Join Date: Apr 2004
Location: La La Land (California, USA)
Posts: 1,244
Thanks: 0
Thanked 30 Times in 11 Posts
Tuidjy is on a distinguished road
Default Re: AI spell casting priorities

I hate Touch of Madness. With a passion. It should never be cast unscripted.
I never leave a mage unscripted, but I know that if the AI decides that a nature
spell is not worth the gems, it will default to Touch of Madness, and send
archers or mages into the fray. At the end of the battle, the number of
casulties precisely matches the number of targeted units.

And not a single gem should be used against a retreating enemy, ever. What
really sucks, and I have seen it happen at least once, is when the AI decides
that it does not need Arrow Fend when I am storming a castle, but once the
enemy has routed, summoning some Air Elementals is a damn good idea. Arrow
Fend, by the way, is one of the spells I'd love to see as "scripted only".
If you can't be bothered to script it, you should not benefit from it.
__________________
No good deed goes unpunished...
Reply With Quote
  #3  
Old April 25th, 2008, 07:45 PM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: AI spell casting priorities

If you can't be bothered to script it you shouldn't benefit? That's a weird thing to say. For one thing, who would ever benefit from arrow fend being cast unscripted? Only the AI would have air mages of sufficient skill kicking about with handfuls of gems and no script and most of the time it would still be a bad choice of spell.

Also, why the hostility towards people who don't script? I can't be arsed with the micro hassle of it most of the time. I script when I want certain powerful spells cast or have a definite battlemage script assigned to a number, but that's about it.


I personally think all spells which require gems (other than blood spells) should be 'script only'. The only problem there is the AI nations obviously wouldn't cast any combat spells requiring gems, which is a pretty big problem I admit.

It would definitely be good if any spells which are likely to either be a waste of gems/time or harmful to your own side (like berserk causing spells) were either really low priority or script only. Niche spells like ones only useful to thugs (shields, breath of winter etc), ones which summon neutral creatures (lammashtas, horrors etc) and so on should all be low priority or script only. That way unscripted mages would be more likely to cast something generally useful.
Reply With Quote
  #4  
Old April 25th, 2008, 07:56 PM

VedalkenBear VedalkenBear is offline
Second Lieutenant
 
Join Date: May 2006
Posts: 465
Thanks: 10
Thanked 16 Times in 14 Posts
VedalkenBear is on a distinguished road
Default Re: AI spell casting priorities

For myself, I can think of at least one instance where summoning elementals during a 'rout' could be useful; that is, summoning air elementals to hit the rear to cause more casualties. However, this would be contingent on summoned elementals attacking the rear, and only really applies to air elementals.

I'd like to second _any_ spell that causes creatures to go berserk is very unhealthy.
Reply With Quote
  #5  
Old April 25th, 2008, 08:06 PM
vfb's Avatar

vfb vfb is offline
General
 
Join Date: Mar 2007
Location: Japan
Posts: 3,691
Thanks: 269
Thanked 397 Times in 200 Posts
vfb is on a distinguished road
Default Re: AI spell casting priorities

Quote:
Sombre said:
...
I personally think all spells which require gems (other than blood spells) should be 'script only'. The only problem there is the AI nations obviously wouldn't cast any combat spells requiring gems, which is a pretty big problem I admit.
...

Oh, that would be *so* nice! Then you could actually give your Antimagic caster 3 pearls when he is supposed to storm a castle, and he'd actually cast it in three battles (magic/break siege/storm), instead of blowing all the pearls in the magic battle phase.

Armies of the AI nations could be allowed to use gems unscripted -- the game knows which nations are AI and which are human.
__________________
Whether he submitted the post, or whether he did not, made no difference. The Thought Police would get him just the same. He had committed— would still have committed, even if he had never set pen to paper— the essential crime that contained all others in itself. Thoughtcrime, they called it. Thoughtcrime was not a thing that could be concealed forever.
http://z7.invisionfree.com/Dom3mods/index.php?
Reply With Quote
  #6  
Old April 25th, 2008, 08:12 PM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: AI spell casting priorities

I don't know if it's that easy, allowing the AI to use gems unscripted. AI nations currently use the same battle casting AI as humans I believe.
Reply With Quote
  #7  
Old April 25th, 2008, 09:10 PM
vfb's Avatar

vfb vfb is offline
General
 
Join Date: Mar 2007
Location: Japan
Posts: 3,691
Thanks: 269
Thanked 397 Times in 200 Posts
vfb is on a distinguished road
Default Re: AI spell casting priorities

Quote:
Sombre said:
I don't know if it's that easy, allowing the AI to use gems unscripted. AI nations currently use the same battle casting AI as humans I believe.
It just needs to set/track/compare a flag indicating whether the nation is controlled by human or AI.

If the nation is human, and spell fatigue is over 100 and it's not favspell, set score to zero.
__________________
Whether he submitted the post, or whether he did not, made no difference. The Thought Police would get him just the same. He had committed— would still have committed, even if he had never set pen to paper— the essential crime that contained all others in itself. Thoughtcrime, they called it. Thoughtcrime was not a thing that could be concealed forever.
http://z7.invisionfree.com/Dom3mods/index.php?
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 12:10 PM.


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