.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

BCT Commander- Save $7.00
winSPWW2- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old June 20th, 2005, 09:48 PM
Shmonk's Avatar

Shmonk Shmonk is offline
Second Lieutenant
 
Join Date: Oct 2004
Location: Sacramento, CA
Posts: 436
Thanks: 0
Thanked 0 Times in 0 Posts
Shmonk is on a distinguished road
Default Casting \"greyed\" out spells

Question - in an SP game I had my Pretender enter the water to take a water province, and I thought I scripted him to cast Water Shield and 1 or 2 other buffs before going to attack closest. Now when the turn started, he cast no spells, just ran over and died after taking on 25+ ichtyids.

Now I thought if I had the ability to select a greyed out spell like Water Shield (I was on land at the time), it would still work as I moved to attack a water province. Is this not true?

It's possible I canceled the scripted orders somehow, but wanted to know in general if this was the case.
Reply With Quote
  #2  
Old June 20th, 2005, 10:11 PM

quantum_mechani quantum_mechani is offline
Lieutenant General
 
Join Date: Dec 2003
Location: Alaska
Posts: 2,968
Thanks: 24
Thanked 221 Times in 46 Posts
quantum_mechani is on a distinguished road
Default Re: Casting \"greyed\" out spells

Quote:
Shmonk said:
Question - in an SP game I had my Pretender enter the water to take a water province, and I thought I scripted him to cast Water Shield and 1 or 2 other buffs before going to attack closest. Now when the turn started, he cast no spells, just ran over and died after taking on 25+ ichtyids.

Now I thought if I had the ability to select a greyed out spell like Water Shield (I was on land at the time), it would still work as I moved to attack a water province. Is this not true?

It's possible I canceled the scripted orders somehow, but wanted to know in general if this was the case.
If you script a spell that is meant to be cast underwater, and he goes into battle underwater, he should cast it. The scripts are not evaluated until the battle starts.
Reply With Quote
  #3  
Old June 20th, 2005, 11:06 PM
Shmonk's Avatar

Shmonk Shmonk is offline
Second Lieutenant
 
Join Date: Oct 2004
Location: Sacramento, CA
Posts: 436
Thanks: 0
Thanked 0 Times in 0 Posts
Shmonk is on a distinguished road
Default Re: Casting \"greyed\" out spells

Okay, thanks. I must have somehow canceled my scripted orders then. Darn, I hate losing a Pretender that way.
Reply With Quote
  #4  
Old June 21st, 2005, 01:22 PM
En Forcer's Avatar

En Forcer En Forcer is offline
Corporal
 
Join Date: Feb 2004
Location: SoCal
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
En Forcer is on a distinguished road
Default Re: Casting \"greyed\" out spells

You may have also needed some water gems to cast it. No gems, no dice.
__________________
***

-ef
Reply With Quote
  #5  
Old June 21st, 2005, 02:49 PM

Oversway Oversway is offline
First Lieutenant
 
Join Date: Feb 2005
Posts: 693
Thanks: 0
Thanked 0 Times in 0 Posts
Oversway is on a distinguished road
Default Re: Casting \"greyed\" out spells

Quote:
You may have also needed some water gems to cast it. No gems, no dice.

Having made this mistake before, I find that the AI will usually cast some other spell (usually detrimental if not useless), not just skip the script altogether.
Reply With Quote
  #6  
Old June 21st, 2005, 03:22 PM
Shmonk's Avatar

Shmonk Shmonk is offline
Second Lieutenant
 
Join Date: Oct 2004
Location: Sacramento, CA
Posts: 436
Thanks: 0
Thanked 0 Times in 0 Posts
Shmonk is on a distinguished road
Default Re: Casting \"greyed\" out spells

Yes, I've noticed this in other combats. I'll script the mage to cast Air Shield then 4 Fire Darts, then Cast Spells. But when I see the battle, they cast Air Shield, then Fire Shield, then some other buff, then the Fire Darts. And here I am attacking a province with maybe 10 other units, taking on a group of 40, and I want the fire darts to soften them up. But it didn't happen.

So I guess the AI modified my script to account for the "overwhelming" force of the AI? hehehe

It's good to hear that about the underwater attack. I do remember going back in to check his scripted orders, and I must have blanked them out by accident and forgot to redo them.

Now, I have to Call God with my 1 priest (as I recruit 2 or 3 more to help out). -sigh-
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 07:24 AM.


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