Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
cw4:4rpl_tools [2025/06/30 20:01] – [Pseudo Random Number Generator, based on sinus] kalli | cw4:4rpl_tools [2025/06/30 20:12] (current) – [Pseudo Random Number Generator, based on sinus] kalli |
---|
Difference between the functions: | Difference between the functions: |
* "seeded": provide a seed to the generator. The generated number will always be the same for the same seed. | * "seeded": provide a seed to the generator. The generated number will always be the same for the same seed. |
* "index": these seeds are sequenced. In the same map for the same index, seed 1,2,3,... will be the same after map restart. | * "index": these seeds are sequenced. In the same map for the same index, the generated number 1,2,3,... will be the same after map restart. |
* "spiked": the generator is seeded with the elapsedtime of the gaming session, making the outcome uncontrollable. | * "spiked": the generator is seeded with the elapsedtime of the gaming session, making the outcome uncontrollable. |
* No prefix: these are sequenced seeds and they use index 0. | * No prefix: these are sequenced seeds and they use index 0. |