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

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old November 13th, 2007, 12:59 AM

konming konming is offline
Second Lieutenant
 
Join Date: Sep 2007
Posts: 525
Thanks: 17
Thanked 17 Times in 10 Posts
konming is on a distinguished road
Default Re: Spell usage for melee units with magic

AI is too stupid to do what you want. If you let it attack, it will not cast spells under any circumstances. If you do not give it orders, it will cast (presumably stupid) spells but not attack.
Reply With Quote
  #2  
Old November 13th, 2007, 01:44 AM

CUnknown CUnknown is offline
Captain
 
Join Date: May 2004
Posts: 947
Thanks: 1
Thanked 0 Times in 0 Posts
CUnknown is on a distinguished road
Default Re: Spell usage for melee units with magic

Usually this isn't so much a big deal, at least for me, though.. because you either want your guy casting a few buffs and then attacking for the rest of the time, or you want him to sit back and cast the whole time. I guess maybe for a few cases I can see wanting to attack, then cast, then attack.

It would be cool if we could script out like 10 commands in a row, but normally for me 5 is enough.
Reply With Quote
  #3  
Old November 13th, 2007, 03:59 AM

Sir_Dr_D Sir_Dr_D is offline
Second Lieutenant
 
Join Date: Oct 2006
Location: Winnipeg, Canada
Posts: 566
Thanks: 8
Thanked 9 Times in 7 Posts
Sir_Dr_D is on a distinguished road
Default Re: Spell usage for melee units with magic

Don't script the final, continuous order. The combatant will randomly attack or cast spells, which can be amusing to watch.
Reply With Quote
  #4  
Old November 13th, 2007, 04:52 AM
OmikronWarrior's Avatar

OmikronWarrior OmikronWarrior is offline
Sergeant
 
Join Date: Apr 2007
Location: Texas/Ohio
Posts: 363
Thanks: 11
Thanked 72 Times in 21 Posts
OmikronWarrior is on a distinguished road
Default Re: Spell usage for melee units with magic

Quote:
Sir_Dr_D said:
Don't script the final, continuous order. The combatant will randomly attack or cast spells, which can be amusing to watch.
I think it will default to spell casting though, unless he's adjacent to an opponent.
Reply With Quote
  #5  
Old November 13th, 2007, 06:29 AM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Re: Spell usage for melee units with magic

You could try attackx5 then cast spells. Once in melee they only have a certain probability of being able to cast spells, but they will at least try.
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
  #6  
Old November 13th, 2007, 06:47 AM
Tharsonius's Avatar

Tharsonius Tharsonius is offline
Corporal
 
Join Date: Nov 2007
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Tharsonius is on a distinguished road
Default Re: Spell usage for melee units with magic

What is the best way to use Soul Vortex? I read somewhere that it is a good spell for a SC, but have no idea how to make a SC use it.
Reply With Quote
  #7  
Old November 13th, 2007, 08:56 AM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: Spell usage for melee units with magic

Soul Vortex is a continuing spell. It's a buff. Script it, then attack. Every round it sucks life from enemies (everyone?) around the caster and transfers it too him.


With solo SCs I've had some success with scripting a couple buffs, attack, attack then cast spells. Once the enemy reaches them, they'll sometimes attack and sometimes cast those cool short range AE spells, shockwave, immolation, whatever. Fire or water bless pretenders work well for that.
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:23 PM.


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