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

Hello,

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  (30 - 40 of 56)
General_Atrox
General_Atrox Sep 22 2008, 1:22pm says:

XD Great mod, though, why for such a old classic game? :)

Ahh all good anyways, i'll give it a 9/10 because i have no idea how you make those portals. Also the pros and Cons mentioned are a tad annoying.

+1 vote     reply to comment
Markzilla
Markzilla Sep 22 2008, 9:46pm replied:

Actually, due to development between the two of us (and by "development" I mean he did all the work and I said what would be good to add) all the cons have been removed and all the pros have been increased tenfold, so they no longer apply. Please do your best to ignore my list.

+1 vote     reply to comment
andypandy44
andypandy44 Sep 18 2008, 12:40pm says:

just to say this mod works on the ds if you place all the files in a pak and replace the model of the gun with an existing one because the skin of the gun is way too big for the ds to handle. brill mod i always have it on just in case i have that urge to press p while im playin

+1 vote     reply to comment
Markzilla
Markzilla Jul 20 2008, 2:08pm says:

I just noticed the other portal mod.
I will now, for no particular reason, compare the two mods.

Your mod:
Pros:
-Correct portal shape
-Attempt to recreate momentum through portals
-Firing portals through portals
-Sending monsters through portals
-Firing projectiles through portals
-Works in cquakeDS
-Portals are usually easy to reposition
-Light generating portals
-Completely new gun

Cons:
-Two blue portals
-Graphics ripped from another mod without credit (Easily fixable)
-Portals several inches from wall
-Orientation not maintained when going through portals
-Can't be fired through small gaps

Unknown if pro or con:
Portals are handled like projectiles before striking object
Projectiles turn into portals when striking player or monsters

Team Lag Mod:
Pros:
-Red and Blue portals
-Instant portals
-Portals flat against wall
-Orientation mantained when going through portals
-Can be fired through small gaps
-Runs in cquakeDS
-Fairly accurate momentum

Cons:
-Portals often ignore objects, making it easier to get stuck
-Actual portals can be difficult to see (Shine, however, is visible)
-Not light generating
-No monsters or projectiles through portals
-Replaces axe

Unknown if pro or con:
Exploding portals. More of a con, because this makes them hard to use, and difficult to use as a weapon.

+4 votes     reply to comment
andypandy44
andypandy44 Sep 18 2008, 12:33pm replied:

Whats this other mod i'd like to give it a try

+1 vote     reply to comment
Markzilla
Markzilla Jul 19 2008, 10:09pm says:

Oh, and some actual puzzle levels would be nice. Also, if different colored portals are possible, binding them to different buttons, or as alternate fire would be fantastic.
Also, maintaining orientation when dropping through portals. It can be a bit disorienting to be suddenly facing downward.

Some bugs:
Shooting the second portal directly at your feet doesn't have the expected effect of pushing you out of the first one. Instead, you teleport back and forth.

Anyway, great work. I've played with this mod longer than any other. Really great stuff.

+1 vote     reply to comment
Markzilla
Markzilla Jul 19 2008, 9:59pm says:

Since we're just ripping graphics anyway, would it be possible to get a version featuring the actual portal gun graphics?
Other than that, making the portals different colors and allowing them to get a bit closer to the wall would be awesome.

Wishlist of the impossible:
Seeing through portals (Quake limitations, obviously)
Firing all weapons through portals (Not all weapons have solid material to teleport)
Lifting things with the Portal gun (Yeah right, I know.)

+1 vote     reply to comment
NexusHUBSH
NexusHUBSH May 25 2008, 12:59pm says:

Can it be used in single player?

+1 vote     reply to comment
leilei
leilei Mar 19 2008, 12:21pm says:

get a new name too

+1 vote     reply to comment
RobSis
RobSis Mar 28 2008, 12:32pm replied:

Oh, come on! How should I name it? Barsexual's robocracy? My mod appends PORTAL gun into game!

+3 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

Icon
Quake Icon
Platforms
Windows, Mac, Linux, DOS
Game
Quake
Developed By
RobSis
Contact
Send Message
Official Page
Github.com
Release Date
Released Mar 3, 2008
Mod Watch
Track this mod
Share
Community Rating

Average

8.8

12 votes submitted.

You Say

-

Ratings closed.

Style
Genre
First Person Shooter
Theme
Sci-Fi
Players
Single Player
Embed Buttons

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

Quake Portal Gun Quake Portal Gun
Quake Portal Gun
Statistics
Rank
4,204 of 22,471
Last Update
1 year ago
Watchers
27 members
Files
4
News
2
Reviews
6