Jump to content
AveryTheKitty

Muzzle flash on proxypod gunpod isn't animating

Recommended Posts

Hey there. I added a 25 mm gunpod using the dynamic loadouts proxy pod system, but the muzzle flash isn't animating.

 

My7yCVy.png

 

Config:

class PylonWeapon_300Rnd_25mm_shells: 300Rnd_25mm_shells
{
	displayName = $STR_A3_CfgMagazines_1000Rnd_20mm_shells0;
	model = "\Weapons_F_Aegis\DynamicLoadout\PylonPod_GAU12_Cannon_25mm.p3d";
	muzzlePos = muzzlePos;
	muzzleEnd = muzzleEnd;
	hardpoints[] = {B_F35F_LIGHTNING_CENTER_PYLON};
	pylonWeapon = gatling_25mm;
	selectionFireAnim = zasleh;
	mass = 300;
};
class gatling_25mm: CannonCore
{
	magazines[] =
	{
		1000Rnd_25mm_shells,
		300Rnd_25mm_shells,
		PylonWeapon_300Rnd_25mm_shells
	};
	ballisticsComputer = 4 + 8;
	showAimCursorInternal = false;
	class manual: CannonCore
	{
		soundContinuous = true;
		autoFire = true;
		burst = 5;
	};
};

 

Model.cfg:

class CfgSkeletons
{
	class Default;
	class PylonPod_skeleton: Default
	{
		skeletonBones[] =
		{
			zasleh,""
		};
	};
};
class CfgModels
{
	class Default;
	class PylonPod_GAU12_Cannon_25mm: Default
	{
		skeletonName = PylonPod_skeleton;
		sections[] = {zasleh};
		class Animations
		{
			class zaslehROT
			{
				type = rotationX;
				source = ammoRandom;
				sourceAddress = loop;
				selection = zasleh;
				axis = "";
				centerFirstVertex = true;
				minValue = 0;
				maxValue = 4;
				angle0 = (rad 0);
				angle1 = (rad 360);
			};
		};
	};
};

Please help!

Share this post


Link to post
Share on other sites

I assume you have muzzle proxy defined as zasleh in your model.

 

skeletonBones[]=
{
  "zasleh", ""
};

and

sections[] = 
{
  "zasleh",""
};

 

Share this post


Link to post
Share on other sites

Proxypod doesn't use selectionFireAnim.

You need to make a reload sourced animation to hide and unhide the flash selection.

 

There isn't currently an ammoRandom source for proxyPods either. So you'll have to use reload again to rotate the flash, or maybe revolving

https://community.bistudio.com/wiki/Arma_3_Vehicle_Loadouts#Animation_sources

 

PylonPod_Minigun_Heli_Light_02.p3d uses reload

  • Like 1

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

×