.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 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
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:
  #2  
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
  #3  
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
  #4  
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
  #5  
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
  #6  
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
  #7  
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
  #8  
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
  #9  
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
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 12:11 PM.


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