.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old March 28th, 2004, 07:21 PM
Grandpa Kim's Avatar

Grandpa Kim Grandpa Kim is offline
Captain
 
Join Date: Jan 2002
Location: Calgary, Canada
Posts: 858
Thanks: 2
Thanked 0 Times in 0 Posts
Grandpa Kim is on a distinguished road
Default Technical question on running turns

I have a question that, possibly, no one but Aaron can answer.

When you run a turn, you generate new .gam, .trn, and .cmb files. If you take the same files (not the newly generated ones!) and run the turn again, will you get exactly the same result?

Now, some things won't change. If you build a mineral miner, the result will be the same in both iterations. One variable, though, is travel routing around damaging storms etc. This could change, minor though it would be. Combat could result in major differences. A few lucky or unlucky shots early in a combat could change the result considerably.

It seems to me that re-running the turn over and over would give slightly different results each time, but I just don't know if that is true.
__________________
Those who can, do.
Those who can't, teach.
Those who can't teach, slag.

http://se4-gaming.net/
Reply With Quote
  #2  
Old March 28th, 2004, 07:47 PM

Baron Munchausen Baron Munchausen is offline
General
 
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Munchausen is on a distinguished road
Default Re: Technical question on running turns

Quote:
It seems to me that re-running the turn over and over would give slightly different results each time, but I just don't know if that is true.
Absolutely. There are many 'pseudo random' factors in the workings of the game. These probably run off the system clock but there are other ways of generating random numbers. So yes, re-running the same turn will always produce slightly different results, and sometimes produce drastically different results.
Reply With Quote
  #3  
Old March 28th, 2004, 09:28 PM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: Technical question on running turns

Yep.
Reply With Quote
  #4  
Old March 28th, 2004, 10:08 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: Technical question on running turns

Not only are Pvk and Baron 100% correct, you can even verify it for yourself GrandPa. Set up a test game and copy the turn to a different folder. Run it, check the results, copy the original files back to the savegame folder run it again and compare.
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #5  
Old March 28th, 2004, 10:21 PM
Grandpa Kim's Avatar

Grandpa Kim Grandpa Kim is offline
Captain
 
Join Date: Jan 2002
Location: Calgary, Canada
Posts: 858
Thanks: 2
Thanked 0 Times in 0 Posts
Grandpa Kim is on a distinguished road
Default Re: Technical question on running turns

You have me so thoroughly convinced, I wonder how I ever doubted it!
__________________
Those who can, do.
Those who can't, teach.
Those who can't teach, slag.

http://se4-gaming.net/
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 09:10 AM.


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