colonel_klink 0 Posted July 20, 2004 Does anybody know how to eliminate gun smoke to simulate smokeless cartridges? Also eliminate the gun flash too? Share this post Link to post Share on other sites
Scud 0 Posted July 20, 2004 Have not tried but flash=; flash=""; flashSize=0; ?? Share this post Link to post Share on other sites
colonel_klink 0 Posted July 20, 2004 Yep, tried those Scud. They seem to control the zasleh muzzle flash part. have eliminated those but still get a puff of smoke. Share this post Link to post Share on other sites
Footmunch 0 Posted July 20, 2004 You could do it through MGunClouds (or whatever it's called). Either set the alpha to 0, or the size very small. You could eliminate the gun flash by just not having zasleh in the model. Share this post Link to post Share on other sites
colonel_klink 0 Posted July 20, 2004 ok going with footmunch's suggestion the following eliminates the smoke for a given vehicle: This code below is OUTSIDE of the cfgvehicles part: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class WeaponCloudsNoSmoke // custom name { access=3; cloudletDuration=0.300000; cloudletAnimPeriod=1.000000; cloudletSize=5.000000; cloudletAlpha=0.000000; cloudletGrowUp=30.01; cloudletFadeIn=0.510000; cloudletFadeOut=90; cloudletAccY=0.050000; cloudletMinYSpeed=0.100000; cloudletMaxYSpeed=0.100000; cloudletShape="cl_basic"; cloudletColor[]={1,1,1,0}; interval=0.050000; size=0; sourceSize=0.500000; timeToLive=0; initT=0; deltaT=60; class Table { class T0 { maxT=0; color[]={1.0,1.0,1.0,0}; }; class T1 { maxT=1800; color[]={0.6,0.6,0.6,0}; }; class T2 { maxT=3500; color[]={0.55,0.54,0.52,0}; }; }; }; This code below is INSIDE of the cfgvehicles part: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> //note use custom smoke name as above class GunFire: WeaponCloudsNoSmoke {}; class GunClouds: WeaponCloudsNoSmoke {}; class MGunFire: WeaponCloudsNoSmoke {}; class MGunClouds: WeaponCloudsNoSmoke {}; Share this post Link to post Share on other sites
jubbie 0 Posted December 20, 2004 Sorry to ressurect this, but methinks this is on topic. Will this code work with weapons as well? I have a weapon that I want to have no gun smoke coming out of. Thanks. Share this post Link to post Share on other sites
BraTTy 0 Posted December 20, 2004 Rifle or Handgun...prolly not as parts are needed within cfgvehicles. A static Mgun , yes Share this post Link to post Share on other sites
Trenchfeet 0 Posted December 30, 2004 Just want to check incase this has been solved but Quote[/b] ]Also eliminate the gun flash too? well has it cheers Share this post Link to post Share on other sites
jubbie 0 Posted January 5, 2005 Rifle or Handgun...prolly not as parts are needed within cfgvehicles.A static Mgun , yes Actually, it seems to have worked! Share this post Link to post Share on other sites
jubbie 0 Posted January 10, 2005 No... it actually didn't work. I just didn't have a muzzle position set in the model. Share this post Link to post Share on other sites
Totmacher 0 Posted January 11, 2005 I think you cant make a weapon with no smoke. You only can change cfgclouds for you soldier. You will have a solder with no gun smoke but on all weapons he is firering. But this is only a theory. Share this post Link to post Share on other sites
colonel_klink 0 Posted January 11, 2005 I think you cant make a weapon with no smoke. You only can change cfgclouds for you soldier. You will have a solder with no gun smoke but on all weapons he is firering. But this is only a theory. yep you are correct there. works cool on aircraft tho Share this post Link to post Share on other sites
jubbie 0 Posted January 11, 2005 You only can change cfgclouds for you soldier. You will have a solder with no gun smoke but on all weapons he is firering. But this is only a theory. Any idea on how to do that? I don't see cfgClouds in the commented configs.. am I missing it? Share this post Link to post Share on other sites