Jump to content
Sign in to follow this  
ak12546

Need Help! Modifying Init Speed

Recommended Posts

Ok, so for the most part I think I understand making changes to the config for Arma. I have been successfully able to change the InitSpeed for the MX rifle magazines. However I have not been able to change the initSpeed for the MX rifles themselves. so here is the code for CfgWeapons (What I'm interested in is the last two classes). For some reason the changes I'm trying to make are only partially applying. Help would be much appreciated

class CfgWeapons
{
class Default;
class CannonCore;
class MGunCore;
class RifleCore;
class Rifle;
class Rifle_Base_F;
class gatling_20mm: CannonCore
{
	reloadTime=0.04;
	dispersion=0.0035000001;
	class LowROF: Mode_FullAuto
	{
		reloadTime=0.024000001;
		dispersion=0.0035000003;
	};
	class HighROF: LowROF
	{
		reloadTime=0.024000001;
		dispersion=0.0035000003;
	};
};
class gatling_30mm: CannonCore
{
	dispersion=0.014000001;
	class LowROF: Mode_FullAuto
	{
		dispersion=0.0035000003;
	};
	class HighROF: LowROF
	{
		dispersion=0.0035000003;
	};
};
class Gatling_30mm_Plane_CAS_01_F: CannonCore
{
	dispersion=0.006000001;
	reloadTime = 0.014;
	class LowROF: Mode_FullAuto
	{
		reloadTime=0.014;
		dispersion=0.006000003;
	};
	class HighROF: LowROF
	{
		reloadTime=0.014;
		dispersion=0.006000003;
	};
};
class M134_minigun: MGunCore
{
	reloadTime=0.015;
	dispersion=0.0035000003;
	class LowROF: Mode_FullAuto
	{
		reloadTime=0.015000001;
		dispersion=0.0035000003;
	};
	class HighROF: LowROF
	{
		reloadTime=0.015000001;
		dispersion=0.0035000003;
	};
	class close: HighROF
	{
	};
	class short: close
	{
	};
	class medium: LowROF
	{
	};
	class far: medium
	{
	};
};
[color="#FF0000"][b]class arifle_MX_Base_F: Rifle_Base_F <<< This code worked
{
	initSpeed = 1200;
};
class arifle_MX_GL_F: arifle_MX_Base_F <<< This code does not work
{
	initSpeed = 1200;
};[/b][/color]
};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×