
Originally Posted by
Sakura_Chan
unfortunately the smoke effect is attached to the soldier and not the gun. As far as I know the only way to remove the smoke from one gun is to remove it from the game altogether.
Interesting.
I found some info about changing the weapons cloud via config for vehicles but wasn't able to apply this to my weapon. Do you know much about this?
Basically defined the parameters for the particle clouds used for guns, machine guns etc.
Edit, was like this:
Code:
class WeaponCloudsGun {};
class WeaponCloudsMGun: WeaponCloudsGun {};
class mygunsmoke: WeaponCloudsMGun
{
cloudletDuration=0;
cloudletAnimPeriod=1;
cloudletSize=0;
cloudletAlpha=0;
cloudletGrowUp=1;
cloudletFadeIn=1;
cloudletFadeOut=1;
cloudletAccY=0;
cloudletMaxYSpeed=0;
cloudletShape="cl_basic";
cloudletColor[]={1,1,1,1};
interval=1;
size=0;
sourceSize=0;
timeToLive=0;
initT=1;
deltaT=0;
class Table
{
class T0
{
maxT=1;
color[] = {1, 1, 1, 1};
};
};
};
I tried putting it near the start of my config then defining it within the weapons class. However, from what you are saying I would imagine this would only work within the unit's config instead.