Controls: I / O - bind a blue / orange portal to the current weapon; H - enable the effect of shock-absorbing shoes that reduce fall damage; J - disable ragdoll; K / L - move to the blue / orange portal; B - spawn a random passerby about half a meter from you; N - refresh portals if they are gone. The Portal Gun replaces the Heavy Pistol; Fire an orange portal, then while holding T, blue; Successful creation of the portal is accompanied by a sound; Now you can safely pass through the portal.
Changes in 2.0: - Added crosshairs; - Infinite ammo / ammo for weapons; - Added the ability to move objects.
Changes in 2.1/2.2: - Works with the latest version of Scripthook; - Minor improvements to the moon (you can shoot at it between 9pm and 6am); - Fixed a problem with the position of the crosshair of the sight not in the center;
===Setting===
1. You need to install ScriptHookV .NET and Script Hook V ; 2. Place the PortalGun.cs and PortalGunSetings.txt files, as well as the PortalSounds directory in the scripts folder, if you do not have such a folder, you need to create it. 3. Using OpenIV, follow: update/x64/dlcpacks/patchday3ng/dlc.rpf/x64/models/cdimages/weapons.rpf and place the modified files w_pi_heavypistol.ytd and w_pi_heavypistol_hi_ydr (from the Modded folder) there.