Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] Last Minute Radar
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
8.606 KB
7 Aug, 2021 @ 6:23pm
7 Aug, 2021 @ 11:37pm
2 Change Notes ( view )

Subscribe to download
[TTT2] Last Minute Radar

In 1 collection by blackmagicfine
TTT2 Mods For BMF's Server
95 items
Description
TTT2 Required

Source: https://github.com/AaronMcKenney/ttt2-last_min_radar

The Last Minute Radar will give all remaining players a radar once both of these conditions are met:
1. A certain amount of time has passed (5 minutes by default)
2. A certain number of players (or less) are left (3 by default)

This addon will assist the remaining players in their attempts to find each other, which may otherwise be difficult for large maps.

Last Minute Radar ConVars (also found in ULX):
# How much time (in seconds) a game must go on for until a Last Minute Radar can be considered? ttt2_last_min_radar_timeout [0..n] (default: 300) # How many players (or less) must remain until a Last Minute Radar can be considered? ttt2_last_min_radar_min_plys [0..n] (default: 3) # Should only players that aren't on TEAM_INNOCENT and TEAM_NONE get the radar (Ex. Traitors, Jackals, Jesters, etc.)? ttt2_last_min_radar_evil_only [0/1] (default: 0)

--
Credits:
BlackMagicFine: creator of this role addon
Thumbnail is a blown up radar icon from TTT2 Base. I am bad at art.
8 Comments
blackmagicfine  [author] 30 Nov, 2021 @ 12:46am 
@hawy_: Hmm I'm unable to reproduce your issue. Could you provide me with more information?
Mangost 8 Aug, 2021 @ 5:18pm 
true
blackmagicfine  [author] 8 Aug, 2021 @ 3:17pm 
@Mangost: Explicitly, it counts how much time has passed, not how much time is left. So by default the first condition will be met once the game has been going on for 5 minutes. I figured that it would be simpler for the server admin to adjust the ConVar based on how long they think an average game should last, rather than taking programming corner cases to handle haste mode.

5 minutes might seem a little short, but keep in mind that there also needs to be <= 3 players alive in order for Last Minute Radar to activate. Also I play with a small group that's fairly trigger happy, so games tend to go pretty quickly for me at least.
Mangost 8 Aug, 2021 @ 1:54pm 
also it seems that it will have some problems with haste mode as it wont actually count the extra time and stuff
Emstrogen 8 Aug, 2021 @ 11:29am 
@blackmagicfine
That makes sense. Thanks for the quick update! Great addon seriously.
blackmagicfine  [author] 7 Aug, 2021 @ 11:44pm 
@Mangost: It has been done. Set ttt2_last_min_radar_evil_only to 1 to enable.

@PolarKC: I've decided against adding a "not evil only" mode. I think that would just make the game go longer as innocents would use the knowledge to hide from everyone.

I may or may not add a mode that does not give radars to shoppers who still have credits.
Emstrogen 7 Aug, 2021 @ 9:41pm 
It would be great to choose evil, all, or not evil! Awesome addon. I might enhance it and put up a PR if I get around to it before you!
Mangost 7 Aug, 2021 @ 7:13pm 
I feel like this would work great for the server I play on, though I feel like there should be a convar to make it only effect ts (and other evil roles) as they are the ones who are under the threat of the timer.