Some information on objects
#3
Jarulf,Mar 16 2004, 02:16 PM Wrote:Finally, and here I am a bit concerned, although I have to check how the game uses the seed in the TC pick function for objects, it will set the chests own seed to a 16 bit random value (based on global object seed). I don't know why this initialization is done, nor why it is done in the way it is. Seems very strange. If this seed is indeed used for picking items and quality, I can possibly see some problems. More to come later when I have checked a few things.
OK, I have thought a bit about this, and although not having time to test it live, it might not be THAT big of a problem. It do limit the possible seeds of a chest some. It also explains why chests are much more non random than for example monsters when it comes to items using the -seed command. They will basically be identical if you spawn map areas (rooms really, a room should be a few screens in size) in the same order. It won't matter in what order you pop the chests, and spawning new units (firing missiles/spells) won't help either. So exiting the game and reentering would be the best to randomize chests the most while still getting the same map. I would guess this might be a left over from previous versions of the game where things, such as seed initialization and item generation worked differently.

Note that for for sparkling chests and all other random tests in the post I described are done using the global object seed, not the individual seed of each object. And the above problem is only for the object using that specific initfn.
There are three types of people in the world. Those who can count and those who can't.
Reply


Messages In This Thread
Some information on objects - by Jarulf - 03-16-2004, 01:25 PM
Some information on objects - by Ruvanal - 03-16-2004, 10:05 PM
Some information on objects - by Jarulf - 03-17-2004, 07:36 AM
Some information on objects - by Jarulf - 03-18-2004, 06:37 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)