Prairie Fire melee gestures

Gesture names…from the VN_fnc_melee_init

//Show debug info during gameplay
vn_melee_debug = false;
//Variable used to stop action runing multiple times
vn_melee_action = false;
//player gesture
vn_melee_stab_gesture = “vn_bayonet_bayonetstrike”;
vn_melee_stun_gesture = “vn_bayonet_buttstrike”;

vn_melee_knife_stab_gesture = “vn_bayonet_knife_stab”;
vn_melee_knife_swing_gesture = “vn_bayonet_knife_swing”;
//Bayonet classnames
vn_melee_bayonets = [“vn_b_type56″,”vn_b_m1897″,”vn_b_m16″,”vn_b_m14″,”vn_b_camo_m14″,”vn_b_camo_m40a1″,”vn_b_m38″,”vn_b_sks”,”vn_b_carbine”];
vn_melee_swing_weapons = [“vn_m_bayo_m1897″,”vn_m_m51_etool_01″,”vn_m_machete_01″,”vn_m_shovel_01″,”vn_m_typeivaxe_01″,”vn_m_axe_fire”,”vn_m_hammer_f”];

//Unit stabing/stuning audio
vn_melee_stab_audio = [];
vn_melee_stun_audio = [];
vn_melee_swing_audio = [];

vn_intersection_points = [];

private _condition = “tolower (configName _x) find “”vn_melee_”” > -1 “;
private _soundconfigs = (_condition configClasses (configFile >> “CfgSounds”));
{
switch (true) do
{
case (tolower (configName _x) find “stab” > -1):
{
vn_melee_stab_audio pushBack (configName _x);
};
case (tolower (configName _x) find “stun” > -1):
{
vn_melee_stun_audio pushBack (configName _x);
};
case (tolower (configName _x) find “swing” > -1):
{
vn_melee_stun_audio pushBack (configName _x);
};
default
{
vn_melee_stab_audio pushBack (configName _x);
vn_melee_stun_audio pushBack (configName _x);
};
};
} forEach _soundconfigs;
true

Facebooktwitterredditpinteresttumblr