16
Troubleshooting / Re: How do I reorder soldiers in aircraft?
« on: May 01, 2014, 10:47:23 am »
So that's what those arrows are for!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
purchaseexclusions:
- STR_STINGRAY_LAUNCHER
- STR_STINGRAY_MISSILES
- STR_CANNON
- STR_CANNON_ROUNDS_X50
- STR_TANK_CANNON
- STR_HWP_CANNON_SHELLS
- STR_TANK_ROCKET_LAUNCHER
- STR_HWP_ROCKETS
- STR_PISTOL
- STR_PISTOL_CLIP
- STR_RIFLE
- STR_RIFLE_CLIP
- STR_AUTO_CANNON
- STR_AC_AP_AMMO
- STR_AC_HE_AMMO
- STR_AC_I_AMMO
edit: gahh! Can't believe I didn't see it before : getSeed() returns the original seed (ie 1000 in my case) In order to actually save and restore the RNG state, the entire mt[] array should be stored in the save game, ie 2496 byte
The following 64-bit generator with 64 bits of state has a maximal period of 264 − 1 and fails only the MatrixRank test of BigCrush:
#include <stdint.h>
uint64_t x; /* The state must be seeded with a nonzero value. */
uint64_t next() {
x ^= x >> 12; https:// a
x ^= x << 25; https:// b
x ^= x >> 27; https:// c
return x * 2685821657736338717LL;
}
That's a side-effect of pseudo-random-number-generators. The same seed will produce the same sequence of numbers. So if you happen to get the exact same seed twice (which is pretty unlikely but not impossible), then all the soldier stats will be the same.As long as it doesn't stray into a Minecraft-like procedural generation type game it shouldn't matter. Minecraft needs to be procedurally generated, OpenXcom needs to be surprisingly random.
Yes? You can also do it by just looking at their soldier stats.Of course, but not all soldier stats are available early in the game, like the psi stats. I don't want to recognize the strength and weaknesses of individual soldiers right off the bat, just because I've seen his/her name before. It takes away some of the replay value. The unknown and unexpected is a major point of this game.
Check if the twins have the same stats.