Author Topic: [Solved] sightRange near facilities  (Read 1822 times)

Offline Ethereal

  • Commander
  • *****
  • Posts: 684
    • View Profile
[Solved] sightRange near facilities
« 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.
« Last Edit: July 31, 2023, 06:30:33 am by Ethereal »

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: sightRange near facilities
« Reply #1 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

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: sightRange near facilities
« Reply #2 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?

Offline Ethereal

  • Commander
  • *****
  • Posts: 684
    • View Profile
Re: sightRange near facilities
« Reply #3 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.


Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: sightRange near facilities
« Reply #4 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.

Offline Ethereal

  • Commander
  • *****
  • Posts: 684
    • View Profile
Re: sightRange near facilities
« Reply #5 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.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: sightRange near facilities
« Reply #6 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

Offline Ethereal

  • Commander
  • *****
  • Posts: 684
    • View Profile
Re: sightRange near facilities
« Reply #7 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.