Posted by: BehemothProgrammer
« on: October 17, 2017, 09:48:00 PM »Theres 3 types of crosshairs you can set for each weapon in weaponInfo and they are:
trackingCrosshair
lockonCrosshair
scopeCrosshair
You can see examples of them for the bore/rocket launcher/plasma rifle/tek bow. I don't see any default crosshair or something like that so you only got those 3 to work with.
Doing this with a weapon forces the weapon to always use the tracking crosshair and it won't actually track because of the maxTrackingDegrees set to 0. But it kinda lags behind like the bore and rocket launcher. Best I could get it.
trackingCrosshair
lockonCrosshair
scopeCrosshair
You can see examples of them for the bore/rocket launcher/plasma rifle/tek bow. I don't see any default crosshair or something like that so you only got those 3 to work with.
Doing this with a weapon forces the weapon to always use the tracking crosshair and it won't actually track because of the maxTrackingDegrees set to 0. But it kinda lags behind like the bore and rocket launcher. Best I could get it.
Code: [Select]
trackingCrosshair "gfx/hud/crosshair_bore_track.png"
lockonCrosshair "gfx/hud/crosshair_bore_lock.png"
scopeCrosshair "gfx/hud/crosshair_tekbow_scope.png"
allowTracking TRUE
maxTrackingDegrees 0.0