RHS Feedback - USAF
View Issue Details
0006120USAFGeneralpublic2021-01-16 13:072021-01-18 22:54
RobinDX 
da12thMonkey 
nonetweakN/A
resolvednot fixable 
 
 
Yes
Stable
2.00
No
0006120: A new idea about AFG gripod handAnim
Now all gripod install at same position.
It cause AFG gripod has a ugly hand animation to fit this position.
I think we can add second grip_proxy for AFG gripod.
It work on my rifles.
class UnderBarrelSlot;
class rhs_western_rifle_underbarrel_slot: UnderBarrelSlot{};
class rhs_rifle_gripod_slot: UnderBarrelSlot{};
class rhs_western_rifle_gripod_slot: rhs_rifle_gripod_slot
{
    linkProxy = "rhsusf\addons\rhsusf_weapons\rhs_grip_proxy";
};
class rhs_western_rifle_gripod_afg_slot: rhs_western_rifle_gripod_slot
{
    linkProxy = "rhsusf\addons\rhsusf_weapons\rhs_afg_grip_proxy";
};


class CfgWeapons
{
    class rhs_M4_xx: rhs_weap_m4_Base
    {
        class WeaponSlotsInfo: WeaponSlotsInfo
        {
            class UnderBarrelSlot: rhs_western_rifle_underbarrel_slot{};
            class GripodSlot: rhs_western_rifle_gripod_slot{};
        };
    };
    class rhs_M4_xx_grip: rhs_M4_xx
    {
        handAnim[] = {"OFP2_ManSkeleton","\rhsusf\addons\rhsusf_c_weapons\anims\rhs_hand_m16a4.rtm"};
    };
    class rhs_M4_xx_grip2: rhs_M4_xx
    {
        class WeaponSlotsInfo: WeaponSlotsInfo
        {
            class GripodSlot: rhs_western_rifle_gripod_afg_slot{};
        };
        handAnim[] = { NEW AFG handAnim };
    };
    class rhs_M4_xx_grip3: rhs_M4_xx
    {
        handAnim[] = {"OFP2_ManSkeleton","\rhsusf\addons\rhsusf_c_weapons\anims\rhs_hand_m16a4.rtm"};
    };
};
    
No tags attached.
7z gripod_test.7z (527,520) 2021-01-16 16:20
https://feedback.rhsmods.org/file_download.php?file_id=2272&type=bug
Issue History
2021-01-16 13:07RobinDXNew Issue
2021-01-16 14:42da12thMonkeyNote Added: 0011408
2021-01-16 14:42da12thMonkeyStatusnew => closed
2021-01-16 14:42da12thMonkeyAssigned To => da12thMonkey
2021-01-16 14:42da12thMonkeyResolutionopen => not fixable
2021-01-16 16:20RobinDXFile Added: gripod_test.7z
2021-01-16 16:21RobinDXNote Added: 0011409
2021-01-16 16:41RobinDXNote Added: 0011410
2021-01-18 22:54da12thMonkeyNote Added: 0011415
2021-01-18 22:54da12thMonkeyStatusclosed => resolved

Notes
(0011408)
da12thMonkey   
2021-01-16 14:42   
Arma 3 only supports a maximum of 5 attachment slots/proxies
It is impossible to have the usual 4 slots for bipod, optic , laser/light and flashhider/suppressor, plus two separate slots for different types of grips.
(0011409)
RobinDX   
2021-01-16 16:21   
Just try this pbo,it works.
(0011410)
RobinDX   
2021-01-16 16:41   
https://www.youtube.com/watch?v=S-hjZ6wV4ms [^]
(0011415)
da12thMonkey   
2021-01-18 22:54   
After reviewing it with reyhard and seeing how it integrates on our own weapon models I've applied something along these lines to the M4A1 Block II and Mk18 for the purpose of testing.

linkProxy path is: `rhsusf\addons\rhsusf_weapons\rhs_afg_proxy`
Gripod slot classname is: `rhs_western_rifle_afg_slot`

https://i.imgur.com/bxtYdKO.png [^]

It may also be applied to the M16A4 and HK416/M27 down the line (though probably not with a a thumb-over-bore) anim if feedback isn't too negative