Garry's Mod

Garry's Mod

Not enough ratings
TTT 4 Buttons a5
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Map
Addon Tags: Comic, Fun
File Size
Posted
Updated
388.918 KB
9 May, 2022 @ 3:30am
19 Aug, 2022 @ 9:00am
3 Change Notes ( view )

Subscribe to download
TTT 4 Buttons a5

In 1 collection by wget
ESB TTT with unvivianed maps
34 items
Description
this map is simple:
- there are two timers, 120 seconds for innocents, 30 seconds for traitors
- there are four buttons each in separate rooms
- the innocent timer counts down while no buttons are pressed
- the traitor timer counts down while a button is pressed
- when a team's timer hits zero, they win
- every second counts: the timers are only ever reset when the round ends

this map doesn't require anything else installed to work

design:
this map is based on chaz's ttt_the_button which is a very unique and experimental map
(and i think ttt needs more maps like it instead of just the usual big open maps with a traitor tester tucked somewhere)

i made this map because i was really excited to play chaz's map because of its unique concept, but it turned out to not play very well, so i wanted to quickly make a "fixed" version of it

the problem with chaz's map is that the traitors don't really have any good reason to try to press the button since it's just suicidal because they have to be completely exposed,
so the map just ends up revolving around controlling the upper floors instead of revolving around using the button

my solution is basically to quadruple the number of buttons so that the innocents can't just camp, and to put the buttons in separate rooms to break up sightlines

this map's layout is very basic since i came up with it in mere seconds, but after some playtesting, it turned out to work pretty well

each button's room has 3 entrances, two lead into a hallway into the adjacent room and one leads into a central hub that's connected to every room;
staying in the hub guarantees the fastest path to every room, but you're very exposed to being attacked from every direction

the innocents are forced to try to spread out to cover most of the rooms without spreading too thin, while the traitors always have every reason to press a button if nobody's looking,
so it becomes a fast-paced game where both teams try to outsmart and flank each other while still keeping the social deduction elements of ttt since traitors still want to keep their identities secret and the innocents still want to figure out who the traitors are

server owners:
this is a very fast-paced map (rounds last no longer than 2 minutes) so i recommend setting your server's ttt_round_limit cvar to a higher value for this map

if you get the "LUA_RUN FAIL, BLAME THE SERVER OWNER" error, then you have something that's preventing gmod's lua_run entity from working because you're a coward
(the map needs it to work properly)

this map should be compatible with any ttt addon like Custom Roles, TTT2, etc
(pls don't blame me for balancing issues with them though, since i designed this for vanilla ttt)

more info:
current filename: ttt_4buttons_a5.bsp

credits to early testers for their feedback: whirleaf, etc

if you want a vmf, then you can use bspsrc since this map is simple enough that it decompiles very well, and you're completely free to use any element of this map or make your own version of this map

my addons:
my maps:
10 Comments
rendann 13 Jul, 2022 @ 4:36pm 
hi duncan im duncan
wget  [author] 4 Jul, 2022 @ 11:28am 
bspzip i mean
wget  [author] 4 Jul, 2022 @ 6:09am 
as a note, if you want to check the lua code for this map, you have to use bspsrc to unpack it first since the bsp file is compressed
гриф хейт эпилепс 4 Jul, 2022 @ 4:12am 
fair enough actually
wget  [author] 3 Jul, 2022 @ 9:27pm 
@mxusoleum
if you actually wanted to protect your server, you wouldn't disable the lua_run entity altogether

it would be wiser to just not use a workshop collection at all, just manually installing and downloading addons from the workshop and checking their code for anything malicious

messing with the lua_run entity isn't gonna help if you're still having your server automatically take updates from the workshop, it's just a useless measure by server owners that don't know what they're doing
гриф хейт эпилепс 3 Jul, 2022 @ 3:08pm 
"because you're a coward"
Nothing cowardly in preventively protecting your server from malicious scripts
Malivil 15 May, 2022 @ 5:17am 
It works perfectly! Thanks so much for taking the time to talk to me and push out a fix. I really appreciate it =)
wget  [author] 14 May, 2022 @ 8:21pm 
should be fixed for Custom Roles now, thanks!
wget  [author] 14 May, 2022 @ 7:31pm 
@Malivil the map's script uses Player:IsActiveTraitor() to check if a player is a traitor or not (it works with ttt2)

i didn't use the ttt_logic_role entity because it ignores the caller entity's existence (since the renowned genius garry newman's massive bulging brain decided that ENTITY:TriggerOutput doesn't need to include the caller)

without being able to use the caller entity, i would need to have a separate ttt_logic_role for each button (yes i was too lazy to just make 4 of them)

idk why Player:IsActiveTraitor() wouldn't work for Custom Roles, but if it's not possible to fix on your end i guess i'll just use ttt_logic_role
Malivil 14 May, 2022 @ 2:23pm 
Hey, I'm one of the developers of Custom Roles for TTT and I noticed today while playing this map that the buttons only work for vanilla roles, not any of the custom ones that were added. I'm guessing you are executing a script when the button is pressed which is checking for the specific roles or something like that.

I imagine TTT2 would have the same problem, though I haven't tested.

Is it possible to change them to use the ttt_logic_role or ttt_traitor_check entities instead? Doing that would make our custom roles work with the buttons.

If it's not possible to use those entities, can I help adjust the script so it will work for our roles (and possibly TTT2 as well)?