Jump to content

Sign in to follow this  
liukang168

Tracer in arma3

Recommended Posts

+++update+++

This is how you get tracers to work in arma3:

class class CfgAmmo
{
class default;
class BulletBase;

class my_ammo: BulletBase
{
	hit=0;
	indirectHit=0;
	indirectHitRange=0;
	cartridge="my_cartride";
	visibleFire=22;
	audibleFire=18;
	visibleFireTime=3;
	cost=1.2;
	airLock=1;
	typicalSpeed=795;
	caliber=0.80000001;
	model="\A3\Weapons_f\Data\bullettracer\tracer_red"; <--- can be tracer_yellow, tracer_white, tracer_green
	tracerScale=1;
	tracerStartTime=0.050000001;
	tracerEndTime=1;
	airFriction=-0.00095999998;
	class CamShakeFire
	{
		power=0;
		duration=0;
		frequency=0;
		distance=0;
	};
	class CamShakePlayerFire
	{
		power=0;
		duration=0;
		frequency=0;
		distance=0;
	};
 }; 
};

class CfgMagazines
{
class CA_Magazine;
class my_catridge: CA_Magazine
{
	scope = 2;
	displayName =whateverulike;
	ammo = my_ammo;
	count=150;
	initSpeed = 9000;
	picture="\A3\weapons_F\data\UI\m_30stanag_CA.paa";
	tracersEvery=1;                                                               <---------- rate of tracers (here every shot)
	lastRoundsTracer=4;
};

};

The new systems seems to work differently ... couldnt find any hint about tracers in the tutorials, yet.

Edited by liukang168
solved

Share this post


Link to post
Share on other sites

The model defines the color now:

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

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

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

Share this post


Link to post
Share on other sites
  Quote
;2370079']The model defines the color now:

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

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

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

Thanks your hint made me find the proper usage.

Share this post


Link to post
Share on other sites
  Bigpickle said:
great find liukang

NP, thats what this forum is good for :)

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  

×