[Client] Tracers (responsive aim lines)

Started by doug147, September 01, 2020, 05:31:53 AM

doug147

Here is a mod I made called Tracers. 

Here is the capabilities of the mod:


  • Dynamically draws aim line based on weapon
  • Aim line distance extends out to the range of the currently held weapon
  • Detects when there is a hit against a player or vehicle and changes the alpha on the line past the point of the hit, making it less visible for aesthetic purposes
  • Displays enemy aim lines as red, your own aim line as green
  • Does not display party member aim lines, by design

You can find the mod source code here https://github.com/doug147/Tracers (https://github.com/doug147/Tracers)

And you can download the mpk file for the mod here https://github.com/doug147/Tracers/releases/tag/1.0.0 (https://github.com/doug147/Tracers/releases/tag/1.0.0)




Mars

#1
Looks like a nice way to code this.  I could use it to trace lines on my markers  ;)

Why don't you dectect hits against monsters too?

doug147

I could add in detection against monsters too, I think they are going to add native trace lines though in the next update, so I'll wait to see what they do first before updating this one

Khaos

I am wondering if I anyone else has had the Tracer mod turn off when using energy rifle? and when I switch back to my bolt rifle it is still off. I have to restart the game to get it back.


Mars

It went off with a grenade launcher too I think, but it went off, I was still seeing it on other players.

doug147

Looks like there's an error with the laser rifle, thx for pointing that out I'll update it shortly