Skip to content

Commit 869d8f3

Browse files
committed
add ~50% weapon sway
1 parent 7ab9e60 commit 869d8f3

File tree

3 files changed

+119
-1
lines changed

3 files changed

+119
-1
lines changed

addons/TAS_ConfigEdits.pbo

326 Bytes
Binary file not shown.
-575 Bytes
Binary file not shown.

addons/TAS_ConfigEdits/config.cpp

Lines changed: 119 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//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)
2-
//Additionally, adds ACE trenches compatibility to Scottish Highlands map
2+
//~~Additionally, adds ACE trenches compatibility to Scottish Highlands map~~ Temp removed
3+
//Lowers weapon sway to 50%
34
//Made by Guac
45
class CfgPatches {
56

@@ -166,3 +167,120 @@ class cfgMagazines {
166167
};
167168
};
168169
*/
170+
171+
class CfgImprecision
172+
{
173+
class Primary
174+
{
175+
verticalRadius = 0.25; //0.25
176+
horizontalRadius = 0.05; //0.05
177+
};
178+
class Secondary
179+
{
180+
verticalRadius = 0.05; //0.05
181+
horizontalRadius = 0.25; //0.25
182+
};
183+
184+
/*
185+
//Vanilla
186+
class Primary
187+
{
188+
fatigue = 1;
189+
verticalRadius = 0.5;
190+
horizontalRadius = 0.1;
191+
size = 1;
192+
maxSize = 10;
193+
speed = 0.2;
194+
maxSpeed = 2;
195+
damage = 5;
196+
inertia = 0;
197+
breathing = 0.1;
198+
};
199+
class Secondary
200+
{
201+
fatigue = 1;
202+
verticalRadius = 0.1;
203+
horizontalRadius = 0.5;
204+
size = 1;
205+
maxSize = 40;
206+
speed = 0.4;
207+
maxSpeed = 0.4;
208+
damage = 10;
209+
inertia = 1;
210+
breathing = 1;
211+
};
212+
//50%
213+
class Primary
214+
{
215+
verticalRadius = 0.25; //0.25
216+
horizontalRadius = 0.05; //0.05
217+
};
218+
class Secondary
219+
{
220+
verticalRadius = 0.05; //0.05
221+
horizontalRadius = 0.25; //0.25
222+
};
223+
224+
//10%
225+
class CfgImprecision
226+
{
227+
class Primary
228+
{
229+
verticalRadius = 0.15;
230+
horizontalRadius = 0.1;
231+
};
232+
class Secondary
233+
{
234+
verticalRadius = 0.15;
235+
horizontalRadius = 0.1;
236+
};
237+
};
238+
239+
//0%
240+
class CfgImprecision
241+
{
242+
class Primary
243+
{
244+
verticalRadius = 0;
245+
horizontalRadius = 0;
246+
};
247+
class Secondary
248+
{
249+
verticalRadius = 0;
250+
horizontalRadius = 0;
251+
};
252+
};
253+
*/
254+
};
255+
256+
257+
class CfgBreathing
258+
{
259+
maxHoldTime = 10;
260+
coefSpeed = 5;
261+
outOfBreathCoef = 10;
262+
/*
263+
//vanilla
264+
maxHoldTime = 8;
265+
inhaleDuration = 1.5;
266+
coefSpeed = 10;
267+
outOfBreathCoef = 20;
268+
*/
269+
};
270+
class CfgWeaponHandling
271+
{
272+
class SwayDistortion
273+
{
274+
rate = 10;
275+
decay = 5;
276+
maximum = 7;
277+
//gunnerCoef = 1.2;
278+
/*
279+
//vanilla
280+
rate = 14;
281+
decay = 7;
282+
maximum = 10;
283+
gunnerCoef = 1.2;
284+
*/
285+
};
286+
};

0 commit comments

Comments
 (0)