Portal Gun (v2.3)
Jul 15, 2012 Full Version 3 commentsYet 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 (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 :)
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!
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...
Completely original new model added! Should work on any decent engine now. Also, new "level" added. It's called 'pellet'.
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...
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...
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
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.
Whats this other mod i'd like to give it a try
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.
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.)
Can it be used in single player?
get a new name too
Oh, come on! How should I name it? Barsexual's robocracy? My mod appends PORTAL gun into game!
You may be interested in this: Lag.thps3.net
Some of the speedrunners did a similar mod, makes for some crazy speedruns (e3m4 iirc in under 2 seconds).
Thank you for that! That looks to be exactly, what I meant to do. I haven't tried it yet. If this mod is better then mine, I will erase my mod from this page.