Search the Community
Showing results for tags 'zasleh2'.
Found 1 result
-
Help With Muzzle Flashes on Multiple Weapon Barrels
distractor2004 posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hello all, I have been trying to create a weapon with different muzzle flashes depending on which muzzle is selected but have been unsuccessful. A version of the Promet contains a underbarrel shotgun that illustrates what I'm trying to do: https://imgur.com/a/Q4OctaW However, I cannot seem to create a similar muzzle flash for the secondary muzzle. I have tried creating "zasleh" and "zasleh2" muzzle flash proxies and copying the ARX model.cfg using ammorandom.0 & ammorandom.1. I have used the exact same proxy/memory points in my model and the exact same code shown below: class CfgSkeletons { class Skeleton { isDiscrete=0; skeletonInherit=""; skeletonBones[]={"trigger", "", "zasleh", "", "zasleh2", ""}; }; }; class CfgModels { class customPlasmaRifle { htMin=0; htMax=0; afMax=0; mfMax=0; mFact=0; tBody=0; skeletonName="Skeleton"; sectionsInherit=""; sections[]={"zasleh", "zasleh2", "camo"}; class Animations { class zaslehrot { type="rotationx"; source="ammorandom.0"; selection="zasleh"; sourceAddress="loop"; minPhase=0; maxPhase=4; minValue=0; maxValue=4; memory=0; angle0=0; angle1=6.283185; }; class zasleh2rot { type="rotationx"; source="ammorandom.1"; selection="zasleh2"; sourceAddress="loop"; minPhase=0; maxPhase=6; minValue=0; maxValue=6; memory=0; angle0=0; angle1=6.283185; }; class zasleh_hide { type="hide"; source="reload.0"; selection="zasleh"; sourceAddress="clamp"; minPhase=0; maxPhase=1; minValue=0; maxValue=1; memory=0; hideValue=0; unHideValue=0.5; }; class zasleh2_hide { type="hide"; source="reload.1"; selection="zasleh2"; sourceAddress="clamp"; minPhase=0; maxPhase=1; minValue=0; maxValue=1; memory=0; hideValue=0; unHideValue=0.5; }; }; }; }; but my weapon only seems to only create the "zasleh" muzzleflash when using the primary muzzle but does not create a "zasleh2" muzzle flash when I switch to my secondary muzzle. Has anyone figured out how to show multiple muzzle flashes from different barrels for an infantry weapon? Thanks in advance!- 2 replies
-
- muzzeflash
- zasleh
-
(and 1 more)
Tagged with: