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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old November 2nd, 2000, 09:44 PM

greghacke greghacke is offline
Corporal
 
Join Date: Oct 2000
Location: Columbus, OH, USA
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
greghacke is on a distinguished road
Default Re: Repeat Galaxies

In coding, I usually fudge the random sequence. A good trick for you coders out there...

Seconds since arbtrary time * Day of the week (1=Monday or what ever you want) * Week of the year

Following this random seed, it takes decades of gaming to get the same number. I even toss in a fourth multiplier. (the Last 4 digits of the machine's processor ID)
Reply With Quote
 

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 07:46 PM.


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