
Portal





It feels like not many people seem to care about Portal 1 Console Commands, so today I am hopefully going to change that. Basics Type "sv_cheats 1" into the console. If you don't know how to open the console, pause the game, go to options, go to "Keyboard," select "Advanced," check "Enable developer console," then scroll down in the menu until you find "Developer Console." Then, click on it, and type ` The key is under esc. Then, save it and exit the pause menu. Then press the ` key, and the console should open. Spawns Portal Props/Npcs ent_create_portal_weight_box - spawns a standard cube ent_create_portal_weight_box; ent_fire !picker skin 1 - spawns a companion cube ent_create_portal_weight_box; ent_fire !picker skin 2 - spawns a skull cube (Still Alive only) ent_create_portal_metal_sphere - spawns an edgeless safety cube ent_create prop_glados_core - spawns a core (can't be picked up) ent_create updateitem2 - spawns a radio (no music) ent_create npc_portal_turret_floor - spawns a turret ent_create npc_rocket_turret - spawns a rocket turret ent_create npc_security_camera - spawns a security camera ent_create weapon_portalgun - spawns a portal gun that you can pick up prop_dynamic_create gladdysdestruction/gladdysbody - spawns GLaDOS prop_dynamic_create gladdysdestruction/glados_junk_05_ - spawns Hoopy prop_dynamic_create props/light_rail_endcap - spawns the end of a light rail prop_dynamic_create props/light_rail_corner - spawns the pillar of a light rail prop_dynamic_create props/lift_platform - spawns a lift platform prop_dynamic_create props/door_02 - spawns GLaDOS' chamber door prop_dynamic_create props/switch001 - spawns a button prop_dynamic_create props/toilet_body_reference - spawns a toilet prop_dynamic_create props/table_reference - spawns a table prop_dynamic_create props/bed_body_reference - spawns a bed prop_dynamic_create props/pedestal_center_reference - spawns a portal gun pedestal prop_dynamic_create props/round_elevator_body - spawns an elevator prop_dynamic_create props/combine_ball_launcher - spawns an energy pellet launcher prop_dynamic_create props/combine_ball_catcher - spawns an energy pellet catcher prop_dynamic_create props/glados_stairs - spawns the stairs in GLaDOS' chamber prop_dynamic_create props_bts/glados_bunker - spawns the bunker in GLaDOS' chamber prop_dynamic_create props_bts/glados_aperturedoor - spawns an incinerator prop_dynamic_create props_bts/glados_screenborder_curve - spawns a screen prop_dynamic_create props_bts/bts_turret - spawns a hanging turret prop_dynamic_create player/chell - spawns Chell prop_dynamic_create props/cake/cake - spawns a cake Half Life Props/Npcs npc_create npc_turret_floor - spawns an HL2 turret npc_create npc_alyx - spawns Alyx npc_create npc_breen - spawns Breen npc_create npc_gman - spawns G-Man npc_create npc_combine_s - spawns a combine npc_create npc_metropolice - spawns a metropolice npc_create npc_citizen - spawns a citizen npc_create npc_zombie - spawns a zombie npc_create npc_fastzombie - spawns a fast zombie npc_create npc_barnacle - spawns a barnacle npc_create npc_headcrab - spawns a head crab npc_create npc_poisonzombie - spawns a poison zombie npc_create npc_headcrab_fast - spawns a fast head crab npc_create npc_poisonheadcrab - spawns a poison head crab ch_createjeep - spawns a buggy ch_createairboat - spawns an air boat Environement & User buddha - you can take damage but won't die god - invincible sv_portal_placement_never_fail # - allows you to place portals anywhere (0 = off, 1 = on) noclip - allows you to fly notarget - turrets won't shoot you impulse 101 - gives you weapons from half life (use mouse wheel to scroll through weapons) impulse 200 - removes portal gun texture (can still shoot) fire_rocket_projectile - fires a rocket fire_energy_ball - fires a high energy pellet cl_showfps # - shows fps (0 = off, 1 = on) sv_cheats # - enables cheats (0 = off, 1 = on) sv_gravity # - changes gravity (600 is normal) violence_hblood # - disables blood (0 = off, 1 = on) thirdperson - makes your view thirdperson thirdpersonshoulder - makes your view thirdpersonshoulder firstperson - makes your view firstperson again host_timescale # - changes game speed (1 is normal) change_portalgun_linkage_id # - changes the portal gun linkage id for the user (0,1,2,3,) give weapon_portalgun - gives the player a standard portal gun upgrade_portalgun - upgrades the stands portal gun to a dual portal gun kill - kills player bind <key> <command> - still works with only a few commands, huh showtriggers_toggle - shows the triggers in a map mat_fullbright # - disables shadows (0 = off, 1 = on) map <map name> - loads specified map crash - crashes game killserver - kills the server maxplayers # - sets the amount of players ent_remove - removes what you are looking at ent_remove_all <entity name here> - removes the entity specified ent_fire Commands ent_fire !picker skin # - changes the skin of an object (0 - 10) ent_fire !picker open - opens doors ent_fire !picker close - closes doors ent_fire <entity name here> - will pick up the entity which is specified ent_fire prop_portal fizzle - removes portals you placed ent_fire npc_rocket_turret toggle - toggles rocket turrets Core Spawns You are able to spawn the cores with their dialogue now! ent_create prop_glados_core coretype # spawnflags 1048904 cycle 1.00 playbackrate 1.00 sequence 2 delaybetweenlines 0.40 Changing the # after "coretype" to the numbers below will change the command to spawn that specific core with their dialogue. 0 = Curiosity Core 1 = Anger Core 2 = Cake Core 3 = Morality Core The End All the Portal 1 Console Commands I know. Check out my Portal 2 Command Guide: https://steamcommunity.com/sharedfiles/filedetails/?id=2101027521 I put more effort into it, for whatever reason.











What to do when "completed" Portal achievements don't show as unlocked on Steam. Plus general help with achievement problems. The Problem Achievements show as unlocked or completed on the in-game menu, but not on Steam. Possible causes:There is something unreliable about the way Portal communicates with Steam. Temporary loss of connection with the internet or Steam server. Two players are using Portal on the same computer (either they both own the game, or are using Family Sharing). Achievements may only unlock for the first player who completes them. If an achievement does NOT show as unlocked on the in-game menu, then not all of the requirements for the achievement have been met. Achievements will NOT unlock in these cases:Steam Client in Offline Mode, or loss of connection while playing. Cheats active (sv_cheats 1) at any time during your play session. Commentary mode (it activates cheats)If you play in commentary mode and then play an advanced chamber or challenge map, commentary (and cheats) will remain active. Commentary nodes will be visible in challenge maps, but not in advanced chambers. To ensure commentary mode is off, start a New Game in story mode and then re-start the advanced chamber or challenge via Bonus Maps. THE FIX Quit Portal, if it is running. Rename *(or delete) the file ... steam steamapps common portal portal gamestate.txt ( or this file if playing the "Portal with RTX" DLC: ... steam steamapps common PortalRTX portal_rtx gamestate.txt ) Make sure you are online AND connected to Steam. Then start Portal, (do NOT view the Achievements menu yet) and replay the part relevant to the achievement:Story mode achievements - replay that part. "Cake" achievements - complete ONE advanced chamber. "Science" achievements - complete ONE challenge (at least bronze medal). (This will not affect any achievements already unlocked on Steam.) * If you are part-way through the Transmission Received achievement, "rename" the file to keep as a backup copy (for example: "gamestate.txt.bak" or "gamestate - Copy.txt"), and read below. More Information To easily find where your game files are stored: In your Steam Library, select Portal, select Manage (gear icon), then Manage > Browse local files If you have the "Hide extensions for known file types" option enabled in your file browser, the file name should appear as "gamestate", with the "Text Document" type. Portal uses a local file named gamestate.txt (shared by all players using the same computer) to record progress with achievements - if they are already unlocked, they won't be triggered a second time. The gamestate.txt file is not part of the original install of the game. It is only created AFTER you have made achievement progress. When you start Portal, the game checks both the local gamestate.txt file and the online list of achievements associated with your Steam account, and combines them in to the list of achievements displayed in-game. Each time you quit Portal, the gamestate.txt file gets re-created based on the combined progress. After using the fix, you can delete the new file and replace it with the file you renamed earlier. (Previous progress on Transmission Received will be lost if you don't keep the original file.) In each case, you only need to replay the exact moment where the achievement is triggered. So use a saved game, if you have one (unless cheats or commentary were active). If that doesn't work, try starting a New Game from the nearest chapter. Since the problem is about Portal communicating with Steam, even the fix may not work the first time - so TRY AGAIN! Transmission Received Before you can start on this one, you first need to have unlocked the Heartbreaker achievement for completing Portal. Only then will the extra/modified radios appear. If you still don't see all the radios, make sure they have not been disabled: https://steamcommunity.com/sharedfiles/filedetails/?id=432359161 The "fix" above will not help with Transmission Received, unless you want to find ALL of the radios again. Progress is stored in the gamestate.txt file, which is not saved to the Steam Cloud, so ALL radios must be found on the same PC/device. The radio transmissions can be received in any order, across multiple playthroughs, and only need to be done once. Open the file ... steam steamapps common portal portal gamestate.txt At the end of the file will be a section starting with "id" "149". The value next to "data" is used to record progress toward the achievement: 0x0000000000000000 (no transmissions received) 0x0000000003FFFFFF (ALL transmissions received) To determine which radio transmissions have already been received, take the last seven (7) digits of the "data" value and convert each digit from hexadecimal to 4-bit binary. Hex: 0 1 2 3 4 5 6 7 8 9 A B C D E F Bin: 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Examples (Hex -->> Bin): 29EF7FF -->> 0010 1001 1110 1111 0111 1111 1111 (missed #12, #17, #22, #23 & #25) 3FFFFFF -->> 0011 1111 1111 1111 1111 1111 1111Then, reading from RIGHT-TO-LEFT, the binary digits indicate whether a radio transmission has been received (1) or not (0). (The two left digits will always be zeros.) The order the radios can be found in the game is slightly different to the order they are recorded in the "data" value. For a full cross-referenced list of locations, refer to this guide by rarestMeow https://steamcommunity.com/sharedfiles/filedetails/?id=2157802426 Other things to try Verify Integrity of Game Files: https://support.steampowered.com/kb_article.php?ref=2037-QEUH-3335 Clear Download Cache: https://support.steampowered.com/kb_article.php?ref=3134-TIAL-4638 Similar fix for Half-Life 2 https://steamcommunity.com/sharedfiles/filedetails/?id=423124097





















