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

This Month's Specials

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

   







Go Back   .com.unity Forums > Digital Eel > Weird Worlds: Return to Infinite Space > Scenarios and Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old November 14th, 2007, 08:41 PM

mantari mantari is offline
Private
 
Join Date: May 2007
Posts: 38
Thanks: 0
Thanked 1 Time in 1 Post
mantari is on a distinguished road
Default Re: RANDOM GENERATOR PROTOTYPE

Actually, there is something special. Two somethings.

1] Putting the randomizer in haven.ini will ensure that it is that it is always run, yes. But more importantly, it makes sure that it is the first script run (assuming no other strange mods). This makes sure that a random number is seeded, before you rely on it to be used in other scripts.

2] The player won't already have inventory items which will muck up the code, which is based on what lifeforms are randomly placed into their inventory. If you run this code in a different star system, his existing inventory will affect the random number generation, and any lifeforms in his posession will be wiped out.
 

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 05:29 PM.


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