Garry's Mod

Garry's Mod

463 ratings
TTT - Door Locker
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon, Tool, Effects
Addon Tags: Cartoon, Fun, Realism
File Size
Posted
Updated
60.520 KB
24 Jul, 2014 @ 5:46pm
9 Sep, 2016 @ 2:14pm
6 Change Notes ( view )

Subscribe to download
TTT - Door Locker

Description
Ever felt like locking a door and murdering the Innocents inside? Well now you can!

**** Info:
Billy Mays here, er.. This is a project I've been working on to add a change in gameplay and something cool to do on maps. You can Left Click a door (provided you are close enough to it) and it will lock! A timer will begin counting down from 30 seconds and after that time the door will unlock and people are free to use it. And you can use Right Click to unlock your own door if you feel that locking it was a mistake, there is a slight cooldown until it can be locked again. But there is a twist, people can shoot your door down! Your door, by default, has 300 health and people can blow down the door to enter your room. After the door is destroyed it will fall down (or get blown across the room) and people can enter! Spectators can also possess the fallen door.

*** FAQ:
* Is this the Door Welder on Coderhire? Nope this is the same concept but the coding is all mine, it started as a project of mine to copy that.
* Why doesnt this work on my door? The weapon only works on HL2 doors (or prop_door_rotating for you mappers out there) and not other types (func_door). I wish it would but I could not manage to find a way to make it work, sorry.
* How can I change the door health? Currently its just in the lua file which you would have to extract to edit but I will probably make a console command for it.
* Who can see the door info? Only people holding the weapon so you are not outed to the Innocents.

*** Config:
* Change the values in the lua file, convars have been removed due to lua errors

** Do NOT use this with my Door Buster addon or it will cause lua errors **
Popular Discussions View All (1)
0
9 Jan, 2019 @ 10:42pm
ERROR
mtsgaming
42 Comments
Neolectron 17 Sep @ 9:22pm 
Hello, do you have a github so I can contribute ?
Ostross 18 Sep, 2020 @ 2:24am 
BongoKittyCat 13 Sep, 2018 @ 2:20pm 
works perf!
Paley 3 Dec, 2017 @ 5:55am 
[ERROR] addons/ttt_-_door_locker_290945941/lua/weapons/weapon_ttt_locker.lua:239: attempt to index global 'self' (a nil value)
1. v - addons/ttt_-_door_locker_290945941/lua/weapons/weapon_ttt_locker.lua:239
2. unknown - lua/includes/modules/hook.lua:84
3. FireBullets - [C]:-1
4. ShootBullet - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:316
5. unknown - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:240
Paley 3 Dec, 2017 @ 5:50am 
line 239 dont work when i try to destroy the door (sry for bad english ^^)
dmbai 23 Aug, 2017 @ 1:21am 
It working in sandbox?
Unit#941 30 Jul, 2017 @ 5:56pm 
UGH IM LOOKING FOR A MOD TO LOCK DOORS NOT A TIME LIMIT UGGHH.
Sneaky Beaky 27 May, 2017 @ 4:22pm 
and its only locked for 30 secs
Sneaky Beaky 27 May, 2017 @ 4:22pm 
why would it unlock
Đante 8 May, 2017 @ 2:05am 
This addon causes the console to massively spam, even if you don't use it on the map. "Incompatiable Door" It depends on the map as well.