Portal 2: Community Edition

Portal 2: Community Edition

Not enough ratings
cool new p2ce things
By Beckeroo
new stuff in p2ce, that weren't in portal 2. made for any beta testers who have no clue what they're doing.
   
Award
Favorite
Favorited
Unfavorite
paint 🎨
give_paintgun // gives you a paint gun

upgrade_paintgun // gain all the paintgun paints (impulse 101 will also do this, along with the dual portal gun)

nextpaint / prevpaint // toggles between paints

+alt1 // swap between paint gun and portal gun

sv_force_enable_paint_in_map 1 // self explanatory, make sure to restart the map before it works.

ent_create_paint_bomb_reflect // spawns a reflection gel bomb

ent_create_paint_bomb_stick // spawns an adhesion gel bomb
new entities 🥶
path_vphysics // works as an invisible funnel connected by a path. used for the vactubes in revo.

prop_testchamber_sign // info signs which are entirely editable in hammer, no longer requires editing a script on a per map basis.

info_portal_gamerules // changes various rules for gameplay.

schrödinger's cube (part of prop_weighted_cube) // the teleporty laser cube also used in revo.
new commands 😎
cl_portal_sp_primary_color // changes the primary portal colour, format is rgb

cl_portal_sp_secondary_color // same as previous command, but with the secondary portal.

cl_portal_use_new_dissolve // set to 0 to use p1 and hl2's old prop fizzle effect. set to 1 to use p2's

cl_portal_crosshair_mode // toggles between p1 and p2 crosshair behaviour.

cl_mirror_world // flips world rendering horizontally.

mv_duckjump // allows the player to jump while crouched

mv_bhop // enable bunnyhopping

v_view_height // changes the player's view height (def. 64)

v_view_height_ducked # // changes the player view height while ducked (def. 28)

v_view_height_dead # // changes the player view height while dead (def. 14)
other stuff 😱
the player renders in water reflections now

parallax corrected cubemaps

you can colour lasers and funnels

you can mount other source games, just use mounts.kv in
Portal 2 Community Edition\p2ce\cfg\mounts.kv

hammeraddons is automatically included

you can now use panorama ui

new pbr shader

dx11 is now here, dx9 has been removed. vulkan is only available on linux.

engine tools have re-implemented

hammer is much more stable

new physics engine, use -jolt launch command.
6 Comments
_ifoi 10 Feb @ 12:26pm 
the new dissolve command still on portal 2 btw, even in demo viewer version
craftablescience  [developer] 3 Nov, 2024 @ 10:05pm 
i wouldnt necessarily say "vulkan was removed", what got removed was togl
dxvk was added to replace togl
togl is directx -> opengl, dxvk is directx -> vulkan
it only gets compiled for linux because native directx is generally faster on windows, and if your gpu supports vulkan it should support dx11 as well

pretty cool guide btw!
Rooke 17 Oct, 2024 @ 11:13am 
Very nice Guide! Thanks Beckeroo! :steamthumbsup:
A new fave. :p2cube:
Beckeroo  [author] 26 Sep, 2024 @ 1:35pm 
@rockc451 revo is an older build from p2ce, i think it stopped getting ce updates in november 2023. so yeah, a good bit of this applies to revo.
rockc451 23 Aug, 2024 @ 5:29pm 
A lot of this stuff is also in other strata source games, like revolution
TheGoldNinja101 20 Feb, 2024 @ 10:04am 
Cool!