Sakai 1 Posted April 29, 2013 Hey guys! I've found a strange bug in a model OR model.cfg as in my model.cfg theres "class unloaded_magazine_hide" aka: class unloaded_magazine_hide { type = "hide"; source = "hasMagazine"; selection = "magazine"; hideValue = 0.1; }; Which is suppose to animate a gun having no magazine when its unloaded, HOWEVER! when you load the magazine in the animation seems to be still bugged and not make the magazine appear... Any idea whats up with this? I used it multiple time and this never happened to me until now. Share this post Link to post Share on other sites
Sakai 1 Posted April 30, 2013 Been one day and I really need help with this even tho I do not want to bump it :| Any clever fella? Share this post Link to post Share on other sites
sv5000 127 Posted April 30, 2013 My amateur thoughts, is the source defined correctly? Share this post Link to post Share on other sites
Sakai 1 Posted April 30, 2013 My amateur thoughts, is the source defined correctly? Now thats a good question... Another question how should I "define it"? I mean hell I used the same config back in my AFCR mod and ArmA 3 it worked perfectly now something is wrong... But what, where, how O.o Share this post Link to post Share on other sites
R0adki11 3949 Posted April 30, 2013 Now thats a good question... Another question how should I "define it"? I mean hell I used the same config back in my AFCR mod and ArmA 3 it worked perfectly now something is wrong... But what, where, how O.o how its the magazine defined in the p3d model? is it called magazine? Share this post Link to post Share on other sites
Sakai 1 Posted April 30, 2013 how its the magazine defined in the p3d model? is it called magazine? Yes it is. Share this post Link to post Share on other sites
Sakai 1 Posted May 3, 2013 bump... Still didnt get to fix it... Share this post Link to post Share on other sites
ataboo 2 Posted May 10, 2013 (edited) Through trial and error this worked for me on my project. Original code was from the Kaybar model.cfg and I just killed the other anims and played with the hideValue till it worked. class no_magazine { type="hide"; source="hasMagazine"; selection="magazine"; minValue = 0.0;//rad 0.0 maxValue = 1.0;//rad 57.29578 minPhase = 0.0;//rad 0.0 maxPhase = 1.0;//rad 57.29578 hideValue = 1.0; }; I'm brand new to arma modding but my guess is the true hide/unhide commands for the vanilla animations are in other configs or maybe the new rtfs. Seems like a lot of stuff is //'d out that would be important like the animation axes, etc. edit: forgot to add that I have an unhide value on the magazine reload animation so that might be what's doing it too. class magazine_hide { type="hide"; source="reloadMagazine"; selection="magazine"; minValue = 0.0;//rad 0.0 maxValue = 1.0;//rad 57.29578 minPhase = 0.0;//rad 0.0 maxPhase = 1.0;//rad 57.29578 hideValue = 0.2; unhideValue = 0.25; Edited May 10, 2013 by ataboo Share this post Link to post Share on other sites