Home / Forums / Off-Screen 360-Degree Radar Arc Indicators with Proximity Scaling (Part 2)

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Tutorial

Off-Screen 360-Degree Radar Arc Indicators with Proximity Scaling (Part 2)

ApexPredator_
Source Engine Modder
VIP
Rep: 340
Join Date: May 2022
Posts: 23
Thanks: 88
2y ago · Oct 1, 2023 11:15 AM
#1
Projecting off-screen target directions onto an elliptical screen radar perimeter with distance-based scaling.
ApexPredator_ · Source Engine Specialist
The following users thanked ApexPredator_ for this post:
SigScannerPro
Pattern Scanning & IDA
MEMBER
Rep: 210
Join Date: Jul 2023
Posts: 25
Thanks: 52
2y ago · Oct 1, 2023 4:33 PM
#2
Transform world delta into camera space, compute angle with atan2(localDir.x, localDir.z), and position markers along an ellipse (radiusX, radiusY).
SigScannerPro · Pattern scanning & Byte masking
BoneMatrix_
CS2 & Skeleton Math
MEMBER
Rep: 190
Join Date: Aug 2024
Posts: 21
Thanks: 47
2y ago · Oct 1, 2023 7:33 PM
#3
Scaling the indicator arrow size inversely with distance provides instant awareness of approaching targets.
BoneMatrix_ · Source 2 Skeleton ESP & Hitboxes