Skip to content

Commit

Permalink
HLC_WP_M14
Browse files Browse the repository at this point in the history
==========

- Initial changes for proof-of-concept implementation of sound-rework
- Implemented Remaining Stringtable lines
- Reparented hlc_rifle_m14sopmod - now inherits off hlc_M14_base
- Mag proxies implemented. Meshes updated to conform
  • Loading branch information
toadie2k committed Nov 27, 2019
1 parent 94a2a4a commit e5a7351
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 13 deletions.
20 changes: 12 additions & 8 deletions hlc_wp_m14/cfgSoundshaders.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ class CfgSoundShaders {
{ "hlc_wp_m14\snd\soundshaders\m14_first", 1 }
};
range = 35;
volume = 1;
volume = 0.375;
rangeCurve[] = {
{ 0, 1 },
{ 35, 0 } };
};
class M14_closeShot_SoundShader {
samples[] = {
{ "hlc_wp_m14\snd\soundshaders\m14_close", 1 }
};
volume = 0.7;
{ "hlc_core\sound\weapon\M14\Close_1", 1 },
{ "hlc_core\sound\weapon\M14\Close_2", 1 },
{ "hlc_core\sound\weapon\M14\Close_3", 1 },
{ "hlc_core\sound\weapon\M14\Close_4", 1 } };
volume = 1.4;
range = 100;
rangeCurve = "closeShotCurve";
};
Expand Down Expand Up @@ -255,13 +257,15 @@ class CfgSoundShaders {
{ "hlc_wp_m14\snd\soundshaders\m14_first", 1 }
};
range = 35;
volume = 1;
volume = 0.375;
};
class m14tactical_closeShot_SoundShader {
samples[] = {
{ "hlc_wp_m14\snd\soundshaders\m14tac_close", 1 }
};
volume = 0.8;
{ "hlc_core\sound\weapon\M14\Close_1", 1 },
{ "hlc_core\sound\weapon\M14\Close_2", 1 },
{ "hlc_core\sound\weapon\M14\Close_3", 1 },
{ "hlc_core\sound\weapon\M14\Close_4", 1 } };
volume = 1.4;
range = 100;
rangeCurve = "closeShotCurve";
};
Expand Down
11 changes: 6 additions & 5 deletions hlc_wp_m14/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class CfgPatches {
units[] = {"HLC_M14_ammobox","Weapon_rifle_M14","Weapon_hlc_rifle_M21","Weapon_hlc_rifle_m14sopmod","Weapon_hlc_rifle_m14dmr","weapon_hlc_rifle_M14_Bipod","weapon_hlc_rifle_M14_Rail"};
weapons[] = {"hlc_rifle_M14","hlc_rifle_M21","hlc_rifle_m14dmr","hlc_rifle_m14sopmod","hlc_muzzle_snds_M14","hlc_optic_artel_m14","hlc_optic_LRT_m14","hlc_optic_PVS4M14"};
magazines[] = {"hlc_50Rnd_762x51_B_M14","hlc_20Rnd_762x51_T_M14","hlc_20Rnd_762x51_B_M14"};
version="v1.95";
version="v2.0";
author="toadie";
};
};
Expand Down Expand Up @@ -470,13 +470,13 @@ class CfgWeapons {
class hlc_optic_LRT_m14 : hlc_optic_LeupoldM3A {
dlc = "Niarms_M14";
author = "Bohemia Interactive, Toadie";
descriptionshort = "Leupold Mk.4 LR/T Magnified Optic Sight<br />Magnification: 3.5-9x";
descriptionshort = $STR_NIA_LuepoldM3A_DESC;
model = "\hlc_wp_M14\mesh\leupold lrt\scope.p3d";
picture = "\hlc_wp_M14\tex\ui\gear_lrt_x_ca";
displayname = $STR_NIA_optic_M3a_M14;
tmr_optics_enhanced = 0; //prevent tmr_optics ARCO overlay from displaying
};

//muzzles

class muzzle_snds_H;
Expand Down Expand Up @@ -638,6 +638,7 @@ class CfgWeapons {

class WeaponSlotsInfo : WeaponSlotsInfo {
mass = 86;
class CharmSlot_nia_charms_slot{};
};
class Single : Single {
__MOA(1.3);
Expand Down Expand Up @@ -698,7 +699,6 @@ class CfgWeapons {
class hlc_rifle_M14_Bipod_XMAG : hlc_rifle_M14_Bipod
{
scopeArsenal = 0;
model = "\hlc_wp_M14\mesh\m21\M14_bip_xmag.p3d";
__DEXTERITY(4.9 + 0.31 + 2.25, 0);
inertia = 0.72;
};
Expand Down Expand Up @@ -933,8 +933,9 @@ class CfgWeapons {

};

class hlc_rifle_m14sopmod : hlc_rifle_M14
class hlc_rifle_m14sopmod : hlc_M14_base
{
scope = public;
author = "Twinke Masta, Pete, Thanez, General Tso, Jihad, Toadie";
AB_barrelTwist=12;
AB_barrelLength=18;
Expand Down
Binary file modified hlc_wp_m14/mesh/M14/M14.p3d
Binary file not shown.
Binary file modified hlc_wp_m14/mesh/M14/M14_railed.p3d
Binary file not shown.
Binary file modified hlc_wp_m14/mesh/M14DMR/M14.p3d
Binary file not shown.
Binary file modified hlc_wp_m14/mesh/M14DMR/M14_Railed.p3d
Binary file not shown.
Binary file modified hlc_wp_m14/mesh/M21/M14.p3d
Binary file not shown.
Binary file modified hlc_wp_m14/mesh/M21/M14_Bip.p3d
Binary file not shown.
Binary file modified hlc_wp_m14/mesh/M21/M14_Biprail.p3d
Binary file not shown.
Binary file modified hlc_wp_m14/mesh/M21/M14_rail.p3d
Binary file not shown.
Binary file modified hlc_wp_m14/mesh/SOPMOD/M14.p3d
Binary file not shown.
Binary file modified hlc_wp_m14/mesh/magazine/proxy/20Rnd_762NATO_M14.p3d
Binary file not shown.
Binary file modified hlc_wp_m14/mesh/magazine/proxy/50rnd_762NATO_X14.p3d
Binary file not shown.
Binary file modified hlc_wp_m14/tex/BIS_PVS4/daysight_ca.paa
Binary file not shown.

0 comments on commit e5a7351

Please sign in to comment.