Jump to content

Recommended Posts

Hello all, so I've got a ported Cobra with a hellfire missile on its rails, i fire the missile and it fires just fine. Problem is the proxy doesn t disappear, it stays on the rail, and i cant for the life of me figure out how to make it disappear. Any ideas? I'm pretty sure its a config issue... or a model.cfg one. Id be happy to post either once somebody gives me a solid idea. thanks

Share this post


Link to post
Share on other sites

ported from? Arma 2? Arma OA? OFP? Combat Ops? What?

Because the method has changed since the different releases.

 

Share this post


Link to post
Share on other sites

Definitely a config issue, different ammunition systems from Arma 2 to Arma 3. 

Bump. 

Share this post


Link to post
Share on other sites

Its mostly model.cfg you must change: for my IFV with 2 missiles I use
 

Spoiler

class hideMissile_1
            {
                type="hide";
                source="Missiles_revolving";
                selection="missile_1";
                sourceAddress = mirror;
                minValue = -1.0;//rad -57.29578
                maxValue = 0.0;//rad 0.0
                hideValue = 0.001;
                animPeriod = 0.0;
                initPhase = 0.0;
            };
class hideMissile_2: hideMissile_1
            {
                selection="missile_2";
                sourceAddress = mirror;
                hideValue = 0.501;
            };

Then in your config you must add an animationssource:
 

Spoiler

class AnimationSources: AnimationSources
        {
            class Missiles_revolving
            {
                source = "revolving";
                weapon = "OPTRE_missiles_C2GMLS_2"; //Name of the weapon you fire
            };
        };

 

  • Like 1

Share this post


Link to post
Share on other sites

Missile must be configured as a class in in cfgNonAIVehicles with simulation maverickWeapon

class CfgNonAIVehicles
{
	class ProxyWeapon;
	class Proxy##NAME##: proxyWeapon
	{
		model = "\path\to\##NAME##.p3d";
		simulation = maverickweapon;
	};
};

Classname has to be the file name of the .p3d, prefixed with the word "proxy"

 

Share this post


Link to post
Share on other sites

Done but still not working, only problem i can see is the "selection="missile_2""" and "selection="missile_1""" part in cfgModels. My missiles are mounted as proxies, maybe that's why they dont work??

Share this post


Link to post
Share on other sites

both selection="missile_2""" and "selection="missile_1"""  are proxies

Share this post


Link to post
Share on other sites

Well then I can't think of a reason why it doesnt work, the above solution didnt.

Share this post


Link to post
Share on other sites
14 hours ago, Kuzuri said:

Well then I can't think of a reason why it doesnt work, the above solution didnt.

can you send your config and model.cfg so I can see how you set it up?

 

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

×