tbox1911 / Liberation-RX

ArmA 3 - Liberation RX - Mission
GNU General Public License v3.0
64 stars 62 forks source link

Friendly fire messages and punishments when hitting players while remote controlling enemy units using Zeus #90

Closed logimy closed 2 years ago

logimy commented 2 years ago

Recently i tried to create a custom mission with zeus and encountered a problem: Whenever i hit a player with remote controlled unit using Zeus, server pops out messages from TK system about me is trying to friendly fire friendly unit.

This creating a lot of problems for players because of many actions appear in their scroll menu and this kind of behavior is hitting hard the immersion.

Is there a way to filter out remotely controlled units from TK system checks?

logimy commented 2 years ago

It should be as easy as changing the line _killer = _instigator inside only 3 files

addons\PAR\PAR_global_functions.sqf, scripts\shared\damage_manager.sqf, scripts\shared\kill_manager.sqf

to:

if (isNull (getAssignedCuratorLogic _instigator)) then {
        _killer = _instigator;
    };
tbox1911 commented 2 years ago

hi, thanks for the info and patch I'll patch the tree files you mention

will be available in next build

tbox1911 commented 2 years ago

build is out, you can test

logimy commented 2 years ago

build is out, you can test

will try after next server restart (~8hrs), thanks!

logimy commented 2 years ago

Everything works as intended! Thanks for your time!