Garry's Mod

Garry's Mod

TTT - Portal Gun for Traitor/Detective
Visar 1–10 av 10 poster
Uppdatering: 29 apr, 2024 @ 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!).

Uppdatering: 28 jan, 2024 @ 9:02

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

Uppdatering: 30 okt, 2023 @ 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!

Uppdatering: 6 sep, 2023 @ 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.)

Uppdatering: 30 aug, 2022 @ 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!

Uppdatering: 21 jul, 2022 @ 2:59

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

Uppdatering: 17 feb, 2021 @ 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

Uppdatering: 10 dec, 2020 @ 15:59

Fixed for Detective / Edited some metadata

Uppdatering: 10 dec, 2020 @ 15:37

Actually uploaded the right file. oops.

Uppdatering: 10 dec, 2020 @ 14:08

Initial addon creation.