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 Post news 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 Upload file 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  (50 - 57 of 57)
punkjunkie Mar 5 2008 says:

You guys DO realize this specific Quake1 mod (including graphics, code, etc) has been around for about 10 - 11 years, right?

So, to say that its a conversion of the Portal gun for that Valve game is absurd.

What the hell?

0 votes     reply to comment
RobSis Creator
RobSis Mar 6 2008 replied:

Hello, punkjunkie
I really didn't know anything about that 10-years-old mod you're describing. I grab the portal-gun model and portals models from Killer Quake Patch, but in this mod the mechanism is completely different. (In KQP, portal gun makes hole through the wall, my portal gun makes hole through the space).

If you don't mean the KQP, just let me know, what you do mean.

Thank you.
Please, note that I'm not developing this mod for fame or money. I just missed the portal-gun in quake, and I made it. If there is some older, better mod, I'm gonna use it and forget my poor mod.

+1 vote   reply to comment
punkjunkie Mar 8 2008 replied:

well I can't be sure how the original mod worked, but I'm gonna assume when it was put into KQP it wasn't changed (most mods weren't).

IIRC, Killer Quake Patch was just a compilation of various mods from various authors (which made it one of the best mods for Q1).

I don't have a problem with someone reposting mods or modifying them and posting them .... just some credit to original authors or even stating that you don't know who the original author(s) are would be awesome.

You definitely should have just said you took an original Quake mod and spoofed up the code to act like valve's Portal and given some credit.

I wouldn't have jumped on ya :P

0 votes     reply to comment
punkjunkie Mar 8 2008 replied:

Well maybe I'm wrong on the whole compilation thing.

Its really been a long time since I've been into the Quake stuff.

Ahh well, you get my point.

+1 vote     reply to comment
Sirramza Mar 1 2008 says:

if you can do this mod i am going to be you number 1 spanish fan XD

+1 vote     reply to comment
RobSis Creator
RobSis Mar 4 2008 replied:

Well, I suposse, I did it already.
You can download the file from Int21h.ic.cz
Just extract it and run quake with "-game folder" switch.

Again, I'm asking anybody for help with models and levels. Thank you.

0 votes   reply to comment
noname180795 Feb 29 2008 says:


+1 vote     reply to comment
RobSis Creator
RobSis Feb 29 2008 says:

This mod is in progress, I would like to ask anybody to make it better. Do some better models of gun and portals, make some Portal-style levels, etc.

0 votes   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
Developed By
Send Message
Official Page
Release Date
Released 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
Last Update
2 years ago
29 members