Using TF2 Machina Particle Effect as a tracer?

Hey there, I’m having trouble figuring out how to use a particle effect between two different points. I can get the particle to spawn in one specific origin, but I’m not sure how to spread the particle effect out between two.

So far, I’m only aware of two different particle effect functions, ParticleEffect and ParticleEffectAttach. Both rely on one entity or origin, which is a problem.

For those who aren’t aware of the Machina particle effect:

I hope someone has a solution, because it is a really nice effect, in my opinion.

I’ve only been able to set particle properties through Entity:CreateParticleEffect and it’s control points argument. The whole particles thing is pretty messy in my opinion.

Fixed, with the power of Kilburn!


				if CLIENT then
				
					self:CreateParticleEffect( self.Primary.Scope.ParticleEffect, {
						{ position = bullet.Src },
						{ position = trace.HitPos },
					})
					
				end
		
				if CLIENT then
				
					self:CreateParticleEffect( self.Primary.Scope.ParticleEffect2, {
						{ position = bullet.Src },
						{ position = trace.HitPos },
					})
					
				end