Skip to content

Adds a basic team-only radar to Team Fortress 2 servers running SourceMod.

License

Notifications You must be signed in to change notification settings

vexx-sm/TF2-Team-Radar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Team Fortress 2 Team Radar

This plugin creates a simple, real-time radar display for each player, showing the positions of their teammates relative to their own position.

The radar uses SourceMod's HUD text functionality for rendering, making it a lightweight solution that doesn't require any client-side modifications.

Note

The plugin primarily shows teammates and was originally designed for certain practicing environments. It does not provide information about enemy positions.

Radar.Preview.mp4

Features

  1. Radar Display:

    • Enabled by default.
    • Shows the player as a yellow up-facing arrow (⮝).
    • Shows teammates as colored dots (●) or arrows (▽ / △) based on elevation relative to the player.
    • Teammate markers change color based on health:
      • Green: Above 50% health
      • Red: 50% health or below
  2. Pinging System:

    • Players can mark where they're looking at on the radar.
    • Pings appear as yellow exclamation marks (!) for 5 seconds, with a 3-second cooldown between pings.
  3. Extras:

    • The radar's position can be adjusted per player or toggled on/off through !radar. (Saved between sessions)
    • A Config file to adjust the plugin's core settings. (colors, update interval, area covered, radar scale)
    • Admins can reload the config on-the-fly with !reloadradar or through the radar menu.
    • Admins can toggle the visibility of disguised enemy Spies.
    • Colors are customizable per player. (Saved between sessions)

Commands

  • !radar Opens a menu to toggle the radar or change its position. Settings are saved per player and persist between sessions (cookies).
  • !pingradar Ping a location on the radar. Ideally, use bind <key> "say /pingradar"
  • !reloadradar Admin command to reload the config file.

Requirements

Installation

  1. Download the latest team_radar.smx from the Releases page and place it in your sourcemod\plugins folder.

  2. Download the latest tf2_team_radar.cfg from the Releases page and place it in your sourcemod\configs folder.

  3. Reload the plugin or restart your server.

License & Contributing

This project is licensed under the MIT License - see the LICENSE file for details.

Requests & Contributions are welcome! Feel free to submit a Pull Request.