Jump to content
Sign in to follow this  
coffeeshock

Hide/unhide mount model config ?

Recommended Posts

So I got beppe_goodoldrebels BlackOps weapon source pack and most of it works fine ingame, but one thing drives me crazy, most guns have a rail/mount that will be hidden without optics and show the mount with optics, this is how it works with the original pack since its release.

 

The original model.cfg looks like this:

 

Quote

            class hide_mount
            {
                type="hide";
                 source="hasOptics";
                 selection="mount";
                 animPeriod=0;
                 minValue=0.0;
                 maxValue=0.3;
                 minPhase=0.0;
                 maxPhase=0.3;
                hideValue=0.0;
                unhideValue=0.1;
                sourceAddress="mirror";
            };       

 

But it won't unhide or show the mount no matter what, I've already tried countless other values but nothing happens accept that it will show up without optics but hide again with optics, when it should be the other way around. I don't get it. I also looked up many similar configs but none of them work, everything else in this config works just like the original release.

 

So what is wrong here? Am I missing something?

Share this post


Link to post
Share on other sites

try

class hide_mount
{
    type          = "hide";
    source        = "hasOptics";
    selection     = "mount";
    minValue      = 0.0;
    maxValue      = 1;
    hideValue     = 1;
};        

 

Share this post


Link to post
Share on other sites

Old post I know but just in case someone will need this ...

 

class hide_mount
{
	type = "hide";
	source = "hasOptics";
	selection = "mount";
	minValue  = 0;
	maxValue  = 1;
	hideValue = 0.0;
	unhideValue = 0.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
Sign in to follow this  

×