Jump to content
Diver_

M224 Mortar restricted firing range

Recommended Posts

I am currently working on implementing a M224 mortar into game, I have all the basics working, rotation, elevation, rounds firing in the correct direction and all splashing within about 50m, when using the artillery computer it shows 450m > 499m. Can anyone suggest what is causing this narrow range and how to rectify it, this is currently what I have https://www.youtube.com/watch?v=dmUCX2n2MOE

 

The current config I have is simply there for me to get the model in game to test and is inheriting from B_Mortar_01_F as I know that currently works

class cfgVehicles {
	class B_Mortar_01_F;
 
	class 506th_weap_m224mortar : B_Mortar_01_F {
		scope = 2;
		displayname = "M224 60mm Mortar";
 
		model = "\506th_weap_m224\models\506th_m224_mortar.p3d";
		hiddenSelectionsTextures[] = { "506th_weap_m224\data\mortar\mortar_co.paa" };
	};
}

model.cfg

Spoiler

class cfgSkeletons
{
	class mortar
	{
		skeletonInherit = "";
		isDiscrete = 1;
		SkeletonBones[]=
		{
			"octovez", "",
			"bank", "octovez",
			"otochlaven", "bank"
		};
	};
};
class CfgModels
{
	class Default
	{
		sections[] = {};
		sectionsInherit="";
		skeletonName = "";
	};
	class 506th_m224_mortar : Default
	{
		skeletonName="mortar";
		sections[]=
		{
			"camo"
		};
		class Animations
		{
			class mainturret
			{
				type="rotationY";
				source="mainturret";
				selection="octovez";
				axis="otocvez_axis";
				minValue = -6.2831855;
				maxValue = 6.2831855;
				angle0 = -6.2831855;
				angle1 = 6.2831855;
				animPeriod = 0.0;
				initPhase = 0.0;
			};
			class maingun
			{
				type="rotationX";
				source="maingun";
				selection="bank";
				axis="otochlaven_axis";
				minValue = -6.2831855;
				maxValue = 6.2831855;
				angle0 = -6.2831855;
				angle1 = 6.2831855;
				animPeriod = 0.0;
				initPhase = 0.0;
			};
		};
	};
};

 

 

When I use the Virtual Arsenal I can use the projectile tracking lines to see what the rounds are doing, 

Spoiler

 

a80676b9c4967a3ca23026242ab3401b.png

 

2ebdd84bc908ec39b4d3e862444c92e9.png

 

 

 

By the way the rounds are going and based on the basic config I have used I am guessing that it is something wrong with the model. If there is anyone who is able to help it would be greatly appreciated

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

×