Author: Redfield-77
Author Website:

Requirements: No addons required

Version: 1.0
Signed: No

Short description: This modifies the damage output from all vanilla and some addon 5.56 and 7.62 ammunition using a damage coefficient.
Date: 2014-01-11 17:35
Submitted by: Redfield-77


Comments: (8)
Rating:



 

NATO 5.56 and 7.62 Damage Mod

by
Redfield-77


Description:
This is a modified version of Lao Fei Mao's Damage addon (part of Lao Fei Mao 3rd person) that incorporates some of the newest weapon mods.
It modifies the damage output from all vanilla and some addon 5.56 and 7.62 ammunition using a damage coefficient.

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.
most likely more....



Installation:
Extract into the ArmA 3 Directory, by default this is located in:
32-Bit - C:\Program Files\Steam/Steamapps\Common\ArmA 3\
64-Bit - C:\Program Files (x86)\Steam/Steamapps\Common\ArmA 3\
After extraction it should look like this:
Steam\Steamapps\Common\ArmA 3\@your_mod_folder_name\addons\

You can also use the "Arma 3 Alpha" folder in your "My Documents" folder. Your folder setup could than look like for example this:
mydocuments\Arma3 Alpha\@your_mod_folder_name1\addons\
mydocuments\Arma3 Alpha\@your_mod_folder_name2\addons\
mydocuments\Arma3 Alpha\@your_mod_folder_name2\addons\

When present place the "userconfig" folder into your game install folder, usually:
"C:\Program Files (x86)\Steam\steamapps\common\Arma 3".
You may already have "userconfig" folder from other addons and/or mods in which case it is safe to merge the contents from this archive.

You'll also need to add a Launch Parameter to Steam, in order to do so right-click on ArmA 3 Alpha and click Properties and then Set Launch Options. In the window that opens enter in -mod=@your_mod_folder_name
For using multiple mods you would then do so like this:
-mod=@mod_name;@mod_name2;@mod_name3;@mod_name4;@mod_name5

Note:
You can also use -nosplash to get rid of the splash art and intro videos.


And of course you can also enable and disable community made addons and mods through the in-game Options Expansions menu if you do not want to mess with startup parameters!

When the above information still does not provide you with enough to learn how to install custom addons and mods you can always ask in our Guide On Installing Mods.


Included files:
Bullet_Hits_Value.pbo


Usage:
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.
The code below is the entire addon with hints to show you what can be adjusted:
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.
		};
	};
};

#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
	{
		hit = 8 + hitvaluecoef;
	};

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

	class B_mas_556x45_Ball : BulletBase                                       //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_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;
	};
};

The code below effects only vanilla weapons. Overwrite the code in your .cpp to the code below if you do not use mods. If you do use mods add the mods and the ammo as seen in the sample code above but do not copy paste the sample code above. Open your cfg in the editor and find out what you are looking for.:
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;
	};
};


Notes:
Special Note: It may not work out of the box for everyone. The download and code above is specific to my unit. It must be adjusted to your units loadouts. Its not the perfect answer but it really has made Arma 3 fun again for my unit.


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


Changelog:
v1.0
- first release


Forum topic:
- BI forums




Download from FTP #1:
NATO 5.56 and 7.62 Damage Mod
Download from FTP #2:
NATO 5.56 and 7.62 Damage Mod
Download from FTP #3:
Size : 1 MB   Downloaded : 1895 times     Report broken download link



Tags: No tags