.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 February 20th, 2009, 11:10 PM

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 Beyond the script

Well, I flagged this as a guide but it really isn't one ... yet.

I hope that I becomes a guide about the general usage of mages with the help of players more experienced than me.
It is mostly aimed away from setting up good scripts towards understanding the other mechanics that influence spell casting and strategic setup.
I think when you have your mages ready and know what you are facing it is pretty obvious what to script, also the AI will retain some level of control, even controlling everything after round 5, so generally it's more important to understand how to allocate your resources.
I've added some things that I think I know and asked the questions I deem important.
If you have an answer or addition to this or want to correct me, please do so.



1.) Gem Usage

Gem usage is controlled by the AI - if the AI does not deem the enemy army a thread it won't use gems. But now it gets complicated - how does the AI determine if the enemy is a thread (hp on the field, number of guys, or is there some real estimation of the enemies strength considering things like attack/defense/magical factor - a short sidenote: the coolest thing would be if the battle was played without gem usage first. If that is lost or casualties are high the battle is redone but now with gems. )?

Also I think there are other factors taken into consideration. For example I'd like to use pairs of mages to get nice spell combinations going. However this doesn't work always, the first mages uses his gems, the second does not completely screwing the strategy. Maybe these are just my mistakes but it has happened to me several times and I've been double checking that all requirements are met. I'm really at a loss here.
Friendly fire? Or is the enemy no longer considered dangerous after the first spell? Does the AI prevent the last mage from going unconsicious?

Lastly what should the gems be used for?
I think as there are only three types of battlefield spells (summons, buffs, large area) requiring gems the answers are easily given.
Summons should mostly be used when facing thugs. Large area spells obviously waste their potential. Nature and death seem to be best to tie the thugs up while your mages deal the damage with cheap spells (or make them sleep). Elementals are best used when you can expect them to deal damage. If you can't it probably means your mages can't as well unless they have other paths.
Against armies it's the other way round, 4 fire elementals will be cut down before they deal the same damage as a Flame Storm. If you need to tie the enemy up nature summons are good, though.
Buffs are used when you have a large army present.
What you use is mostly situational.



2.) Resistance

Another thing is that the AI will check for is resistance (if I'm not mistaken). If you are facing an army consisting of poison resistant units only your mages won't cast poison spells.
However this seems to be more or less an all or none thing - in my tests just adding a single unresistant unit to a 100%cr army made the mages cast the scripted niefel flames.

This should be kept in mind when surprising an enemy with resistant troops. Don't go all imune against your enemy's attacks because then the AI will just take over and use something that can hurt you. Sprinkle some units that are not immune into your army and laugh as the 30 AOE 200 fatigue spell kills only the bait.



3.) After the script is done

It's easy to test how a given spell works but it's nigh impossible to simulate any long realistic battles if you don't have the devotion to play against yourself.
So here I, and maybe other newbies as well, are at a loss how to plan battles that go into the twentieth round or longer.
It all comes down to this - how will the AI select spells?
Is fatigue taken into consideration?
Which is the preference for buffs, summons, self-buffs and damage spells?



4.) Targetting

How does the AI select suitable targets?
I've seen the AI act quite weird here sometimes.
Mages buffing themselves with weapons of sharpness is one example. Wtf, why? How to avoid this?
Other things are:
Are low damage big area spell directed at troops with high hp or with low hp given the same troop density?
Are cloud spells directed at slow troops?
What about 100 precision spells?
I'd want my "snipers" to target enemy commanders, but this seems often not to happen. From what I've seen I think they target closer units first?
Also is there a chance that they are aiming at a guy but hit someone else in the same square like missile weapons?



5.) Paths

The important question here is which loopholes do the paths have on the battlefield and how can they be closed in the lab if possible.
Reply With Quote
The Following User Says Thank You to Illuminated One For This Useful Post:
  #2  
Old February 21st, 2009, 02:14 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Beyond the script

If you want to "see" the AI thinking then you can turn on the debug logging function. Or take a look at the game logs here.
http://www.dom3minions.com/~mmdom3/AI_tests/

Those are set to the lowest level of debug setting. Setting it higher wold give you more info (but it makes the logs REALLY big)
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #3  
Old February 22nd, 2009, 11:28 AM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: Beyond the script

small typo: "enemy army a thread"
Reply With Quote
  #4  
Old February 22nd, 2009, 12:40 PM
Lingchih's Avatar

Lingchih Lingchih is offline
General
 
Join Date: Sep 2004
Location: Irving, TX
Posts: 3,207
Thanks: 54
Thanked 60 Times in 35 Posts
Lingchih is on a distinguished road
Default Re: Beyond the script

Well, this may not be much help. In fact, it may not be any help at all. But here goes:

I'm no good with numbers. In fact, almost failed Algebra 2 in high school. But I can judge a battle and what my commanders will do. How do I do this? Because I have played Dominion for like 5 years.

I dunno. It's just intuition now, based on many years of playing the game. I know my mages are going do crazy stuff. I build that into the turn script. If I want them to follow script, I don't give them any gems. They get crazy when they have gems. If I need a specific mage to do a specific thing, then I give him just enough gems to do it, and script it for the first action.

Wow. Longest post in months.
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 06:37 PM.


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