Portal 2 Guide

The Console for Portal 2

The Console

Overview

All Things You Can Do With The Console

Console Basics

To put on cheats, go to options, then keyboard/mouse, then
click “Allow Developer Console”. To activate the console, use the Console Hotkey: Grave Accent
With the Console, you can Spawn Objects, Cheat, Change Players, and Kill you or your Partner.
If You Have Anymore Post A Comment.

Spawns

Companion Cube: ent_create_portal_companion_cube
Normal Cube: ent_create_portal_weighted_cube
Weighted Pivot Cube: ent_create_portal_reflector_cube
Old Aperture Science Cube: ent_create_portal_weighted_antique
Edgeless Safety Cube: ent_create_portal_weighted_sphere
Turret: npc_create npc_portal_turret_floor
Hover Turret: ent_create npc_hover_turret
Frankenturret: ent_create prop_monster_box
Wheatley: ent_create npc_personality_core
GLaDOS: prop_dynamic_create npcs/glados/glados_animation
Water (clear): ent_create_paint_bomb_erase
Repulsion Gel Bounce: ent_create_paint_bomb_jump
Propulsion Gel Speed: ent_create_paint_bomb_speed
Conversion Gel: ent_create_paint_bomb_portal
Rocket: fire_rocket_projectile
Beta Energy Pellet: fire_energy_ball
Door: give prop_testchamber_door
Thermal Discouragement Beam: ent_create env_portal_laser
Excursion Funnel Emitter: ent_create prop_tractor_beam
Security Camera: ent_create npc_security_camera
Standing Button: ent_create prop_button
Error: ent_create prop_dynamic
Turret Wife:: prop_dynamic_create npcs/turret/turretwife
Wheatley In Glados’ Body: prop_dynamic_create npcs/glados/glados_wheatley_boss

Environment

Turn Cheats On: sv_cheats (0=off, 1=on)
Portals Work Anywhere: sv_portal_placement_never_fail (0=off, 1=on)
Change Portal Size (w=width, h=height): portals_resizeall w h (default=”portals_resizeall 33 55″)
Change Gravity: sv_gravity (600=default)
Change Game Speed: host_timescale # (1=default, 0.5=half speed, 2=double speed)
Change Frankenturret Velocity: sv_monster_turret_velocity # (100=default)
Activate Excursion Funnel Emitter: ent_fire !picker enable
Turrets Target Cameras: ent_fire !picker addoutput “spawnflags 512”
Burn Objects: ent_fire !picker ignite
Remove Objects (may crash game): ent_remove
Remove All Portals: ent_fire prop_portal fizzle
Change Maps: changelevel “map name”
List of Map Names: [link]
Change Colors (r=red, g=green, b=blue): ent_fire !picker color “r g b”
Use Crosshair: crosshair (1 = on and 0 = off)

User Modifications

Turrets Don’t Shoot You: notarget
Kill Yourself: kill
Kill Partner: kill “partner’s name”
Invincibility: god
Fly: noclip
Teleport Atlas: ent_teleport blue
Teleport P-body: ent_teleport red
Flashlight: impulse 100
Remove Portal Gun (can still shoot): impulse 200
Regain Portal Gun: give_portalgun
Potato Portal Gun: upgrade_potatogun
Move Portal Gun Left/Right: viewmodel_offset_x # (0=default)
Move Portal Gun Forward/Back: viewmodel_offset_y # (0=default)
Move Portal Gun Up/Down: viewmodel_offset_z # (0=default)
First-Person View : firstperson
Third-Person View: thirdperson
Third-Person Shoulder View: thirdpersonshoulder
Show FPS: cl_showfps # (0=off, 1=fps, 2=smooth fps, 3=server MS, 4=show fps and log to file)
Teleport Yourself: ent_teleport player
Change into Chell: use_bendy_model 0 (first you have to Die and then open the Console in Dying Mode.)
Change into Chell (Hypothyses): setmodel player/chell/chell
Change into P-Body: setmodel player/eggbot/eggbot
Change into Atlas: setmodel player/ballbot/ballbot
Use Multiple Portals: change_portalgun_linkage_id (1 = on and 0 = off)

Co-op Commands

Kill Partner: kill “partner’s name”
Teleport Atlas: ent_teleport blue
Teleport P-body: ent_teleport red
Keep Parter Veiw On / Off: On: +remote_view Off: -remote_view
Brighten / Light up Portals: r_portal_use_dlights 1(1 = on and 0 = off)

SteamSolo.com