.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
  #1  
Old November 22nd, 2007, 10:57 PM

Networkingguru Networkingguru is offline
Corporal
 
Join Date: Nov 2007
Posts: 61
Thanks: 1
Thanked 0 Times in 0 Posts
Networkingguru is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old November 22nd, 2007, 11:00 PM
Slobby's Avatar

Slobby Slobby is offline
Sergeant
 
Join Date: Nov 2007
Posts: 397
Thanks: 14
Thanked 15 Times in 10 Posts
Slobby is on a distinguished road
Default Re: Really annoying spell scripting issue - Bug?

http://www.shrapnelcommunity.com/thr...b=5&o=&fpart=1
Reply With Quote
  #3  
Old November 22nd, 2007, 11:06 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: 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.
Reply With Quote
  #4  
Old November 22nd, 2007, 11:20 PM

Networkingguru Networkingguru is offline
Corporal
 
Join Date: Nov 2007
Posts: 61
Thanks: 1
Thanked 0 Times in 0 Posts
Networkingguru is on a distinguished road
Default 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.
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.
Reply With Quote
  #5  
Old November 23rd, 2007, 12:06 AM

Loren Loren is offline
First Lieutenant
 
Join Date: Nov 2006
Posts: 739
Thanks: 1
Thanked 8 Times in 8 Posts
Loren is on a distinguished road
Default 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!
Reply With Quote
  #6  
Old November 23rd, 2007, 02:18 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: 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".
__________________
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
  #7  
Old November 23rd, 2007, 03:16 AM

Networkingguru Networkingguru is offline
Corporal
 
Join Date: Nov 2007
Posts: 61
Thanks: 1
Thanked 0 Times in 0 Posts
Networkingguru is on a distinguished road
Default 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.
Reply With Quote
  #8  
Old November 23rd, 2007, 03:34 AM

Folket Folket is offline
Major
 
Join Date: Sep 2005
Posts: 1,122
Thanks: 5
Thanked 2 Times in 2 Posts
Folket is on a distinguished road
Default Re: Really annoying spell scripting issue - Bug?

How come I have never had this problem?
Reply With Quote
  #9  
Old November 23rd, 2007, 03:48 AM

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: 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.
Reply With Quote
  #10  
Old November 23rd, 2007, 03:48 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default 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.
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:48 PM.


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