Jump to content
Sign in to follow this  
nuxil

Help!

Recommended Posts

Hi.

Im trying to remove some smoke form a custom missile-launcher.

but i cant get it to work..

After spent some time with my friend google.com i could find no solution for this problem of mine,

i get it to work on rocket-launchers.

example this removes All the smoke.

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

class CfgCloudlets

{

class Default;

access = ReadAndWrite;

class MissileEffects1 : Default

{

color[] = {{0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}};

};

};

but it only seams to affect rocket-launchers, not missile-launchers.

Also. one BIG problem is that all vehicles are affected by this.

i only want|need my custom missile-launcher to have less smoke.

any tips | ideas on how to fix this?

Share this post


Link to post
Share on other sites

maybe hardcoded. send Maddmatt a PM and ask him.

Share this post


Link to post
Share on other sites

Q is right, you can only mod the original effects. "class MissileManualEffects1" and "class MissileEffects1" are the only effects the game will use.

If you want custom effects for your missile you will have to use scripting. Mandobles missiles is one option, the missiles are scripted so you would be able to modify them to have whatever effects you want.

Share this post


Link to post
Share on other sites

Thanks for the reply.

i guess could spawn the missiles with a script.. but then i have to change alot of stuff. i was hoping not to do that in this case.

maybe its possible to remove the particles the missile generates.

just an idea.

Share this post


Link to post
Share on other sites

This sucks-..

removing the particles isnt as easy as i tought it would be..

so looks like i need to make a script for this.

one way i thought of, is to have the forexample

initTime set to 2-3; sec in cfgAmmo.. then use a script that checks the direction of the missilelauncher "vehicle" and set the velocity to X so.. when the missile fires up its engine. its to fra away to notice much smoke.

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  

×