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 :)

Image RSS Feed Latest Screens
Quake Portal Gun Demonstration Quake Portal Gun Demonstration Quake Portal Gun Demonstration
Blog RSS Feed Report abuse Latest News: Code on github.com

0 comments by RobSis on Mar 3rd, 2013


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!

Media RSS Feed Latest Video
Downloads RSS Feed Latest Downloads
Portal Gun (v2.3)

Portal Gun (v2.3)

Jul 15, 2012 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)

May 17, 2011 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)

Apr 27, 2011 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

Mar 4, 2008 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 56)
XSpalter Nov 27 2011, 3:41am says:

is the game death?

+1 vote     reply to comment
RobSis Creator
RobSis Nov 27 2011, 4:06am 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, 1:44am replied:

you should port this to psp too

+1 vote     reply to comment
st1x51 Dec 4 2011, 2:27am replied:

I'll do it)

+1 vote     reply to comment
lectorgc_ Nov 10 2011, 5:59pm 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, 9:17pm 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, 2:50am 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, 3:44pm 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, 2:05pm 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, 2:12pm 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, 3:53pm 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, 6:34pm 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, 3:52pm 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
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Quake Icon
Windows, Mac, Linux, DOS
Developed By
Send Message
Official Page
Release Date
Released Mar 3, 2008
Mod Watch
Track this mod
Community Rating



12 votes submitted.

You Say


Ratings closed.

First Person Shooter
Single Player
Embed Buttons

Promote Quake Portal Gun on your homepage or blog by selecting a button and using the embed code provided (more).

Quake Portal Gun Quake Portal Gun
Quake Portal Gun
7,654 of 23,231
Last Update
2 years ago
28 members