swep tracers

I want to use the toolgun tracer on one of my sweps. How do I add it? (or any tracer for that matter)

Im talking about visual tracers. Those seem to be checking for hits as apposed to providing a visual

Here’s how the sandbox did it in the stool.


If you look at the link from Jamie it still needs to do a trace like mentioned to get some of the data for the effect.

If I already have a functioning swep without a visual trace shouldnt the data for it be there already? Where would I add such an effect? can I have sample code?


Maybe you should try reading the information in the link JSharpe gave you, that’s pretty much everything you need to know. We don’t know how you did your swep so we can’t give you code to copy paste in there, you’ll have to do some work on your own.