Garry's Mod

Garry's Mod

49,983 ratings
Aperture Science Handheld Portal Device
5
19
9
6
4
4
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Scenic
File Size
Posted
Updated
54.083 MB
Nov 3, 2014 @ 7:14pm
Apr 2, 2017 @ 8:54am
30 Change Notes ( view )

Subscribe to download
Aperture Science Handheld Portal Device

In 1 collection by ryn
Bobblehead's Addons
11 items
Description
I'm no longer offering support for this addon. Sorry, everyone! Use at your own risk.

Description:
A fully functional Portal Gun. This is by far the most eloquent and bug- free portal gun available within Garry's Mod.
Left click to shoot a blue portal. Right click to shoot an orange portal. Reload to remove all portals. Press E to pick up an item.

TO MAKE THE PORTALS LOOK AS THEY SHOULD, RUN "r_novis 1" IN CONSOLE.

IF YOUR PORTALS ARE WHITE OR BLACK, YOU MUST START THE PROGRAM WITH -dxlevel 90.


Windows is currently the only supported operating system.

Please refer to the second video above for instructions if you are having trouble.

Features:
  • Portals which look exactly like the portals in Portal 1
  • Walk through portals just like the game. No more poofing!
  • Standalone, does not require Portal or Portal 2 to work correctly.
  • Velocity is (almost) entirely preserved as you enter the portal.
  • Optional dynamic lights
  • Several convars to adjust the portal gun to your liking (listed below).

ConVars:
  • portal_arm <0|1> Whether to render the arm of the portal gun's viewmodel. (Default 0; requires portal 2).
  • portal_beta_borders <0|1> Whether to use different textures for the portals. (default 0)
  • portal_borders <0|1> Whether to render portal borders at all (default 1; 0 somewhat improves performance)
  • portal_crosshair <0|1> Whether to use the portal crosshair (default 1)
  • portal_dynamic_light <0|1> Whether to use dynamic lights with the portals (default 0; 0 drastically improves performance)
  • portal_limitcarry <0|1> Whether to limit the portalgun to pick up portal props only (default 1)
  • portal_projectile_speed <number> The speed of the projectile shot by the portal gun (default 3500)
  • portal_render <0|1> whether to render the other side of the portal (default 1; 0 drastically improves performance)
  • portal_vm <1-5> Changes your viewmodel to one of several options. (default 1)

Links:
Facepunch: http://facepunch.com/showthread.php?t=1435151
Github: https://github.com/Luabee/PortalGun

Known Bugs:
  • Portal projectiles don't exist in multiplayer
  • Multiplayer in general is very unreliable
  • Props sometimes fall through the floor when they move through the portal
  • Roof portals don't preserve velocity for players.
  • Skybox sometimes doesn't draw within the portal.

Thanks to everyone who helped make this possible, including but not limited to:
Bobblehead - Making it actually work and look nice.
Blackops - Much code and models
Mahalis - Much code
Fernando5567 - Some Code
Matsilagi - Models/effects/testing
Dr. Awesome - Swirly beta portal materials
Popular Discussions View All (48)
45
May 15, 2023 @ 11:23am
poertal gun issues i had
chasebrown04
44
Mar 11, 2023 @ 3:04pm
Bug Reports List
Bappity
36
Jun 5, 2023 @ 10:47am
Most Popular Discussion.
[𝕊ℝ] 𝔻𝕒𝕧𝕖
2,441 Comments
Hodis Jul 23 @ 9:19pm 
"bro its not working" yeah its like 500 years old :alyx:
wildnikN2 Jul 22 @ 8:47am 
bro it's not working
Pan.Szczypiorek Jul 18 @ 10:45pm 
11/10 would recommend
bradm_999 Jul 7 @ 2:13am 
██╗████████╗███████╗-------— ███╗ ███╗ - ███████╗
██║╚══██╔══╝██╔════╝-----— ████╗ ████ - - ██╔════╝ help
██║---— ██║-------███████╗----— ██╔████╔██ —- █████╗golden
██║---— ██║------╚════██║----— ██║╚██╔╝██║---██╔══╝freddy
██║---— ██║-------███████║----— ██║-╚═╝---██║--███████╗take over the workshop
╚═╝------╚═╝-------╚══════╝-------╚═╝-----------╚═╝ -╚══Do it now
b.zwingung Jul 5 @ 1:04am 
hey, I liked your workshop creation, could you pls give me a thumbs up for the 1000 thumbs achivement https://steamcommunity.com/profiles/76561199685522138/myworkshopfiles/
Green-Cop Jul 2 @ 7:32pm 
this is so. broken, its my nightmare of gmod bugs
Nr1Griefer Jun 28 @ 6:07am 
same problem as person below me
Adrian2058Roblox Jun 27 @ 8:41am 
[Aperture Science Handheld Portal Device] AddCSLuaFile: Couldn't find 'autorun/client/cl_fonts.lua'
1. unknown - lua/autorun/server/sv_fonts.lua:1
averageperson Jun 23 @ 1:54am 
laboratories
Stsstrpn Jun 21 @ 11:25am 
in multiplayer when 2 portals are placed, the game just goes pitch black, and we can't do nothing about it, just restart the game