.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   Mass flight bug - wrong script processing (http://forum.shrapnelgames.com/showthread.php?t=38174)

Jazzepi March 27th, 2008 02:10 PM

Re: Mass flight issue
 
This has been pretty frustrating for me.

I've had the exact same problem. Arrow fend instead of mass flight, especially in castles.

Personally I think any castle battle where you're storming should give a boost to mass flight.

Jazzepi

thejeff March 27th, 2008 02:22 PM

Re: Mass flight issue
 
Probably more effective to clamp down the abusive boost to Arrow Fend. Other wise you'll wind up storming a castle planning on Storm + Wrathful Skies and having your Storm overridden by Mass Flight because of the boost.

In other words, I'd much rather have the scripted behavior win, unless it just can't work, than try to tweak the AI to make better choices when it goes off script.

The simplest solution to all these problems may simply be to boost the favspell bonus. I wonder what the debug logs look like when the script includes spells that are useless (no valid target or no target in range) or battles that aren't worth wasting gems for.

ano March 27th, 2008 02:41 PM

Re: Mass flight issue
 
Quote:

Kristoffer O said:
Quote:

ano said:
Yes, you're right. Problem is in extra high Arrow Fend score.
My army was about 800-900 units large (this may be the reason) but the only archers enemy had were two dozens of sprites (this doesn't seem to affect the score).
However I still think that scripted spells should never be punished for extra fatigue. And in order to avoid such situations scripted battlefield enchantments should never be overridden at all unless the enemy army is *too weak* and is not worth spending gems on it.
Btw... Does all this mean that my mage could cast nothing but Arrow Fend in this situation? It seems so...

Did you have many archers? It might be that the AI counts wrong and counts your archers instead of enemy archers and multiplies with your archerscore or something. Similar problems have caused problems in other spells (like stygian paths).

About 70-80 atavis and markatas, probably. They were scripted to "attack closest" because I didn't need them and wanted to get soulless from Life After Death))

Quote:

thejeff said:
Probably more effective to clamp down the abusive boost to Arrow Fend. Other wise you'll wind up storming a castle planning on Storm + Wrathful Skies and having your Storm overridden by Mass Flight because of the boost.

In other words, I'd much rather have the scripted behavior win, unless it just can't work, than try to tweak the AI to make better choices when it goes off script.

Yes, I agree with it. That's the most real thing to be fixed

Edi March 27th, 2008 03:11 PM

Re: Mass flight issue
 
I'll add Arrow Fend to the buglist as purple so it won't be forgotten.

thejeff March 27th, 2008 03:32 PM

Re: Mass flight issue
 
Edi,
While you're at it, could you add in Astral Shield as a related issue?
I dumped some debug info on the Bug Discussion thread here

Edi March 27th, 2008 03:51 PM

Re: Mass flight issue
 
Done. Looks like I screwed up adding the Arrow Fend, so I added it again and the Astral Shield as well.

vfb March 27th, 2008 08:40 PM

Re: Mass flight issue
 
As a temporary workaround, if you can spare another A3 caster and a gem (or A2+2A), you could script an Arrow Fend before your Mass Flight.

Seve82 March 28th, 2008 10:21 AM

Re: Mass flight issue
 
I think that having both in castle storms is worthwhile. As would be to cast all available boost spells.

ano March 28th, 2008 12:21 PM

Re: Mass flight issue
 
How do you imagine flying during storm?)

moderation March 28th, 2008 10:11 PM

Battle Simulation
 
I have been thinking that it would be nice to have a "Battle Simulation" that you could enter just to see if the spells that you have scripted will actually be cast. Not sure if this wish would be granted, but it sounds like it would be helpful here.


All times are GMT -4. The time now is 08:37 AM.

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