OpenXcom Forum

Modding => Help => Topic started by: Cooper on January 04, 2025, 12:12:18 pm

Title: How to avoid repeating infiltration missions?
Post by: Cooper on January 04, 2025, 12:12:18 pm
So far I've been using "timer: -1" on the first UFO in the wave, to avoid the infiltration mission wave repeating. Now with OXCE 8.0 not supporting negative numbers in the timer, is there another good way of doing this? Setting the timer to a very high number does not seem to work.
Title: Re: How to avoid repeating infiltration missions?
Post by: CrazedHarpooner on January 04, 2025, 12:22:00 pm
If you want them to do a single infiltration run per scheduled mission, just use endlessInfiltration: false in the alienMission. They'll just do one run and won't do another until the next monthly schedule mission is generated like the rest of the alien missions.
Title: Re: How to avoid repeating infiltration missions?
Post by: Meridian on January 04, 2025, 02:28:58 pm
OXC / OXCE never supported value -1

In 32bit versions it was converted to 4294967295 (i.e. 2^32-1), in 64bit versions to 2^64-1.

Correct solution in OXCE is using `endlessInfiltration: false` : https://openxcom.org/forum/index.php?topic=4187.msg72001#msg72001