Author Topic: [Documentation] New Targeting Options for the PSI Amp  (Read 2461 times)

Offline memmaker

  • Captain
  • ***
  • Posts: 96
    • View Profile
[Documentation] New Targeting Options for the PSI Amp
« on: February 04, 2020, 10:41:30 pm »
Hi there,
a new OXCE feature has been merged and will become available in future builds: New targeting options for the PSI Amp.

You can now define which factions can be targeted with the PSI Amp.

An example looks like this:
# 1 = player, 2 = hostile, 4 = neutral

Code: [Select]
items:
  - type: STR_FRIENLDY_FIRE_PSI_AMP
    psiTargetMatrix: 1    # 1= player faction only, defaults to 6 (hostile + neutral)

This would define a PSI Amp which can target only allied units. You can disallow targeting of your own or other factions explicitly with this.
« Last Edit: March 03, 2020, 01:10:08 pm by memmaker »

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9144
    • View Profile
Re: [Documentation] New Targeting Options for the PSI Amp
« Reply #1 on: February 04, 2020, 10:56:34 pm »
Note: mind-control on friendly units is not possible, hardcoded. Other actions (panic, use) are possible.
« Last Edit: March 14, 2020, 10:25:27 am by Meridian »

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9144
    • View Profile
Re: [Documentation] New Targeting Options for the PSI Amp
« Reply #2 on: October 22, 2020, 07:48:25 pm »
Update:

`psiTargetMatrix` has been renamed to `targetMatrix` in OXCE v6.7.1

See also: https://openxcom.org/forum/index.php/topic,7671.msg133202.html#msg133202