Garry's Mod

Garry's Mod

TTT - Portal Gun for Traitor/Detective
Showing 1-10 of 10 entries
Update: 29 Apr @ 12:09pm

- Removed duplicate, obsolete model files (thanks to EntranceJew for this maintainability update!)
- Handle an edge case where a portal can't be loaded for a player (thanks to mexikoedi for reporting this bug!).

Update: 28 Jan @ 9:02am

Fixed an unhandled error where the owner of a portal wasn't registered correctly.

Update: 30 Oct, 2023 @ 9:37am

- Spectators can no longer fly through portals or cause any portal sounds to play.

This fix was submitted by mexikoedi. Thank you so much!

Update: 6 Sep, 2023 @ 1:37pm

This small update makes the portal hitbox mask available as a configurable "portalmod_shot_mask" console variable (aka ConVar). Check out the Garry's Mod Wiki for all possible values: https://wiki.facepunch.com/gmod/Enums/MASK - for example, by typing "portalmod_shot_mask 33636363", portals can be placed on anything that blocks player movement.

Thanks a lot to EntranceJew for proposing this update and supplying the necessary code changes!

(Besides this console variable, nothing has changed. The default value for the hitbox mask is still the same.)

Update: 30 Aug, 2022 @ 3:54am

Fixed entities getting picked up (floating) with any equipped weapon instead of only the portal gun. Thanks to mexikoedi and rafuet for their bug report and fix proposal!

Update: 21 Jul, 2022 @ 2:59am

- Fixed picking up props (when pressing E or your +use key)
- Refactored parts of the code to be more clean and readable

Update: 17 Feb, 2021 @ 12:31pm

Fixed the "SetMaterial" bug which came with a Gmod update.
Also, better gameplay:
- Prevent portals from spawning inside each other
- Detect quickly travelling players further away so they don't hit the ground and just, like, die
- Prevent annoying back and forth when a player doesn't actually move towards the portal

Update: 10 Dec, 2020 @ 3:59pm

Fixed for Detective / Edited some metadata

Update: 10 Dec, 2020 @ 3:37pm

Actually uploaded the right file. oops.

Update: 10 Dec, 2020 @ 2:08pm

Initial addon creation.