Pages: [1]
|
|
|
Author
|
Topic: Random Planets & Resourse (Read 3932 times)
|
Wingnut
Zebranky food
Offline
Gender:
Posts: 7
Watch out! Alien-o-philia spreading...
|
Hello! I'm a new on forum, 9 years in SC2, just love planet&galaxy exploration, and got a question: As far as I can understand (I don't know C or C++ ), star chart is set in plandata.c, and acording to Fred Ford, number of planets/moons and minerals location on each generated on the seed of star destination. So they are, in fact, fixed. The question is, how can I randomize them? Must I change star chart a liitle? Yes, I seached the forum, and still doesn't understand that. Dear ALL, answer to me please.
|
|
|
Logged
|
“You don’t need a reason to help people.” (c) Zidane, FF IX
|
|
|
meep-eep
Forum Admin
Enlightened
Offline
Posts: 2847
|
To change the planets, moons, and minerals, you can probably just modify the initial seed (just adding 1 to them for instance would give completely different results). If you want to decouple them all from the same seed, and make them more random, you would need to store your choices for your seeds (or all choices themselves) in the savegame itself. Which would be a problem if you don't know C. An added problem, even if you'd just change the seed, would be that for the special locations, existing planets are just modified. This will go wrong if by chance there aren't as many planets (so for instance changing planet 3 when there is only one planet). Note that this is all theoretical, based on what I know of the source. I haven't actually tried it.
|
|
|
Logged
|
“When Juffo-Wup is complete when at last there is no Void, no Non when the Creators return then we can finally rest.”
|
|
|
youBastrd
Frungy champion
Offline
Gender:
Posts: 67
It's real velour, just let yourself go.
|
Howdy, I'm new to this forum as well. Welcome to us both
I've been working on a side project, Star System Editor, for a good while now. It's written in Java. The goal is to be able to edit star systems, manipulating things like stars, planets, and moons, and export in an easily read format. It'll likely be open source soon, so if you don't like the output format or want to add another type of cestial object to edit, you should be able to without problem. Hopefully, you'll be able to place things like ships, starbases, comets, and dust clouds; and be able to edit each of their attributes.
Project Homepage http://publish.uwo.ca/~pjforest/timewarp.html
Discussion thread http://dynamic.gamespy.com/~timewarp/ikonboard/ikonboard.cgi?s=3ee5bbd5427cffff;act=ST;f=13;t=14
|
|
|
Logged
|
|
|
|
|
|
Death 999
Global Moderator
Enlightened
Offline
Gender:
Posts: 3873
We did. You did. Yes we can. No.
|
One solution is to leave systems containing modifications alone, and change the others.
|
|
|
Logged
|
|
|
|
|
|
|
|
Death 999
Global Moderator
Enlightened
Offline
Gender:
Posts: 3873
We did. You did. Yes we can. No.
|
Well, I had some quasi-avoidable delays. Tonight is probably my starting point. Very likely it will be done tomorrow evening (around 2 am GMT the day after tomorrow).
|
|
|
Logged
|
|
|
|
guesst
Enlightened
Offline
Gender:
Posts: 692
Ancient Shofixti Warrior
|
You know. This makes me wonder. What would be the effect of mearly adding a randomize() line using something like the system's timer to the start of UQM? How much would change every time and would minerals move around everytime you reloaded the game?
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
|
|