关于半条命2作弊密码

先在选项里打开控制台

然后按~弹出控制台

先输入"sv_cheats 1"开启密技

god - 无敌模式 (server side only)

give - 获取武器 (see the list below)

buddha - 减少自己生命

hurtme # - 损伤其他玩家 (# 数量)

impulse 101- 所有武器

impulse 82 - 获得一辆jeep

notarget - 玩家变为隐藏的NPCs

noclip - 穿墙 (server side only)

maps - 显示地图列表

map - 载入指定地图 (看以下图片)

developer # - 开启开发者模式 on/off/verbose (0-关闭, 1-开启, 2-verbose)

+mlook - 允许鼠标观看

hud_quickhelp/text? 1 - 显示指针

viewmodel_fov # - Sets the size of the weapon you're carrying (54 is default)

exec - Execute a script file

cl_drawhud 1 - Turns hud display on

cl_enablehud 1 - Turns hud display on

cl_showfps 1 - Shows frames per second in game

npc_create - Creates an NPC (works in worlds that have an NPC entity)

npc_create_aimed - Creates an NPC aiming away from the player.

picker - Toggles 'picker' mode.

setpos - Move player to specified origin (must have sv_cheats 1 enabled).

setang - Snap player eyes to specified pitch yaw (musthave sv_cheats).

sv_gravity # - Set gravity to #

sv_stopspeed # - Set minimum stopping speed when on ground to #

sv_friction # - Sets world friction to #

sv_bounce # - Sets bounce multiplier for physically simulated objects collision

sv_maxvelocity # - Sets the maximum velocity of any moving object to #

sv_waterdist # - Sets vertical view fixup when eyes are near water plane to #

air_density # - Changes the density of air to #

dsp_explosion_effect_duration # - Sets length of confusion/ear-ringing effect to #

prop_debug - Toggle bounding-boxes debug mode on/off (red - ignore damage, white - respond to damage, green -

health)

sv_soundemitter_filecheck - Toggle reporting missing .wav files for sounds

mat_numtextureunits # - Limits the number of texture units to # (0 - let the game decide how many texture units

to use)

mat_yuv 0 - ?

Map Names:

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

Weapon Names:

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 names:

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

More Cheats

Command-line parameters

Here's the list of other command-line parameters. Note that you can use any of the codes listed above as

command-line parameter... just put " -" in front of it:

-r_anamorphic 0

-netgraph 3

-mat_preloadshaders

-preload

-console

-dx9

-fullscreen

-width 1024 -height 768

-heapsize 80000

-dxlevel 90

-shaderdll shader_nvfx_ps20.dll

-mouselook

-dx8

-condebug

-sw

-startwindowed

-window

-windowed

制造人 怪大战的方法(必看!!!!!!!!力荐!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!)

接下来:

输入"npc_create npc_*"之后

该单位就会出现在玩家准心所指的位置

*是该单位的名称

例如说你要呼叫 (G-Man)在桥的对面

就先把你的准心对准桥对面的陆地

然后输入"npc_create npc_gman"

回到游戏之后你就会看到G-Man出现在桥的对面了

接着是指定创造的单位会拿什么武器

输入"npc_create_equipment weapon_*"之后

再创造一个单位

你就会发现那个单位会拥有你所指定的武器

*是该武器的名字

例如说你要巴尼(Barney)拿着手枪(Pistol)出现

就先输入"npc_create_equipment weapon_pistol"之后

再输入"npc_create npc_barney"

回到游戏之后你就会看到拿着手枪的巴尼出现在你面前了

注意:

1.不是所有的单位都可以拿武器,假如你创造的单位是不能拿武器的,那它出现之后就不会拥有武器。

2.创造出来的我方人物可能不会拥有跟随的AI,只会看到敌人就攻击而已。

人物我方:

gman

barney

alyx

citizen

monk

dog

kleiner

eli

Mossman

Breen

Vortigaunt

敌方:

crow

headcrab

headcrabfast

helicopter

zombie

strider

combine_s

headcrab_black

metropolice

manhack

turret_floor

fastzombie

barnacle (注意这个可能会粘在地上不能够捕捉猎物)

antlion

antlionguard

zombie_torso

combinedropship

列出可以可能分配的武器:

pistol

shotgun

smg1

cubemap

cguard

physgun

ml

hmg1

immolator

irifle

sniperrifle

crowbar

extinguisher

frag

rollerwand

slam

brickbat

gauss

binoculars

alyxgun

hopwire

Molotov

physcannon

ar2

bugbait

ar1

rpg

smg2

stickylauncher

stunstick

thumper

iceaxe ”

以上为转百度吧的帖子

那么输入ai_disable让人物都不动后,你就可以开始排兵布阵了

武器方面我认为这3种较好:

rpg 火箭筒 很强的远程武器 但近距离几乎无法攻击

ar2 脉冲枪 近距离攻击强者 远程也不赖

shotgun 霰弹枪 威力不俗 但就是远程弱些

而各方兵种笔者也有点心得

首先,游戏里总***4伙:

僵尸

蚁狮

护卫队

反抗军

僵尸就是zombie了没什么说的,克蚁狮

蚁狮有antlion和antlionguard前者是蚁狮,克护卫队。后者是蚁狮守卫。其相当强悍,顶僵尸一下一个,要众多火箭筒才能摆平。

护卫队主要就是combine_s小兵了,能力一般。至于直升机和阔步者(3脚机甲)召唤出之后大多会卡在地上,无法行动和战斗。

我方主要战斗人物有barney和alyx,就看你喜欢哪个了,战斗力都差不多,而且血都比护卫队厚。一个是gg,一个是mm啦。

这样我们可以先输入sv_cheats 1,开启作弊,然后输入noclip,notarget,god使自己无敌,飞天,隐型。

ai_disable让人物都不动然后输"npc_create_equipment weapon_rpg"或"npc_create_equipment weapon_ar2"再或"npc_create_equipment weapon_shotgun"

再输入"npc_create npc_barney" "npc_create npc_zombie" "npc_create npc_combine_s"

"npc_create npc_antlion" "npc_create npc_antlionguard"等慢慢排布

最后完成了再输入ai_disable,就可看到一场惊世骇俗的大战了。。

不过这样输这个那个的累啊,要是整"罗马 全面战争"的规模不还把人累死了,所以笔者就自己想辙,后来发现在X:\Half-Life2\hl2\cfg(X为hl2安装盘符)下的cfg文件可以利用。

用记事本打开X:\Half-Life2\hl2\cfg下的config.cfg,发现其格式为

bind "A" "B"

其中A为按键,B为在控制台的命令,如

bind "r" "+reload"表示按r就与在控制台输入+reload是一样的效果。于是明白,可以在其中加入如下语段:

bind "i" "npc_create npc_barney"

bind "l" "npc_create_equipment weapon_shotgun"

bind "o" "npc_create npc_zombie"

bind "p" "npc_create npc_combine_s"

bind ";" "npc_create_equipment weapon_rpg"

bind "[" "npc_create npc_antlionguard"

bind "]" "npc_create npc_antlion"

bind "'" "npc_create_equipment weapon_ar2"

bind "\" "impulse 101"

意思大家都明白吧。i:巴尼

o:僵尸

p:护卫军

[:蚁狮守卫

]:蚁狮

l:武器:霰弹枪

;:武器:火箭筒

’:武器:脉冲枪

\ :全武器,弹药

这下爽了吧!!

嘿嘿。