OpenXcom Forum

Modding => Released Mods => The X-Com Files => Topic started by: Marrik on November 14, 2022, 05:09:02 pm

Title: Getting the EXACT SAME map in two different missions, down to enemy placement
Post by: Marrik on November 14, 2022, 05:09:02 pm
So I started a new game in the new version, and right now I have 2 different Black Lotus missions, one in Vietnam and one in Australia, with two different cars about to reach them at about the same time. I discovered that regardless of which mission I do first, they both have an identical map and enemy placement is exactly the same. Is this normal? I don't remember seeing this ever before.
Title: Re: Getting the EXACT SAME map in two different missions, down to enemy placement
Post by: Solarius Scorch on November 14, 2022, 05:16:15 pm
So I started a new game in the new version, and right now I have 2 different Black Lotus missions, one in Vietnam and one in Australia, with two different cars about to reach them at about the same time. I discovered that regardless of which mission I do first, they both have an identical map and enemy placement is exactly the same. Is this normal? I don't remember seeing this ever before.

It's extremely unlikely, but may still happen with a large enough sample. :)
Title: Re: Getting the EXACT SAME map in two different missions, down to enemy placement
Post by: Meridian on November 14, 2022, 06:14:28 pm
It's not even unlikely in this case.
If it's the same deployment and the same terrain (and approximately the same landing time) for both mission sites, then they will generate identically.

In other words, if all input parameters are the same (including the RNG seed), the result is also the same :)
Title: Re: Getting the EXACT SAME map in two different missions, down to enemy placement
Post by: Solarius Scorch on November 14, 2022, 06:58:49 pm
In other words, if all input parameters are the same (including the RNG seed), the result is also the same :)

Even after one of them is complete? That sounds weird... Wouldn't it be reasonably common in vanilla to have two Large Scouts shot down over the same texture?

I'm not doubting your words of course, just curious how it works.
Title: Re: Getting the EXACT SAME map in two different missions, down to enemy placement
Post by: yergnoor on November 14, 2022, 07:17:17 pm
The text of the question can be understood to mean that only the first choice of either of the two options yields the same result.
I discovered that regardless of which mission I do first, they both have an identical map and enemy placement is exactly the same.
Apparently the game was saved before selecting one of the missions.
Not that two battles in a row are the same.
But only the one who asked the question can give an unambiguous answer.
Title: Re: Getting the EXACT SAME map in two different missions, down to enemy placement
Post by: Meridian on November 14, 2022, 09:11:09 pm
Even after one of them is complete? That sounds weird... Wouldn't it be reasonably common in vanilla to have two Large Scouts shot down over the same texture?

I'm not doubting your words of course, just curious how it works.

No, not after you complete one, in that case it is of course practically impossible.

But he said he tried both "as first".