Jump to content
Sign in to follow this  
Mudkip

What are the name of M240 and PKM tracer models?

Recommended Posts

I want to let every gun have tracers, so:

	class B_556x45_Ball : BulletBase {
	nvgOnly = 0;
	model = "????";
};

What should I put in "????"?

Share this post


Link to post
Share on other sites

tracersEvery = 4;

lastRoundsTracer = 4;

Fairly self-explanatory, the first one is how frequently a tracer is fired, in this case after every four bullets, and the latter is how many bullets at the end of a magazine are tracers, in this case the last four. Note that these go in the magazine definition rather than the ammo.

However, more pertinently for your question, this is the ammo definition for the PKM:

		class B_762x54_Ball : BulletBase
	{
		hit = 12;
		indirectHit = 0;
		indirectHitRange = 0;
		cartridge = "FxCartridge_762";
		visibleFire = 22;
		audibleFire = 18;
		visibleFireTime = 3;
		cost = 1.2;
		airLock = 1;
		model = "\ca\Weapons\Data\bullettracer\tracer_green";
		tracerScale = 1.2;
		tracerStartTime = 0.075;
		tracerEndTime = 1;
		airFriction = -0.00096;
	};

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  

×