The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 09, 2022, 07:50:28 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  General UQM Discussion (Moderator: Death 999)
| | |-+  Planets Random or Not?
« previous next »
Pages: [1] Print
Author Topic: Planets Random or Not?  (Read 3653 times)
Asrial
Zebranky food
*
Offline Offline

Posts: 35


I love YaBB 1G - SP1!


View Profile
Planets Random or Not?
« on: August 15, 2007, 01:50:23 am »

I read in an old thread that planet resources are random.

Can anyone give me the scoop on this? Is it pointless to list what systems have what?
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Planets Random or Not?
« Reply #1 on: August 15, 2007, 03:10:47 am »

The planets are pseudo-randomly generated from fixed seeds. So the planets are the same every time.
Listing them isn't pointless, but if you're thinking of visiting every one of them to make that list, that would be pointless. It's very easy to have the game itself generate such lists for someone familiar with the code.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Asrial
Zebranky food
*
Offline Offline

Posts: 35


I love YaBB 1G - SP1!


View Profile
Re: Planets Random or Not?
« Reply #2 on: August 15, 2007, 04:41:43 am »

If they're the same every time, how is there any amount of randomness in it?
Logged
0xDEC0DE
*Many bubbles*
***
Offline Offline

Posts: 175



View Profile WWW
Re: Planets Random or Not?
« Reply #3 on: August 15, 2007, 06:28:57 am »

See here for an explanation:

http://en.wikipedia.org/wiki/Pseudorandom_number_generator#Periodicity
Logged

"I’m not a robot like you. I don’t like having disks crammed into me… unless they’re Oreos, and then only in the mouth."  --Fry
Asrial
Zebranky food
*
Offline Offline

Posts: 35


I love YaBB 1G - SP1!


View Profile
Re: Planets Random or Not?
« Reply #4 on: August 15, 2007, 07:10:32 am »

*glazes over the link*
Logged
Valaggar
Guest


Email
Re: Planets Random or Not?
« Reply #5 on: August 15, 2007, 09:44:23 am »

See here for which minerals correspond to which planet types.
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Planets Random or Not?
« Reply #6 on: August 15, 2007, 09:59:25 am »

If they're the same every time, how is there any amount of randomness in it?
"Pseudo-" means that it's not what it seems to be. Pseudorandom numbers aren't random, they're deterministically generated (usually from a seed value (which can be stored to repeat the sequence, as when generating planets in UQM). They just look random, even to the point of fooling some statistical tests. Roughly speaking, the better the pseudorandom generator, the harder it is to find any pattern to its output.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Death 999
Global Moderator
Enlightened
*****
Offline Offline

Gender: Male
Posts: 3868


We did. You did. Yes we can. No.


View Profile
Re: Planets Random or Not?
« Reply #7 on: August 15, 2007, 03:52:07 pm »

In short, it was randomly generated once when they wrote the game. That aspect is more important than its pseudorandomness.
Logged
Asrial
Zebranky food
*
Offline Offline

Posts: 35


I love YaBB 1G - SP1!


View Profile
Re: Planets Random or Not?
« Reply #8 on: August 15, 2007, 08:28:26 pm »

Okay, I think I got you.

Each time you start a new game, the planets are going to be the same (with regards to planet X always having a stockpile of gold and life, as an example).

It was when they MADE the game that this attempt at randomness was done.

..and I like making my own list because it gives the game that feeling of exploration.
Logged
Davey Yungblud
*Many bubbles*
***
Offline Offline

Gender: Male
Posts: 111


Scum? I don't think so. "Master" is more like it.


View Profile
Re: Planets Random or Not?
« Reply #9 on: August 15, 2007, 10:37:22 pm »

Well what good will that do you when the....er....nevermind Azn;;.
Logged

"The Kohr-Ah are welcome in my galaxy any day --  it's those damned creepy Arilou that I worry about...opening portals to God-knows where and gaining perverse pleasure from manipulating the affairs of non-IDF beings...total smegheads they are." -Emperor Volusianus of the Empire of Volusianus.
guesst
Enlightened
*****
Offline Offline

Gender: Male
Posts: 692


Ancient Shofixti Warrior


View Profile WWW
Re: Planets Random or Not?
« Reply #10 on: August 16, 2007, 01:12:17 am »

I've never thought about it, but really we're talking about procedurally generated content. However SC2 wa made ages before procedurally generated became a buzzword. Way to go Paul Reiche III!
Logged

A new game and it's code each week. Please visit Cymon's Games
MageKing17
Zebranky food
*
Offline Offline

Posts: 5



View Profile
Re: Planets Random or Not?
« Reply #11 on: August 16, 2007, 01:23:58 am »

It's not really that surprising, procedural generation was quite common, way back, because they didn't have the space to store all that data. Elite, for example, was perfectly capable of procedurally generating any number of galaxies (the game was originally going to have 2^48... Acornsoft decided this was slightly ridiculous and would make the artificiality of the game blindingly obvious, so it was limited to 8).
« Last Edit: August 29, 2007, 08:47:28 pm by MageKing17 » Logged
waywardoctagon
*Many bubbles*
***
Offline Offline

Gender: Female
Posts: 142


More information...


View Profile
Re: Planets Random or Not?
« Reply #12 on: August 16, 2007, 08:59:18 am »

*nod*

And it would be sort of a waste to actually go through and decide on the number, type, and size of minerals for each planet individually, when it wouldn't have a big effect on gameplay (unless you did something like putting all the mineral-rich planets really close, or really far away).  Much easier and more efficient to have the program itself do that part.
Logged
Valaggar
Guest


Email
Re: Planets Random or Not?
« Reply #13 on: August 16, 2007, 10:07:12 am »

And if you're just looking for the richest planets, see the Role Playing Resource Guide, page 3 through 20.
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Planets Random or Not?
« Reply #14 on: August 16, 2007, 11:28:33 am »

Practically all the solar system data (with the exception of plot-relevant stuff) is procedurally generated. Even the graphics for the planets' surfaces (with the exception of Earth) are procedurally generated. However, the HyperSpace map (star types, positions, names, aliens) is hard-coded into the game.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!