SilenceIsFatto / HATG

Hide Among The Grass. A performance-focused solution to stealth in Arma 3.
https://steamcommunity.com/sharedfiles/filedetails/?id=3346427969
Other
6 stars 6 forks source link

Conflict with DUI Squad Radar and ACE Nametags #32

Open Puotek opened 2 days ago

Puotek commented 2 days ago

DUI - Squad Radar

Description

The mod conflicts with DUI - Squad Radar and possibly other mods that check for objects when showing Nametags. When the player is hidden by HATG, the mirror prevents those Nametag mods from properly detecting the player to show the nametag.

Steps to reproduce

  1. Enable DUI and HATG.
  2. Have another player/teammate get hidden by HATG.
  3. Look at the DUI Squad Radar or the player nearby.
  4. Notice the lack of an icon on DUI Squad Radar or the absence of the nametag showing up.

Expected behaviour

One would expect the nametag to appear, and the player to be visible on the DUI Squad Radar.

Suggestion

Perhaps adding all HATG objects to some sort of game logic side group or assigning a property to them stating that they are HATG objects, e.g., this setVariable ["HATG_object", true], could allow other mods to ignore these objects. This is just a suggestion for a solution, as I have not read the code and am not certain how it works. It is very likely that this issue needs to be resolved on both sides for proper compatibility.

SilenceIsFatto commented 18 hours ago

It already is attached to the unit namespace, to check if it's attached to a unit then they'll need to check if hatg_mirror is ObjNull

It may not be possible to "fix" depending on how those mods check for LOS