Enter these codes in your console (~ button). Some of them may require sv_cheats set to 1
| Code | Effect | 
|---|
|  |  | 
| ent_create_portal_metal_sphere
 |  | 
| host_timescale # (default=1)
 | Changes speed of game, 0.1 = 10% of original game speed, 2 = twice the original game speed 
 | 
| change_portalgun_linkage_id # (0, 1, 2, 3)
 | Changes the portal linkage ID for the portal gun held by the commanding player. 
 | 
|  | Changes view to first person 
 | 
|  | Changes view to third person 
 | 
| ent_create_portal_weight_box
 | Create a Weighted Storage Cube 
 | 
|  | Fires a rocket out of your face. (Bugged) 
 | 
|  | Fires an energy ball out of your face. 
 | 
|  | Get all weapons (Half Life 2 weapons also) 
 | 
|  | Gives you the basic portal gun. Upgrade with upgrade_portalgun 
 | 
|  |  | 
| sv_gravity # (600=normal)
 | Lets you change the gravity in the game 
 | 
|  | Lets you go through walls and fly around 
 | 
| sv_portal_placement_never_fail # (1 or 0)
 |  | 
|  | Player can take damage but won't die. 
 | 
|  | Puts gun away but stil able to shoot 
 | 
|  |  | 
| npc_create_aimed npc_rocket_turret
 |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  | Spawn Gman with suitcase and never dies 
 | 
| npc_create npc_metropolice
 |  | 
| npc_create npc_fastzombie
 | Spawns a "Fastzombie" from Half-Life 2. 
 | 
| npc_create npc_portal_turret_floor
 |  | 
| npc_create npc_poisonzombie
 | Spawns a zombie that tosses Poison Headcrabs from it's back. 
 | 
|  |  | 
| ent_fire npc_rocket_turret toggle
 |  | 
|  | Turns a targeted storage cube into a companion cube 
 | 
|  |  | 
|  | Turrets won't shoot at you 
 | 
|  | Used without portal gun: Gives a portal gun. Used with a basic portal gun: Gives full portal gun. 
 | 
|  | Zombie OMG (They attack citizens,turrets,and you)
 |