NATO 5.56 and 7.62 adjustor

Redfield-77
0
15,678


What it Is
This is a modified version of Lao Fei Mao's Damage addon that incorporates some of the newest weapon mods.

What it Does
It modifies the damage output from all vanilla and some addon 5.56 and 7.62 ammunition using a damage coefficient.

How it Works
The included .pbo can be modified to you units personal taste easily. The coefficient can be adjusted to whatever you feel is realistic and any ammo type can be added to suit your units needs.

How to use it for Noobs
Make a folder that starts with @ example: @Damage_Mod
Make a folder inside that folder called "addons"
Download the .pbo and place it inside the "addons" folder
Now you can run it as other mods are run. There is enough documentation on this but if you dont know how check out Armaholic For instructions.

The reason I did not include it inside an @ folder is to save character room in command lines for dedicated servers. People with dedicated servers usually have a server repo bin for misc stuff like this. Anyone else can just make a mod folder and run it normally.

PROS
Removes the need for event handlers on all enemy units and spawners.
Universal to all enemy types even ones that haven't come out yet.
Very Lightweight at only 2kb download.
Easy to dispose of if BIS ever changes their damage values.
Easier than going into each individual mod to change damage values on addon weapons.
Adjustable to taste. Realism is in the eye of the beholder.

CONS
New ammo types must be added manually.
Stacks with other modifiers like "Roy86 PO3 easy takedown" and "Banga Bobs EOS damage multiplier" These are easily disabled in parameters just remember to do it.
You must have basic understanding of how cfg works to make use of this.
most likely more....


The code below is the entire addon with hints to show you what can be adjusted.
Code:
class CfgPatches 
{

	class Redfield_Bullet_Hits_Value   //This is how your addon will appear in the cfg viewer. You can name it whatever you want to reflect your units specific configuration
	{
		units[] = { };
		weapons[] = { };
		requiredVersion = 1.000000;
		requiredAddons[] = {
				"A3_Weapons_F", "A3_Weapons_F_beta", "mas_weapons", "Ej_u100" //Add any addons you are using that add new magazines to the game that you want to adjust. See pic below
		};
	};
};

#define hitvaluecoef 8  //This is the magic number. The hit value coefficient is how we modify the damage output on any particular round. Mao uses 7 and I use 8. These are both very good numbers if added
                                //However you can also choose to multiply this number below and change it to 2-3 but adding works best and Ill show you why.
                                //for 5.56 hit value 8 + hitvaluecoef (8) = 16 so basically x2 damage on 5.56 but for more powerful rounds x2 damage can cause unwanted results like .50 machine guns overpowered.
                                //using + gives diminishing returns on larger caliber weapons so the formula below works best.
class CfgAmmo 
{

	class BulletCore ;

	class BulletBase : BulletCore                                                //In this area you can add any new rounds you want to be effected by the addon. You can see I have added Massi's 5.56 and others.
	{
		hit = 8 + hitvaluecoef;
	};

	class B_556x45_Ball : BulletBase
	{
		hit = 8 + hitvaluecoef;
	};

	class B_mas_556x45_Ball : BulletBase                                       
	{
		hit = 8 + hitvaluecoef;
	};

	class B_mas_556x45_Ball_T : B_556x45_Ball
	{
		hit = 8 + hitvaluecoef;
	};

	class RH_556x45_B_Mk262 : B_556x45_Ball
	{
		hit = 10 + hitvaluecoef;
	};

	class TB_556x45_Ball : B_556x45_Ball
	{
		hit = 8 + hitvaluecoef;
	};

	class B_56x15_dual : BulletBase
	{
		hit = 8 + hitvaluecoef;
	};

	class B_65x39_Caseless : BulletBase
	{
		hit = 10 + hitvaluecoef;
	};

	class B_65x39_Minigun_Caseless : B_65x39_Caseless
	{
		hit = 10 + hitvaluecoef;
	};

	class B_762x51_Ball : BulletBase
	{
		hit = 12 + hitvaluecoef;
	};

	class B_mas_762x51_Ball : B_762x51_Ball
	{
		hit = 12 + hitvaluecoef;
	};

	class B_mas_762x51_Ball_T : B_762x51_Ball
	{
		hit = 12 + hitvaluecoef;
	};

	class B_762x51_Minigun_Tracer_Red : B_762x51_Ball
	{
		hit = 12 + hitvaluecoef;
	};

	class B_408_Ball : BulletBase
	{
		hit = 21 + hitvaluecoef;
	};

	class B_12Gauge_Slug : BulletBase
	{
		hit = 24 + hitvaluecoef;
	};

	class ShotgunBase ;

	class B_12Gauge_Pellets : ShotgunBase
	{
		hit = 8 + hitvaluecoef;
	};

	class B_9x21_Ball : BulletBase
	{
		hit = 5 + hitvaluecoef;
	};

	class B_127x33_Ball : BulletBase
	{
		hit = 18 + hitvaluecoef;
	};

	class B_127x99_Ball : BulletBase
	{
		hit = 27 + hitvaluecoef;
	};

	class B_127x99_SLAP : B_127x99_Ball
	{
		hit = 34 + hitvaluecoef;
	};

	class B_127x108_Ball : BulletBase
	{
		hit = 27 + hitvaluecoef;
	};

	class B_127x108_APDS : B_127x108_Ball
	{
		hit = 34 + hitvaluecoef;
	};
};


Armaholic Download


Generic File Hosting Download

The code below effects only vanilla weapons. The Code below is Mao's original Code and it does not need to be altered if you dont run mods. The download link for his original version is below.
Code:
class CfgPatches 
{

	class Redfield_Bullet_Hits_Value
	{
		units[] = { };
		weapons[] = { };
		requiredVersion = 1.000000;
		requiredAddons[] = {
				"A3_Weapons_F", "A3_Weapons_F_beta"
		};
	};
};

#define hitvaluecoef 8

class CfgAmmo 
{

	class BulletCore ;

	class BulletBase : BulletCore
	{
		hit = 8 + hitvaluecoef;
	};

	class B_556x45_Ball : BulletBase
	{
		hit = 8 + hitvaluecoef;
	};

	class B_56x15_dual : BulletBase
	{
		hit = 8 + hitvaluecoef;
	};

	class B_65x39_Caseless : BulletBase
	{
		hit = 10 + hitvaluecoef;
	};

	class B_65x39_Minigun_Caseless : B_65x39_Caseless
	{
		hit = 10 + hitvaluecoef;
	};

	class B_762x51_Ball : BulletBase
	{
		hit = 12 + hitvaluecoef;
	};

	class B_762x51_Minigun_Tracer_Red : B_762x51_Ball
	{
		hit = 12 + hitvaluecoef;
	};

	class B_408_Ball : BulletBase
	{
		hit = 21 + hitvaluecoef;
	};

	class B_12Gauge_Slug : BulletBase
	{
		hit = 24 + hitvaluecoef;
	};

	class ShotgunBase ;

	class B_12Gauge_Pellets : ShotgunBase
	{
		hit = 8 + hitvaluecoef;
	};

	class B_9x21_Ball : BulletBase
	{
		hit = 5 + hitvaluecoef;
	};

	class B_127x33_Ball : BulletBase
	{
		hit = 18 + hitvaluecoef;
	};

	class B_127x99_Ball : BulletBase
	{
		hit = 27 + hitvaluecoef;
	};

	class B_127x99_SLAP : B_127x99_Ball
	{
		hit = 34 + hitvaluecoef;
	};

	class B_127x108_Ball : BulletBase
	{
		hit = 27 + hitvaluecoef;
	};

	class B_127x108_APDS : B_127x108_Ball
	{
		hit = 34 + hitvaluecoef;
	};
};
Download LAO FEI MAO's version <<<<<<<<<<<<<<<<<<<For vanilla weapons only.

Special Thanks to Lao Fei Mao for making this addon. All I have done is added the extra cfg's for 3rd party weapons.

I have added Lao Fei Mao's original version for people that have a hard time configuring the mod. This will only effect 6.5mm and it uses a different Damage coefficient than my version. However it is extremely easy to use. no need to config just make an @Folder for it as explained above.

Comments

Copyright © 2017. APC Technology Group. All Rights Reserved.