Skip to content

Commit

Permalink
add ~50% weapon sway
Browse files Browse the repository at this point in the history
  • Loading branch information
Guac0 committed Jul 19, 2022
1 parent 7ab9e60 commit 869d8f3
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 1 deletion.
Binary file modified addons/TAS_ConfigEdits.pbo
Binary file not shown.
Binary file not shown.
120 changes: 119 additions & 1 deletion addons/TAS_ConfigEdits/config.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//Halves the weight of mortar ammunition, allowing for greater loads to be carried (both for convience for transferring between crate and gun, and to make entirely man-portable mortars easier)
//Additionally, adds ACE trenches compatibility to Scottish Highlands map
//~~Additionally, adds ACE trenches compatibility to Scottish Highlands map~~ Temp removed
//Lowers weapon sway to 50%
//Made by Guac
class CfgPatches {

Expand Down Expand Up @@ -166,3 +167,120 @@ class cfgMagazines {
};
};
*/

class CfgImprecision
{
class Primary
{
verticalRadius = 0.25; //0.25
horizontalRadius = 0.05; //0.05
};
class Secondary
{
verticalRadius = 0.05; //0.05
horizontalRadius = 0.25; //0.25
};

/*
//Vanilla
class Primary
{
fatigue = 1;
verticalRadius = 0.5;
horizontalRadius = 0.1;
size = 1;
maxSize = 10;
speed = 0.2;
maxSpeed = 2;
damage = 5;
inertia = 0;
breathing = 0.1;
};
class Secondary
{
fatigue = 1;
verticalRadius = 0.1;
horizontalRadius = 0.5;
size = 1;
maxSize = 40;
speed = 0.4;
maxSpeed = 0.4;
damage = 10;
inertia = 1;
breathing = 1;
};
//50%
class Primary
{
verticalRadius = 0.25; //0.25
horizontalRadius = 0.05; //0.05
};
class Secondary
{
verticalRadius = 0.05; //0.05
horizontalRadius = 0.25; //0.25
};
//10%
class CfgImprecision
{
class Primary
{
verticalRadius = 0.15;
horizontalRadius = 0.1;
};
class Secondary
{
verticalRadius = 0.15;
horizontalRadius = 0.1;
};
};
//0%
class CfgImprecision
{
class Primary
{
verticalRadius = 0;
horizontalRadius = 0;
};
class Secondary
{
verticalRadius = 0;
horizontalRadius = 0;
};
};
*/
};


class CfgBreathing
{
maxHoldTime = 10;
coefSpeed = 5;
outOfBreathCoef = 10;
/*
//vanilla
maxHoldTime = 8;
inhaleDuration = 1.5;
coefSpeed = 10;
outOfBreathCoef = 20;
*/
};
class CfgWeaponHandling
{
class SwayDistortion
{
rate = 10;
decay = 5;
maximum = 7;
//gunnerCoef = 1.2;
/*
//vanilla
rate = 14;
decay = 7;
maximum = 10;
gunnerCoef = 1.2;
*/
};
};

0 comments on commit 869d8f3

Please sign in to comment.