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

This Month's Specials

Air Assault Task Force- Save $8.00
World Supremacy- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old June 13th, 2007, 11:09 PM

DireAussie DireAussie is offline
Corporal
 
Join Date: Oct 2006
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
DireAussie is on a distinguished road
Default Scripting problems/issues - mage went melee!

In a multiplayer game I scripted my magically powerful pretender to cast flame eruption spell. Enemy troops closed in; he got 1 flame eruption off before the enemy got to melee. When this happened, instead of casting this spell my pretender decided to go melee! Thus he was promptly killed off.

I realise that when mages fight battles considered "weak" that they won't use gems or cast spells that use gems. However in this case the spell did not require gems. I see no reason why my pretender went melee considering I had scripted him to do 5 flame eruptions and then cast spells (this was only the 3rd battle round when he went melee). The enemy was in range so he should have cast the spell instead of going melee.

Also, this battle was a special case, "magic nightmare" where you fight soulless. But I dont see why my scripting should not have worked even in this special battle.

I see this as a bug. What is the use of Flame Eruption (range 5) if my mage just goes melee when enemy units are adjacent to him? IMO flame eruption was made for this close combat situation...
Reply With Quote
  #2  
Old June 13th, 2007, 11:47 PM
Taqwus's Avatar

Taqwus Taqwus is offline
Major General
 
Join Date: Aug 2000
Location: Mountain View, CA
Posts: 2,162
Thanks: 2
Thanked 4 Times in 4 Posts
Taqwus is on a distinguished road
Default Re: Scripting problems/issues - mage went melee!

It's difficult to cast spells when somebody's swinging a sword at your head.

Close-combat spells are mostly desperation measures, although a commander that's a competent melee chassis make some use of 'em.
__________________
Are we insane yet? Are we insane yet? Aiiieeeeee...
Reply With Quote
  #3  
Old June 14th, 2007, 04:13 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Scripting problems/issues - mage went melee!

With enemy units in melee range, mages have a 50% chance to engage in melee and 50% chance to follow their script. In case they were scripted to cast a specific spell, they will still follow the script at the next possible chance.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #4  
Old June 14th, 2007, 02:22 PM

djtool djtool is offline
Corporal
 
Join Date: Mar 2004
Location: st. paul MN
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
djtool is on a distinguished road
Default Re: Scripting problems/issues - mage went melee!

i too have found frustration in my current game when my lich (Air3, AS3, D3 - evoc 6 researched) has chosen to engage in melee (with 20 - 40 fatigue) instead of using shockwave or some other close combat spell.
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 07:35 AM.


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