TODO

Detect if above/below/to the side to apply correct physics

Actual models for long fall(contact me if you can help with this)

Train support

Fix teleporting bigger vehicles

More toys? (i.e. companion cube, gels, turrets, or faith plates) Not sure if that should be a separate thing...

Requirements

Installation

Create a scripts folder in your GTAV game location if you have not done so already, and place PortalGun.cs, PortalGunSetings.txt, and the PortalResources folder in it. Using OpenIV, navigate to "update/x64/dlcpacks/patchday3ng/dlc.rpf/x64/models/cdimages/weapons.rpf" and place the modded files in there. Make sure you have downloaded the above, and place ScriptHookV.dll, dinput8.dll, OpenIV.asi, and ScriptHookVDotNet.asi in the main directory.



How to use

Customize the settings file to your liking Shoot using a heavy pistol for an orange portal. Hold while shooting or press T for a blue portal. For added fun, press Y to put a portal on the moon. Walk through it, or make someone else walk through it. Grab entities while aiming with E to move them around Now you're thinking with portals!

Controls

"T" - Hold while shooting heavy pistol/press for blue portal.

"E" - Grab entities while aiming at them

"O" - Toggle the long fall boots.

"I" - Toggle being sucked in by moon

"K" - Teleport directly to the blue portal.

"L" - Teleport directly to the orange portal.

"B" - Spawn an random ped two feet in front of you.

"Y" - Spawn an orange portal on the moon (hold T for blue portal)

Thanks to

Donators

rappo

Erick Meyers

Changelog

Quickfix

Fixed the off-center crosshairs

Now possible to go to the moon using Y or holding T while pressing Y

Updated to work with latest version of GTA

Minor fixes to moon

You can now shoot the moon between 21:00 and 5:59

You can grab entities

Crosshairs have been added

You can now shoot while falling (when ragdoll)

Infinite portal Gun Ammo

Portals will never pop

Added listing in config file for press to shoot blue portal or hold while shooting for blue portal

Bug Fixes

Drastically increased range

Portal Gun Model

Sound effects

Hitting a car/ped directly will teleport it to other portal

Portals pop less often

Added a config file for rebindable keys

This was a triumph

I'm making a note here, huge success

Show Full Description

This mod brings in the famous Portal Guns from the Portal series to GTAV! Use the heavy pistol to shoot the orange portal, and hold T while shooting toshoot the blue portal. Depending on the sound you hear, you will know if the portal has been created or not. Also, you can see if your shot is going to hit ifthe crosshair is white, or miss if the crosshair is grey. You can easily go in between the portals by just walking into them, driving into them, or evenpressing "K" and "L" to go directly to the blue and orange portals, respectively. You can grab entities with E to move them around, and also press Y to spawn an orange portal on the moon, or hold T and press Y for a blue portal. Have fun!Big thanks to Proudnoob4 for the awesome portal gun model and the moral support. SYNTHES1SE for moral support. Enumerator for raycast code. bdking00 for sound stuff.Mark Aoki is always on top.Pablo Puchol and Carlos Puchol. Dubmosphere for helping me update the codev2.3:v2.2:v2.1:v2.0:v1.0.1:v1.0:v0.1.1:v0.1: