设为首页收藏本站新闻投稿

MOD中国同盟社

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1170|回复: 11

[求助] 5金求修改CS启动时新建游戏的文字大小 [复制链接]

Rank: 10Rank: 10Rank: 10

帖子
1667
精华
0
声望
4219 点
金币
225 Mold
被赞许
1 次
注册时间
2009-12-19

黑暗使者

发表于 2010-6-21 20:34:37 |显示全部楼层
5金币

我不知道咋整的,文字突然变大了,我把他调一下文字是变小了但是上下有很大的间距!
谁帮我解决一下????5金悬赏!






这是我的TrackerScheme.res档

//
// TRACKER SCHEME RESOURCE FILE
//
// sections:
//                colors                        - all the colors used by the scheme
//                basesettings        - contains settings for app to use to draw controls
//                fonts                        - list of all the fonts used by app
//                borders                        - description of all the borders
//
// notes:
//                 hit ctrl-alt-shift-R in the app to reload this file
//
Scheme
{
//////////////////////// COLORS ///////////////////////////
Colors
{
// base colors

"BaseText"             "255 255 255 255"
"BrightBaseText"       "255 255 255 255"
"SelectedText"         "0 0 0 255"
"DimBaseText"          "255 255 255 255"
"LabelDimText"         "255 255 255 255"
"ControlText"          "255 255 255 255"
"BrightControlText"   "255 255 255 255"
"DisabledText1"        "255 255 255 255"
"DisabledText2"        "255 255 255 255"
"DimListText"         "255 255 255 255"
"ControlBG"        "83 83 83 200"
"ControlDarkBG"    "95 95 95 200"
"WindowBG"         "43 43 43 150"
"SelectionBG"      "255 155 0  255"
"SelectionBG2"     "255 155 0  255"
"ListBG"           "43 43 43 150"
"TitleText"        "188 188 188 255"
"TitleDimText"     "188 188 188 15"
"TitleBG"          "188 188 188 0"
"TitleDimBG"       "188 188 188 0"
"SliderTickColor"      "95 95 95 255"
"SliderTrackColor"     "95 95 95 255"
"BorderBright"     "170 170 170 255"
"BorderDark"       "50 50 50 255"
"BorderSelection"      "0 0 255 10"


}

///////////////////// BASE SETTINGS ////////////////////////
// default settings for all panels
// controls use these to determine their settings
BaseSettings
{
"FgColor"                        "ControlText"
"BgColor"                        "ControlBG"
"LabelBgColor"                "ControlBG"
"SubPanelBgColor"        "ControlBG"

"DisabledFgColor1"                "DisabledText1"
"DisabledFgColor2"                "DisabledText2"                        // set this to the BgColor if you don't want it to draw

"TitleBarFgColor"                        "TitleText"
"TitleBarDisabledFgColor"        "TitleDimText"
"TitleBarBgColor"                        "TitleBG"
"TitleBarDisabledBgColor"        "TitleDimBG"

"TitleBarIcon"                        "resource/icon_hl2"
"TitleBarDisabledIcon"                "resource/icon_hl2_dull"



"TitleButtonFgColor"                        "BorderBright"
"TitleButtonBgColor"                        "ControlBG"
"TitleButtonDisabledFgColor"        "TitleDimText"
"TitleButtonDisabledBgColor"        "TitleDimBG"

"TextCursorColor"                        "BaseText"                        // color of the blinking text cursor in text entries
"URLTextColor"                                "BrightBaseText"        // color that URL's show up in chat window

Menu
{
"FgColor"                        "DimBaseText"
"BgColor"                        "ControlBG"
"ArmedFgColor"                "BrightBaseText"
"ArmedBgColor"                "SelectionBG"
"DividerColor"                "BorderDark"

"TextInset"                        "6"
}

MenuButton          // the little arrow on the side of boxes that triggers drop down menus
{
"ButtonArrowColor"        "DimBaseText"                // color of arrows
"ButtonBgColor"                "WindowBG"                        // bg color of button. same as background color of text edit panes
"ArmedArrowColor"        "BrightBaseText"        // color of arrow when mouse is over button
"ArmedBgColor"                "DimBaseText"                // bg color of button when mouse is over button
}

Slider
{
"SliderFgColor"                "ControlBG"                        // handle with which the slider is grabbed
"SliderBgColor"                "ControlDarkBG"                // area behind handle
}

ScrollBarSlider
{
"BgColor"                                        "ControlBG"                // this isn't really used
"ScrollBarSliderFgColor"        "ControlBG"                // handle with which the slider is grabbed
"ScrollBarSliderBgColor"        "ControlDarkBG"        // area behind handle
"ButtonFgColor"                                "DimBaseText"        // color of arrows
}


// text edit windows
"WindowFgColor"                                "BaseText"                // off-white
"WindowBgColor"                                "WindowBG"                // redundant. can we get rid of WindowBgColor and just use WindowBG?
"WindowDisabledFgColor"                "DimBaseText"
"WindowDisabledBgColor"                "ListBG"                // background of chat conversation
"SelectionFgColor"                        "SelectedText"        // fg color of selected text
"SelectionBgColor"                        "SelectionBG"
"ListSelectionFgColor"                "SelectedText"
"ListBgColor"                                "ListBG"                // background of server browser control etc
"BuddyListBgColor"                        "ListBG"                // background of buddy list pane

// App-specific stuff
"ChatBgColor"                                "WindowBG"

// status selection
"StatusSelectFgColor"                "BrightBaseText"
"StatusSelectFgColor2"                "BrightControlText"        // this is the color of the friends status

// checkboxes
"CheckButtonBorder1"                   "BorderDark"                // the left checkbutton border
"CheckButtonBorder2"                   "BorderBright"                // the right checkbutton border
"CheckButtonCheck"                        "BrightControlText"        // color of the check itself
"CheckBgColor"                                "ListBG"

// buttons (default fg/bg colors are used if these are not set)
//                "ButtonArmedFgColor"
//                "ButtonArmedBgColor"
//                "ButtonDepressedFgColor"        "BrightControlText"
//                "ButtonDepressedBgColor"

// buddy buttons
BuddyButton
{
"FgColor1"                                "ControlText"
"FgColor2"                                "DimListText"
"ArmedFgColor1"                        "BrightBaseText"
"ArmedFgColor2"                        "BrightBaseText"
"ArmedBgColor"                        "SelectionBG"
}

Chat
{
"TextColor"                                "BrightControlText"
"SelfTextColor"                        "BaseText"
"SeperatorTextColor"        "DimBaseText"
}

InGameDesktop
{
"MenuColor"                        "188 188 188 155"
"ArmedMenuColor"        "255 255 255 255"
"DepressedMenuColor" "43 40 41 100"
"WidescreenBarColor" "0 0 0 0"
"MenuItemVisibilityRate" "0.05"  // time it takes for one menu item to appear
"MenuItemHeight"        "38"
"GameMenuInset"                "42"
}

"SectionTextColor"                "BrightControlText"        // text color for IN-GAME ONLINE OFFLINE sections of buddy list
"SectionDividerColor"        "BorderDark"                // color of line that runs under section name in buddy list
}

//
//////////////////////// FONTS /////////////////////////////
//
// describes all the fonts
Fonts
{
// fonts are used in order that they are listed
// fonts listed later in the order will only be used if they fulfill a range not already filled
// if a font fails to load then the subseque fonts will replace
"Default"
{
"1"
{
"name"                "tahoma"
"tall"                "16"
"weight"        "0"
}
}
"DefaultUnderline"
{
"1"
{
"name"                "tahoma"
"tall"                "16"
"weight"        "0"
"underline" "1"
}
}
"DefaultSmall"
{
"1"
{
"name"                "tahoma"
"tall"                "13"
"weight"        "0"
}
}
"DefaultVerySmall"
{
"1"
{
"name"                "tahoma"
"tall"                "12"
"weight"        "0"
}
}
"MenuLarge"
{
"1"
{
"name"                "Capture it"
"tall"                "22"
"weight"        "1000"
"antialias" "1"
}
"2"
{
"name"                "Capture it"
"tall"                "18"
"weight"        "800"
"antialias" "1"
}
}

// this is the symbol font
"Marlett"
{
"1"
{
"name"                "Marlett"
"tall"                "14"
"weight"        "0"
"symbol"        "1"
}
}

"EngineFont"
{
"1"
{
"name"                "Verdana Bold"
"tall"                "12"
"weight"        "0"
"yres"        "480 599"
"dropshadow"        "1"
}
"2"
{
"name"                "Verdana Bold"
"tall"                "13"
"weight"        "0"
"yres"        "600 767"
"dropshadow"        "1"
}
"3"
{
"name"                "Verdana Bold"
"tall"                "14"
"weight"        "0"
"yres"        "768 1023"
"dropshadow"        "1"
}
"4"
{
"name"                "Verdana Bold"
"tall"                "20"
"weight"        "0"
"yres"        "1024 1199"
"dropshadow"        "1"
}
"5"
{
"name"                "Verdana Bold"
"tall"                "24"
"weight"        "0"
"yres"        "1200 6000"
"dropshadow"        "1"
}
"6"
{
"name"                "Verdana"
"tall"                "12"
"weight"                "600"
"dropshadow"        "1"
}
"7"
{
"name"                "Arial"
"tall"                "11"
"weight"                "800"
"dropshadow"        "1"
}
}       

"CreditsFont"
{
"1"
{
"name"                "Trebuchet MS"
"tall"                "18"
"weight"        "600"
"antialias"        "1"
}
"2"
{
"name"                "Arial"
"tall"                "18"
"weight"                "600"
"dropshadow"        "1"
}
}

"Legacy_CreditsFont" // Added to accomodate 3rd party server plugins etc. This version should not scale.
{
"1"
{
"name"                "Trebuchet MS"
"tall"                "20"
"weight"        "700"
"antialias"        "1"
"yres"        "1 10000"
}
"2"
{
"name"                "Arial"
"tall"                "20"
"weight"                "600"
"dropshadow"        "1"
}
}
}

//
//////////////////// BORDERS //////////////////////////////
//
// describes all the border types
Borders
{
// references to other borders
BaseBorder                "InsetBorder"
ComboBoxBorder        "InsetBorder"
BrowserBorder        "InsetBorder"
ButtonBorder        "RaisedBorder"
FrameBorder                "RaisedBorder"
TabBorder                "RaisedBorder"
MenuBorder                "RaisedBorder"

// standard borders
InsetBorder
{
"inset" "0 0 1 1"
Left
{
"1"
{
"color" "BorderDark"
"offset" "0 1"
}
}

Right
{
"1"
{
"color" "BorderBright"
"offset" "1 0"
}
}

Top
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}

Bottom
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}
}

RaisedBorder
{
"inset" "0 0 1 1"
Left
{
"1"
{
"color" "BorderBright"
"offset" "0 1"
}
}

Right
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}

Top
{
"1"
{
"color" "BorderBright"
"offset" "0 1"
}
}

Bottom
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}
}

// special border types
TitleButtonBorder
{
"inset" "0 0 1 1"
Left
{
"1"
{
"color" "BorderBright"
"offset" "0 1"
}
}

Right
{
"1"
{
"color" "BorderDark"
"offset" "1 0"
}
}

Top
{
"4"
{
"color" "BorderBright"
"offset" "0 0"
}
}

Bottom
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}
}

TitleButtonDisabledBorder
{
"inset" "0 0 1 1"
Left
{
"1"
{
"color" "BgColor"
"offset" "0 1"
}
}

Right
{
"1"
{
"color" "BgColor"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "BgColor"
"offset" "0 0"
}
}

Bottom
{
"1"
{
"color" "BgColor"
"offset" "0 0"
}
}
}

TitleButtonDepressedBorder
{
"inset" "1 1 1 1"
Left
{
"1"
{
"color" "BorderDark"
"offset" "0 1"
}
}

Right
{
"1"
{
"color" "BorderBright"
"offset" "1 0"
}
}

Top
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}

Bottom
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}
}

ScrollBarButtonBorder
{
"inset" "1 0 0 0"
Left
{
"1"
{
"color" "BorderBright"
"offset" "0 1"
}
}

Right
{
"1"
{
"color" "BorderDark"
"offset" "1 0"
}
}

Top
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}

Bottom
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}
}

ScrollBarButtonDepressedBorder
{
"inset" "2 2 0 0"
Left
{
"1"
{
"color" "BorderDark"
"offset" "0 1"
}
}

Right
{
"1"
{
"color" "BorderBright"
"offset" "1 0"
}
}

Top
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}

Bottom
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}
}

TabActiveBorder
{
"inset" "0 0 1 0"
Left
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}

Right
{
"1"
{
"color" "BorderDark"
"offset" "1 0"
}
}

Top
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}

Bottom
{
"1"
{
"color" "ControlBG"
"offset" "6 2"
}
}
}


ToolTipBorder
{
"inset" "0 0 1 0"
Left
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}

Right
{
"1"
{
"color" "BorderDark"
"offset" "1 0"
}
}

Top
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}

Bottom
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}
}

// this is the border used for default buttons (the button that gets pressed when you hit enter)
ButtonKeyFocusBorder
{
"inset" "0 0 1 1"
Left
{
"1"
{
"color" "BorderSelection"
"offset" "0 0"
}
"2"
{
"color" "BorderBright"
"offset" "0 1"
}
}
Top
{
"1"
{
"color" "BorderSelection"
"offset" "0 0"
}
"2"
{
"color" "BorderBright"
"offset" "1 0"
}
}
Right
{
"1"
{
"color" "BorderSelection"
"offset" "0 0"
}
"2"
{
"color" "BorderDark"
"offset" "1 0"
}
}
Bottom
{
"1"
{
"color" "BorderSelection"
"offset" "0 0"
}
"2"
{
"color" "BorderDark"
"offset" "1 1"
}
}
}

ButtonDepressedBorder
{
"inset" "2 1 1 1"
Left
{
"1"
{
"color" "BorderDark"
"offset" "0 1"
}
}

Right
{
"1"
{
"color" "BorderBright"
"offset" "1 0"
}
}

Top
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}

Bottom
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}
}
}
}
附件: 你需要登录才可以下载或查看附件。没有帐号?注册

最佳答案

373012881 查看完整内容

记事本打开 你的CS主目录\platform\resource\TrackerScheme.res 找到FONTS(改字体的部分) 在其下找到MenuLarge 以下是你提供代码中的相关参数主要问题出在tall(高度)上 将以上代码改为即可 注:CS1.6的默认menularge中tall的值为18
  

使用道具 举报

Rank: 7Rank: 7Rank: 7

帖子
878
精华
1
声望
2479 点
金币
546 Mold
被赞许
1 次
注册时间
2009-12-6
发表于 2010-6-21 20:34:38 |显示全部楼层
记事本打开
你的CS主目录\platform\resource\TrackerScheme.res

找到FONTS(改字体的部分)

在其下找到MenuLarge

以下是你提供代码中的相关参数
  1. "MenuLarge"
  2. {
  3. "1"
  4. {
  5. "name"                "Capture it"
  6. "tall"                "22"
  7. "weight"        "1000"
  8. "antialias" "1"
  9. }
  10. "2"
  11. {
  12. "name"                "Capture it"
  13. "tall"                "18"
  14. "weight"        "800"
  15. "antialias" "1"
  16. }
  17. }
复制代码
主要问题出在tall(高度)上

将以上代码改为
  1.                
  2. "MenuLarge"
  3.                 {
  4.                         "1"
  5.                         {
  6.                                 "name"                "Capture it"
  7.                                 "tall"                "18"
  8.                                 "weight"        "1000"
  9.                                 "antialias" "0"
  10.                         }
  11.                 }
复制代码
即可

注:CS1.6的默认menularge中tall的值为18

使用道具 举报

Rank: 10Rank: 10Rank: 10

帖子
1528
精华
0
声望
5167 点
金币
938 Mold
被赞许
20 次
注册时间
2010-4-9

可爱小猫

发表于 2010-6-21 20:49:40 |显示全部楼层
好长~~这个我不懂
自恋无罪,装逼万岁。

使用道具 举报

Rank: 7Rank: 7Rank: 7

帖子
1179
精华
0
声望
2507 点
金币
738 Mold
被赞许
7 次
注册时间
2009-9-5

黑暗使者 可爱小猫 懒人勋章

发表于 2010-6-21 20:52:16 |显示全部楼层
设置一下分辨率不就可以么

使用道具 举报

Rank: 10Rank: 10Rank: 10

帖子
3735
精华
1
声望
5900 点
金币
2148 Mold
被赞许
47 次
注册时间
2009-12-20

优秀版主奖 Modchina灌水王 星界财团 可爱小猫

发表于 2010-6-21 20:54:58 |显示全部楼层
我记得platform里的resource里的TrackerScheme.res可以改
至于你信不信,我反正信了

使用道具 举报

Rank: 10Rank: 10Rank: 10

帖子
1667
精华
0
声望
4219 点
金币
225 Mold
被赞许
1 次
注册时间
2009-12-19

黑暗使者

发表于 2010-6-21 21:02:41 |显示全部楼层
不能,在游戏里这几个字非常的大!
帮忙该小一点就可以了
  

使用道具 举报

Rank: 3Rank: 3

帖子
345
精华
0
声望
524 点
金币
110 Mold
被赞许
0 次
注册时间
2010-6-4
发表于 2010-6-21 21:05:05 |显示全部楼层
好长啊.......看都看不懂

使用道具 举报

Rank: 7Rank: 7Rank: 7

帖子
1179
精华
0
声望
2507 点
金币
738 Mold
被赞许
7 次
注册时间
2009-9-5

黑暗使者 可爱小猫 懒人勋章

发表于 2010-6-21 23:05:18 |显示全部楼层
回复 1# 13938582755


    你在刷分么?
自己问自己选满意答案

使用道具 举报

Rank: 10Rank: 10Rank: 10

帖子
1667
精华
0
声望
4219 点
金币
225 Mold
被赞许
1 次
注册时间
2009-12-19

黑暗使者

发表于 2010-6-22 08:21:10 |显示全部楼层
回复 8# ˊ謎小亂﹏


    拉力刷分了?????那是最佳答案好不好!!!!自己看!

使用道具 举报

Moderator

来细数你的罪恶吧。

Rank: 8Rank: 8

帖子
1475
精华
0
声望
4345 点
金币
1443 Mold
被赞许
15 次
注册时间
2010-5-2

模界神人奖 黑暗使者

发表于 2010-6-22 08:53:08 |显示全部楼层


把这个 复制到 cstrike_schinese\resource

里 字体会很大很清晰

如果没有效果就复制到

cstrike\resource 里
附件: 你需要登录才可以下载或查看附件。没有帐号?注册

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

回顶部