.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   Really annoying spell scripting issue - Bug? (http://forum.shrapnelgames.com/showthread.php?t=36939)

Networkingguru November 22nd, 2007 10:57 PM

Really annoying spell scripting issue - Bug?
 
Playing MA man, I script my crone to case some specific spells (Wind Guide, Air Sheild, Howl, Song of Healing, Song of Bravery) and then have her "Stay behind army". I made sure she had all the proper gems in sufficient quantity. I send her and the army in. We win, I watch the battle, and....

THE FIRST SPELL SHE CASTS IS TOUCH OF MADNESS...

...ON MY LONGBOWMEN!!!!


Ahhhhhhhhhhhh......Make it stop....please....


Sigh..

Anyhow, so I ran a search, came up with nothing, so I thought I would ask: Is this a bug? Does scripting actually work ALL of the time? I've generally had a good expereice with scripting, but this just blows my mind.

Thanks in advance.

Slobby November 22nd, 2007 11:00 PM

Re: Really annoying spell scripting issue - Bug?
 
http://www.shrapnelcommunity.com/thr...o=&fpart=1

Sombre November 22nd, 2007 11:06 PM

Re: Really annoying spell scripting issue - Bug?
 
The AI loves to cast touch of madness. It would rather spend the day casting touch of madness than go to an amusement park and go on all the rides for free, it loves it THAT MUCH.

Networkingguru November 22nd, 2007 11:20 PM

Re: Really annoying spell scripting issue - Bug?
 
Quote:

Sombre said:
The AI loves to cast touch of madness. It would rather spend the day casting touch of madness than go to an amusement park and go on all the rides for free, it loves it THAT MUCH.

http://forum.shrapnelgames.com/images/smilies/frown.gif That really, really sucks. I would just about rather mod it completely out of the game than have her cast it on my longbowmen. Really painful to watch your great archers run ahead of the main army to jump on a sword...

I saw that the LoS bug was on the shortlist, any chance of this one getting on it as well?

I also saw a thread on a request to make spells selectable/desectable via checkboxes or some such. Don't want to rock any boats, but is that likely to ever happen? Sure would be nice for stuff like this.

Loren November 23rd, 2007 12:06 AM

Re: Really annoying spell scripting issue - Bug?
 
Did someone goof and cast touch of madness on the developers? I can't think of any other reason for this behavior!

vfb November 23rd, 2007 02:18 AM

Re: Really annoying spell scripting issue - Bug?
 
If the opposing army is not considered strong enough, spells that use gems will get scored down. If you've got Wind Guide as spell 1, and it gets scored down, your choices for spells 2 to 5 are not considered. It will just use the highest scoring spell that it found when it computed the spellscores for your caster in round 1. Most unfortunately for your archers, that was "Touch of Madness".

Networkingguru November 23rd, 2007 03:16 AM

Re: Really annoying spell scripting issue - Bug?
 
Quote:

vfb said:
If the opposing army is not considered strong enough, spells that use gems will get scored down. If you've got Wind Guide as spell 1, and it gets scored down, your choices for spells 2 to 5 are not considered. It will just use the highest scoring spell that it found when it computed the spellscores for your caster in round 1. Most unfortunately for your archers, that was "Touch of Madness".

I guess that makes some kind of warped sense, but is there any particular reason ToM is scored so high? I can't imagine a single situation in which that would be my first pick for a spell.

Folket November 23rd, 2007 03:34 AM

Re: Really annoying spell scripting issue - Bug?
 
How come I have never had this problem?

Sombre November 23rd, 2007 03:48 AM

Re: Really annoying spell scripting issue - Bug?
 
Playing as Man and Pangaea it seems if you have touch of madness researched and they at any point deviate from the script (you left them unscripted or they didn't want to cast the spells you scripted) it will be the spell they cast. Not something nice and safe like storm of thorns or protection or something. No, it's touch of madness every time. Especially if there are archers nearby.

It was modded to cost 1 gem in cbm, which makes it much less likely to get cast.

Edi November 23rd, 2007 03:48 AM

Re: Really annoying spell scripting issue - Bug?
 
I haven't seen this particular problem in my own games, but that doesn't mean much because I use such difficult research settings that I need to prioritize carefully, therefore this often comes late.

I can add it to the shortlist with a question mark.


All times are GMT -4. The time now is 04:29 PM.

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