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

News 0 comments

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!

Before release

Before release

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)

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)

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)

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

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 57)
Gearsguy
Gearsguy

Can this work with PSP Quake because then its like Portal: Portable xD

Reply Good karma Bad karma+4 votes
Koolvin
Koolvin

ya but you have to write your own code :P

Reply Good karma Bad karma0 votes
General_Atrox
General_Atrox

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.

Reply Good karma Bad karma+1 vote
Markzilla
Markzilla

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.

Reply Good karma Bad karma+1 vote
andypandy44
andypandy44

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

Reply Good karma Bad karma+1 vote
Markzilla
Markzilla

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.

Reply Good karma Bad karma+4 votes
andypandy44
andypandy44

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

Reply Good karma Bad karma+1 vote
Markzilla
Markzilla

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.

Reply Good karma Bad karma+1 vote
Markzilla
Markzilla

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

Reply Good karma Bad karma+1 vote
NexusHUBSH
NexusHUBSH

Can it be used in single player?

Reply Good karma Bad karma+1 vote
leilei
leilei

get a new name too

Reply Good karma Bad karma+1 vote
RobSis Creator
RobSis

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

Reply Good karma+3 votes
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:

Icon
Quake
Game
Quake
Creator
Contact
Send Message
Homepage
Github.com
Release date
Mod watch
Start tracking
Share
Community Rating

Average

8.8

12 votes submitted.

You Say

-

Ratings closed.

Style
Embed Buttons
Link to Quake Portal Gun by selecting a button and using the embed code provided more...
Quake Portal Gun
Statistics
Last Update
Watchers
29 members
Downloads
4
Articles
2
Reviews
6