控制台命令 - 传送门

0 点赞
Portal
转载

《传送门》控制台命令(包含敌人变体和特定道具!) 打开控制台 有两种方法: 1. 打开游戏,点击选项并进入键盘设置,点击高级选项并启用控制台。 2. 另一种方法是打开属性,在启动选项中输入-console。 现在,按“`或~”键打开控制台(按键对应的字符会因键盘布局而异)。 sv_cheats 1也是使用控制台时很有用的命令——最值得注意的是,noclip(穿墙)是一个需要开启作弊才能使用的命令。 物品 加权存储立方体:ent_create_portal_weight_box 同伴立方体:ent_create_portal_weight_box ; ent_fire !picker skin 1 无棱安全立方体(无法触发按钮):ent_create_portal_metal_sphere ent_fire !拾取者皮肤1(展示结局场景中的红眼) 高能能量球: 发射能量球 无限高能能量球: 创建实体 能量球发射点 球体生命周期 -1 球体数量 1 最小速度 400 最大速度 300 球体半径 120 角度 90 0 0 格拉多斯:动态模型创建 gladdysdestruction/gladdysbody 呼啦圈胡皮:动态模型创建 gladdysdestruction/glados_junk_05_ 格拉多斯碎片:动态模型创建 gladdysdestruction/glados_junk_06_ 动态模型创建 gladdysdestruction/glados_junk_04_ 动态模型创建 gladdysdestruction/glados_junk_03_ 动态模型创建 gladdysdestruction/glados_junk_02_ 动态模型创建 gladdysdestruction/glados_junk_01_ 蛋糕(不)是谎言:动态模型创建 props/cake/cake 传送枪:实体创建 weapon_portalgun 格拉多斯 chamber 门:动态模型创建 props/door_02 电梯:动态模型创建 props/round_elevator_body 动态模型创建 props/round_elevator_doors 基座按钮(无法按下)动态模型创建 props/switch001 马桶:动态模型创建道具/马桶主体参考 光圈科技紧急智能焚化炉:动态创建道具 传送门2/格拉多斯光圈门 高能弹发射器与接收器:动态创建道具 联合军球发射器 动态创建道具 联合军球接收器 收音机:创建实体 更新物品2 载具 气垫船:创建气垫船 激活气垫船武器1(添加武器) 吉普车:创建吉普车 激活吉普车雷达;激活吉普车武器1(添加武器)

NPCs Friendly Fire: ent_create ai_relationship subject !player target * disposition 1 rank 99 reciprocal 0 startactive 1 HL2 Leftovers: Barney: npc_create npc_barney Alyx: npc_create npc_alyx Dr. Breen: npc_create npc_breen Mossman: npc_create npc_mossman Dog: npc_create npc_dog Citizen: npc_create npc_citizen Kleiner: npc_create npc_kleiner Eli: npc_create npc_eli Gman: npc_create npc_gman Metro Police: npc_create npc_metropolice Combine Soldier: AR2: ent_create npc_combine_s additionalequipment weapon_ar2 SMG: ent_create npc_combine_s additionalequipment weapon_smg1 Shotgun: ent_create npc_combine_s additionalequipment weapon_shotgun Combine Soldier (Nova Prospekt) AR2: ent_create npc_combine_s model models/combine_soldier_prisonguard.mdl additionalequipment weapon_ar2 SMG: ent_create npc_combine_s models/combine_soldier_prisonguard.mdl additionalequipment weapon_smg1 Shotgun: ent_create npc_combine_s models/combine_soldier_prisonguard.mdl additionalequipment weapon_shotgun Combine Elite: AR2: ent_create npc_combine_s model models/combine_super_soldier.mdl additionalequipment weapon_ar2 SMG: ent_create npc_combine_s model models/combine_super_soldier.mdl additionalequipment weapon_smg1 Shotgun: ent_create npc_combine_s model models/combine_super_soldier.mdl additionalequipment weapon_shotgun Combine Sniper (Instant kill) npc_create npc_sniper Rollermine: npc_create npc_rollermine Dog's Ball ent_create npc_rollermine spawnflags 65536 Seagull: npc_create npc_seagull Pigeon: npc_create npc_pigeon Crow: npc_create npc_crow Headcrab: npc_create npc_headcrab Fast Headcrab: npc_create npc_headcrab_fast Poison Headcrab: npc_create npc_headcrab_poison npc_create npc_headcrab_black Zombie: npc_create npc_zombie npc_create npc_zombie_torso Fast Zombie: npc_create npc_fastzombie npc_create npc_fastzombie_torso Poison Zombie: npc_create npc_poisonzombie Father Grigori: npc_create npc_monk Barnacle: npc_create npc_barnacle Antlion: npc_create npc_antlion Antlion Guard: npc_create npc_antlionguard City Scanner: npc_create npc_cscanner Shield Scanner: npc_create npc_clawscanner Combine Dropship: npc_create npc_combinedropship Vortigaunt: npc_create npc_vortigaunt Strider: ent_create npc_strider Stalker: npc_create npc_stalker Ichthyosaur (Cut half life 2 enemy): ent_create npc_ichthyosaur Half life 2 Turret: npc_create npc_turret_floor Hopper: ent_create combine_mine Manhack: npc_create npc_manhack Portal NPCs Turret: npc_create npc_portal_turret_floor Friendly Turret: ent_create npc_portal_turret_floor spawnflags 512 Broken Turret: ent_create npc_portal_turret_floor spawnflags 256 Revive Turrets: While looking at a dead turret, type 'ent_fire !picker toggle' The turret has to be upright. Camera ent_create npc_security_camera spawnflags 32 Inactive Camera: ent_create npc_security_camera spawnflags 32 targetname consolecamera ; ent_fire consolecamera ragdoll prop_physics_create props security_camera_prop_reference Rocket Turret: npc_create npc_rocket_turret Morality Core: ent_create prop_glados_core coretype 3 spawnflags 1048904 cycle 1.00 playbackrate 1.00 sequence 2 delaybetweenlines 0.40 Curiosity Core: ent_create prop_glados_core coretype 0 spawnflags 1048904 cycle 0.12 playbackrate 1.00 sequence 3 delaybetweenlines 0.40 Crazy Core: ent_create prop_glados_core coretype 2 spawnflags 1048904 cycle 0.78 playbackrate 1.00 sequence 5 delaybetweenlines 0.10 Anger Core: ent_create prop_glados_core coretype 1 spawnflags 1048904 cycle 0.91 playbackrate 1.00 sequence 4 delaybetweenlines 0.10 Disable ai: ai_disable

Weapons HEV Suit (Required to switch weapons, sprint, see health, etc.): give item_suit Aperture Science handheld Portal Device: Both Portals ent_create weapon_portalgun CanFirePortal1 1 CanFirePortal2 1 Blue Portal Only ent_create weapon_portalgun CanFirePortal1 1 CanFirePortal2 0 Orange Portal Only ent_create weapon_portalgun CanFirePortal1 0 CanFirePortal2 1 Remove Portal Gun ent_remove_all weapon_portalgun Gravity Gun: give weapon_physcannon Crowbar: give weapon_crowbar Pistol: give weapon_pistol 357 Magnum: give weapon_357 SMG: give weapon_smg1 Pulse Rifle: give weapon_ar2 Shotgun: give weapon_shotgun Crossbow: give weapon_crossbow Grenade: give weapon_frag - works once ent_create weapon_frag - get ammo Rocket Propelled Grenade (RPG) give weapon_rpg Bug bait: give weapon_bugbait Stunstick (doesn't give you a weapon, instead, 7 suit power): give weapon_stunstick Alyx gun: give weapon_alyxgun (spawns below you, press e to pick up) Annabelle: give weapon_annabelle Suitcase (Citizen item, no function): give weapon_citizensuitcase Package (Citizen item, no function): give weapon_citizenpackage Helicopter Bomb: ent_create grenade_helicopter ent_create grenade_helicopter spawnflags 65536 - launch with gravity gun to detonate Hopwire (Cut hl2 weapon) ent_create weapon_hopwire hopwire_vortex 1 - required to make it work Cubemap (debug weapon) give weapon_cubemap givecurrentammo - Gives you ammo for the weapon you are currently holding Rocket: ent_create rocket_turret_projectile Remove all Weapons: ent_create player_weaponstrip targetname noweapons; ent_fire noweapons strip Sounds play "[sound name here]" use "snd_restart" to stop sounds examples: play ambient levels canals windchime5.wav play test temp soundscape_test tv_music.wav play ambient music looping_radio_mix.wav play music portal_4000_degrees_kelvin.mp3 play music portal_still_alive.mp3 play music portal_you_cant_escape_you_know.mp3 play music portal_youre_not_a_good_person.mp3 play ambient alarms portal_elevator_chime.wav play ambient machines usetoilet_thank.wav play ambient machines ticktock1.wav Crashers stylish ways to close the game: quit crash exit ent_remove worldspawn ent_fire worldspawn kill ch_createjalopy npc_create npc_combine ent_create player ent_create generic_actor ent_create func_physbox Misc noclip - flying and no collision sv_cheats 1 - activate this or you wont be able to do most commands sv_gravity <insert number> - changes gravity. default = 600 host_timescale <insert number> - game speed. default = 1 change_portalgun_linkage_id <insert number> you can place another pair but if you have more than 5 pairs the game will crash god - invinciblity buddha - can take damage, but can't die sv_portal_placement_never_fail 1 - you can place portals anywhere sv_portal_placement_never_bump 1 - Portal's won't bump on other portals, instead they won't spawn. thirdperson - camera changes to behind the player firstperson - default camera mat_fullbright 1 = removes lighting mat_wireframe 1 = see the whole world in wireframe kill - kills the player showtriggers_toggle - shows the triggers like glados's speech ent_remove - delete the thing you're looking at, can cause crashes ent_fire prop_portal fizzle - removes portals ent_fire !picker skin <insert number> changes the skin of objects you look at bind <key> <command (can't have spaces)> map <map name here> ent_fire point_viewcontrol disable - unlock your camera fadein - screen fades in - if used in still alive the black background will disappear fadeout - screen fades out ent_fire aperture_ai kill - mute glados

自定义“模式” 最糟糕的游戏玩法 启动游戏前,打开游戏属性并进入“启动选项” 输入“-tickrate 11” 进入游戏后,输入以下指令: mat_fullbright 2 r_drawworld 0 r_drawfuncdetail 0 mat_viewportscale 0.2 fps_max 30 祝你玩得“开心” “职业级”军团要塞2配置 mat_dxlevel 80 mat_specular 0 r_drawviewmodel 0 脉冲指令 大多数指令需要开启sv_cheats 1才能生效: Impulse 50: 召唤和召回小队。生成npc_citizen即可组建小队。 Impulse 76: 已过时指令。尝试预加载半条命1中的npc_human_grunt,但该NPC并不存在。不过你或许可以用这个所谓的“grunt-o-matic”来捉弄别人。 Impulse 81: 给予玩家weapon_cubemap,效果等同于指令“give weapon_cubemap”。脉冲82:生成一辆吉普车 脉冲83:生成一艘汽艇 脉冲101:你懂的,你喜欢的,它会给你《半条命2》战役中通常能获得的所有武器,还有传送枪。 脉冲102:专门生成骷髅头的指令!哇哦! 脉冲103:打印你正注视的NPC的AI状态。需要开启“开发者1”模式 脉冲106:打印你当前注视的实体的类名、目标名和模型。 脉冲107:在控制台中打印你当前注视的材质名称。 脉冲200:收起或拔出你持有的武器。收起时仍保留功能。 脉冲203:实际上就是实体移除指令。 地图特定指令 00号试验 chamber:传送到试验 chamber 终点:setpos -1040.226440 -863.065247 192.031250 关卡01:传送到关卡终点: setpos -736.651306 -255.760117 640.031250 关卡02:传送到关卡终点: setpos -255.573608 32.619144 64.031250 ; give weapon_portalgun 关卡03:传送到关卡终点: setpos -1665.758545 896.327332 640.031250 关卡04:传送到关卡终点: setpos 607.877563 191.948837 64.031250 关卡05:传送到关卡终点: setpos 114.806244 832.212402 768.031250 额外指南与维基