Author Topic: [Answered] Psion Confidence & Probe Chance  (Read 993 times)

Offline Grubleafeater

  • Squaddie
  • *
  • Posts: 2
    • View Profile
[Answered] Psion Confidence & Probe Chance
« on: June 11, 2023, 08:26:44 am »
Enemies shouldn't automatically know your defense values; instead, they should have 2 stats:

Probe Chance: Chance of targeting someone based on their stats, or not at all if nobody has stats that would be targeted for mind control under current system;
Confidence: Chance that if Probe Chance doesn't trigger, they Mind Control a random target.

This does a few things.

1:Ameliorates the issue of 'lightning rod' troops being set up to always get mind controlled to no actual effect.
2:Allows players who build squads of well defended troops to feel satisfaction when enemies try to mind control them to no effect.

There could be a 3rd variable for apparent vulnerability to weight random targeting so Hybrid agents or agents in armor with anti-psi effects don't get targeted as often.
« Last Edit: June 22, 2023, 09:51:02 am by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8888
    • View Profile
Re: Psion Confidence & Probe Chance
« Reply #1 on: June 11, 2023, 10:56:39 am »
Hi there,

welcome to the forum.

Both of your suggestions are already doable using Y-scripts.
You can introduce the 2 new stats using tags.
And you can (almost) completely override the default psi attack scoring algorithm with your own. Enough to achieve the desired effect.

It's not easy, the learning curve for scripting (and for xcom internals) is quite steep, but with enough dedication you'll make it.