Jump to content
Feeniks_FIN

[Solved] Arma 3 Vehicle apperance customazation not working

Recommended Posts

Hello,

I have just started modding Arma 3 & I can't for the life of me figure this out. So what I want to do is have a part of my model hidable like the backpacks in vanilla AAF wheeled APC AFV-4 Gorgon. I have made an animation & animation source and gotten them to work by using animateSource command in debug console but I don't know why I cant press the checkbox in virtual garage. Images and files provided below.

- VehicleCfg.hpp

class AnimationSources: AnimationSources
{
  class HideWireCutter
  {
    displayName = "hide wire cutter";
    author = "Feeniks";
    source = "user";
    animPeriod = 0.001;
    initPhase = 0;
    mass = 50;
  }
};

- Model.cfg

class Animations {  
  class hide_wire_cutter
  {
    type = "hide";
    source = "HideWireCutter";
    selection = "cable_saw";
    minValue = 0.0;
    maxValue = 1.0; 
    hidevalue = 1.0;
  };
};

- in game (nothing happens when pressing "hide wire cutter")

Garage.png

- Video link where animation working using debug console

https://youtu.be/WQ-5U0goMT0

 

Edit: Solution was naming the animation class the same as animation source class. I'm dumb 😂

 

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

×