.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

View Poll Results: Should mage be allowed to cast another spell if Returning is scripted?
Yes 12 30.00%
No 28 70.00%
Voters: 40. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #1  
Old August 15th, 2008, 08:37 PM
ano's Avatar

ano ano is offline
Lieutenant Colonel
 
Join Date: May 2007
Posts: 1,462
Thanks: 34
Thanked 59 Times in 37 Posts
ano is on a distinguished road
Default Should returning be overridden at all?

In the thread about bug with golem ignoring returning script it was revealed that many people from time to time run into a problem when AI of a mage considers opposition weak, decides not to use gems at all and so doesn't cast returning. As a result, very often major battles are lost, expensive SC's are slayed and good tactics are ruined.
It seems to me that Returning spells are too specific to be handled as usual spells because they look much more like "Retreat" order than battle spells and "Retreat" orders are never ignored by AI which is absolutely correct.
So the question is: Should scripted "Returning" be overridden by AI if it decides that opposition is "weak" (rather relative term, btw) or not? What do you think?
Reply With Quote
  #2  
Old August 15th, 2008, 09:27 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: Should returning be overridden at all?

I can see the point. The usual method for handling spells would be moving it higher on the priority category but that wouldnt be a good idea because then AIs might use it when its not wanted.

But are there any other spells that call into a never-overriden category? If we get an exclusion for this spell then wont there be a list of other cases people want excluded? This might be another of those places where we would be opening the door to a load of IF this and IF that statements in the code which has been avoided.
Reply With Quote
  #3  
Old August 15th, 2008, 09:37 PM
ano's Avatar

ano ano is offline
Lieutenant Colonel
 
Join Date: May 2007
Posts: 1,462
Thanks: 34
Thanked 59 Times in 37 Posts
ano is on a distinguished road
Default Re: Should returning be overridden at all?

I can't think of such spells now. Probably not...
The point is that returning spells (Returning and VoR) are not the battlefield spells in the common meaning and that's the big difference between them and any other spell in the game.
Reply With Quote
  #4  
Old August 15th, 2008, 09:46 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 Re: Should returning be overridden at all?

Create a flag that says do not override this spell does not change much code.

In that regard, I also think a game by game, user by user do not cast list is a good idea, and does not involve a lot of code. (create, maintain, load, save and use the list probably takes less than 100 line of actual code) That would make save game incompatible with previous versions, but that happened a few times already.
Reply With Quote
  #5  
Old August 16th, 2008, 01:01 AM
Revolution's Avatar

Revolution Revolution is offline
Sergeant
 
Join Date: Dec 2007
Location: Staring through your window
Posts: 333
Thanks: 26
Thanked 4 Times in 4 Posts
Revolution is on a distinguished road
Default Re: Should returning be overridden at all?

Well I'm a doofus...I misread the question...so scratch the one (so far) yes vote.
__________________
I can has Backrub?
Reply With Quote
  #6  
Old August 16th, 2008, 01:07 AM
JimMorrison's Avatar

JimMorrison JimMorrison is offline
Lieutenant General
 
Join Date: May 2008
Location: Utopia, Oregon
Posts: 2,676
Thanks: 83
Thanked 143 Times in 108 Posts
JimMorrison is on a distinguished road
Default Re: Should returning be overridden at all?

Quote:
Originally Posted by Revolution View Post
Well I'm a doofus...I misread the question...so scratch the one (so far) yes vote.
So fired. ;p
Reply With Quote
  #7  
Old August 16th, 2008, 02:13 AM

K K is offline
First Lieutenant
 
Join Date: Feb 2007
Posts: 773
Thanks: 2
Thanked 31 Times in 28 Posts
K is on a distinguished road
Default Re: Should returning be overridden at all?

Despite being harmed by this on occasion, I do like that it acts as a counter to Returning.
Reply With Quote
  #8  
Old August 17th, 2008, 01:18 PM

kot23 kot23 is offline
Private
 
Join Date: Jan 2007
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
kot23 is on a distinguished road
Shock Re: Should returning be overridden at all?

Damn, I can't believe that my first post to the forums after years of lurking is to say that:

"I hit YES by mistake, please, do not count my vote" !!

It is very annoying to have the AI override your scripts. I still remember my first time casting "Summon Lamashtas" -- it took me 10 battles to see what the spell does, because my Death ubermage decided not to use gems in the battle!!

Anyway, I use "Returning" a lot with R'Lyeh summoners without ever noticing a single case of being overriden. But if it ever happened it would make me furious: to risk loosing a summoner after 30 turns is a BAD thing.
Reply With Quote
  #9  
Old August 16th, 2008, 12:06 PM
ano's Avatar

ano ano is offline
Lieutenant Colonel
 
Join Date: May 2007
Posts: 1,462
Thanks: 34
Thanked 59 Times in 37 Posts
ano is on a distinguished road
Default Re: Should returning be overridden at all?

Does returning really need countering? Maybe it's worth starting to think of countering retreat?)
Returning and retreat are different in one major aspect: returning allows to safely escape from assassination attempt and from province surrounded by enemies while retreat doesn't. OTOH, Returning is heavily dependent on the home province, however if you lost your home province, you probably already lost the game as well.
Reply With Quote
  #10  
Old August 16th, 2008, 04:24 PM

K K is offline
First Lieutenant
 
Join Date: Feb 2007
Posts: 773
Thanks: 2
Thanked 31 Times in 28 Posts
K is on a distinguished road
Default Re: Should returning be overridden at all?

Quote:
Originally Posted by ano View Post
Does returning really need countering? Maybe it's worth starting to think of countering retreat?)
Returning and retreat are different in one major aspect: returning allows to safely escape from assassination attempt and from province surrounded by enemies while retreat doesn't. OTOH, Returning is heavily dependent on the home province, however if you lost your home province, you probably already lost the game as well.
Retreat has a counter, which is putting troops behind the Retreater...which is countered by Flyers that Retreat, and is countered by Storm....which is countered by Flyers who can fly in Storm....

This game is based on counters, so Returning needs a counter (and no, killing the mage is not a real counter since it works for any effect). Sure, "taking the home province" may seem like a counter, but it really isn't since it implies your opponent has already lost and really doesn't need his stuff countered.
Reply With Quote
Reply

Bookmarks

Tags
retreat, returning


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 05:39 PM.


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