CS1.6自定义游戏中的H菜单和设置菜单,增加一键买枪功能

cs1.6里面充满了键值对,通过灵活的设置可以很方便的修改游戏的显示效果。我原来使用的是cga标准版(2659),里面的H菜单和设置菜单都很丰富,但是版本较老。而更新到新的3266版本后,少了这些丰富的菜单很不习惯,所以尝试着自己修改下,使新版本拥有老版本一样丰富的菜单。


首先,我们需要了解游戏配置文件的加载顺序:

先是value文件夹--------->然后是value_schinese文件夹(有的版本可能没有)------------->然后是cstrike文件夹------------>最后是cstrike_schinese文件夹(有的版本可能没有)。

后加载的配置文件会覆盖掉先加载的,所以我们尽量修改_schinese后缀里面的配置文件,这样可以使英文版保留纯净。


1.自定义游戏中的H菜单

游戏中的H菜单的原理其实就是通过键值对来保存一些我们提前输入好的控制台命令。这样就不用每次都手动在控制台输入这些指令。

配置文件在:/游戏目录/cstrick/commandmenu.txt


我的配置文件内容:

菜单分级显而易见,其中子菜单的最后一列就是我们的控制台命令,而它前面的“&1 Quick add bot”,就是我们游戏中显示的名字,所以不喜欢英文的,直接把这些带&项目全部翻译成中文就行了。想自己添加新功能,只需要照猫画虎就行了,当然前提是自己知道控制台指令。

"1" "&1 BOTs"
{
	"0" "&1 Quick add bot"	"bot_add"
	"1" "&2 Kill BOTs"	"bot_kill"
	"2" "&3 Add BOTs"
	{
		"1" "&1 BOT Number"
		{
			"1" "1 BOT"	"bot_quota 1"
			"2" "2 BOT"	"bot_quota 2"
			"3" "3 BOT"	"bot_quota 3"
			"4" "4 BOT"	"bot_quota 4"
			"5" "5 BOT"	"bot_quota 5"
			"6" "6 BOT"	"bot_quota 6"
			"7" "7 BOT"	"bot_quota 7"
			"8" "8 BOT"	"bot_quota 8"
			"9" "9 BOT"	"bot_quota 9"
			"10" "Enter a number of BOT" "messagemode bot_quota"
		}
		"2" "&2 Add a T"	"bot_add_t"
		"3" "&3 Add a CT"	"bot_add_ct"
	}
	"3" "&4 Kick BOTs"	"bot_kick"
	"4" "&5 Weapon Mode"
	{
			"1" "&1 Knife Only"	"bot_knives_only"
			"2" "&2 Pistols Only"	"bot_pistols_only"
			"3" "&3 Snipers Only"	"bot_snipers_only"
			"4" "&4 All Weapons"	"bot_all_weapons"
			}
     	"5" "&6 Weapon Allow"
		{
				"1" "&1 Pistols"
				{
					"1" "Enable"	"bot_allow_pistols 1"
					"2" "Disable"	"bot_allow_pistols 0"
				}
				"2" "&2 Shotguns"
				{
					"1" "Enable"	"bot_allow_shotguns 1"
					"2" "Disable"	"bot_allow_shotguns 0"
				}
				"3" "&3 Sub Machine Guns"
				{
					"1" "Enable"	"bot_allow_sub_machine_guns 1"
					"2" "Disable"	"bot_allow_sub_machine_guns 0"
				}
				"4" "&4 Rifles"
				{
					"1" "Enable"	"bot_allow_rifles 1"
					"2" "Disable"	"bot_allow_rifles 0"
				}
				"5" "&5 Snipers"
				{
					"1" "Enable"	"bot_allow_snipers 1"
					"2" "Disable"	"bot_allow_snipers 0"
				}
				"6" "&6 Machine Guns"
				{
					"1" "Enable"	"bot_allow_machine_guns 1"
					"2" "Disable"	"bot_allow_machine_guns 0"
				}
				"7" "&7 Grenades"
				{
					"1" "Enable"	"bot_allow_grenades 1"
					"2" "Disable"	"bot_allow_grenades 0"
				}
				"8" "&8 Shield"
				{
					"1" "Enable"	"bot_allow_shield 1"
					"2" "Disable"	"bot_allow_shield 0"
				}
			                      

}
	"6" "&7 SETTINGS"
	{
		"1" "&1 Bot Level"
		{
			"1" "&1 Expert"	"bot_difficulty 3"
			"2" "&2 Hard"	"bot_difficulty 2"
			"3" "&3 Normal"	"bot_difficulty 1"
			"4" "&4 Easy"	"bot_difficulty 0"
		}
		"2" "&2 BOT Join Team"
		{
			"1" "&1 T"	"bot_join_team t"
			"2" "&2 CT"	"bot_join_team ct"
			"3" "&3 Any"	"bot_join_team any"
     		}
     		"3" "&3 allow_rogues"
		{
			"1" "&1 ON" "allow_rogues 1"
			"2" "&2 OFF" "allow_rogues 0"
		}
	}
}

"2" "&2 Server Settings"
{
	"0" "&1 OP Password" "messagemode rcon_password"
	"1" "&2 Restart Round 1sec" "sv_restartround 1"
	"2" "&3 Restart Game" "restart"
	"3" "&4 Start Money"
	{
		"1" "$800" "mp_startmoney 800"
		"2" "$16000" "mp_startmoney 16000"
	}
	"4" "&5 AutoTeamBalance"
	{
		"1" "ON" "mp_autoteambalance 1; mp_limitteams 2"
		"2" "OFF" "mp_autoteambalance 0; mp_limitteams 32"
	}
	"5" "&6 ForceChaseCam"
	{
		"1" "Free" "mp_forcecamera 0"
		"2" "Teammate" "mp_forcecamera 1"
		"3" "Cadaver" "mp_forcecamera 2"
	}
	"6" "&7 Set Time"
	{
		"1" "TimeLimit (min)"
		{
		"1" "time 15" "mp_timelimit 15"
		"2" "time 30" "mp_timelimit 30"
		"3" "time 50" "mp_timelimit 50"
		"4" "time MAX" "mp_timelimit 0"
		}
		"2" "RoundTime (min)"
		{
		"1" "time 2" "mp_roundtime 2"
		"2" "time 3" "mp_roundtime 3"
		"3" "time 4" "mp_roundtime 4"
		"4" "time 5" "mp_roundtime 5"
		}	
		"3" "FreezeTime (sec)"
		{
		"1" "time 0" "mp_freezetime 0"
		"2" "time 2" "mp_freezetime 2"
		"3" "time 3" "mp_freezetime 3"
		"4" "time 5" "mp_freezetime 5"
		}
		"4" "BuyTime (sec)"
		{
		"1" "timesecond 30" "mp_buytime 0.5"
		"2" "timesecond 60" "mp_buytime 1"
		"3" "timesecond 90" "mp_buytime 1.5"
		"4" "timesecond 120" "mp_buytime 2"
		"5" "Unlimit" "mp_buytime 99"
		}		
		"5" "C4timer"
		{
			"1" "C4timer 35" "mp_c4timer 35"
			"2" "C4timer 45" "mp_c4timer 45"
		}
	}
	"7" "&8 Match Settings"
	{
		"1" "FriendlyFire"
		{
			"1" "ON" "mp_friendlyfire 1;mp_tkpunish 0;mp_autokick 0"
			"2" "OFF" "mp_friendlyfire 0"
		}
		"2" "Black Hold"
		{
			"1" "ON" "mp_fadetoblack 1"
			"2" "OFF" "mp_fadetoblack 0"
		}
	}
	"8" "&9 Status"
	{
		"1" "Status" "status; toggleconsole"
		"2" "Users" "users; toggleconsole"
		"3" "Kick" "messagemode kick"
	}
	"9" "&10 Gravity"
	{
		"1" "Normal" "sv_gravity 800"
		"2" "Light" "sv_gravity 80"
		"3" "Heavy" "sv_gravity 2000"
		"4" "Zero" "sv_gravity 0"
	}
}
"3" "&3 GUI Menu"
{
	"1" "&1 Left or Right Hand"
	{
		"1" "Left Hand"		"cl_righthand 0"
		"2" "Right Hand"	"cl_righthand 1"
	}
	"2" "&2 Fastswitch"
	{
		"1" "ON"	"hud_fastswitch 1"
		"2" "OFF"	"hud_fastswitch 0"
	}
	"3" "&3 Dynamiccrosshair"
	{
		"1" "ON"	"cl_dynamiccrosshair 1"
		"2" "OFF"	"cl_dynamiccrosshair 0"
	}
	"4" "&4 ex_interp"
	{
		"1" "0.1"	"ex_interp 0.1"
		"2" "0.75"	"ex_interp 0.75"
		"3" "0.05"	"ex_interp 0.05"
	}
	"5" "&5 Adjust Crosshair"	"adjust_crosshair"
	"6" "&6 Show Weapon"
	{
		"1" "&1 ON" "r_drawviewmodel 1"
		"1" "&2 OFF" "r_drawviewmodel 0"
	}
	"7" "&7 Graphic"
	{
		"1" "&1 Net Graph"
		{
			"1" "OFF"	"net_graph 0"
			"2" "Mode 1"	"net_graph 1"
			"3" "Mode 2"	"net_graph 2"
			"4" "Mode 3"	"net_graph 3"
		}
		"2" "&2 Net Graph Postion"
		{
			"1" "Left"	"net_graphpos 3"
			"2" "Center"	"net_graphpos 2"
			"3" "Right"	"net_graphpos 1"
		}
		"3" "&3 Draw FPS"
		{
			"1" "ON"	"cl_showfps 1"
			"2" "OFF"	"cl_showfps 0"
		}
		"4" "&4 FPS Max"
		{
			"1" "150"	"fps_max 150"
			"2" "100"	"fps_max 100"
			"3" "75"	"fps_max 75"
			"4" "60"	"fps_max 60"
			"5" "50"	"fps_max 50"
		}
		"5" "&5 Smoke Effect"
		{
			"1" "Best"	"fastsprites 0"
			"2" "Normal"	"fastsprites 1"
			"3" "Bad"	"fastsprites 2"
		}
		"6" "&6 Player Shadow"
		{
			"1" "ON"	"cl_shadows 1"
			"2" "OFF"	"cl_shadows 0"
		}
	}
}
"4" "&4 Change Map"
{
	
	"1" "All Maps"
	{
		"1" "&1 cs_bloodstrike"	"changelevel cs_bloodstrike"
		"2" "&2 fy_iceworld"	"changelevel fy_iceworld"
		"3" "&3 de_aztec"	"changelevel de_aztec"
		"4" "&4 de_dust2"	"changelevel de_dust2"
		"5" "&5 de_dust"	"changelevel de_dust"
		"6" "&6 de_train"	"changelevel de_train"
		"7" "&7 de_cbble"	"changelevel de_cbble"
		"8" "&8 de_inferno"	"changelevel de_inferno"
		"9" "&9 de_nuke"	"changelevel de_nuke"
		"10" "&10 de_prodigy"	"changelevel de_prodigy"
		"11" "&11 17_8space"	"changelevel 17_8space"
		"12" "&12 cs_italy"	"changelevel cs_italy"
	}
	"2" "Enter a Map"	"messagemode changelevel"
}
"5" "&5 Change Name"		"messagemode name"
"6" "&6 Sensitivity"	"messagemode sensitivity"
"7" "&7 Exit"

效果如下图,基本上常用的功能都有了:

CS1.6自定义游戏中的H菜单和设置菜单,增加一键买枪功能_第1张图片


发现翻译工作量蛮大,所以还是翻译一下:

"1" "&1 电脑"
{
	"0" "&1 快速增加一个电脑"	"bot_add"
	"1" "&2 杀死全部电脑"	"bot_kill"
	"2" "&3 增加电脑"
	{
		"1" "&1 电脑数量"
		{
			"1" "1 电脑"	"bot_quota 1"
			"2" "2 电脑"	"bot_quota 2"
			"3" "3 电脑"	"bot_quota 3"
			"4" "4 电脑"	"bot_quota 4"
			"5" "5 电脑"	"bot_quota 5"
			"6" "6 电脑"	"bot_quota 6"
			"7" "7 电脑"	"bot_quota 7"
			"8" "8 电脑"	"bot_quota 8"
			"9" "9 电脑"	"bot_quota 9"
			"10" "输入电脑数量" "messagemode bot_quota"
		}
		"2" "&2 增加一个恐怖分子"	"bot_add_t"
		"3" "&3 增加一个反恐精英"	"bot_add_ct"
	}
	"3" "&4 移除所有电脑"	"bot_kick"
	"4" "&5 电脑武器模式"
	{
			"1" "&1 只用刀"	"bot_knives_only"
			"2" "&2 只用手枪"	"bot_pistols_only"
			"3" "&3 只用狙击枪"	"bot_snipers_only"
			"4" "&4 所有武器"	"bot_all_weapons"
			}
     	"5" "&6 武器允许开关"
		{
				"1" "&1 手枪"
				{
					"1" "允许使用"	"bot_allow_pistols 1"
					"2" "不允许使用"	"bot_allow_pistols 0"
				}
				"2" "&2 散弹枪"
				{
					"1" "允许使用"	"bot_allow_shotguns 1"
					"2" "不允许使用"	"bot_allow_shotguns 0"
				}
				"3" "&3 冲锋枪"
				{
					"1" "允许使用"	"bot_allow_sub_machine_guns 1"
					"2" "不允许使用"	"bot_allow_sub_machine_guns 0"
				}
				"4" "&4 卡宾枪或步枪"
				{
					"1" "允许使用"	"bot_allow_rifles 1"
					"2" "不允许使用"	"bot_allow_rifles 0"
				}
				"5" "&5 狙击枪"
				{
					"1" "允许使用"	"bot_allow_snipers 1"
					"2" "不允许使用"	"bot_allow_snipers 0"
				}
				"6" "&6 机关枪"
				{
					"1" "允许使用"	"bot_allow_machine_guns 1"
					"2" "不允许使用"	"bot_allow_machine_guns 0"
				}
				"7" "&7 手雷"
				{
					"1" "允许使用"	"bot_allow_grenades 1"
					"2" "不允许使用"	"bot_allow_grenades 0"
				}
				"8" "&8 盾牌"
				{
					"1" "允许使用"	"bot_allow_shield 1"
					"2" "不允许使用"	"bot_allow_shield 0"
				}
			                      

}
	"6" "&7 电脑设置"
	{
		"1" "&1 电脑级别"
		{
			"1" "&1 专家"	"bot_difficulty 3"
			"2" "&2 困难"	"bot_difficulty 2"
			"3" "&3 普通"	"bot_difficulty 1"
			"4" "&4 简单"	"bot_difficulty 0"
		}
		"2" "&2 电脑加入队伍"
		{
			"1" "&1 恐怖分子"	"bot_join_team t"
			"2" "&2 反恐精英"	"bot_join_team ct"
			"3" "&3 任意"	"bot_join_team any"
     		}
     	"3" "&3 是否允许闲逛"
		{
			"1" "&1 是" "allow_rogues 1"
			"2" "&2 否" "allow_rogues 0"
		}
		"4" "&4 暂停电脑活动"
		{
			"1" "暂停活动" "bot_stop 1"
			"2" "恢复活动" "bot_stop 0"
		}
	}
}

"2" "&2 服务器设置"
{
	"0" "&1 主机密码" "messagemode rcon_password"
	"1" "&2 1秒后刷新" "sv_restartround 1"
	"2" "&3 重新开始游戏" "restart"
	"3" "&4 初始金钱"
	{
		"1" "$800" "mp_startmoney 800"
		"2" "$16000" "mp_startmoney 16000"
	}
	"4" "&5 自动平衡队伍人数"
	{
		"1" "是" "mp_autoteambalance 1; mp_limitteams 2"
		"2" "否" "mp_autoteambalance 0; mp_limitteams 32"
	}
	"5" "&6 观察视角"
	{
		"1" "自由" "mp_forcecamera 0"
		"2" "队友" "mp_forcecamera 1"
		"3" "尸体" "mp_forcecamera 2"
	}
	"6" "&7 时间设置"
	{
		"1" "地图使用时间 (分钟)"
		{
		"1" "15分钟" "mp_timelimit 15"
		"2" "30分钟" "mp_timelimit 30"
		"3" "50分钟" "mp_timelimit 50"
		"4" "无限制" "mp_timelimit 0"
		}
		"2" "回合时间 (分钟)"
		{
		"1" "2分钟" "mp_roundtime 2"
		"2" "3分钟" "mp_roundtime 3"
		"3" "4分钟" "mp_roundtime 4"
		"4" "5分钟" "mp_roundtime 5"
		}	
		"3" "开始冻结时间 (秒)"
		{
		"1" "0秒" "mp_freezetime 0"
		"2" "2秒" "mp_freezetime 2"
		"3" "3秒" "mp_freezetime 3"
		"4" "5秒" "mp_freezetime 5"
		}
		"4" "购买时间 (秒)"
		{
		"1" "30秒" "mp_buytime 0.5"
		"2" "60秒" "mp_buytime 1"
		"3" "90秒" "mp_buytime 1.5"
		"4" "120秒" "mp_buytime 2"
		"5" "无限制" "mp_buytime 99"
		}		
		"5" "C4爆炸时间 (秒)"
		{
			"1" "35秒" "mp_c4timer 35"
			"2" "45秒" "mp_c4timer 45"
		}
	}
	"7" "&8 比赛设置"
	{
		"1" "是否允许自相残杀"
		{
			"1" "是" "mp_friendlyfire 1;mp_tkpunish 0;mp_autokick 0"
			"2" "否" "mp_friendlyfire 0"
		}
		"2" "是否死后黑屏"
		{
			"1" "是" "mp_fadetoblack 1"
			"2" "否" "mp_fadetoblack 0"
		}
	}
	"8" "&9 状态参数"
	{
		"1" "显示状态" "status; toggleconsole"
		"2" "显示用户" "users; toggleconsole"
		"3" "踢人" "messagemode kick"
	}
	"9" "&10 重力"
	{
		"1" "普通" "sv_gravity 800"
		"2" "轻" "sv_gravity 80"
		"3" "重" "sv_gravity 2000"
		"4" "零" "sv_gravity 0"
	}
}
"3" "&3 界面菜单"
{
	"1" "&1 左右手持枪"
	{
		"1" "左手"		"cl_righthand 0"
		"2" "右手"	"cl_righthand 1"
	}
	"2" "&2 是否快速切换武器"
	{
		"1" "是"	"hud_fastswitch 1"
		"2" "否"	"hud_fastswitch 0"
	}
	"3" "&3 是否动态准星"
	{
		"1" "是"	"cl_dynamiccrosshair 1"
		"2" "否"	"cl_dynamiccrosshair 0"
	}
	"4" "&4 响应时间"
	{
		"1" "0.1秒(默认)"	"ex_interp 0.1"
		"2" "0.75秒"	"ex_interp 0.75"
		"3" "0.05秒"	"ex_interp 0.05"
	}
	"5" "&5 校准准星"	"adjust_crosshair"
	"6" "&6 是否显示手和武器"
	{
		"1" "&1 是" "r_drawviewmodel 1"
		"1" "&2 否" "r_drawviewmodel 0"
	}
	"7" "&7 画质"
	{
		"1" "&1 网络状态图"
		{
			"1" "关闭"	"net_graph 0"
			"2" "模式 1"	"net_graph 1"
			"3" "模式 2"	"net_graph 2"
			"4" "模式 3"	"net_graph 3"
		}
		"2" "&2 网络状态图位置"
		{
			"1" "左"	"net_graphpos 3"
			"2" "中"	"net_graphpos 2"
			"3" "右"	"net_graphpos 1"
		}
		"3" "&3 是否显示帧数"
		{
			"1" "是"	"cl_showfps 1"
			"2" "否"	"cl_showfps 0"
		}
		"4" "&4 最大帧数"
		{
			"1" "150"	"fps_max 150"
			"2" "100"	"fps_max 100"
			"3" "75"	"fps_max 75"
			"4" "60"	"fps_max 60"
			"5" "50"	"fps_max 50"
		}
		"5" "&5 烟雾效果"
		{
			"1" "最佳"	"fastsprites 0"
			"2" "普通"	"fastsprites 1"
			"3" "差"	"fastsprites 2"
		}
		"6" "&6 人物阴影"
		{
			"1" "开启"	"cl_shadows 1"
			"2" "关闭"	"cl_shadows 0"
		}
	}
}
"4" "&4 更换地图"
{
	
	"1" "所有地图"
	{
		"1" "&1 cs_bloodstrike"	"changelevel cs_bloodstrike"
		"2" "&2 fy_iceworld"	"changelevel fy_iceworld"
		"3" "&3 de_aztec"	"changelevel de_aztec"
		"4" "&4 de_dust2"	"changelevel de_dust2"
		"5" "&5 de_dust"	"changelevel de_dust"
		"6" "&6 de_train"	"changelevel de_train"
		"7" "&7 de_cbble"	"changelevel de_cbble"
		"8" "&8 de_inferno"	"changelevel de_inferno"
		"9" "&9 de_nuke"	"changelevel de_nuke"
		"10" "&10 de_prodigy"	"changelevel de_prodigy"
		"11" "&11 17_8space"	"changelevel 17_8space"
		"12" "&12 cs_italy"	"changelevel cs_italy"
	}
	"2" "输入一个地图名字"	"messagemode changelevel"
}
"5" "&5 更改名字"		"messagemode name"
"6" "&6 修改鼠标灵敏度"	"messagemode sensitivity"
"7" "&7 退出"

关于第4个菜单项“更换地图”,我们可以根据自己的喜好随意修改成自己喜欢的地图。



2.自定义进入游戏的设置菜单,增加一键买枪

CS1.6自定义游戏中的H菜单和设置菜单,增加一键买枪功能_第2张图片

默认的纯净版游戏是没有底下的“购买手枪设置”项目的。想增加需要修改两个地方,三个文件:
(1)cs1.6的“菜单显示名”中文配置文件在: /游戏目录/valve_schinese/resource/valve_schinese.txt和gameui_schinese.txt
注意修改这两个文件只是显示名的键值对,不修改我们新增的菜单项会以键名的形式显示,比较难读懂而已。
我的valve_schinese.txt配置如下:
"lang" 
{ 
"Language" "Schinese" 
"Tokens" 
{ 
"Valve_Listen_MapName"			"地图"
"Valve_Movement_Title"			"移动操作"
"Valve_Move_Forward"			"前进"
"Valve_Move_Back"			"后退"
"Valve_Turn_Left"			"左转"
"Valve_Turn_Right"			"右转"
"Valve_Move_Left"			"左平移"
"Valve_Move_Right"			"右平移"
"Valve_Jump"				"跳"
"Valve_Duck"				"蹲"
"Valve_Swim_Up"				"向上游动"
"Valve_Swim_Down"			"向下游动"
"Valve_Look_Up"				"仰视"
"Valve_Look_Down"			"俯视"
"Valve_Look_Straight_Ahead"		"锁定视线前进"
"Valve_Strafe_Modifier"			"锁定视线"
"Valve_Mouse_Look_Modifier"		"鼠标控制视野"
"Valve_Keyboard_Look_Modifier"		"键盘控制视野"
"Valve_Use_Items"			"使用物品(按扭,人物,  ...)"
"Valve_Communication_Title"		"通讯控制"
"Valve_Use_Voice_Communication"		"语音通讯"
"Valve_Chat_Message"			"公共聊天频道"
"Valve_Team_Message"			"队内聊天频道"
"Valve_Combat_Title"			"战斗设置"
"Valve_Primary_Attack"			"主要攻击"
"Valve_Secondary_Attack"		"辅助攻击"
"Valve_Reload_Weapon"			"装填弹药"
"Valve_Walk"				"行走"
"Valve_Flashlight"			"手电筒"
"Valve_Spray_Logo"			"喷射LOGO"
"Valve_Weapon_Category_1"		"武器种类(菜单选择) 1"
"Valve_Weapon_Category_2"		"武器种类(菜单选择) 2"
"Valve_Weapon_Category_3"		"武器种类(菜单选择) 3"
"Valve_Weapon_Category_4"		"武器种类(菜单选择) 4"
"Valve_Weapon_Category_5"		"武器种类(菜单选择) 5"
"Valve_Weapon_Category_6"		"武器种类(菜单选择) 6"
"Valve_Weapon_Category_7"		"武器种类(菜单选择) 7"
"Valve_Weapon_Category_8"		"武器种类(菜单选择) 8"
"Valve_Weapon_Category_9"		"武器种类(菜单选择) 9"
"Valve_Weapon_Category_0"		"武器种类(菜单选择) 0"
"Valve_Previous_Weapon"			"武器切换(向上)"
"Valve_Next_Weapon"			"武器切换(向下)"
"Valve_Last_Weapon_Used"		"上次使用的武器"
"Valve_Miscellaneous_Title"		"其他操作"
"Valve_Display_Scores"			"显示其他玩家成绩"
"Valve_Take_Screen_Shot"		"抓取当前图象"
"Valve_Quick_Save"			"快速存档"
"Valve_Quick_Load"			"快速载入"
"Valve_Pause_Game"			"暂停游戏"
"Valve_Quit_Game"			"退出游戏"
"Valve_Cheer"				"Cheer"
"Valve_Activate_In_Game_GUI"		"图形控制菜单"
"Valve_Change_Team"			"改变队伍"
"Valve_Change_Class"			"改变角色"
"Valve_Use_Special_Skill"		"使用特殊技能"
"Valve_Multiplayer_Decal_Limit"		"贴图解析度"
"Valve_Valid_Teams"			"Valid teams, leave blank for all"
"Valve_Frag_Limit"			"成绩上限"
"Valve_Time_Limit"			"时间上限 (Min.)"
"Valve_Falling_Damage"			"坠落伤害"
"Valve_Normal"				"普通"
"Valve_Realistic"			"真实"
"Valve_Teamplay"			"组队游戏"
"Valve_Friendly_Fire"			"友方伤害"
"Valve_Weapons_Stay"			"掉落武器保留"
"Valve_Force_Respawn"			"即时重生"
"Valve_Footsteps"			"是否允许脚步声"
"Valve_Flashlight"			"手电筒"
"Valve_Autocrosshair"			"自动瞄准"
"Valve_Center_Player_Names"		"玩家名字中置"
"Valve_Switch_Weapons_Immediately"	"实时切换武器"
"Valve_Automatic_Screenshots"		"游戏结束自动抓取图片"
"Valve_Observer_Crosshair"		"观察者准星"

"Cstrike_Reset_View"			"重设视角"
"Cstrike_Mouse_Look"			"鼠标控制视野"
"Cstrike_Keyboard_Look"			"键盘控制视野"
"Cstrike_Standard_Radio"		"标准无线通讯"
"Cstrike_Group_Radio"			"集团无线通讯"
"Cstrike_Report_Radio"			"应答无线通讯"
"Cstrike_Nightvision"			"开关夜视"
"Cstrike_Menu_Title"			"菜单控制"
"Cstrike_Buy_Menu"			"购买菜单"
"Cstrike_Buy_Primary_Ammo"		"购买主武器弹药 (可选)"
"Cstrike_Buy_Secondary_Ammo"		"购买辅助武器弹药 (可选)"
"Cstrike_Buy_Equip_Menu"		"购买装备菜单 (可选)"
"Cstrike_Menu_Item_0"			"菜单选项 0"
"Cstrike_Menu_Item_1"			"菜单选项 1"
"Cstrike_Menu_Item_2"			"菜单选项 2"
"Cstrike_Menu_Item_3"			"菜单选项 3"
"Cstrike_Menu_Item_4"			"菜单选项 4"
"Cstrike_Menu_Item_5"			"菜单选项 5"
"Cstrike_Menu_Item_6"			"菜单选项 6"
"Cstrike_Menu_Item_7"			"菜单选项 7"
"Cstrike_Menu_Item_8"			"菜单选项 8"
"Cstrike_Menu_Item_9"			"菜单选项 9"
"Cstrike_Mission_Briefing"		"显示任务简报"
"Cstrike_Fire"				"开火"
"Cstrike_Weapon_Special_Func"		"武器特殊功能"
"Cstrike_Drop_Weapon"			"丢弃当前武器"
"Cstrike_Combat_Title"			"战斗操作"
"Cstrike_Select_Team"			"选择队伍"
"Cstrike_Corpse_Stay"			"尸体存在时间"
"Cstrike_Max_Shells"			"弹壳最大显示量"
"Cstrike_Max_Smoke_Puffs"		"最大烟雾显示量"
"Cstrike_Smoke_Quality"			"烟雾显示品质"
"Cstrike_Smoke_Best"			"最佳效果, 较慢"
"Cstrike_Smoke_Medium"			"中等效果"
"Cstrike_Smoke_Worst"			"最差效果, 较快"
"Cstrike_Weapon_Alignment"		"持枪方式"
"Cstrike_Left_Handed"			"左手持枪"
"Cstrike_Right_Handed"			"右手持枪"
"Cstrike_Buy_Menu_Type"			"购买菜单形式"
"Cstrike_Old_Style_Menus"		"文字购买菜单"
"Cstrike_VGUI_Menus"			"图形购买菜单"
"Cstrike_Automatic_Weapon_Switch"	"拾到武器自动换出 (如果它更强)"
"Cstrike_AutoHelp"			"自动帮助"
"Cstrike_Timelimit"			"更换地图时间 (分)"
"Cstrike_WinLimit"			"单方胜利次数上限"
"Cstrike_RoundLimit"			"回合数上限"
"Cstrike_RoundTime"			"每回合时间 (分)"
"Cstrike_FreezeTime"			"回合开始静止时间 (秒)"
"Cstrike_BuyTime"				"购买时间 (分)"
"Cstrike_StartMoney"			"开始金钱数"
"Cstrike_Death_Camera_Type"		"死后视角类型"
"Cstrike_Spectate_Anyone"		"自由观察"
"Cstrike_Spectate_Team_Only"		"仅可观察队友"
"Cstrike_Only_First_Person"		"仅可使用队友视角"
"Cstrike_Fade_To_Black"			"死后黑屏"
"Cstrike_TK_Punish"			"下回合惩罚TKer"
"Cstrike_AutoKick"			"踢除闲散和TKer"
"Cstrike_Hostage_Penalty"		"杀死超过(x)人质踢除"
"Cstrike_Allow_Flashlight"		"允许使用手电筒"

"Cstrike_Listen_MapName"			"地图"
"Cstrike_Movement_Title"			"移动操作"
"Cstrike_Move_Forward"			"前进"
"Cstrike_Move_Back"			"后退"
"Cstrike_Turn_Left"			"左转"
"Cstrike_Turn_Right"			"右转"
"Cstrike_Move_Left"			"左平移"
"Cstrike_Move_Right"			"右平移"
"Cstrike_Jump"				"跳"
"Cstrike_Duck"				"蹲"
"Cstrike_Swim_Up"				"向上游动"
"Cstrike_Swim_Down"			"向下游动"
"Cstrike_Look_Up"				"仰视"
"Cstrike_Look_Down"			"俯视"
"Cstrike_Look_Straight_Ahead"		"锁定视线前进"
"Cstrike_Strafe_Modifier"			"锁定视线"
"Cstrike_Mouse_Look_Modifier"		"鼠标控制视野"
"Cstrike_Keyboard_Look_Modifier"		"键盘控制视野"
"Cstrike_Use_Items"			"使用物品(按扭,人物,  ...)"
"Cstrike_Communication_Title"		"通讯控制"
"Cstrike_Use_Voice_Communication"		"语音通讯"
"Cstrike_Chat_Message"			"公共聊天频道"
"Cstrike_Team_Message"			"队内聊天频道"

"PlayerName"	"名字"
"PlayerScore"	"得分"
"PlayerDeath"	"死亡"
"PlayerPing"	"延时"
"PlayerVoice"	"语音"
"PlayerTracker"	"队友"

//管理指令菜单汉化
"langya_OpCommand"          "管理员菜单"
"langya_serverSetings"       "设置服务器"
"langya_Password"           "管理员口令"
"langya_RestartRound1sec"   "1秒后刷新游戏"
"langya_RestartGame"           "重新启动游戏"
"langya_Start Money"           "开局金钱数量"
"langya_AutoTeamBalance"           "自动均衡双方人数"
"langya_ON"           "开启"
"langya_OFF"           "关闭"
"langya_FriendlyFire"           "队友伤害"
"langya_Black Hold"           "死后黑屏"
"langya_SetTime"           "时间选项"
"langya_TimeLimit"           "每地图时限"
"langya_time 20"           "20分钟"
"langya_time 30"           "30分钟"
"langya_time 50"           "50分钟"
"langya_time MAX"           "不限时间"
"langya_RoundTime"           "每回合时限"
"langya_time 2"           "2分钟"
"langya_time 3"           "3分钟"
"langya_time 4"           "4分钟"
"langya_time 5"           "5分钟"
"langya_FreezeTime"           "冻结时限"
"langya_time 0.0"           "无冻结"
"langya_time 0.3"           "冻结3秒"
"langya_time 0.5"           "冻结5秒"
"langya_BuyTime"           "购买时限"
"langya_timesecond 15"           "15秒"
"langya_timesecond 30"           "30秒"
"langya_timesecond 60"           "60秒"
"langya_timesecond 90"           "90秒"
"langya_C4timer"           "C4引爆时间"
"langya_C4timer 35"           "35秒"
"langya_C4timer 45"           "45秒"
"langya_LeftorRightHand"           "持枪方式"
"langya_Left Hand"           "左手持枪"
"langya_Right Hand"           "右手持枪"
"langya_Exit"           "退出菜单"
"langya_Changename"           "更换作战ID"
"langya_ChangelevelMap"           "选择地图"
"langya_Hostage Map"           "人质地图"
"langya_C4 Map"           "C4地图"
"langya_ChangeLevelMap1"           "手动更换"
"langya_BOTCommand"           "机器人菜单"
"langya_AddZbot"           "添加机器人"
"langya_Setzbot"           "智商等级"
"langya_Easy"           "容易"
"langya_Normal"           "标准"
"langya_Hard"           "困难"
"langya_Expert"           "专家"
"langya_Quick add zbot"           "快速添加"
"langya_Add a specific zbot"           "详细添加"
"langya_Add a terrorist"           "恐怖分子"
"langya_Add a counter-terrorist"           "反恐精英"
"langya_Zbot Misc"           "混合控制"
"langya_Endround"           "结束本局"
"langya_Kick ALL ZBot"           "踢出所有机器人"
"langya_Settings"           "设置"
"langya_Weapon mode"           "武器模式"
"langya_knives only"           "匕首模式"
"langya_pistols only"           "手枪模式"
"langya_snipers only"           "狙击模式"
"langya_all weapons"           "所有武器"
"langya_Zbot join team"           "加入团队"
"langya_terrorist"           "恐怖分子"
"langya_counter-terrorist"           "反恐精英"
"langya_Any"           "任意角色"
"langya_Game Command"           "游戏菜单"
"langya_made"             "OP中文菜单制作 狼牙"
"Cstrike_HELP"           "帮助"
"Cstrike_Map_Desc"           "地图信息"
"Cstrike_Time_Left"           "剩余时间"
"Cstrike_Adjust_Crosshair"           "准星颜色"
"Cstrike_CHANGE_TEAM"           "改变团队"
//结束
"Cstrike_Combat_Title"			"战斗设置"
"Cstrike_Primary_Attack"			"主要攻击"
"Cstrike_Secondary_Attack"		"辅助攻击"
"Cstrike_Reload_Weapon"			"装填弹药"
"Cstrike_Walk"				"行走"
"Cstrike_Flashlight"			"手电筒"
"Cstrike_Spray_Logo"			"喷射LOGO"
"Cstrike_Weapon_Category_1"		"武器种类(菜单选择) 1"
"Cstrike_Weapon_Category_2"		"武器种类(菜单选择) 2"
"Cstrike_Weapon_Category_3"		"武器种类(菜单选择) 3"
"Cstrike_Weapon_Category_4"		"武器种类(菜单选择) 4"
"Cstrike_Weapon_Category_5"		"武器种类(菜单选择) 5"
"Cstrike_Weapon_Category_6"		"武器种类(菜单选择) 6"
"Cstrike_Weapon_Category_7"		"武器种类(菜单选择) 7"
"Cstrike_Weapon_Category_8"		"武器种类(菜单选择) 8"
"Cstrike_Weapon_Category_9"		"武器种类(菜单选择) 9"
"Cstrike_Weapon_Category_0"		"武器种类(菜单选择) 0"
"Cstrike_Previous_Weapon"			"武器切换(向上)"
"Cstrike_Next_Weapon"			"武器切换(向下)"
"Cstrike_Last_Weapon_Used"		"上次使用的武器"
"Cstrike_Miscellaneous_Title"		"其他操作"
"Cstrike_Display_Scores"			"显示其他玩家成绩"
"Cstrike_Take_Screen_Shot"		"抓取当前图象"
"Cstrike_Quick_Save"			"快速存档"
"Cstrike_Quick_Load"			"快速载入"
"Cstrike_Pause_Game"			"暂停游戏"
"Cstrike_Quit_Game"			"退出游戏"
"Cstrike_Cheer"				"Cheer"
"Cstrike_Activate_In_Game_GUI"		"图形控制菜单"
"Cstrike_Change_Team"			"改变队伍"
"Cstrike_Change_Class"			"改变角色"
"Cstrike_Use_Special_Skill"		"使用特殊技能"
"Cstrike_Multiplayer_Decal_Limit"		"贴图解析度"
"Cstrike_Valid_Teams"			"Valid teams, leave blank for all"
"Cstrike_Frag_Limit"			"成绩上限"
"Cstrike_Time_Limit"			"时间上限 (Min.)"
"Cstrike_Falling_Damage"			"坠落伤害"
"Cstrike_Normal"				"普通"
"Cstrike_Realistic"			"真实"
"Cstrike_Teamplay"			"组队游戏"
"Cstrike_Friendly_Fire"			"队友伤害"
"Cstrike_Weapons_Stay"			"掉落武器保留"
"Cstrike_Force_Respawn"			"即时重生"
"Cstrike_Footsteps"			"是否允许脚步声"
"Cstrike_Flashlight"			"手电筒"
"Cstrike_Autocrosshair"			"自动瞄准"
"Cstrike_Center_Player_Names"		"玩家名字中置"
"Cstrike_Switch_Weapons_Immediately"	"实时切换武器"
"Cstrike_Automatic_Screenshots"		"游戏结束自动抓取图片"
"Cstrike_Observer_Crosshair"		"观看者准星"


"Spec_Slow_Motion" "慢镜头播放"
"Spec_No_PIP" "
画中画不能播放第一人称视角内容.
"
"Spec_Replay" "实时回放"
"Spec_Auto" "自动"
"Spec_Time" "时间"
"Spec_Map" "地图: %s1"
"Spectators" "观察者"
"Spec_PlayerItem_Health" "%s1 (%s2)"
"Spec_PlayerItem" "%s1"
"Spec_PlayerItem_Team" "%s1 (%s2)"
"Spec_Duck"	"按下蹲下键以进入观察模式"
"Spec_Help_Title" "观察模式"
"Spec_Help_Text"  "
使用下列按键以切换镜头:

 主要攻击键 - 跟踪下一位玩家
 次要攻击键 - 跟踪前一位玩家
 跳跃键 - 切换视角模式
 使用键 - 切换嵌入窗口模式

 
 蹲下键 - 开启观看者操作目录
  
在地图总览模式下你可以使用:

 左移键 - 向左移动
 右移键 - 向右移动
 前进 - 放大
 后退 - 缩小
 鼠标 - 绕着目标/地图旋转
"

"Spec_Mode1" "固定跟随视角"
"Spec_Mode2" "自由跟随视角"
"Spec_Mode3" "自由观看视角"
"Spec_Mode4" "第一人称视角"
"Spec_Mode5" "自由地图总览"
"Spec_Mode6" "地图跟随视角"
"Spec_NoTarget" "没有有效的目标,无法切换至跟踪模式"

"OBS_NONE" "观看视角设置"
"OBS_CHASE_LOCKED" "固定跟随视角"
"OBS_CHASE_FREE" "自由跟随视角"
"OBS_ROAMING" "自由观看视角"
"OBS_IN_EYE" "第一人称视角"
"OBS_MAP_FREE" "自由地图总览"
"OBS_MAP_CHASE" "地图跟随视角"
"SPECT_OPTIONS" "观看者设置"
"CAM_OPTIONS" "摄像机设置"
"Spec_Duck" "按下CTRL键开启观察者菜单"
"TS_Win" "恐怖份子获胜"
"T_BOMB" "目标成功炸毁!"
"CT_BOMB" "C4炸弹已被解除!"
"V_ES" "VIP已脱逃!"
"V_AS" "VIP已被暗杀!"
"T_ES" "恐怖份子已脱逃!"
"CT_PR" "警察防止了大多数的恐怖份子脱逃!"
"T_EN" "恐怖份子脱逃无效!"
"V_NE" "VIP未逃出"
"H_NR" "人质未救出"
"T_NE" "恐怖份子未逃出"
"T_SAVE" "反恐精英获胜!"
"Z_AZ"   "加入机器人"
"Z_SZ"   "设定难度"
"Z_SET"  "设定"
"Z_QAZ"  "快速加入机器人"
"Z_ASZ"  "加入特定机器人"
"Z_ATS"   "加到恐怖份子"
"Z_ACT"   "加到警察"
"Z_TS"   "恐怖份子"
"Z_CT"   "警察"
"Z_MISC" "其它"
"Z_ROU"  "杀掉所有机器人"
"Z_KI"    "移除所有机器人" 
"Z_JT"   "加入何队伍"
"Z_TANY"  "任何一方"
"Z_EXIT" "离开选单"
"Z_WEP"  "武器模式"
"Z_KO"   "小刀模式"
"Z_PO"   "手枪模式"
"Z_SO"   "狙击模式"
"Z_WANY"  "所有武器"

"T0A0TITLE"	"HAZARD COURSE"
"C0A0TITLE"	"BLACK MESA INBOUND"
"C0A1TITLE"	"ANOMALOUS MATERIALS"
"C1A1TITLE"	"UNFORESEEN CONSEQUENCES"
"C1A2TITLE"	"OFFICE COMPLEX"
"C1A3TITLE"	"WE'VE GOT HOSTILES"
"C1A4TITLE"	"BLAST PIT"
"C2A1TITLE"	"POWER UP"
"C2A2TITLE"	"ON A RAIL"
"C2A3TITLE"	"APPREHENSION"
"C2A4TITLE1"	"RESIDUE PROCESSING"
"C2A4TITLE2"	"QUESTIONABLE ETHICS"
"C2A5TITLE"	"SURFACE TENSION"
"C3A1TITLE"	"FORGET ABOUT FREEMAN!"
"C3A2TITLE"	"LAMBDA CORE"
"C4A1TITLE"	"XEN"
"C4A1ATITLE"	"INTERLOPER"
"C4A2TITLE"	"GONARCH'S LAIR"
"C4A3TITLE"	"NIHILANTH"
"C5TITLE"	"ENDGAME"

"Valve_Close"		"关闭"
"Valve_Help"		"帮助"
"Valve_Settings"	"选择"
"Valve_Chat_Messages"	"聊天信息"
"Valve_Show_Status"	"显示信息"
"Valve_View_Cone"	"View Cone"
"Valve_Player_Names"	"玩家名字"
"Valve_PIP"		"画中画显示"
"Valve_Auto_Director"	"自动视角"
"Valve_Show_Scores"	"显示比分"
"Valve_Game_Saved"	"存储游戏"

"Valve_Orange"		"橙色"
"Valve_Yellow"		"黄色"
"Valve_Blue"		"蓝色"
"Valve_Ltblue"		"亮蓝"
"Valve_Green"		"绿色"
"Valve_Red"		"红色"
"Valve_Brown"		"棕色"
"Valve_Ltgray"		"浅灰"
"Valve_Dkgray"		"深灰"


"Valve_Hostname"	"服务器名称"
"Valve_Max_Players"	"最大玩家数"
"Valve_Server_Password"	"游戏密码"

"Cstrike_Close"		"关闭"
"Cstrike_Help"		"帮助"
"Cstrike_Settings"	"设置"
"Cstrike_Chat_Messages"	"聊天信息"
"Cstrike_Show_Status"	"显示状态"
"Cstrike_View_Cone"	"View Cone"
"Cstrike_Player_Names"	"玩家名字"
"Cstrike_PIP"		"画中画显示"
"Cstrike_Auto_Director"	"自动对正视角"
"Cstrike_Show_Scores"	"显示记分板"
"Cstrike_Game_Saved"	"存储游戏"

"Cstrike_Orange"		"橙色"
"Cstrike_Yellow"		"黄色"
"Cstrike_Blue"		"蓝色"
"Cstrike_Ltblue"		"亮蓝"
"Cstrike_Green"		"绿色"
"Cstrike_Red"		"红色"
"Cstrike_Brown"		"棕色"
"Cstrike_Ltgray"		"浅灰"
"Cstrike_Dkgray"		"深灰"

"Valve_Playing"		"进行播放"
"Valve_Stopped"		"终止"
"Valve_Paused"		"暂停"

"Valve_x_1_4"		"x1/4"
"Valve_x_1_2"		"x1/2"
"Valve_x_1"		"x1"
"Valve_x_2"		"x2"
"Valve_x_4"		"x4"

"Valve_ViewDemoStatus"	"%s1  %s2  %s3"

} 
}

我的gameui_schinese.txt的配置如下:
"lang" 
{ 

"Language" "Schinese" 
"Tokens" 
{ 
"GameUI_ReverseMouse" 		"鼠标反转"
"GameUI_ReverseMouseLabel"	"鼠标上下运动方向反转"
"GameUI_MouseLook" 		"鼠标控制视野"
"GameUI_MouseLookLabel"		"使用鼠标控制视野"
"GameUI_MouseFilter" 		"平滑鼠标运动"
"GameUI_MouseFilterLabel"	"平滑鼠标运动轨迹"
"GameUI_MouseSensitivity"	"鼠标灵敏度"
"GameUI_Joystick" 		"启用摇杆"
"GameUI_JoystickLabel"		"启用摇杆"
"GameUI_JoystickLook"		"摇杆控制视野"
"GameUI_JoystickLookLabel"	"使用摇杆控制视野"
"GameUI_AutoAim" 		"自动瞄准"
"GameUI_AutoaimLabel"		"服务器允许情况下自动瞄准敌人"
"GameUI_ContentLock"		"内容控制"
"GameUI_ContentLockLabel"	"该项用以防止年纪过小的人进行本游戏"
"GameUI_ContentStatusDisabled"	"输入一个密码启用内容控制"
"GameUI_ContentStatusEnabled"	"输入一个密码取消内容控制"
"GameUI_Enable"			"启用"
"GameUI_Disable"		"禁止"
"GameUI_PasswordPrompt"		"请输入密码"
"GameUI_PasswordDisablePrompt"	"请输入密码"
"GameUI_PasswordReentryPrompt"	"请确认密码"
"GameUI_Cancel"			"&取消"
"GameUI_Apply"			"保存"
"GameUI_DemoPlayer"		"Demo 播放器"
"GameUI_LoadDemo"		"选择Demo文件"
"GameUI_Load"			"载入"
"GameUI_Download"               "下载所需文件"
"GameUI_DemoFile"		"Demo 文件"
"GameUI_Map"			"地图"
"GameUi_RandomMap"              "任意地图"
"GameUI_Close"			"&关闭"
"GameUI_NeverShowButton"	"&不再显示这个对话框"
"GameUI_LoadGameHelp"		"在下面的列表中选择一个游戏的存档并载入"
"GameUI_Load"			"载入游戏"
"GameUI_LoadGame"		"载入游戏"
"GameUI_MultiplayerAdvanced"	"多人游戏中的设置"
"GameUI_MultiplayerCustomize"	"多人游戏个人设置"
"GameUI_Multiplayer" 	"个人设置"
"GameUI_OK"			"&确定"
"GameUI_AdvancedEllipsis"	"高级..."
"GameUI_AdvancedNoEllipsis"	"高级"
"GameUI_PlayerName"		"玩家名字"
"GameUI_PrimaryColor"		"主要颜色"
"GameUI_SecondaryColor"		"点缀颜色"
"GameUI_HighModels"		"使用高品质模型"
"GameUI_PlayerModel"		"玩家模型"
"GameUI_SpraypaintImage"	"喷射图象"
"GameUI_SpraypaintServerNote"	"更换你的喷图让你在服务器给人不一样的印象"
"GameUI_NewGame"		"新游戏"
"GameUI_NewGameHelpText"	"选择一个训练时的难度等级\nroom,然后点 “开始游戏”"
"GameUI_TrainingRoom"		"训练场"
"GameUI_Easy"			"简单"
"GameUI_Medium"			"一般"
"GameUI_Hard"			"困难"
"GameUI_Play"			"开始游戏"
"GameUI_EnableEAX"		"开启 EAX 硬件支持"
"GameUI_EnableA3D"		"开启 A3D 硬件支持"
"GameUI_SoundEffectVolume"	"音效音量"
"GameUI_HEVSuitVolume"		"HEV 音量"
"GameUI_MP3Volume"		"MP3 音量"
"GameUI_SoundQuality"		"音质"
"GameUI_High"			"高"
"GameUI_Low"			"低"
"GameUI_UseDefaults"		"&使用默认"
"GameUI_SetNewKey"		"编辑按键"
"GameUI_ClearKey"		"清除按键"
"GameUI_Action"			"功能"
"GameUI_KeyButton"		"按扭/键"
"GameUI_Alternate"		"第二按键"
"GameUI_Windowed"		"窗口游戏"
"GameUI_Renderer"		"显示模式"
"GameUI_Software"		"Software"
"GameUI_OpenGL"			"OpenGL"
"GameUI_D3D"			"D3D"
"GameUI_Brightness"		"亮度"
"GameUI_Gamma"			"对比"
"GameUI_Resolution"		"图象解析度"
"GameUI_VideoRestart"		"注意: 改变游戏显示选项游戏画面会短暂切出并返回"
"GameUI_EnableVoice"		"在游戏中开启语音"
"GameUI_BoostMicrophone"	"增大话筒音量"
"GameUI_MicrophoneVolume"	"话筒音量"
"GameUI_ReceiveVolume"		"接受音量"
"GameUI_TestMicrophone"		"测试话筒"
"GameUI_StopTestMicrophone"	"停止话筒测试"
"GameUI_VoiceReceiveVolume"	"接收语音音量"
"GameUI_VoiceTransmitVolume"	"语音发送音量"
"GameUI_SaveGame"		"保存游戏"
"GameUI_SaveGameHelp"		"选择 '新的存档' 会新增一个文件来储存进度, 否则会在\na现存的文件中储存"
"GameUI_Save"			"保存游戏"
"GameUI_Quit"			"退出游戏"
"GameUI_SteamPassword"		"Steam 密码"
"GameUI_CreateServer"		"创建游戏"
"GameUI_Start"			"开始"
"GameUI_Console"		"控制台"
"GameUI_Submit"			"&提交"
"GameUI_Options"		"选项"
"GameUI_Keyboard"		"键盘"
"GameUI_Mouse"			"鼠标"
"GameUI_Audio"			"音频"
"GameUI_Video"			"视频"
"GameUI_Voice"			"语音"
"GameUI_Advanced"		"锁定"
"GameUI_Server"			"服务器"
"GameUI_Game"			"游戏"
"GameUI_SavedGame"		"保存游戏"
"GameUI_ElapsedTime"		"Elapsed Time"
"GameUI_TimeStamp"		"Time Stamp"
"GameUI_KeyboardSettings"	"键盘设定"
"GameUI_KeyboardSettingsText"	"重设所有按键为默认值吗?"
"GameUI_GameMenu_Chn"           "版本:3266"
"GameUI_GameMenu_NewGame"	"&新建游戏"
"GameUI_GameMenu_PlayDemo"	"&播放 Demo"
"GameUI_GameMenu_LoadGame"	"&读取游戏"
"GameUI_GameMenu_SaveGame"	"&存储游戏"
"GameUI_GameMenu_Multiplayer"	"&联网对战"
"GameUI_GameMenu_FindServers"	"&搜索服务器"
"GameUI_GameMenu_Customize"	"&Customize"
"GameUI_GameMenu_CreateServer"	"Create &Server"
"GameUI_GameMenu_Options"	"&游戏设置"
"GameUI_GameMenu_Quit"		"&退出游戏"
"GameUI_PasswordsDontMatch"	"您输入的密码不匹配 !"
"GameUI_MustEnterPassword"	"您必须输入一个密码"
"GameUI_IncorrectPassword"	"密码错误"
"GameUI_CantDisableContentCtrl"	"无法禁用, 内容控制没有开启"
"GameUI_Loading"		"载入中..."
"GameUI_Disconnected"		"断开连接"
"GameUI_ConnectionFailed" 	"无法连接到服务器"
"GameUI_DisconnectedFrom" "您已经从服务器上断开"
"GameUI_DisconnectedFromServerExtended" "您已经从服务器断开,原因\nReason: %s1"
"GameUI_EstablishingConnection" "建立到服务器的连接..."
"GameUI_ParseServerInfo"	"处理服务器信息..."
"GameUI_CheckCRCs"		"校验游戏资源... "
"GameUI_PrecachingResources"	"载入游戏资源... "
"GameUI_ParseBaseline"		"处理游戏信息..."
"GameUI_LoadingSecurityModule"	"载入反作弊模块..."
"GameUI_StartingServer"	"启动局域网游戏..."
"GameUI_DisplayMode"		"屏显模式"
"GameUI_AspectNormal"		"普通"
"GameUI_AspectWide"		"宽屏"
"GameUI_CDKey"			"CD Key"
"GameUI_EnterCDKey"		"请输入您的 CD Key, 它印刷在在您的CD盒上\nfound"
"GameUI_LoadingDialog_ContentHosting"    "服务器信息:"
"GameUI_ColorSliders" 		"颜色"
"GameUI_ColorQuality" 		"颜色品质"

"GameUI_CDKey_Invalid_Text"	"输入 CD Key 无效"
"GameUI_CDKey_Invalid_Title"	"无效 CD Key"
"GameUI_CDKey_TooManyTries"	"无效 CD Key 输入次数过多. 退出..."
"GameUI_GameMenu_ResumeGame"	"回到游戏"
"GameUI_GameMenu_Disconnect"	"断开连接"
"GameUI_GameMenu_ChangeGame"	"选择游戏"
"GameUI_GameMenu_PlayerList"	"玩家列表"

"GameUI_OutOfDate_Title"	"游戏过期"
"GameUI_OutOfDate_URL"		"http://www.steampowered.com/autoupdate"
"GameUI_OutOfDate_Msg"		"您的游戏已经过期.\nClick 确定并去 Valve's 的WEB页上获取最新的更新"
"GameUI_QuitConfirmationTitle"  "游戏"
"GameUI_QuitConfirmationText"   "您确定退出游戏吗?"
"GameUI_ChangeGame"		"改变游戏"
"GameUI_NoOtherGamesAvailable"  "没有可用的游戏"
"GameUI_ForceGameRestart"	"改变游戏时游戏引擎会重启动,这要花费约几秒钟"
"GameUI_Miles_Voice"		"* Uses Miles Sound System . © RAD Game Tools 有限公司. 1991-2001"
"GameUI_Miles_Audio"		"* MP3 回放支持  Miles Sound System \nRAD Game Tools, 游戏公司. MP3 音频压缩技术\nlicensed 由 Fraunhofer IIS 和 THOMSON multimedia 许可."

"GameUI_MuteIngameVoice"	"游戏中静音"
"GameUI_UnmuteIngameVoice"	"取消静音"
"GameUI_AddToFriendsList"	"加入好友列表"
"GameUI_PlayerListDialogTitle"	"当前玩家 - %s1"
"GameUI_FriendsName"		"好友名字"
"GameUI_Properties"		"属性"

"GameUI_AddFriendTitle"		"好友 - 添加好友"
"GameUI_FriendAddedToList"	"您已经将 %s1 加入了好友列表"
"GameUI_AddFriendFailed"	"无法将 %s1 加入您的好友列表.\nThere 存在一个错误或没有连接好友"
"GameUI_NoOtherPlayersInGame"	"该游戏中没有其他玩家"
"GameUI_QuickSave"		"[quick]"
"GameUI_AutoSave"		"[autosave]"
"GameUI_Type"			"类型"
"GameUI_ServerName"		"服务器名字"
"GameUI_MaxPlayers"		"最大大玩家数:"
"GameUI_Password"		"密码"

"GameUI_DARK"			"昏暗"
"GameUI_LIGHT"			"明亮"
"GameUI_VerifyingResources"	 "校验资源..."
"GameUI_VerifyingAndDownloading" "校验并下载资源..."
"GameUI_UpdatingSteamResources" "更新 steam 资源"

"GameUI_CurrentPlayers"		"当前玩家"
"GameUI_LoadingFilename"	"载入 %s1 ..."

"GameUI_EventList"		"Event List??"
"GameUI_EditDirectorCommand"	"Edit director command??"

"GameUI_GetTime"		"记时"
"GameUI_GetView"		"Get view?"
"GameUI_Add"			"添加"
"GameUI_Remove"			"移除"
"GameUI_Modify"			"修改"
"GameUI_Goto"			"转到"
"GameUI_Events"			"事件"
"GameUI_Save"			"保存"
"GameUI_Time"			"时间"

"GameUI_CPUPlayerOptions"	"虚拟玩家选项"

"GameUI_MediumBitDepth"		"中等 (16 位色)"
"GameUI_HighBitDepth"		"最高 (32 位色)"
	

} 
}  

(2)增加设置中的菜单数量
配置文件路径:/游戏目录/cstrike/gfx/shell/kb_act.lst

我的kb_act.lst文件如下:
"blank"			"=========================="
"blank"			"#Valve_Movement_Title"
"blank"			"=========================="
"+forward"		"#Valve_Move_Forward"
"+back"			"#Valve_Move_Back"
"+left"			"#Valve_Turn_Left"
"+right"		"#Valve_Turn_Right"
"+moveleft"		"#Valve_Move_Left"
"+moveright"	"#Valve_Move_Right"
"+speed"        "#Valve_Walk"
"+jump"			"#Valve_Jump"
"+duck"			"#Valve_Duck"
"+moveup"		"#Valve_Swim_Up"
"+movedown"		"#Valve_Swim_Down"
"+lookup"		"#Valve_Look_Up"
"+lookdown"		"#Valve_Look_Down"
"centerview"	"#Cstrike_Reset_View"
"+strafe"		"#Valve_Strafe_Modifier"
"+mlook"		"#Cstrike_Mouse_Look"
"+klook"		"#Cstrike_Keyboard_Look"
"blank"			"=========================="
"blank"			"#Valve_Communication_Title"
"blank"			"=========================="
"+voicerecord"	"#Valve_Use_Voice_Communication"
"radio1"		"#Cstrike_Standard_Radio"
"radio2"		"#Cstrike_Group_Radio"
"radio3"		"#Cstrike_Report_Radio"
"+commandmenu"	"#Valve_Activate_In_Game_GUI"
"messagemode"	"#Valve_Chat_Message"
"messagemode2"	"#Valve_Team_Message"
"blank"			"=========================="
"blank"			"#Cstrike_Menu_Title"
"blank"			"=========================="
"buy" 			"#Cstrike_Buy_Menu"
"buyammo1"   	"#Cstrike_Buy_Primary_Ammo"
"buyammo2" 		"#Cstrike_Buy_Secondary_Ammo"
"buyequip"		"#Cstrike_Buy_Equip_Menu"
"autobuy"   "#Cstrike_Auto_Buy"
"rebuy"		"#Cstrike_ReBuy"
"chooseteam" 	"#Cstrike_Select_Team"
"slot10"		"#Cstrike_Menu_Item_0"
"slot1"			"#Cstrike_Menu_Item_1"
"slot2"			"#Cstrike_Menu_Item_2"
"slot3" 		"#Cstrike_Menu_Item_3"
"slot4"			"#Cstrike_Menu_Item_4"
"slot5"			"#Cstrike_Menu_Item_5"
"slot6"			"#Cstrike_Menu_Item_6"
"slot7"			"#Cstrike_Menu_Item_7"
"slot8"			"#Cstrike_Menu_Item_8"
"slot9"			"#Cstrike_Menu_Item_9"
"+showscores"	"#Valve_Display_Scores"
"showbriefing"	"#Cstrike_Mission_Briefing"
"blank"			"=========================="
"blank"			"#Cstrike_Combat_Title"
"blank"			"=========================="
"+attack"		"#Cstrike_Fire"
"+attack2"		"#Cstrike_Weapon_Special_Func"
"+reload"		"#Valve_Reload_Weapon"
"invprev"		"#Valve_Previous_Weapon"
"invnext"		"#Valve_Next_Weapon"
"lastinv"		"#Valve_Last_Weapon_Used"
"nightvision"	"#Cstrike_Nightvision"
"drop"	 		"#Cstrike_Drop_Weapon"
"blank"			"=========================="
"blank"			"#Valve_Miscellaneous_Title"
"blank"			"=========================="
"+use"			"#Valve_Use_Items"
"impulse 100"	"#Valve_Flashlight"
"impulse 201"	"#Valve_Spray_Logo"
"snapshot"		"#Valve_Take_Screen_Shot"
"cheer"			"#Valve_Cheer"
"quit"			"#Valve_Quit_Game"
//注意以下部分是原来没有的
"blank"			"=========================="
"blank"			"#Cstrike_BuyMenu_b1"
"blank"			"=========================="
"glock;secammo;"	"#Cstrike_BuyMenu_b11"
"usp;secammo;"          "#Cstrike_BuyMenu_b12"
"p228;secammo;"	        "#Cstrike_BuyMenu_b13"
"deagle;secammo;"	"#Cstrike_BuyMenu_b14"
"fn57;secammo;"   	"#Cstrike_BuyMenu_b15"
"elites;secammo;"	"#Cstrike_BuyMenu_b16"
"blank"			"=========================="
"blank"			"#Cstrike_BuyMenu_b2"
"blank"			"=========================="
"m3;primammo;"		"#Cstrike_BuyMenu_b21"
"xm1014;primammo;"	"#Cstrike_BuyMenu_b22"
"blank"			"=========================="
"blank"			"#Cstrike_BuyMenu_b3"
"blank"			"=========================="
"tmp;mac10;primammo;"	"#Cstrike_BuyMenu_b31"
"mp5;primammo;"	        "#Cstrike_BuyMenu_b32"
"ump45;primammo;"	"#Cstrike_BuyMenu_b33"
"p90;primammo;"	        "#Cstrike_BuyMenu_b34"
"blank"			"=========================="
"blank"			"#Cstrike_BuyMenu_b4"
"blank"			"=========================="
"famas;galil;primammo;"	"#Cstrike_BuyMenu_b41"
"ak47;m4a1;primammo;"	"#Cstrike_BuyMenu_b42"
"sg552;aug;primammo;"	"#Cstrike_BuyMenu_b43"
"scout;primammo;"	"#Cstrike_BuyMenu_b44"
"awp;primammo;"		"#Cstrike_BuyMenu_b45"
"g3sg1;sg550;primammo;"	"#Cstrike_BuyMenu_b46"
"blank"			"=========================="
"blank"			"#Cstrike_BuyMenu_b5"
"blank"			"=========================="
"m249;primammo;"	"#Cstrike_BuyMenu_b51"
"blank"			"=========================="
"blank"			"#Cstrike_BuyMenu_b8"
"blank"			"=========================="
"vest"			"#Cstrike_BuyMenu_b81"
"vesthelm"		"#Cstrike_BuyMenu_b82"
"flash"			"#Cstrike_BuyMenu_b83"
"flash;flash"           "#Cstrike_BuyMenu_b84"
"hegren"		"#Cstrike_BuyMenu_b85"
"sgren"			"#Cstrike_BuyMenu_b86"
"defuser"		"#Cstrike_BuyMenu_b87"
"nvgs"			"#Cstrike_BuyMenu_b88"
"shield"		"#Cstrike_BuyMenu_b89"
"blank"			"=========================="
"blank"			"#Cstrike_BuyMenu_suit"
"blank"			"=========================="
"deagle;secammo;vesthelm;vest;hegren;flash;flash;defuser;secammo;"		"#Cstrike_BuyMenu_suit_deagle"
"shield;vesthelm;vest;hegren;flash;flash;defuser;secammo;"			"#Cstrike_BuyMenu_suit_shield"
"mp5;primammo;vesthelm;vest;hegren;flash;flash;defuser;secammo;"		"#Cstrike_BuyMenu_suit_mp5"
"famas;galil;primammo;vesthelm;vest;hegren;flash;flash;defuser;secammo;"	"#Cstrike_BuyMenu_suit_famas_galil"
"m4a1;ak47;primammo;vesthelm;vest;hegren;flash;flash;defuser;secammo;"		"#Cstrike_BuyMenu_suit_m4a1_ak47"
"aug;sg552;primammo;vesthelm;vest;hegren;flash;flash;defuser;secammo;"		"#Cstrike_BuyMenu_suit_aug_sg552"
"awp;vesthelm;vest;deagle;secammo;hegren;flash;flash;defuser;"			"#Cstrike_BuyMenu_suit_awp"
"vestheml;vest;hegren;flash;flash;sgren;defuser;"				"#Cstrike_BuyMenu_suit_all"
"blank"			"=========================="
"blank"			"#Cstrike_Change_weapon"
"blank"			"=========================="
"weapon_flashbang"	"#Cstrike_Change_weapon_flash"
"weapon_hegrenade"	"#Cstrike_Change_weapon_he"
"weapon_smokegrenade"	"#Cstrike_Change_weapon_smoke"
"weapon_c4"		"#Cstrike_Change_weapon_c4"
"blank"			"=========================="
"blank"			"#Cstrike_rbot"
"blank"			"=========================="
"bot_add"		"#Cstrike_bot_add"
"bot_quota 31"		"#Cstrike_bot_add_many"
"bot_kick"		"#Cstrike_bot_kick_all"
"bot_kill"		"#Cstrike_bot_end"




注意底下部分就是我们增加的菜单设置项,纯净版是没有的。

按照以上三个文件的修改,就可以实现菜单项的增加了,当然我针对的是中文版的游戏目录,英文版可以保留纯净。


不同cs1.6的文件路径可能有所不同,但文件名是一样的,搜索一下修改即可。



你可能感兴趣的:(cs)