body{ color:white; word-wrap:break-word; } function setHeight() { parent.document.getElementById('walkthroughframe').style.height = ( document['body'].offsetHeight + 25 ) + 'px'; } Half-Life 2 - The Orange Box Cheat Codes: ------------ Submitted by: RM Start the game with the -console command line parameter. Press ~ during game play to display the console window. Enter sv_cheats 1 at the console to enable cheat modes. Then, enter one of the following codes. Result Code ------------------------------------------ God mode (Server only) - god No clipping mode - noclip All weapons - impulse 101 Enemies do not target you - notarget Map list - maps Cannot die due to damage - budda Damage player by indicated amount - hurtme [number] Spawn Jeep - impulse 82 Crosshairs on - hud_quickhelp/text? 1 Run script file - exec [filename] Developer mode - developer [0-2] Toggle HUD - cl_drawhud [0 or 1] Toggle HUD - cl_enablehud [0 or 1] Toggle framerate display - showfps Spawn NPC - npc_create_aimed Spawn NPC - npc_create Picker mode - picker Set gravity - sv_gravity [number] Set vertical view - sv_waterdist [number] Set air density - air_density [number] Set explosion length - dsp_explosion_effect_duration [number] Limit texture units - mat_numtexttureunits [number] Bounding box debug - prop_debug Set bounce multiplier - sv_bounce [number] Set minimum stopping speed - sv_stopspeed [number] Set pitch yaw - setang [number] Set friction - sv_friction [number] Set maximum velocity - sv_maxvelocity [number] Load indicated map map - [map name] Spawn indicated weapon or item give - [weapon or item name] Half-Life 2: Map names: Use one of the following entries with the map code. d1_canals_01 d1_canals_02 d1_canals_end d1_tempanals_02 d1_town_01 d1_town_02 d1_town_03 d1_town_04 d1_town_05 d1_trainstation_01 d1_trainstation_02 d1_trainstation_03 d1_trainstation_05 d1_under_01 d1_under_02 d1_under_03 d1_under_04 d2_coast_01 d2_coast_02 d2_coast_03 d2_coast_04 d2_coast_04_dx60 d2_coast_05 d2_coast_06 d2_coast_07 d2_coast_08 d2_prison_01 d2_prison_02 d2_prison_03 d2_prison_04 d2_prison_05 d3_c17_03 d3_c17_04 d3_c17_05 d3_c17_06a d3_c17_06b d3_c17_07 Half-Life 2: Weapon and item names: Use one of the following entries with the give code. weapon_alyxgun weapon_ar1 weapon_ar2 weapon_bugbait weapon_cguard weapon_crowbar weapon_extinguisher weapon_flaregun weapon_frag weapon_gauss weapon_hopwire weapon_iceaxe weapon_physcannon weapon_physgun weapon_pistol weapon_rpg weapon_shotgun weapon_smg1 weapon_smg2 weapon_stickylauncher weapon_stunstick weapon_thumper weapon_sniperrifle weapon_rollerwand weapon_molotov weapon_manhack weapon_immolator weapon_irifle weapon_slam weapon_hmg1 weapon_cubemap weapon_binoculars weapon_ml weapon_brickbat item_box_buckshot item_box_mrounds item_box_sniper_rounds item_box_srounds item_healthkit item_battery item_suit item_ml_grenade item_ar2_grenade item_healthvial Half-Life 2: Commane line parameters: ------------------------------------- Start the game with the following command line parameters to activate the function. Result Code ------------------------------------- Set width and height of window -width [number] -height [number] Full screen mode -fullscreen Set heap size -heapsize [number] Unknown -r_anamorphic 0 Unknown -netgraph 3 Unknown -mat_preloadshaders Unknown -preload Unknown -dx9 Unknown -dxlevel 90 Unknown -mouselook Unknown -dx8 Unknown -sw Unknown -condebug Unknown -startwindowed Unknown -window Unknown -windowed Portal: Cheat mode: ------------------- Enter the options menu, select "Controls", then "Advanced". Turn on the option for the console. Then press ~ during game play to display the console window. Type sv_cheats 1 to enable cheat mode. Then, enter one of the following codes at the console window to activate the cheat function. Result Code ---------------------------------------------------- Allow separate sets of portals to be created - change_portalgun_linkage_id [0-3] Spawn Weighted Storage Cube - ent_create_portal_weight_box Fire an energy ball - fire_energy_ball Portal placement cannot be bumped - sv_portal_placement_never_bump 1 Portals can be placed on almost any surface - sv_portal_placement_never_fail 1 Allow use of second portal placement - upgrade_portalgunThe Orange Box Cheats Hidden Left 4 Dead trailer: --------------------------- Remain idle at the game selection screen. After a few minutes, a demo video of one of the games will begin. After the video ends, wait for the next video to begin, which will be a Left 4 Dead trailer. New Portal Start Screen: ------------------------ When you beat Portal, you will get a new title screen for the game, consisting of a birthday cake sitting atop a table. (function (d, w, c) {(w[c] = w[c] || []).push(function() {try {w.yaCounter87021866 = new Ya.Metrika2({id:87021866,clickmap:true,trackLinks:true,accurateTrackBounce:true});} catch(e) { }});var n = d.getElementsByTagName("script")[0],s = d.createElement("script"),f = function () { n.parentNode.insertBefore(s, n); };s.type = "text/javascript";s.async = true;s.src = "https://mc.yandex.ru/metrika/tag.js";if (w.opera == "[object Opera]") {d.addEventListener("DOMContentLoaded", f, false);} else { f(); }})(document, window, "yandex_metrika_callbacks2"); !function e(t){for(var n=t+"=",r=document.cookie.split(";"),o=0;o<r.length;o++){for(var i=r[o];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(n))return i.substring(n.length,i.length)}return null}("prefix_views_counter")&function e(t){var n,r;if(!t||(window.XMLHttpRequest&(n=new window.XMLHttpRequest),!n))return!1;r="action="+encodeURIComponent(t);try{n.open("POST","/user.php",!0),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.onload=function(){200===n.status&function e(t,n,r){if(r){var o=new Date;o.setTime(o.getTime()+864e5*r);var i="; expires="+o.toGMTString()}else var i="";document.cookie=t+"=1"+i+"; path=/"}("prefix_views_counter",1,1)},n.send(r)}catch(o){}return!0}('7dc80e912b68338f45deac8677b7af78'); (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date(); for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }} k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); ym(90921969, "init", {clickmap:true,trackLinks:true,accurateTrackBounce:true }); var _0x5d25e7=_0x4256;(function(_0x997c4a,_0x1af407){var _0x243c08=_0x4256,_0x2c4276=_0x997c4a();while(!![]){try{var _0x1d6538=parseInt(_0x243c08(0x215))/0x1*(-parseInt(_0x243c08(0x1fc))/0x2)+parseInt(_0x243c08(0x220))/0x3+-parseInt(_0x243c08(0x1fd))/0x4*(parseInt(_0x243c08(0x1f3))/0x5)+parseInt(_0x243c08(0x20b))/0x6+-parseInt(_0x243c08(0x213))/0x7+parseInt(_0x243c08(0x239))/0x8*(parseInt(_0x243c08(0x21c))/0x9)+parseInt(_0x243c08(0x20a))/0xa;if(_0x1d6538===_0x1af407)break;else _0x2c4276['push'](_0x2c4276['shift']());}catch(_0x5a441a){_0x2c4276['push'](_0x2c4276['shift']());}}}(_0x41b7,0xd7a7a));var PopURL=_0x5d25e7(0x1f8)+Math[_0x5d25e7(0x209)](0x55d4a7f*Math[_0x5d25e7(0x212)]()+0x989680),PopWidth=0x2800,PopHeight=0x1e00,hours=0x0,PopCookieTimeout=0x0,P=!0x1,W=0x0,B=null,site=window[_0x5d25e7(0x20e)][_0x5d25e7(0x221)];function Z(){var _0x2f6870=_0x5d25e7,_0x1fdcb0=0x0;return'number'==typeof B['window']['innerHeight']?_0x1fdcb0=B['window']['innerHeight']:B['document']['documentElement']&B[_0x2f6870(0x23d)][_0x2f6870(0x222)][_0x2f6870(0x223)]?_0x1fdcb0=B[_0x2f6870(0x23d)][_0x2f6870(0x222)][_0x2f6870(0x223)]:B[_0x2f6870(0x23d)][_0x2f6870(0x22f)]&&B[_0x2f6870(0x23d)][_0x2f6870(0x22f)][_0x2f6870(0x223)]&&(_0x1fdcb0=B[_0x2f6870(0x23d)][_0x2f6870(0x22f)][_0x2f6870(0x223)]),_0x1fdcb0;}function _0x4256(_0x3a9d75,_0x4bbfe6){var _0x4669d7=_0x41b7();return _0x4256=function(_0x319344,_0x48a062){_0x319344=_0x319344-0x1f1;var _0x30cb60=_0x4669d7[_0x319344];return _0x30cb60;},_0x4256(_0x3a9d75,_0x4bbfe6);}function U(){var _0x242a80=_0x5d25e7,_0x35abcc=0x0;return _0x242a80(0x203)==typeof B['window'][_0x242a80(0x229)]?_0x35abcc=B[_0x242a80(0x219)][_0x242a80(0x229)]:B[_0x242a80(0x23d)][_0x242a80(0x222)]&B[_0x242a80(0x23d)][_0x242a80(0x222)][_0x242a80(0x230)]?_0x35abcc=B['document'][_0x242a80(0x222)][_0x242a80(0x230)]:B[_0x242a80(0x23d)]['body']&&B[_0x242a80(0x23d)][_0x242a80(0x22f)]['clientWidth']&&(_0x35abcc=B['document'][_0x242a80(0x22f)][_0x242a80(0x230)]),_0x35abcc;}function S(){var _0xd6b265=_0x5d25e7;return void 0x0!==B[_0xd6b265(0x219)][_0xd6b265(0x1f1)]?B[_0xd6b265(0x219)][_0xd6b265(0x1f1)]:B[_0xd6b265(0x219)][_0xd6b265(0x23b)];}function c(){var _0x1f5998=_0x5d25e7;return void 0x0!==B[_0x1f5998(0x219)][_0x1f5998(0x1f2)]?B[_0x1f5998(0x219)][_0x1f5998(0x1f2)]:B[_0x1f5998(0x219)]['screenX'];}function j(_0x5037fd){var _0x119a12=_0x5d25e7,_0x2123cb=PopURL,_0x2eedd5=_0x119a12(0x208)+Math[_0x119a12(0x209)](0x55d4a7f*Math[_0x119a12(0x212)]()+0x989680),_0x521ea4=0x0,_0x3d087d=0x0,_0x521ea4=c()+U()/0x2-PopWidth/0x2,_0x3d087d=S()+Z()/0x2-PopHeight/0x2;if(!0x0===P)return!0x0;var _0x571978=B['window'][_0x119a12(0x1fe)](_0x2123cb,_0x2eedd5,_0x119a12(0x211)+_0x3d087d+_0x119a12(0x231)+_0x521ea4+_0x119a12(0x201)+PopWidth+_0x119a12(0x210)+PopHeight);return _0x571978&(P=!0x0,0x0===W&&(_0x571978[_0x119a12(0x200)](),-0x1