Jump to content
Teutch

Add tracer effect to an ammo

Recommended Posts

Hello !

 

I'm looking to add tracer effect to an ammo type, but I can't see it when my tank is shooting

 

The script look like that :

 

class CfgAmmo {
    class Sh_120mm_APFSDS;
    class Kjpz90_AP: Sh_120mm_APFSDS {
		caliber = 0.90;
		timeToLive=15;
		whistleDist=14;
		tracerScale=2;
		tracerStartTime=0.1;
		tracerEndTime=2.3;
		model="\A3\Weapons_f\Data\bullettracer\shell_tracer_green";
    };
};

And I also tried that but both of them didn't worked :

 

class CfgAmmo {
    class Sh_120mm_APFSDS;
    class Kjpz90_AP: Sh_120mm_APFSDS {
	caliber = 0.90;
        brightness=50;
        timeToLive=200;
        tracerEndTime=200;
    };
};

 

Is someone knowing how to configure it ?

 

Thanks in advance !

Share this post


Link to post
Share on other sites

You could use a script on projectile fired. I did that for an option of one of my modules.

Watch from minute 5:

 

Share this post


Link to post
Share on other sites

Thx for your reply pierremgi !

 

But after several attempts I finally figured out how to do it

 

Just add to the specific magazine this line :

 

        tracersEvery = 1;

 

It will take the color you added to the ammo, like this :

 

	model="\A3\Weapons_f\Data\bullettracer\shell_tracer_green";

 

And that's it !

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

×