- Joined
- Mar 10, 2009
- Messages
- 213
I used those
and
to get random seed during cinematics.
Now they don't seem to work any more =( Does anyone have a viable replacement option?
Note: I disabled fixed values in WorldEdit, so that's not the issue.
[Update]:Ok, I found a solution. So, before Reforged you could easily use GUI cinematic on/off and simply adjust random with the scripts listed above. Now don't use the GUI command at all. Use custom cinematic commands instead if you require to change something within the cinematic on/off code. For example:
or
(0 can be replace by variable of your choice). And so on for all other cinematic-influenced elements (game speed, dusk/dawn etc.)
Those who need decent custom function could thank Dr Super Good and PurgeandFire for this thread.
[Update 2]: FFS... It seems that the above mentioned option provides another fixed seed (different from GUI cinematic on/off fixed seed, but still fixed).
[Update 3]: It seems cinematic mode has nothing to do with it all. The game just refuses to have random seed, even if the cinematic is off.
Even in-game random numbers tested via chat command follow fixed seed.
So, the WorldEdit "Preferences" option enable/disable use of random seed does nothing, and the game just runs on fixed seed. How sweet...
Code:
call SetRandomSeed(bj_cineModeSavedSeed)
Code:
set bj_cineModeSavedSeed = GetRandomInt(0, 1000000)
Now they don't seem to work any more =( Does anyone have a viable replacement option?
Note: I disabled fixed values in WorldEdit, so that's not the issue.
[Update]:
Code:
call ShowInterface(true, 0)
Code:
call ShowInterface(false, 0)
Those who need decent custom function could thank Dr Super Good and PurgeandFire for this thread.
[Update 2]: FFS... It seems that the above mentioned option provides another fixed seed (different from GUI cinematic on/off fixed seed, but still fixed).
[Update 3]: It seems cinematic mode has nothing to do with it all. The game just refuses to have random seed, even if the cinematic is off.
Even in-game random numbers tested via chat command follow fixed seed.
So, the WorldEdit "Preferences" option enable/disable use of random seed does nothing, and the game just runs on fixed seed. How sweet...
Last edited: