Portal x Garry's Mod: Portal Gun (UNTESTED SOURCE)
Solo GMod sandbox. Spawn with the Portal portal gun; left/right click place linked blue/orange portals; see through them; walk, props and ragdolls pass through with velocity kept.
- Host: Garry's Mod (primary). Companion: Portal (gun model, sounds from the player's own install via {game:portal}; none shipped).
- Sheets in /sheets are the source of truth (every row has verified:false until tested in game).
Known gaps / first things to test on a PC
- Confirm Portal asset paths (sheets/mounts.json) exist in the Portal install and that the mount works.
- Portal roll on floors/ceilings and the stencil quad orientation (render.DrawQuadEasy up-vector) need tuning.
- Teleport triggers 12 units before the wall (Source can't pass through brushes); large props may clip at exit.
- Render-target recursion (portal seen through portal) is not handled; the view is one level deep.
- Performance: full-screen RT per portal.
Needs an agent on the PC with Melty tools: preflight sheets, run in GMod, fix, record a real clip, one_click_check, publish.