SonicEraZoR / Portal-Base

Port of Portal 1 2007 leaked source code to Source SDK 2013. Also includes fixes for Half-Life 2 maps and gameplay.
Other
111 stars 15 forks source link
game half-life-2 linux linux-game linux-gaming linux-mod mod modding portal portal-1 portal-gun source-engine valve

Portal

Build status

This is the old Portal 1 source code ported to Source Engine 2013. I made this because I wanted to make proper Half-Life 2 with Portal gun, but I have no idea how to fix all of the bugs that occur in Portal on Half-Life 2 maps (some crashes, displacement collision not working near portals). So I hope someone more experienced with Source engine will help me fix them.

Current Differences from original Portal

Some things that don't work properly (yet, hopefully they will someday)

Demonstration (version 0.8-beta though, so it's a bit outdated)

Demonstration

Dependencies

Windows

macOS

Linux

Building

Compiling process is the same as for Source SDK 2013. Instructions for building Source SDK 2013 can be found here: https://developer.valvesoftware.com/wiki/Source_SDK_2013

You will need Portal installed though

Installing:

Same as Source SDK 2013 mod: https://developer.valvesoftware.com/wiki/Setup_mod_on_steam

P. S. This ReadMe was mostly copied from this repo https://github.com/NicknineTheEagle/TF2-Base

P. S.

If you want the game to behave exactly like normal Portal first use Half-Life 2 binaries not Episodic ones, second, create autoexec.cfg in your mod directory and add those commands:

sv_regeneration_enable 1
sv_use_portal_gamerules 1
cl_playermodel "models/player/chell.mdl"

And it should be just like normal Portal