Jump to content
Sign in to follow this  
x3kj

Turret multiple muzzle flashes

Recommended Posts

How do i define different Muzzleflashes for the guns of my turret?

I have a Turret with 1 Maingun and a dual barreled MG.

the muzzle flash for the cannon is selection "tur1_mzl", the one for coax "tur1_mzl_coax"

Problem is, selection FireAnim only is for the MG, so the main gun flash never shows.

I also named the maingun muzzle zasleh for testing, no effect. It just sits there on all the time.

class TurretMain: TurretMain{
weapons[]={W_V_cannon_150mm,W_V_DualCoax};		
memoryPointGun[]={"tur1_mzl_coax_l_start","tur1_mzl_coax_r_start"};
   selectionFireAnim="tur1_mzl_coax";
   etc etc
};

Is there a way to manually hide the maingun flash when not shooting?

btw, the coax shoots alternating from left and right automatically without defining anything :Oo:

Edited by Fennek

Share this post


Link to post
Share on other sites

Check the \Steam\steamapps\common\Arma 3 Tools\Samples_F\Test_Weapon_01 config; it has a grenade launcher and is set up with multiple flashes, on the rifle firing gas emits from the bolt and the muzzle flash erupts; there is a separate proxy for the grenade.

Share this post


Link to post
Share on other sites

It would be interesting too, If someone could explain, how I can manage it, that two barrels of an MG can move backwards (recoil so on...) for every single shot.

And not at the same time.

So:

First barrel,

second barrel,

first barrel

so on.

Can I make this in ArmA?

Share this post


Link to post
Share on other sites

didnt they have the semi recoil on the AA gun in arma 2 ? you should try it in game and if it does copy its code

it could be that the animation period is like 0-.5 (first barel) .5-1 (second barrel)

but ya im trying to figure out how to animate two barrels but spin them like a gatling gun (two of them at once and have 2 flashes (one fore each gun))

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  

×