Garry's Mod

Garry's Mod

TTT - Portal Gun for Traitor/Detective
1-10 van 10 items weergegeven
Update: 29 apr 2024 om 12:09

- 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 2024 om 9:02

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

Update: 30 okt 2023 om 9:37

- 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 om 13:37

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 om 3:54

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 om 2:59

- 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 om 12:31

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 om 15:59

Fixed for Detective / Edited some metadata

Update: 10 dec 2020 om 15:37

Actually uploaded the right file. oops.

Update: 10 dec 2020 om 14:08

Initial addon creation.