OpenXcom Forum

OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: Ethereal on July 31, 2023, 05:46:23 am

Title: [Solved] sightRange near facilities
Post by: Ethereal on July 31, 2023, 05:46:23 am
With the latest update, the Base Facilities parameters stopped working: sightRange, sightChance. Version 7.9.8.0. The closest version in which the parameters work is 7.7.3.
Title: Re: sightRange near facilities
Post by: The Martian on August 01, 2023, 09:19:42 am
Vexing, I am also interested in using those facilities: options and I don't think reverting to V7.7.3 is an option for what I'm working on.

Quote
sightRange
Range at which the facility can detect alien bases in nautical miles.

Quote
sightChance
Chance (0-100%) of this facility detecting an alien base that enters its sight range. More info: https://openxcom.org/forum/index.php/topic,8119.0.html
Title: Re: sightRange near facilities
Post by: Meridian on August 05, 2023, 06:03:47 pm
With the latest update, the Base Facilities parameters stopped working: sightRange, sightChance. Version 7.9.8.0. The closest version in which the parameters work is 7.7.3.

I have made a small test and it works fine for me.

Do you have mod/save where I can reproduce the issue?
Title: Re: sightRange near facilities
Post by: Ethereal on August 05, 2023, 07:34:05 pm
I have made a small test and it works fine for me.

Do you have mod/save where I can reproduce the issue?

Yes.
The archive includes the latest version of TFTU, and 2 save files. 1 when the alien base has already been created within the detection radius, the second when the ship creating the base should soon appear.

Title: Re: sightRange near facilities
Post by: Meridian on August 06, 2023, 10:52:53 am
I could not test, because the save crashes after a few game hours.

But I have made a new save without all UFOs and without all alien missions, to prevent the crash. It is attached as 2.sav.

The alien base was found without problems.
I attach a video (base found.mp4) where it is found already after 1 day.

The sightChance on the Mind Shield is set to 30%, so in average it should be found after 3 days, but of course it can take longer based on RNG.
Title: Re: sightRange near facilities
Post by: Ethereal on August 06, 2023, 12:29:04 pm
It turns out that "sightChance" from two base structures is not summed up? There's 2 "Mind Shield" at the base.

In general, I understood. "sightChance" for base structures is different, but I thought it was like ships - 2-3 hours of patrol and the object was found. It's just that detection was faster in earlier versions. I will be more careful. Thank you for the clarification.
Title: Re: sightRange near facilities
Post by: Meridian on August 06, 2023, 01:16:51 pm
the check is done once per day, at midnight

each facility counts... they don't sum up, each is separate check

two mind shields with 30% have a theoretical combined chance of 51% that at least one of them detects
Title: Re: sightRange near facilities
Post by: Ethereal on August 06, 2023, 02:38:02 pm
the check is done once per day, at midnight

each facility counts... they don't sum up, each is separate check

two mind shields with 30% have a theoretical combined chance of 51% that at least one of them detects

Please add this information to the Ruleset Reference. I didn’t even find this information in the topic, although Google translator could have failed me.