Developer knowledge network · moderated exchange

Zajednica UnreliableCode

Zajednica za istraživanje, obrnuti inženjering i programiranje programera

Knowledge indexŽivjeti
4Categories
919Threads
2.8KPostovi
Release

AutoTurret & SAM Site Defense Range Radius Overlay in ImGui [v2.4 Technical Discussion]

imgui_artisan
UI Designer
MEMBER
Rep: 202
Datum pridruživanja: Apr 2019
Postovi: 54
Hvala: 28
3 prije tjedana · Jul 28, 2026 7:37 PM
#1

Render dangerous base defenses on your screen before flying mini-copters into danger zones:

  • AutoTurret engagement range: 30.0 meters
  • SAM Site missile lock range: 150.0 meters
  • Gun Trap engagement range: 5.0 meters
CPP
void DrawDangerZone(Vector3 turretPos, float range, ImU32 color, const Matrix4x4& vMatrix) {
    // Render 3D Circle on the ground plane around the defense entity
    Draw3DCircle(turretPos, range, 64, color, vMatrix);
}
rust_il2cpp_dev
IL2CPP Master
MEMBER
Rep: 165
Datum pridruživanja: Oct 2020
Postovi: 7
Hvala: 16
3 prije tjedana · Jul 28, 2026 10:58 PM
#2

Drawing SAM site 150m red danger circles completely prevents losing mini-copters with loot. Big vouch!

matrix_math_guy
Math Specialist
MEMBER
Rep: 105
Datum pridruživanja: Aug 2018
Postovi: 52
Hvala: 41
3 prije tjedana · Jul 29, 2026 6:14 AM
#3

Smooth ground circle projection.