.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 > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old July 22nd, 2008, 05:47 PM

LordChance LordChance is offline
Private
 
Join Date: Jul 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
LordChance is on a distinguished road
Default Questions about AI preformance and bettering it...

Hello I'm a dominions nub, whose been lurking around the forum for a few weeks now...

After reading most of the topics about the subject I wonder if there is anything we can do to improve how units are:



1: Using spells and other abilities, for example I gave the AI a couple of really OP SC which mostly fling around low level spells (that is when they where not researching in the capitol) when they could seriously own in close combat...perhaps a way to downprioritize magic ?

I have heard hints of an #order command how is it used or a myth ? Bogus and crew for example seem pretty scripted...



2: Better Independents Mod really makes the AI train better armies (for some nations) have anyone tried going a step further and remove some of the spam troops from the available units for nations with good elite/semi elite units ?




3: Is there a list of available map commands anywhere ? I've been looking (might be blind) but the best so far has been poking around in maps


4: Been poking around with the #allies map command can it be used to create bigger alliances then 2 players and if so how should it be used to do so...(interested lots of AI vs few players)


5: Is there any debug/testing mod that can be used to let the AI play say a 100 turns against each other and then check their progress ? Or just spies and long testing sessions ?



Greatful for any assistance...trying to build a 3 human + 18 AI map that can challange me and my brothers without rediculous AI handicap of highest difficulty and max crowding...

/LordChance...
Reply With Quote
  #2  
Old July 22nd, 2008, 06:05 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: Questions about AI preformance and bettering it...

There is a pdf document that came with the game in the dominions3/docs directory.

Here is a quicky reference list
http://www.dom3minions.com/docs/map_qref.txt

There is a more up to date map commands manual being done by Edi
__________________
-- 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 July 22nd, 2008, 06:06 PM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Questions about AI preformance and bettering it...

1) There is no #order command, it has been in wishlists as a feature request, but it does not exist. There is also no way to downprioritize magic without modding spells to have greater casting cost or removing certain spells. AI mages always cast spells, they never melee by choice.

2) Not done. The Conceptual Balance Mod (CBM for short) alters a lot of things, but nobody has done a similar modification of national unit lists.

3) The mapedit.pdf in the Dominions3/doc folder will tell you map commands. The document is fairly barebones, but there will be a more detailed one in the next patch.
Reply With Quote
  #4  
Old July 22nd, 2008, 06:11 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: Questions about AI preformance and bettering it...

My Poke in the Eye maps is re-randomized each day and uses many of the map commands.
http://www.dom3minions.com/RandomMaps/Poke_Eye_v35.zip

The SemiRandomizer is a great program for using map commands to create logical provinces (if it has a site for getting mages, then mages should guard it)
http://www.shrapnelcommunity.com/thr...v=1#Post617649
http://www.dom3minions.com/~semirand/
__________________
-- 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
  #5  
Old July 22nd, 2008, 06:16 PM

LordChance LordChance is offline
Private
 
Join Date: Jul 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
LordChance is on a distinguished road
Default Re: Questions about AI preformance and bettering i

Thx wow I've gotten so used to never looking in the manuals who could think that there is useful information there ...there goes the idea to actually make the AI pretenders good for something ...well at least the uber pretenders will be fun to watch (and try to beat) in the first death match and utter terrors in capitol seiges

Guess no one has found a way to make the AI use its pretender in any useful manner then since it seems to stay with it in the capitol even when assigned no magic at all such as a Wyrm/Awe build etc...

Yep its great gandalf already poking through the eye at full speed

...well seems like I will have to try to go through the worst national troops and mod away a few crap lvl 0 spells

/LordChance...
Reply With Quote
  #6  
Old July 22nd, 2008, 06:18 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: Questions about AI preformance and bettering it...

There are various threads about affecting the AI.

Yes you can create mega-alliances. Setting an #allies command turns on attack protection. Having multiple nations protected from a nation does not cause it to turn off one to set another. They are all in affect as far as I know.

Setting unrest levels above 100 might cause the AI to not try to build troops there. I havent tested it yet.

Turning down resources in the game will rob the AI of much build capability outside of its castle. OF course that also will affect you.

The best improvement for the AI tends to be using the map commands to force the AI to not be so random in its selection of gods and scales. The SemiRand program does some of that but you can also do it manually by adding the commands to a map. You can do it even more manually by starting the game as human for all nations, give each one reasonable pretender and scales, then set it to AI.
__________________
-- 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
  #7  
Old July 22nd, 2008, 06:27 PM

LordChance LordChance is offline
Private
 
Join Date: Jul 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
LordChance is on a distinguished road
Default Re: Questions about AI preformance and bettering i

Turning down resources seems to be directly counter productive since most elite troops are alot more resource intense then money intense...and you can kill any amount of chaff with the right strat, elites are more interesting

Ye been looking at the stuff from semi random and implemented a number of builds that would set a human player at -points....seems to be working for some nation perhaps some are just lost causes

Well there seems to be alot to work through in the map commands and I got some new ideas

cheers

/LordChance
Reply With Quote
  #8  
Old July 27th, 2008, 07:14 AM

LordChance LordChance is offline
Private
 
Join Date: Jul 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
LordChance is on a distinguished road
Default Re: Questions about AI preformance and bettering i

Followup and new questions...

After running about a dozen test games (3 of them 3 player multi games with 20 AI for added mayham) with diffrent tweaks I found that most nations can be forced to produce alot better armies. As an example my brother did force restart one game after being seriously wiped by a knight/longbow army from Man. But it wont work in the long run due to the AI's build policies yet a potent boast in early game to midgame.

Yet it seems only the armies with one good higher gold then resource and one good high resource unit gets a really good mix as ulm and other nations just spam out their 10-15/20ish
units which while potent in mass in the first year or two kinda has no long time use. I assume they first buy their basic infantry say 20-40 and then choke on the resource cost...a fix that comes to me as I write is increasing the capitol resource cap by adding resources to capital sites must test that one.

So to the questions.
1: Is there anything told by the makers of the game how the AI prioritize unit buys ? (Im thinking of ways to encourage buying capitol only mages and heavy cavalry/sacreds for example..without to radical changes)

Would be interesting for example if it is biased towards building units in the capital if so giving it enought resources to build for most of the money the AI will recive would be a fix for units but not mages...

2: Poptypes for map commands, while nice and so are there anyway to affect what units are in a poptype ? (I guess not since BI takes the route it does with limiting units)

3: Since I asume the above is a no no, I've been replacing some of the units in diffrent poptypes with better working units removing units such as militia for longbowmen and heavier infantry and it works well but when I try to change commanders/priests/mounted commanders and such for units with any magic they do not recive it. Anyone know what I'm doing wrong generally I just run #selectmonster XXX (random independant commander) #copystats #copyspr
sometimes adding #magicskill X X for some custom magic.

4: Is there anyway to make a timed event ? Something that will happen turn X ? Never heard anything like it so I assume no but there has been something like it in every game I've modded so why not ask

/cheers Lord Chance...who intends to make some good AI opposition whatever the cost
Reply With Quote
  #9  
Old July 27th, 2008, 09:25 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Questions about AI preformance and bettering i

Have you tried changing the resource setting from new game creation, or starting games in which RanDom has given the AI better-designed pretenders?
Reply With Quote
  #10  
Old July 27th, 2008, 10:12 AM
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: Questions about AI preformance and bettering i

Quote:
LordChance said:
Followup and new questions...
a fix that comes to me as I write is increasing the capitol resource cap by adding resources to capital sites must test that one.
That was why I recommended turning down the resources. I know it seems reversed but since castles draw resources from neighboring provinces it means that only castles would tend to have the resources needed for large armies. Therefore most of the armies would come form locations like home capitals.

Quote:
1: Is there anything told by the makers of the game how the AI prioritize unit buys ?
Lots of interesting stuff can be learned by using the -d commandline switch to turn on debugging to a log. Like the order things are done in the game, how it handles stealth, or selection of mage spells, or ordering troops. Such as, a snippet from the start of a game would be like this...
Code:

host: buildarmies
new com Astrologer in Arcoscephale (3736)
new unit Hypaspist in Arcoscephale (45071) for player 27
new unit Hypaspist in Arcoscephale (45072) for player 27
new unit Hypaspist in Arcoscephale (45073) for player 27
new unit Hypaspist in Arcoscephale (45074) for player 27
new com Slayer in Abysia (3737)
new unit Abysian Infantry in Abysia (45076) for player 8
new unit Abysian Infantry in Abysia (45077) for player 8
new unit Abysian Infantry in Abysia (45078) for player 8
new com Manflayer in Sauromatia (3738)
new unit Sauromatian Amazon in Sauromatia (45287) for player 4



Quote:
Would be interesting for example if it is biased towards building units in the capital if so giving it enought resources to build for most of the money the AI will recive would be a fix for units but not mages...
It would fix some and break others. Some nations are meant to rely on indepts for basic troops. But it would make a different game and possibly an overall better game against AIs

Quote:
2: Poptypes for map commands, while nice and so are there anyway to affect what units are in a poptype ? (I guess not since BI takes the route it does with limiting units)
Only by using MODs. And you have to be careful since some indept populations overlap units with some nationals.

Quote:
3: Since I asume the above is a no no, I've been replacing some of the units in diffrent poptypes with better working units removing units such as militia for longbowmen and heavier infantry and it works well but when I try to change commanders/priests/mounted commanders and such for units with any magic they do not recive it.

Dont know the answer to your magic question. But map commands can give provinces mages. At least with the initial defenders. Check out "Poke in the Eye" map for some extremes,
http://www.dom3minions.com/downloads.htm
or the SemiRandom program for some more logical additions to maps.
http://www.dom3minions.com/~semirand/

Quote:
4: Is there anyway to make a timed event ? Something that will happen turn X ? Never heard anything like it so I assume no but there has been something like it in every game I've modded so why not ask
It depends on the timed event you have in mind. Many could be simulated with some creative modding. But it is untested ground.
__________________
-- 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
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 10:26 AM.


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