.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
  #11  
Old August 14th, 2008, 03:59 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: Returning script ignored. Bug?

I played with PD from 0 to 40 in my tests and that had no effect. Also, Endoperez said that vis means gems
Reply With Quote
  #12  
Old August 14th, 2008, 04:20 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: Returning script ignored. Bug?

Same thing, just as I suspected with the only difference that now KotD died. So the bug is stable in the sense that it depends on some conditions.
I will roll back the turn again now. Meglobob, please change your order and hopefully we'll be done with it at last.
Reply With Quote
  #13  
Old August 14th, 2008, 04:32 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: Returning script ignored. Bug?

Ok, I will cancel the teleport--->magic duel. No more rehosts after this!

Its not a instant kill you know, magic duel the golem has a 50/50 chance of surviving. I think its WAD. Your golem is not casting Return because its confident that he and the 10 PD you have in there are enough to defeat a lone mage. Thats just how dom3 works.
Reply With Quote
  #14  
Old August 14th, 2008, 04:39 PM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: Returning script ignored. Bug?

What does the debug log say when it does work?

How about in cases where he doesn't have the gems? Or other situations where gems won't be used due to weak opposition?

I'm pretty sure that message is specific to not having enough gems, not to not wanting to use them. Not 100% though.
Reply With Quote
  #15  
Old August 14th, 2008, 04:52 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: Returning script ignored. Bug?

I will run the test with debug options a bit later. Too tired now.
Also, it seems that returning spells should have a special status that never allows ignoring them if it is scripted.
Reply With Quote
  #16  
Old August 14th, 2008, 06:19 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: Returning script ignored. Bug?

Here're the scratches from successful return casting (testbed).
Quote:
item Armor of Virtue casting autospell cast returning (cr0)
Autospell is cast returning
castspell: cnr189 spl54 (cast returning) vis0 x54 y23 spldmg8388608
vis 0 xvis 0
blastsqr: unr9291 x54 y23 aoe0 dmg8388608 eff10023 spc1082130432 as0 al0
setupsquads end (check=1167409)
Quote:
spellscore, Returning score 1 (boost 144 scorat 0)
Eval: Returning score 1 (fat 66)
comp_castspell: eval Returning result 1
best spell so far Returning (score100001)
Quite expectable, I must say.
Reply With Quote
  #17  
Old August 15th, 2008, 01:30 AM

chrispedersen chrispedersen is offline
BANNED USER
 
Join Date: May 2004
Posts: 4,075
Thanks: 203
Thanked 121 Times in 91 Posts
chrispedersen is on a distinguished road
Default Re: Returning script ignored. Bug?

I have had the same bug occur.

Pretender + 2 seraphs. All kitted out; all with between 4-20 astral gems. All scripted to cast returning.

No one did.
Reply With Quote
  #18  
Old August 15th, 2008, 02:01 AM

Xietor Xietor is offline
Lieutenant General
 
Join Date: Feb 2007
Location: New Orleans
Posts: 2,741
Thanks: 21
Thanked 28 Times in 17 Posts
Xietor is on a distinguished road
Default Re: Returning script ignored. Bug?

I do not think it is a bug. Unless it is a new bug with 3.17. Before if you had a large titan or tartarian and gems and script it to cast returning, it will not do so if the ai thinks the attack is not threatening(and i think the ai measures this by hps etc).

So it DID used to be if you had a golem and 25 pd, it would not cast returning if a mage teleports in for a magic duel because the ai judges the mage no threat.

This is similar to scripting a mafe to cast fog warriors and there is 100 trolls in the army. a Wraithlord enters in artifact gear. kills your whole army. your mages never cast fog warriors. Why? it does not judge the single wraith lord a threat.

But you also do not want a foe to be able to make you waste your gems with a scout either, so that is the trade off.
__________________
"War is an art and as such is not susceptible of explanation by fixed formula."
- General George Patton Jr.
Reply With Quote
  #19  
Old August 15th, 2008, 03:55 AM
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: Returning script ignored. Bug?

Xietor, I once again say that I played with various builds and various teleporters.
I teleported (empowered) Dakini with 0 PD -> golem casts returning
I teleported (empowered) 40g priest with 40PD -> golem casts returning

I also played with artifacts and gems (also tried exactly the same build I had in the real situation) and result was ALWAYS the same. Also, as pointed out above, log says that golem doesn't have enough gems so it probably has nothing to do with AI's decisions.
Reply With Quote
  #20  
Old August 15th, 2008, 04:27 AM
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: Returning script ignored. Bug?

Quote:
Originally Posted by ano View Post
Xietor, I once again say that I played with various builds and various teleporters.
I teleported (empowered) Dakini with 0 PD -> golem casts returning
I teleported (empowered) 40g priest with 40PD -> golem casts returning

I also played with artifacts and gems (also tried exactly the same build I had in the real situation) and result was ALWAYS the same. Also, as pointed out above, log says that golem doesn't have enough gems so it probably has nothing to do with AI's decisions.
When you tried the exact same build, did you just give your unit 28 D gems? Or did he gather them in battle (killing more than 30 units)?
__________________
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

Thread Tools
Display Modes

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:45 PM.


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