firerage 发表于 2005-5-11 00:20:56

【求助】如何在CS1.6如图位置添加文字

【求助】如何在CS1.6如图位置添加文字我不知道该改哪个文件

tomtom 发表于 2005-5-11 00:43:14

CS1.6\platform\resource\vgui_schinese.txt里改.

firerage 发表于 2005-5-13 22:22:58

多谢回复找到了~~

shengleyuan 发表于 2005-8-2 12:38:18

怎么改.我是3147,好像没用啊,教教我

BoeZombie 发表于 2005-8-2 14:24:19

楼主的截图不是CS1.6原版的,所以4楼不必惊诧。

按照1楼的截图添加文字需要至少两个条件:
首先在\cstrike\resource\CreateMultiplayerGameServerPage.res里创建位置关联,原文件应该如下:

"Resource/CreateMultiplayerGameServerPage.res"
{
"MapList"
{
"ControlName" "ComboBox"
"fieldName" "MapList"
"xpos" "66"
"ypos" "28"
"wide" "174"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "1"
"textHidden" "0"
"editable" "0"
"maxchars" "-1"
"NumericInputOnly" "0"
"unicode" "0"
}
"BotQuotaCombo"
{
"ControlName" "TextEntry"
"fieldName" "BotQuotaCombo"
"xpos" "192"
"ypos" "110"
"wide" "48"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "3"
"textHidden" "0"
"editable" "1"
"maxchars" "2"
"NumericInputOnly" "1"
"unicode" "0"
}
"CheckButtonTutor"
{
"ControlName" "CCvarToggleCheckButton"
"fieldName" "CheckButtonTutor"
"xpos" "21"
"ypos" "269"
"wide" "320"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "2"
"labelText" "#CStrike_Tutor_Enabled"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"Default" "0"
}
"EnableBotsCheck"
{
"ControlName" "CheckButton"
"fieldName" "EnableBotsCheck"
"xpos" "21"
"ypos" "83"
"wide" "320"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "2"
"labelText" "#Cstrike_Bot_IncludeBots"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"Default" "0"
}
"SkillLevelExpert"
{
"ControlName" "RadioButton"
"fieldName" "SkillLevelExpert"
"xpos" "78"
"ypos" "226"
"wide" "140"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "4"
"labelText" "#Cstrike_Bot_Difficulty3"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"Default" "0"
"SubTabPosition" "4"
}
"SkillLevelHard"
{
"ControlName" "RadioButton"
"fieldName" "SkillLevelHard"
"xpos" "78"
"ypos" "204"
"wide" "140"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "4"
"labelText" "#Cstrike_Bot_Difficulty2"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"Default" "0"
"SubTabPosition" "3"
}
"SkillLevelNormal"
{
"ControlName" "RadioButton"
"fieldName" "SkillLevelNormal"
"xpos" "78"
"ypos" "182"
"wide" "140"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "4"
"labelText" "#Cstrike_Bot_Difficulty1"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"Default" "0"
"SubTabPosition" "2"
}
"SkillLevelEasy"
{
"ControlName" "RadioButton"
"fieldName" "SkillLevelEasy"
"xpos" "78"
"ypos" "160"
"wide" "140"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "4"
"labelText" "#Cstrike_Bot_Difficulty0"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"Default" "0"
"SubTabPosition" "1"
}
"BotDifficultyLabel"
{
"ControlName" "Label"
"fieldName" "BotDifficultyLabel"
"xpos" "46"
"ypos" "138"
"wide" "140"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Cstrike_Bot_Difficulty"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
}
"Divider1"
{
"ControlName" "Divider"
"fieldName" "Divider1"
"xpos" "28"
"ypos" "70"
"wide" "280"
"tall" "2"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"Label1"
{
"ControlName" "Label"
"fieldName" "Label1"
"xpos" "28"
"ypos" "28"
"wide" "38"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Cstrike_Listen_MapName"
"textAlignment" "west"
"associate" "MapList"
"dulltext" "0"
"brighttext" "0"
}
"BotLabel2"
{
"ControlName" "Label"
"fieldName" "BotLabel2"
"xpos" "46"
"ypos" "110"
"wide" "144"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Cstrike_Bot_NumberOfBots"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
}
"Divider2"
{
"ControlName" "Divider"
"fieldName" "Divider2"
"xpos" "28"
"ypos" "258"
"wide" "280"
"tall" "2"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
}


改为

"Resource/CreateMultiplayerGameServerPage.res"
{
"MapList"
{
"ControlName" "ComboBox"
"fieldName" "MapList"
"xpos" "66"
"ypos" "28"
"wide" "174"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "1"
"textHidden" "0"
"editable" "0"
"maxchars" "-1"
"NumericInputOnly" "0"
"unicode" "0"
}
"BotQuotaCombo"
{
"ControlName" "TextEntry"
"fieldName" "BotQuotaCombo"
"xpos" "192"
"ypos" "110"
"wide" "48"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "3"
"textHidden" "0"
"editable" "1"
"maxchars" "2"
"NumericInputOnly" "1"
"unicode" "0"
}
"EnableBotsCheck"
{
"ControlName" "CheckButton"
"fieldName" "EnableBotsCheck"
"xpos" "21"
"ypos" "83"
"wide" "320"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "2"
"labelText" "#Cstrike_Bot_IncludeBots"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"Default" "0"
}
"SkillLevelExpert"
{
"ControlName" "RadioButton"
"fieldName" "SkillLevelExpert"
"xpos" "78"
"ypos" "226"
"wide" "140"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "4"
"labelText" "#Cstrike_Bot_Difficulty3"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"Default" "0"
"SubTabPosition" "4"
}
"SkillLevelHard"
{
"ControlName" "RadioButton"
"fieldName" "SkillLevelHard"
"xpos" "78"
"ypos" "204"
"wide" "140"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "4"
"labelText" "#Cstrike_Bot_Difficulty2"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"Default" "0"
"SubTabPosition" "3"
}
"SkillLevelNormal"
{
"ControlName" "RadioButton"
"fieldName" "SkillLevelNormal"
"xpos" "78"
"ypos" "182"
"wide" "140"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "4"
"labelText" "#Cstrike_Bot_Difficulty1"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"Default" "0"
"SubTabPosition" "2"
}
"SkillLevelEasy"
{
"ControlName" "RadioButton"
"fieldName" "SkillLevelEasy"
"xpos" "78"
"ypos" "160"
"wide" "140"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "4"
"labelText" "#Cstrike_Bot_Difficulty0"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"Default" "0"
"SubTabPosition" "1"
}
"BotDifficultyLabel"
{
"ControlName" "Label"
"fieldName" "BotDifficultyLabel"
"xpos" "46"
"ypos" "138"
"wide" "140"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Cstrike_Bot_Difficulty"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
}
"Divider1"
{
"ControlName" "Divider"
"fieldName" "Divider1"
"xpos" "28"
"ypos" "70"
"wide" "280"
"tall" "2"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"Label1"
{
"ControlName" "Label"
"fieldName" "Label1"
"xpos" "28"
"ypos" "28"
"wide" "38"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Cstrike_Listen_MapName"
"textAlignment" "west"
"associate" "MapList"
"dulltext" "0"
"brighttext" "0"
}
"Label2"
{
"ControlName" "Label"
"fieldName" "Label2"
"xpos" "21"
"ypos" "270"
"wide" "320"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Cstrike_ad01"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "1"
"Default" "0"
}
"Label3"
{
"ControlName" "Label"
"fieldName" "Label3"
"xpos" "21"
"ypos" "290"
"wide" "320"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Cstrike_ad02"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"Default" "0"
}
"Label4"
{
"ControlName" "Label"
"fieldName" "Label4"
"xpos" "21"
"ypos" "310"
"wide" "320"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Cstrike_ad03"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "1"
"Default" "0"
}
"Label5"
{
"ControlName" "Label"
"fieldName" "Label5"
"xpos" "21"
"ypos" "330"
"wide" "320"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Cstrike_ad04"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "1"
"Default" "0"
}
"BotLabel2"
{
"ControlName" "Label"
"fieldName" "BotLabel2"
"xpos" "46"
"ypos" "110"
"wide" "144"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Cstrike_Bot_NumberOfBots"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
}
"Divider2"
{
"ControlName" "Divider"
"fieldName" "Divider2"
"xpos" "28"
"ypos" "258"
"wide" "280"
"tall" "2"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
}


然后打开\cstrike\resource\cstrike_schinese.txt
写入:
"Cstrike_ad01" "广告1"
"Cstrike_ad02" "广告2"
"Cstrike_ad03" "广告3"
"Cstrike_ad04" "广告4 "

保存即可

5131440 发表于 2005-8-2 14:28:20

BoeZombie你把哪改了?

BoeZombie 发表于 2005-8-2 14:32:18

.红色部分.

shengleyuan 发表于 2005-8-2 23:22:11

o ,谢谢,是我自己搞错了一点哈哈,谢谢BoeZombie我明白了

ifubo 发表于 2005-8-2 23:30:47

wo kao,zhen shi qiang ren ya,zm jiu lao de zm qing chu ne? :super:

1s1k 发表于 2005-8-6 11:17:07

kan yun le wo haha
页: [1] 2
查看完整版本: 【求助】如何在CS1.6如图位置添加文字