Missile won't fly of rail.

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 on other sites

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

Because the method has changed since the different releases.

Arma 2

Share on other sites

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

Bump.

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";
hideValue = 0.001;
animPeriod = 0.0;
initPhase = 0.0;
};
class hideMissile_2: hideMissile_1
{
selection="missile_2";
hideValue = 0.501;
};

Spoiler

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

• 1

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 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 on other sites

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

Share on other sites

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

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?