Home   Help Search Login Register  

Author Topic: Ramdomseed?  (Read 540 times)

0 Members and 1 Guest are viewing this topic.

Offline penfolde

  • Members
  • *
  • chaos, disorder and mayhem....my work is done!
Ramdomseed?
« on: 19 Feb 2005, 07:45:25 »
I'm now converting a new new mp map, when i look into the mission file, there is a "randomSeed=9927171;" command, what dose this mean and how do make sure it not going to effect my map? ???


Penfolde

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Ramdomseed?
« Reply #1 on: 19 Feb 2005, 08:51:35 »
OFP provided the ability to use random numbers.  Of course they are not really random, there is a computer algorithm that generates each number from the previous one - they just appear to be random.  

Algorithms like this usually need to have a starting value.  That is what randomSeed is.  There are many ways to cretae the random seed - it could be based on any or all of: time of day and date when the mission was last saved, time since last key stroke etc. etc. or none of the above.

This is all something that the OFP engine does.  I have never editied a map but I would be surprised if randomSeed causes you a problem.

Offline penfolde

  • Members
  • *
  • chaos, disorder and mayhem....my work is done!
Re:Ramdomseed?
« Reply #2 on: 19 Feb 2005, 09:04:47 »
ahhh,

I'll let unknow if it dose.

Pen