.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 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old January 27th, 2004, 06:28 PM
Kristoffer O's Avatar

Kristoffer O Kristoffer O is offline
General
 
Join Date: Aug 2003
Location: Sweden
Posts: 4,463
Thanks: 25
Thanked 92 Times in 43 Posts
Kristoffer O is on a distinguished road
Default Re: Dissapointed

Quote:
Originally posted by Strages Sanctus:

--Number of targets hurting me
--Are the troops I am about to target immune to this type of spell damage?
--How many of the attacking enemey troops will I hit with this spell.
--Will it hurt me if I am in the AOE of the spell?
--How many friendlies will be hurt by this spell?
--Armor of troops attacking me
--Is the spell I am about to use more efficient at damaging or penetrating armor.
-- how much will thi spell fatigue me? will I go unconcious if I cast this spell.

The AI does consider these things with the possible exception of AOE. Which of the above do you believe the AI must rate as more or less important a factor and in what cases?

The placement of AOE>1 is randomized and thus difficult to calculate regarding risk to your self.
__________________
www.illwinter.com
Reply With Quote
  #2  
Old January 27th, 2004, 06:32 PM
Arryn's Avatar

Arryn Arryn is offline
Major General
 
Join Date: Jan 2004
Location: twilight zone
Posts: 2,247
Thanks: 0
Thanked 0 Times in 0 Posts
Arryn is on a distinguished road
Default Re: Dissapointed

Lest J & KO think that I'm being highly critical of their work, I'd like to take a moment to thank them for what I know is the monumental task they've done in creating what is arguably the best AI of any strategy game I've played (HttR has a very good AI as well, perhaps even better, but it's a different style of game and an argument can be made that it's not as complex a game as Dom 2). Sure, the AI in Dom 2 needs some work. It has its quirks. But if it wasn't already a very good AI, we wouldn't all be so fond of this game as we are. And you cannot please everyone, no matter how hard you try. If IW had the manpower and money that some other dev shops do, one can only wonder what truly incredible things they could accomplish. (As long as some idiots like Atari didn't buy them out and then kill their projects.)

Some of us also appreciate that every minute you spend reading (and replying to) our postings here is time we've taken away from your being able to enhance the game. Or having a personal life.

Once again, thank you for giving us such a fine game.
__________________
Visit my Dominions II site
Reply With Quote
  #3  
Old January 27th, 2004, 06:40 PM
Arryn's Avatar

Arryn Arryn is offline
Major General
 
Join Date: Jan 2004
Location: twilight zone
Posts: 2,247
Thanks: 0
Thanked 0 Times in 0 Posts
Arryn is on a distinguished road
Default Re: Dissapointed

Quote:
Originally posted by Kristoffer O:
quote:
Originally posted by Strages Sanctus:

--Number of targets hurting me
--Are the troops I am about to target immune to this type of spell damage?
--How many of the attacking enemey troops will I hit with this spell.
--Will it hurt me if I am in the AOE of the spell?
--How many friendlies will be hurt by this spell?
--Armor of troops attacking me
--Is the spell I am about to use more efficient at damaging or penetrating armor.
-- how much will thi spell fatigue me? will I go unconcious if I cast this spell.

The AI does consider these things with the possible exception of AOE. Which of the above do you believe the AI must rate as more or less important a factor and in what cases?

The placement of AOE>1 is randomized and thus difficult to calculate regarding risk to your self.

In order ...

--Are the troops I am about to target immune to this type of spell damage?
(if the target is immune, there is no point to casting the spell)

--how much will this spell fatigue me? will I go unconcious if I cast this spell.
(if the caster is in imminent danger, making the situation more dire is a bad idea)

--Will it hurt me if I am in the AOE of the spell?
(only consider hurting self if you can destroy appreciable numbers of foes, I'll leave it to others to argue over what's 'appreciable')

--How many friendlies will be hurt by this spell?
(never cause more than, say, 1/4 remaining damage to friendlies unless you are assured of victory by wiping out the opposition. no one enjoys pyrrhic victories)

--Number of targets hurting me
(if you are being hit by six enemies, casting a spell that only hurts one of them, and won't even kill that one, is silly)

--How many of the attacking enemey troops will I hit with this spell.
(see earlier comments)

--Armor of troops attacking me
--Is the spell I am about to use more efficient at damaging or penetrating armor.
__________________
Visit my Dominions II site
Reply With Quote
  #4  
Old January 27th, 2004, 06:43 PM

Coffeedragon Coffeedragon is offline
Corporal
 
Join Date: Jan 2004
Location: Vienna, Austria
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Coffeedragon is on a distinguished road
Default Re: Dissapointed

Quote:
Originally posted by Lord_Devi:
I should definatly be able to take more control over them - the AI just isn't capable of using it's magic to it's full potential.
More control would be bad for SP, I believe -it would make computer opponents even weaker.

Even improvements on the spellcasting AI would not be without setback entirely -I think Magic vs. Might in Dom2 is already a little bit too much on the side of Magic.
Reply With Quote
  #5  
Old January 27th, 2004, 07:02 PM

Strages Sanctus Strages Sanctus is offline
Sergeant
 
Join Date: Jan 2004
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
Strages Sanctus is on a distinguished road
Default Re: Dissapointed

First let me say: Great work so far guys; AI programming is the holy grail of gaming.
Let me add, there is always room for improvement .

Most important to least important:


1. Are my targets immune to this damage type? (if yes ignore this spell)

2. Do I have any spells I can cast that my targets are especially vulnerable to? (examine these first)

3. Do I have any AOE spells I am immune/resistant to but my enemies are succeptible to? (this should be chosen over AOE spells that I am not immune/resistant to)

4. How many IMMEDATE threats can potentially be eliminated with this casting.
4.1. Area of the spell
4.2. Damage potential
4.3. Armor penetration potential
(focus on damage/AOE for light armor enemies)

5.Consider fatigue impact. By this I mean you can come up with a fatigue to damage potential ratio.... The most efficient spell should be used.
Discount any spell that will make me go unconcious.

6. Will friendlies be hurt?


This is where things start getting recursive; and very difficult to weight. I don't envy your task at all .

7. Will the potential number of surviving enemies attacking me be capable of killing me next round?
7.1 Can I remove myself from danger without fleeing the battle? (hard to calculate I guess)
7.2 Can I protect myself from the ensuing potential damage?

8. Can I cast 2 spells a turn? Can I augment my abilities before considering which offensive spell to cast?


Thanks for reading, considering and communicating with your customers.

[ January 27, 2004, 17:06: Message edited by: Strages Sanctus ]
__________________
Regno Dominatio
Reply With Quote
  #6  
Old January 27th, 2004, 07:08 PM

IKerensky IKerensky is offline
Corporal
 
Join Date: Jan 2004
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
IKerensky is on a distinguished road
Default Re: Dissapointed

Johan, did idea of a spellbook list went into developpers ?

What was the pros/cons against it ?

I think it could probably solve 9 out of 10 problems with the current casting as you can easily switch you caster spell selection considering the opposition expected and avoid many of the IA mistake....

Any luck of it making way into Dom III ?
Reply With Quote
  #7  
Old January 27th, 2004, 07:08 PM
Kristoffer O's Avatar

Kristoffer O Kristoffer O is offline
General
 
Join Date: Aug 2003
Location: Sweden
Posts: 4,463
Thanks: 25
Thanked 92 Times in 43 Posts
Kristoffer O is on a distinguished road
Default Re: Dissapointed

>Originally posted by Arryn:
>In order ...

>--Are the troops I am about to target immune to this type of spell damage?
(if the target is immune, there is no point to casting the spell)

The AI does not use spells that the enemies are immune to. Anyhting suggesting otherwise might be a bug and should be reported.

>--how much will this spell fatigue me? will I go unconcious if I cast this spell.
(if the caster is in imminent danger, making the situation more dire is a bad idea)

The AI casts less exhaustive spells if nearly unconscious, but it follows your script, unless there is strong reason not to (immune enemies, out of range etc). The issue of following scripts is a difficult one. Players dislike when the AI overrides scripting, but also dislike when the AI follows their orders and cast spells that inevitably will damage friends.

>--Will it hurt me if I am in the AOE of the spell?
(only consider hurting self if you can destroy appreciable numbers of foes, I'll leave it to others to argue over what's 'appreciable')

Not sure to what extent this is calculated.

>--How many friendlies will be hurt by this spell?
(never cause more than, say, 1/4 remaining damage to friendlies unless you are assured of victory by wiping out the opposition. no one enjoys pyrrhic victories)

In one spell? What is assured victory?

>--Number of targets hurting me
(if you are being hit by six enemies, casting a spell that only hurts one of them, and won't even kill that one, is silly)
>--How many of the attacking enemey troops will I hit with this spell.
(see earlier comments)
>--Armor of troops attacking me
>--Is the spell I am about to use more efficient at damaging or penetrating armor.

The AI sums up the probable dmg dealt to the enemies and this includes dmg, penetration, targets, distance etc. Targets close by are more likely to be targeted as they ar percieved as possible threats.

I rephrase my question. Which of the above do you believe the AI doesn't give enough importance.
Every possible spell is given a 'preference factor' when a mage is about to cast a spell (this is what takes time during battle replays if you have done a great deal of research). The spell and target with the highest 'preference factor' is cast.
So which of the criteria is not given enough influence on the 'preference factor' of a spell. What kind of spells are cast too much or too little and under what circumstances?
__________________
www.illwinter.com
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 03:43 AM.


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