.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
  #21  
Old June 18th, 2009, 04:06 PM

MaxWilson MaxWilson is offline
Major General
 
Join Date: Mar 2007
Location: Seattle
Posts: 2,497
Thanks: 165
Thanked 105 Times in 73 Posts
MaxWilson is on a distinguished road
Default Re: What causes the AI to just die and stop expanding?

Instead of typing "dom3.exe" at the command prompt, type "dom3.exe --comptrn". If you're accessing dom3 through a shortcut on Windows, right-click on the shortcut and select "Properties," and on the window that pops up, on the "Shortcut" tab (which is where it should start out) there's an entry that says "Target:" and has something like "c:\Program Files\Dominions3\dom3.exe" in it. Add " --comptrn" to the end. If you're using Linux it's different, but if you're using Linux you know enough to adapt the procedure anyway.

Now, every time you play a turn in SP, it will generate a file for every computer player that lets you see their empire as if it were a human player's empire, except that for some reason you don't get scouting reports. You can see how many troops they have, what battles they fought against other AIs, what their gem income is, etc.

-Max
__________________
Bauchelain - "Qwik Ben iz uzin wallhax! HAX!"
Quick Ben - "lol pwned"

["Memories of Ice", by Steven Erikson. Retranslated into l33t.]
Reply With Quote
The Following 2 Users Say Thank You to MaxWilson For This Useful Post:
  #22  
Old June 20th, 2009, 11:46 AM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Admin Re: What causes the AI to just die and stop expanding?

Quote:
Originally Posted by iceboy View Post
See chart: I have been playing a single player for some time now and most of the AI's for once are expanding nicely. All except Rlyeh. They were expanding but for the last 100 turns have just flat lined. What causes this? Theories?

My theory is that the AI just hordes everything in the capitol province and just starves itself to death! Thoughts?
If you're seeking stronger and healthier AI opponents for the entire game... I recommend using the map edit commands to provide all of them with at least 1 growth scale. The death scale will hurt AI opponents more than anything by mid and late game. While a human opponent can handle provinces with low/decreasing population the AI will wither and flop like a dying fish. Giving all AI opponents at least 1 growth makes a huge difference and more fun challenge.

I also recommend not playing any maps with water UNLESS using only the AI nations which have the skill to enter water provinces such as EA Argatha; LA Atlantis; etc., . The vast majority of AI opponents have ZERO skill for attacking water provinces which provides a massive advantage for the human player. Once a human player controls a handful of water provinces the vast majority of land AI opponents cannot attack them.


Now if you're seeking a strong knock you off your seat challenge then do the following using map edit commands:

1) Using start location command in the map file setup yourself on the far left middle or far right middle of a land only map.

2) Using start location command in the map file setup EA Niefielheim on the opposite side of the map from where you are starting.

3) Using the scale commands provide EA Niefielheim with +3 Growth; +3 Order; +3 Luck; +1 Productivity. The +1 productivity will help Niefielheim from buying a massive amount of weak independents... not much, but it helps.

4) Using #knownfeature provide the starting location of EA Niefielheim with the magic site called Library. This will allow the AI opponent to research at a more competitive level.


Then play your SP game and watch the graphs as a powerful AI opponent grows in the distance.

Now it's possible you're a veteran SP player and even using the above 4 commands still don't provide the challenge you seek... thus add the following:

5) Using the poptype command add the command into the map file only for the first 50 provinces which surround the capital of EA Niefielheim. This allows more of his troops to be specific from his nation and less stupid weak AI independents.

6) Using the commander command provide EA Niefielheim with 5 or more SuperCombatants... which includes the equipped gear. This will increase its rate of expansion and allow for some interesting late game battles.

7) Using the knownfeature command provide the capital with an additional magic site which may include discounted casting and/or a higher gem income.

8) Using the god command provide EA Niefielheim with a double; triple or quadrapule blessing. Also equip the god with good and/or unique items. I'd recommend using a size_3 or size_4 god for AI opponents which helps keep them from sending their pretender into the arena death match.

9) Provide EA Niefielheim with an extra province or two or three somewhere on the map which has a castle; temple and lab. Add moderate to high level immobile spellcasters which greatly increase its defense. If desired add a few magic sites as well.

10) Using the Allies command provide the a few allies between some AI opponents. I wouldn't recommend having them all as allies unless you've setup a map where you're in the middle.


Using all the directions listed can provide even the most veteran player with a challenge.
__________________
There can be only one.
Reply With Quote
  #23  
Old June 21st, 2009, 03:57 PM

iceboy iceboy is offline
Corporal
 
Join Date: Mar 2004
Posts: 153
Thanks: 0
Thanked 3 Times in 3 Posts
iceboy is on a distinguished road
Default Re: What causes the AI to just die and stop expanding?

Quote:
Originally Posted by MaxWilson View Post
Instead of typing "dom3.exe" at the command prompt, type "dom3.exe --comptrn". If you're accessing dom3 through a shortcut on Windows, right-click on the shortcut and select "Properties," and on the window that pops up, on the "Shortcut" tab (which is where it should start out) there's an entry that says "Target:" and has something like "c:\Program Files\Dominions3\dom3.exe" in it. Add " --comptrn" to the end. If you're using Linux it's different, but if you're using Linux you know enough to adapt the procedure anyway.

Now, every time you play a turn in SP, it will generate a file for every computer player that lets you see their empire as if it were a human player's empire, except that for some reason you don't get scouting reports. You can see how many troops they have, what battles they fought against other AIs, what their gem income is, etc.

-Max
Thanks- Will this ruin my saved game or will I be able to go back?

Also- Where are these files located? Can I play as Ryleh to see what is going on?

Last edited by iceboy; June 21st, 2009 at 04:25 PM..
Reply With Quote
  #24  
Old June 21st, 2009, 04:31 PM

iceboy iceboy is offline
Corporal
 
Join Date: Mar 2004
Posts: 153
Thanks: 0
Thanked 3 Times in 3 Posts
iceboy is on a distinguished road
Default Re: What causes the AI to just die and stop expanding?

Quote:
Originally Posted by MaxWilson View Post
Instead of typing "dom3.exe" at the command prompt, type "dom3.exe --comptrn". If you're accessing dom3 through a shortcut on Windows, right-click on the shortcut and select "Properties," and on the window that pops up, on the "Shortcut" tab (which is where it should start out) there's an entry that says "Target:" and has something like "c:\Program Files\Dominions3\dom3.exe" in it. Add " --comptrn" to the end. If you're using Linux it's different, but if you're using Linux you know enough to adapt the procedure anyway.

Now, every time you play a turn in SP, it will generate a file for every computer player that lets you see their empire as if it were a human player's empire, except that for some reason you don't get scouting reports. You can see how many troops they have, what battles they fought against other AIs, what their gem income is, etc.

-Max
Hmm...I tried this but it says the target is not valid?
Reply With Quote
  #25  
Old June 22nd, 2009, 07:21 PM

MaxWilson MaxWilson is offline
Major General
 
Join Date: Mar 2007
Location: Seattle
Posts: 2,497
Thanks: 165
Thanked 105 Times in 73 Posts
MaxWilson is on a distinguished road
Default Re: What causes the AI to just die and stop expanding?

Quote:
Originally Posted by iceboy View Post
Thanks- Will this ruin my saved game or will I be able to go back?

Also- Where are these files located? Can I play as Ryleh to see what is going on?
I've never tried 'going back,' but from my general knowledge of the way computer programs work I predict that it doesn't alter the state of the saved game, it just generates extra .trn files that let you see what the computer is doing. I.e. 'going back' is a simple matter of starting dom3 without --comptrn and generatinga new turn.

You can't actually *play* as the AI nations because any orders you give as an AI nation get ignored--your .2h file isn't processed. The files are located in the savedgames folder.

-Max
__________________
Bauchelain - "Qwik Ben iz uzin wallhax! HAX!"
Quick Ben - "lol pwned"

["Memories of Ice", by Steven Erikson. Retranslated into l33t.]
Reply With Quote
  #26  
Old June 22nd, 2009, 07:22 PM

MaxWilson MaxWilson is offline
Major General
 
Join Date: Mar 2007
Location: Seattle
Posts: 2,497
Thanks: 165
Thanked 105 Times in 73 Posts
MaxWilson is on a distinguished road
Default Re: What causes the AI to just die and stop expanding?

Quote:
Originally Posted by iceboy View Post
Hmm...I tried this but it says the target is not valid?
Do you have a typo in your command? What command are you using? On my system it is

C:\usr\dominions3\dom3.exe --preexec backup.py --comptrn

[You can ignore the --preexec backup.py part]

-Max
__________________
Bauchelain - "Qwik Ben iz uzin wallhax! HAX!"
Quick Ben - "lol pwned"

["Memories of Ice", by Steven Erikson. Retranslated into l33t.]
Reply With Quote
  #27  
Old June 22nd, 2009, 08:02 PM

iceboy iceboy is offline
Corporal
 
Join Date: Mar 2004
Posts: 153
Thanks: 0
Thanked 3 Times in 3 Posts
iceboy is on a distinguished road
Default Re: What causes the AI to just die and stop expanding?

Quote:
Originally Posted by MaxWilson View Post
Quote:
Originally Posted by iceboy View Post
Hmm...I tried this but it says the target is not valid?
Do you have a typo in your command? What command are you using? On my system it is

C:\usr\dominions3\dom3.exe --preexec backup.py --comptrn

[You can ignore the --preexec backup.py part]

-Max
I went to the windows shortcut "C:\Program Files\dominions3\dom3.exe" and added --comptrn but when I click ok it says invalid target...
Reply With Quote
  #28  
Old June 22nd, 2009, 09:42 PM

MaxWilson MaxWilson is offline
Major General
 
Join Date: Mar 2007
Location: Seattle
Posts: 2,497
Thanks: 165
Thanked 105 Times in 73 Posts
MaxWilson is on a distinguished road
Default Re: What causes the AI to just die and stop expanding?

Quote:
Originally Posted by iceboy View Post
I went to the windows shortcut "C:\Program Files\dominions3\dom3.exe" and added --comptrn but when I click ok it says invalid target...
What does it say now? I'm guessing that you left out the space.

C:\Program Files\dominions3\dom3.exe--comptrn [wrong, will probably give you invalid target]

C:\Program Files\dominions3\dom3.exe --comptrn [right]

We can probably be more help if you tell us what the target is that it's trying to execute--what does Target say now?

-Max
__________________
Bauchelain - "Qwik Ben iz uzin wallhax! HAX!"
Quick Ben - "lol pwned"

["Memories of Ice", by Steven Erikson. Retranslated into l33t.]
Reply With Quote
  #29  
Old June 23rd, 2009, 08:20 AM
Stavis_L's Avatar

Stavis_L Stavis_L is offline
Second Lieutenant
 
Join Date: Sep 2008
Posts: 466
Thanks: 35
Thanked 95 Times in 60 Posts
Stavis_L is on a distinguished road
Default Re: What causes the AI to just die and stop expanding?

Quote:
Originally Posted by iceboy View Post
Quote:
Originally Posted by MaxWilson View Post
Quote:
Originally Posted by iceboy View Post
Hmm...I tried this but it says the target is not valid?
Do you have a typo in your command? What command are you using? On my system it is

C:\usr\dominions3\dom3.exe --preexec backup.py --comptrn

[You can ignore the --preexec backup.py part]

-Max
I went to the windows shortcut "C:\Program Files\dominions3\dom3.exe" and added --comptrn but when I click ok it says invalid target...
Try it with the parameter (--comptrn) inside the quotes. If that doesn't work (or that's what you're doing already) try it outside the quotes. Different programs handle the command line slightly differently.
Reply With Quote
  #30  
Old June 23rd, 2009, 04:43 PM

iceboy iceboy is offline
Corporal
 
Join Date: Mar 2004
Posts: 153
Thanks: 0
Thanked 3 Times in 3 Posts
iceboy is on a distinguished road
Default Re: What causes the AI to just die and stop expanding?

Quote:
Originally Posted by MaxWilson View Post
Quote:
Originally Posted by iceboy View Post
I went to the windows shortcut "C:\Program Files\dominions3\dom3.exe" and added --comptrn but when I click ok it says invalid target...
What does it say now? I'm guessing that you left out the space.

C:\Program Files\dominions3\dom3.exe--comptrn [wrong, will probably give you invalid target]

C:\Program Files\dominions3\dom3.exe --comptrn [right]

We can probably be more help if you tell us what the target is that it's trying to execute--what does Target say now?

-Max
Yep that fixed it I left out the space thanks! The other good news is that Ryleh is finally expanding!
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 02:59 AM.


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