Jump to content
Sign in to follow this  
Guest RKSL-Rock

Aircraft Weapons Proxy Problem

Recommended Posts

Guest RKSL-Rock

OK got an odd problem that quite honestly is bugging the crap out of me.

I can load wepeaon onto the aircraft and they display properly.  I fire the weapon and it deploys BUT the model doesnt no switch to the right model. (IE GBU with the fins deployed)

I have the model and proxy shade defined in the CFGAMMO:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class rksl_gbu1000 : laserguidedbomb

{

hit=8000;indirecthit=5000;indirecthitrange=25;

minrange=600; minrangeprobab=0.9;

midrange=1800; midrangeprobab=0.95;

maxrange=3500; maxrangeprobab=0.8;

sideairfriction = 0.1;

irlock = true;

laserlock =true;

maneuvrability=45.0;

maxspeed=917;

cost =500;

model="\rksl-harrier\w\rksl_paveway2_w";

proxyShape = "\rksl-harrier\w\rksl_paveway2";

};

And the proxy setup in the Config:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgNonAIVehicles

{

class ProxyWeapon {};

class Proxyrksl_1000gp : ProxyWeapon {model = "\rksl-harrier\w\rksl_1000gp_w"; simulation = "maverickweapon";}

class Proxyrksl_gbu1000 : ProxyWeapon {model = "\rksl-harrier\w\rksl_paveway2_w"; simulation = "maverickweapon";}

};

Anyone any ideas?

Share this post


Link to post
Share on other sites

I think you need to add a couple of semi-colons onto the ends of those lines maybe.....like so:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class CfgNonAIVehicles

{

class ProxyWeapon {};

class Proxyrksl_1000gp : ProxyWeapon

{model = "\rksl-harrier\w\rksl_1000gp_w"; simulation = "maverickweapon";};

class Proxyrksl_gbu1000 : ProxyWeapon

{model = "\rksl-harrier\w\rksl_paveway2_w"; simulation = "maverickweapon";};

};

Planck

Share this post


Link to post
Share on other sites
Guest RKSL-Rock

Nope makes no difference, but thanks for the effort though. wink_o.gif

Share this post


Link to post
Share on other sites

Ahh, well, sorry to hear that, maybe it is the simulations type.

Have you tried simulation = "shotMissile" ?

Planck

Share this post


Link to post
Share on other sites
Guest RKSL-Rock
Ahh, well, sorry to hear that, maybe it is the simulations type.

Have you tried simulation = "shotMissile" ?

Planck

Just tried that too and still no joy sad_o.gif

Share this post


Link to post
Share on other sites
I think you need to add a couple of semi-colons onto the ends of those lines maybe.....like so:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class CfgNonAIVehicles

{

class ProxyWeapon {};

class Proxyrksl_1000gp : ProxyWeapon

{model = "\rksl-harrier\w\rksl_1000gp_w"; simulation = "maverickweapon";};

class Proxyrksl_gbu1000 : ProxyWeapon

{model = "\rksl-harrier\w\rksl_paveway2_w"; simulation = "maverickweapon";};

};

Planck

have you tried this way ?

without the " "

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class CfgNonAIVehicles

{

class ProxyWeapon{};

class Proxyrksl_1000gp : ProxyWeapon{model=\rksl-harrier\w\rksl_1000gp_w.p3d ; simulation="maverickweapon";};

class Proxyrksl_gbu1000 : ProxyWeapon{model=\rksl-harrier\w\rksl_paveway2_w.p3d;simulation="maverickweapon";};

};

Share this post


Link to post
Share on other sites
Guest RKSL-Rock
have you tried this way ?

without the " "

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class CfgNonAIVehicles

{

class ProxyWeapon{};

class Proxyrksl_1000gp : ProxyWeapon{model=\rksl-harrier\w\rksl_1000gp_w.p3d  ; simulation="maverickweapon";};

class Proxyrksl_gbu1000   : ProxyWeapon{model=\rksl-harrier\w\rksl_paveway2_w.p3d;simulation="maverickweapon";};

};

Yeah and still no joy. Its got to be somethign about the model itself. I have other addons using proxies and each uses the same config setup... so logically it must be the models...either the main model or the proxies... i'll let you know if i find anything.

Thanks for the efforts though guys.

Share this post


Link to post
Share on other sites
Guest RKSL-Rock

ok FIXED!

I eventualy found the problem. With hindsight devastatingly obvious. I had other addons (Tornado, Hawk, Jaguar) using the RKSL_1000gb ammo but with different settings in my mod folder. Changing the ammo and weapon class names sorted it.

Moral of the story, unless you are using an identical library of weapons alwasy unique class names!

Thanks again for trying to help!

Share this post


Link to post
Share on other sites
Quote[/b] ] I have other addons using proxies and each uses the same config setup...

i guess that should have rung those bells , but it went past my head too smile_o.gif

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  

×