acemod / ACE3

Open-source realism mod for Arma 3
https://ace3.acemod.org
Other
1k stars 736 forks source link

No interactions with TM-100/200/500 #7785

Closed GalNa closed 3 years ago

GalNa commented 4 years ago

Mods (complete and add to the following information):

Description: Explosives TM-100/200/500 from mod RHS not working, it is look like any interactions was missed.

Steps to reproduce:

Whigital commented 4 years ago

What are the thoughts about adding an RHS:SAF compat ?

I can handle the explosives, but that's about it, unless someone wants contribute.

Haven't looked at any of the SAF configs, but since it depends on USAF & AFRF, weapons, ammo, mag, vehicles etc. might get values inherited already.

Blutze commented 4 years ago

There are already at least some SAF weapons referenced in the GREF compat component: https://github.com/acemod/ACE3/blob/master/optionals/compat_rhs_gref3/CfgWeapons.hpp#L65-L79 Somehow, loading that without SAF doesn't give any errors on loading into the game or into a mission, but I would assume anything that iterates over all weapons checking for a config property would error out, so... shouldn't the component require SAF already?

Couldn't find anything else that wasn't just effectively a reskin, so it boils down to... C4, claymores, G36s and a PKM.

Whigital commented 4 years ago

Seems there are a lot of duplicates between GREF and SAF. I've loaded up UASF, AFRF and SAF, and the M21, G36, M70 i've added is already in the GREF compat, so there is overlap between GREF and SAF.

Blutze commented 4 years ago

rhs_weap_m21a_pr_pbg40, rhs_weap_m84 and the G36s are SAF only and should be migrated to SAF compat. rhs_weap_m21 is not a thing at all and can be removed from GREF compat. The remainder of existing M21 and M70 related code should be duplicated between the two compats.

Looks like I missed something in my initial trawl: rhssaf_ammo_762x39_m82_api inherits from rhs_B_762x39_Ball, which probably has different ballistic properties.

I don't see anything else M21 or M70 related that needs to be changed.

Whigital commented 4 years ago

Yeah, I'll leave the GREF compat out of the SAF compat PR and create a separate PR for the GREF cleanup. I've tested loading both (GREF and SAF) with compats loaded, and couldn't see anything breaking, so I'll focus on getting the SAF compat finished.

Whigital commented 3 years ago

Fixed in https://github.com/acemod/ACE3/pull/7793

bux commented 3 years ago

Can we close this issue?

Whigital commented 3 years ago

Can't speak for the author of the issue, but yes, the issue was resolved in the above mentioned PR.