Developer knowledge network · moderated exchange

Супольнасць UnreliableCode

Супольнасць распрацоўшчыкаў даследаванняў, зваротнага праектавання і кадавання

Knowledge indexжыць
4Categories
919Threads
2.8KПаведамленні
Release

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

imgui_artisan
UI Designer
MEMBER
прадстаўнік: 202
Дата далучэння: Apr 2019
Паведамленні: 54
Дзякуй: 28
3 тыдняў таму · 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
прадстаўнік: 165
Дата далучэння: Oct 2020
Паведамленні: 7
Дзякуй: 16
3 тыдняў таму · 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
прадстаўнік: 105
Дата далучэння: Aug 2018
Паведамленні: 52
Дзякуй: 41
3 тыдняў таму · Jul 29, 2026 6:14 AM
#3

Smooth ground circle projection.