Portal Gun (Handheld Portal Device) is a device that creates an inter-spatial portal (wormhole) in the level.

It is quake version of the gun from game Portal (part of Orange box) by Valve.

The latest state of source code is hosted on Github.com

Idea is simple: fire with the portal gun to the desired locations to open first and second portal. Now, the wormhole is created between them. You can enter it, or close it down, or even toss some objects through.
This mod tries to simulate (poorly) the physic as seen in original Portal game. That means, when you enter the first portal, your velocity and angles is restored on the other side of wormhole.
This allows you to do big jumps using gravity, and other tricks. Teleporting of pickups is possible, which allows interesting strategies (like gathering pickups on one place and the pick them all up at once; or reaching distant items just by shooting at them).

Controls are defined in autoexec.cfg. It's inspired by wecreatestuff's version of the game:

[p] - unsheathe portal gun.
[q] - fire blue portal.
[e] - fire yellow portal.
[f] - grab item.
[w][s][a][d] - movement.

I hope you enjoy it!
-- RobS

DISCLAIMER: Please note, that this modification is not commercial and I'm not trying to cause any financial harm to Valve company. If the Valve corporates think, I'm ruining their business, I'm ready to take it down from the internet (but I'm gonna hate them for the rest of my life :)

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media

Code on github.com

2 years ago News 0 comments


I've decided to put the source code on github.com and continue maintenance from there.
The repository is located at RobSis/quake-portal-gun.

Here on moddb.com, I will only upload the major releases.

Feel free to send pull requests, fill issues or fork!

Before release

Before release

4 years ago News 7 comments

The v2.3 of this mod is coming soon, so I'm gonna show you little "teaser". I've added portal-proof walls, forcefields of various purposes, new gun skin...

Portal Gun (v2.3)

Portal Gun (v2.3)

3 years ago Full Version 3 comments

Yet another (and nicer) model of the gun added. And introducing the Companion Cube! You can find it in 'phystest' level. It cannot trigger any buttons...

Portal Gun (v2.2)

Portal Gun (v2.2)

4 years ago Full Version 13 comments

Completely original new model added! Should work on any decent engine now. Also, new "level" added. It's called 'pellet'.

Portal Gun (v2.1)

Portal Gun (v2.1)

4 years ago Full Version 0 comments

I decided to remove portal gun model, that caused lots of engines to crash. Someone has to make low-poly version of it... It's still in the package, though...

Quake Portal Gun

Quake Portal Gun

7 years ago Full Version 4 comments

Portal Gun (Aperture Science Handheld Portal Device) is a device that creates an inter-spatial portal (wormhole) in level. It's an quaked conversion of...

Post comment Comments  (10 - 20 of 57)
XSpalter Nov 27 2011 says:

is the game death?

+1 vote     reply to comment
RobSis Creator
RobSis Nov 27 2011 replied:

No, but it moves so slow it might seem so. It also smells badly :)
My mapper took a break, so did I.

+1 vote   reply to comment
watstha Dec 3 2011 replied:

you should port this to psp too

+1 vote     reply to comment
st1x51 Dec 4 2011 replied:

I'll do it)

+1 vote     reply to comment
lectorgc_ Nov 10 2011 says:

Hey man! Greetings from me! I just found your mod. Good job!
Hehe I'm working on similar one but for q3a. It almost ready. Here is short preview.

+1 vote     reply to comment
RobSis Creator
RobSis Nov 11 2011 replied:

hi, thanks.
now, that mod is very nice, I didn't know q3 engine can do those see-through portals. or do you modify engine as well?

mine portals are just cheap teleporters :)

+1 vote   reply to comment
lectorgc_ Nov 12 2011 replied:

It can, you can find such portals in q3dm0/q3dm7 maps. But it was very limited, so I extended it to multiview and recursive view. Just little modifying in rendering.

+1 vote     reply to comment
RobSis Creator
RobSis Jun 24 2011 says:

school is over, so finally I have some time to work on this mod...
some two guys from texas made some very clever maps, so we gonna build on that. get eager for some chambers :)

also I have to fix the gun model, the texture bug is so flagrant!

+1 vote   reply to comment
ceriux Aug 24 2011 replied:

Hey! I can't wait for version 2.3 once your mod gets more content, i want to make a news post about it on my group. If you need any help with textures let me know.

+1 vote     reply to comment
RobSis Creator
RobSis Sep 2 2011 replied:

Hi. I found some textures on free artwork sites. The largest problem is maps right now...

+1 vote   reply to comment
ceriux Sep 10 2011 replied:

making a map is easy siska Youtube.com

(i wouldnt suggest making your rooms by hollowing out boxes though.)

+1 vote     reply to comment
RobSis Creator
RobSis Sep 11 2011 replied:

Yeah, I guess I should start by myself. Oh, and what's wrong with hollowing out?

+1 vote   reply to comment
Halm_Barte Sep 23 2011 replied:

I'm quite keen to be mapping for you, I'll send a small .bsp in a zip for you to have a look at my handi-work. The reason you dont want to just carve a space out of another block to make a room is because the carve tool can create tiny-tiny-tiny leaks which suck and cause slowness where a box made surface by surface will be tidy and not spill the games playable area into the infinate void ...hence slowness.

e-mail me: kylealanjohn@hotmail.com

+1 vote     reply to comment
Post a comment

You are not logged in, your comment will be anonymous unless you join the community. Or sign in with your social account:

Send Message
Release date
Released 2008
Mod watch
Start tracking
Community Rating



12 votes submitted.

You Say


Ratings closed.

Embed Buttons
Link to Quake Portal Gun by selecting a button and using the embed code provided more...
Quake Portal Gun
Last Update
2 years ago
29 members