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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old October 27th, 2009, 09:03 PM
Mysterio's Avatar

Mysterio Mysterio is offline
Corporal
 
Join Date: Aug 2009
Location: Wesley Chapel, FL
Posts: 81
Thanks: 56
Thanked 0 Times in 0 Posts
Mysterio is on a distinguished road
Default Re: Using Gems in Combat and Holding Positions

Quote:
Originally Posted by thejeff View Post
He should have been able to cast Flaming Arrows.
There have been other reports of problems with Flaming Arrows in particular. I think one suggestion is that he won't cast if none of the archers are in range yet.

You turn on debug by passing a "-d" (or some number of d's. The more the more info) to dom3. I use Linux, so I just run it from the command line. On Windows you can do it from Start->Run, or by editing the properties of a shortcut. The debug output goes to a file called log.txt.
It won't interfere with a MP game. You can just watch the battle and it will log the debug info as it recalculates what happens.
All my Longbowmen were within range before he had the chance to cast Flaming Arrows, so that can't be it.

Here's the debug log info for the mage who was scripted to cast Flaming Arrows as his first spell, but cast Personal Luck instead:

Quote:
com Radan cast spell (favspell Flaming Arrows) (mayusegems 0)
est. choices 39
best spell so far Fire Flies (score30)
best spell so far Twist Fate (score137)
best spell so far Earth Might (score393)
best spell so far Personal Luck (score895)
Fireshield start 0
Fireshield b 70
Fireshield b 70
Fireshield end 92
castspell: cnr48 spl340 (Personal Luck) vis0 x7 y16 spldmg2
I'm assuming the "mayusegems 0" means he's not able to use gems, which doesn't make any sense.

During the same battle, a similar thing happened to my Astral-3 mage who was scripted to cast Anti-Magic as his first spell. He had astral pearls on him, but didn't cast it. Here's his debug info:

Quote:
com Wossan cast spell (favspell Antimagic) (mayusegems 0)
est. choices 27
best spell so far Twist Fate (score108)
best spell so far Earth Might (score300)
best spell so far Personal Luck (score621)
castspell: cnr110 spl340 (Personal Luck) vis0 x7 y14 spldmg2
None of this makes sense.
Reply With Quote
 

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 02:36 AM.


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