.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 March 15th, 2010, 11:40 PM

Debaser8 Debaser8 is offline
Corporal
 
Join Date: Dec 2009
Location: SF, CA
Posts: 182
Thanks: 0
Thanked 3 Times in 3 Posts
Debaser8 is on a distinguished road
Default How often to units deviate from scripts?

My stupid Kinara cast a 100 fatigue wind guide when he was supposed to be holding. He then followed his next order, attack archers, to the letter, which resulted in him becoming mute. How often to commanders deviate from scripts and what can be done to prevent this? He probably shouldn't have had an air gem, but I was hoping he would use it to reduce mistform's cost.
Reply With Quote
  #2  
Old March 16th, 2010, 12:28 AM

Debaser8 Debaser8 is offline
Corporal
 
Join Date: Dec 2009
Location: SF, CA
Posts: 182
Thanks: 0
Thanked 3 Times in 3 Posts
Debaser8 is on a distinguished road
Default Re: How often to units deviate from scripts?

He cast the wind guide instead of charge body, which he had from his copper plate, doh. I wish the AI would take account of fatigue when selecting alternate spells on thugs that are scripted to attack.
Reply With Quote
  #3  
Old March 16th, 2010, 12:32 AM
WingedDog's Avatar

WingedDog WingedDog is offline
First Lieutenant
 
Join Date: Jul 2008
Location: Russia, GMT +3
Posts: 623
Thanks: 117
Thanked 57 Times in 45 Posts
WingedDog is on a distinguished road
Default Re: How often to units deviate from scripts?

In your case I'm pretty sure Kinnara was scripted to 'Hold or cast spells'. Commanders never disobey 'Hold' order.

The most popular reasons for commanders not casting spells they were scripted to are:
1) No targets in range of scripted spell;
2) Commander was scripted to cast a battle enchantment or some spells like returning, and enemy army is too small by AI judgment (a single scout for example).

Edit: Ninjad.
Reply With Quote
  #4  
Old March 16th, 2010, 03:21 AM

13lackGu4rd 13lackGu4rd is offline
First Lieutenant
 
Join Date: Jan 2010
Posts: 712
Thanks: 5
Thanked 40 Times in 32 Posts
13lackGu4rd is on a distinguished road
Default Re: How often to units deviate from scripts?

as for your ogiginal question, how often, generally if your scripting is good than never. however scripting can be faulty for a variaty of reasons: no targets in range, forgot to bring gems to commanders(for spells that require gems that is), already having the effect(such as your charge body example), the enemy being immune to your spell(like scripting cold attacks against an all undead army), etc.
Reply With Quote
  #5  
Old March 16th, 2010, 08:58 AM

Illuminated One Illuminated One is offline
First Lieutenant
 
Join Date: Oct 2008
Location: In Ulm und um Ulm herum
Posts: 787
Thanks: 133
Thanked 78 Times in 46 Posts
Illuminated One is on a distinguished road
Default Re: How often to units deviate from scripts?

The having the effect can also be in place when you only technically have the effect with not enough to benefit.
For example if you script an eagle king (100% shock resistance) to ironskin (-75%) they have 25% shock resistance. Meaning still toast in one hit. But they will ignore any order to cast lightning resistance. Don't know if that's limited to lightning or to units starting with 100%.
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 01:27 AM.


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