Portal 2: Console Commands & How to Enable

want to mess around and crash the game well you came to the right place

 

How To Enable the Console

First you want to start portal 2 then when you get in the game click Single Player/Multiplayer(if playing w/ someone else) then choose a test when in the test click the Esc button then click
Options – Keyboard/Mouse then there is a setting called Enable Conlsole turn that on then your done

How To Spawn Stuff

in the console you can type things down but to spawn stuff like turrets, cube, ect you have to type down in the console like if you type “npc_create npc_portal_turret_floor” it will spawn a turret
if you want to know how to spawn other stuff scroll down
  • Companion Cube – ent_create_portal_companion_cube
  • Cube – ent_create_portal_weighted_cube
  • Reflector Cube – ent_create_portal_reflector_cube
  • Old Cube – ent_create_portal_weighted_antique
  • Edgeless Safety Cube – ent_create_portal_weighted_sphere
  • Turret – npc_create npc_portal_turret_floor
  • Fat Turret – prop_dynamic_create npcs/turret/turretwife
  • Frankenturret – ent_create prop_monster_box
  • Wheatley – ent_create npc_personality_core
  • Wheatley GLaDOS – prop_dynamic_create npcs/glados/glados_wheatley_newbody
  • Wheatley GLaDOS boss – prop_dynamic_create npcs/glados/glados_wheatley_boss
  • GLaDOS – prop_dynamic_create npcs/glados/glados_animation
  • Erase Gel – ent_create_paint_bomb_erase
  • Repulsion Gel(Jump) – ent_create_paint_bomb_jump
  • Propulsion Gel(Speed) – ent_create_paint_bomb_speed
  • Conversion Gel(Portable) – ent_create_paint_bomb_portal
  • Shoot Rocket – fire_rocket_projectile
  • Energy Pellet – fire_energy_ball
  • Spawn a Door – give prop_testchamber_door
  • Spawn a Laser – ent_create env_portal_laser (Always faces one way, use reflector cube)
  • Security Camera – ent_create npc_security_camera
  • Button on stand – ent_create prop_button
  • Error prop – ent_create prop_dynamic

How to Change Environment

  • Turn Cheats On – sv_cheats 1 (0=off, 1=on)
  • Portals Work Anywhere – sv_portal_placement_never_fail # (0=off, 1=on)
  • 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 (you have to look at what you want to burn) – ent_fire !picker ignite
  • Remove Objects (may crash game and youhave to look at what you want to remove ) – ent_remove
  • Remove All Portals – ent_fire prop_portal fizzle
  • Change Maps – changelevel "map name"

Player Modifications

  • Turrets Don’t Shoot You – notarget
  • Kill Yourself – kill
  • Kill Atlas(multiplayer) – kill blue
  • Kill P-Body(multiplayer) – kill red
  • Invincibility(don’t take any damage) – god
  • Fly(can fly through walls) – noclip
  • Teleport Atlas (teleports where you look) ent_teleport blue
  • Teleport P-Body (teleports where you look) – ent_teleport red
  • Flashlight – impulse 100
  • Remove Portal Gun (can still shoot) – impulse 200
  • Regain Portal Gun: give_portalgun
  • Potato Portal Gun(portalgun w/ GLaDOS) – 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 1 (0=off, 1=fps, 2=smooth fps, 3=server MS, 4=show fps and log to file)

Binding

  • bind – bind "button" "command"
  • ex – bind "m" npc_create npc_portal_turret_floor

By Minimoose Stuidos

Leave a Comment

ArabicEnglishFrenchGermanItalianJapaneseKoreanPortugueseSpanish