Closed ghost closed 2 years ago
✔ Solved Overwatch detection, changed the class check to vil_NATO_AK and now Overwatch is detected correctly :) Looks like I am full of shit about FHQ weapon classes also (they aren't valid). Closing 👍
FHQ weapon class errors solved by modifying WAI/configs/overwatch.sqf
and removing the FHQ_ from each of the FHQ weapon classnames. Additionally the correct versions of the classes end in _DZ.
ACR_BLK -> ACR_BL ACR_SNW -> ACR_SNOW ACR_TAN -> ACR_DES
Remove ACR.RCO MSR. -> MSR.*_DZ
WAI missions will return a 'not valid' error for Overwatch weapon classes when Overwatch is correctly loaded;
16:12:07 WAI Error: Weapon classname (FHQ_RSASS_SD_TAN) is not valid!
FHQ_RSASS_SD_TAN is definitely a valid weapon class as it is a weapon that is loaded/purchaseable/tradable in my custom trader categories. I haven't tried looking at what is included in
configFile >> "CfgWeapons"
, but looking at the code I would assume that for whatever reason FHQ_RSASS_SD_TAN isn't in that array.I am confused about how this could happen because if the weapon class is loaded (it must be for it to be tradeable), surely the _weapon array contains FHQ_RSASS_SD_TAN?
Looking at the code for the overwatch config I can see it's meant to
diag_log
that it's detected overwatch. This doesn't happen in my RPT, so perhaps the detection of Overwatch is broken?DayZ Server 1.0.7
Overwatch 0.2.5
I added a diag_log to determine if WAI_Overpoch was set to true on detection;
This confirmed that WAI_Overpoch is set to false, so likely not detecting the weapon class;
17:19:18 "WAI: WAI_Overpoch value is false"