天工维度魔兽争霸开发者社区-全国最大的TJ集中营-原提百万联盟

标题: FDF文档格式完整详细批注与使用规范 [打印本页]

作者: zxyshzyb    时间: 2023-9-14 22:03
标题: FDF文档格式完整详细批注与使用规范
**** 本内容需购买 ****
FDF子类型规范

  1. AlphaMode "ADD",
  2. AlphaMode "ALPHAKEY",
  3. AlphaMode "MOD"
  4. AlphaMode "DISABLE"
  5. AlphaMode "BLEND"

  6. Anchor BOTTOMLEFT,-0.256,0,
  7. Anchor BOTTOMRIGHT,0,0,
  8. Anchor TOPLEFT, 0.0, -0.003,
  9. Anchor TOPRIGHT, -0.0914, -0.003125,

  10. BackdropBackground          "EscMenuBackground",
  11. BackdropBackground          "EscMenuBlankBackground",
  12. BackdropBackground          "EscMenuEditBoxBackground",
  13. BackdropBackground          "MultiboardBackground",
  14. BackdropBackground          "MultiboardMinimizeButtonDisabled",
  15. BackdropBackground  "EscMenuBackground",
  16. BackdropBackground  "EscMenuButtonBackground",
  17. BackdropBackground  "EscMenuButtonDisabledPushedBackground",
  18. BackdropBackground  "EscMenuCheckBoxPushedBackground",
  19. BackdropBackground  "HeroAgilityIcon",
  20. BackdropBackground  "HeroIntelligenceIcon",
  21. BackdropBackground  "QuestDialogCompletedBackground",
  22. BackdropBackground  "UI\Widgets\BattleNet\bnet-inputbox-back.blp",
  23. BackdropBackground  "UI\Widgets\BattleNet\bnet-mainmenu-clans-disabled.blp",

  24. BackdropBackgroundInsets 0.0 0.0 0.01 0.0,
  25. BackdropBackgroundInsets 0.0 0.01 0.0 0.0,
  26. BackdropBackgroundInsets 0.0025 0.0025 0.0025 0.0025,
  27. BackdropBackgroundInsets 0.003 0.003 0.003 0.003,

  28. BackdropBackgroundSize 0.128,

  29. BackdropBlendAll,

  30. BackdropBottomFile  "UI\Widgets\HeavyBorderBottom.blp",
  31. BackdropBottomFile  "UI\Widgets\LightBorderBottom.blp",
  32. BackdropCornerFile  "UI\Widgets\ButtonCorners.blp",
  33. BackdropCornerFile  "UI\Widgets\LightBorderCorners.blp",

  34. BackdropCornerFlags "BL|BR|B",
  35. BackdropCornerFlags "UL|UR|T",

  36. BackdropCornerSize 0.0125,
  37. BackdropCornerSize  0.006,
  38. BackdropCornerSize  0.008,
  39. BackdropCornerSize  0.0125,
  40. BackdropCornerSize  0.0155,

  41. BackdropEdgeFile            "EscMenuBorder",
  42. BackdropEdgeFile            "EscMenuEditBoxBorder",
  43. BackdropEdgeFile    "EscMenuButtonBorder",
  44. BackdropEdgeFile  "CinematicBorder",
  45. BackdropEdgeFile  "EscMenuButtonBorder",
  46. BackdropEdgeFile  "EscMenuButtonDisabledPushedBorder",
  47. BackdropEdgeFile  "EscMenuButtonPushedBorder",
  48. BackdropEdgeFile  "UI\Glues\ScoreScreen\scorescreen-buttonbackground.blp",
  49. BackdropEdgeFile  "UI\Widgets\BattleNet\bnet-dialoguebox-border.blp",
  50. BackdropEdgeFile  "UI\widgets\BattleNet\bnet-tooltip-border.blp",
  51. BackdropEdgeFile  "UI\Widgets\Glues\GlueScreen-Button1-BackdropBorder-Disabled.blp",
  52. BackdropEdgeFile  "UI\Widgets\Glues\GlueScreen-Button1-BackdropBorder-DisabledDown.blp",
  53. BackdropEdgeFile  "UI\Widgets\Glues\GlueScreen-Button1-BorderedBackdropBorder-Disabled.blp",
  54. BackdropEdgeFile  "UI\Widgets\Glues\GlueScreen-Button2-BackdropBorder-Disabled.blp",

  55. BackdropHalfSides,

  56. BackdropLeftFile    "UI\Widgets\ButtonLeft.blp",

  57. BackdropMirrored,

  58. BackdropRightFile   "UI\Widgets\HeavyBorderRight.blp",

  59. BackdropTileBackground,

  60. BackdropTopFile     "UI\Widgets\ButtonTop.blp",

  61. BackgroundArt "UI\Glues\BattleNet\BattlenetLoginGlue\BattlenetLoginGlue.mdl",
  62. BackgroundArt "UI\Glues\BattleNet\BattleNetTeamLevelBar\BattleNetTeamLevelBar.mdl",

  63. BarTexture "SimpleBuildTimeIndicator",

  64. ButtonPushedTextOffset -0.0015f -0.0015f,
  65. ButtonPushedTextOffset 0.001 -0.001,

  66. ButtonText "AddFriendButtonText",
  67. ButtonText "AdvancedOptionsButtonText",

  68. ChatDisplayBorderSize 0.01,
  69. ChatDisplayEditBox "BattleNetChatDisplayEditBoxTemplate",
  70. ChatDisplayLineHeight 0.01,
  71. ChatDisplayScrollBar "BattleNetChatDisplayScrollBarTemplate",

  72. CheckBoxCheckHighlight "BattleNetRadioButtonHighlightTemplate",
  73. CheckBoxCheckHighlight "EscMenuRadioButtonHighlightTemplate",

  74. CheckBoxDisabledCheckHighlight "BattleNetDisabledRadioButtonHighlightTemplate",
  75. CheckBoxDisabledCheckHighlight "EscMenuDisabledCheckHighlightTemplate",

  76. CheckedTexture "ReplayCheckBoxCheck",

  77. ControlBackdrop "ActionMenuBackdrop",
  78. ControlBackdrop "AdvancedPopupMenuBackdrop",

  79. ControlDisabledBackdrop "BattleNetCheckBoxDisabledBackdrop",
  80. ControlDisabledBackdrop "BattleNetPopupMenuDisabledBackdropTemplate",

  81. ControlFocusHighlight "CampaignCameraButtonFocusHighlightTemplate",
  82. ControlFocusHighlight "IconicButtonFocusHighlightTemplate",

  83. ControlMouseOverHighlight "BorderedButtonMouseOverHighlightTemplate",
  84. ControlMouseOverHighlight "ButtonMouseOverHighlightTemplate",

  85. ControlPushedBackdrop "BattleNetRadioButtonPushedBackdrop",
  86. ControlPushedBackdrop "BorderedButtonPushedBackdropTemplate",

  87. ControlShortcutKey "BNET_LADDER_SHORTCUT",
  88. ControlShortcutKey "BNET_PASSWORD_RECOVERY_SHORTCUT",

  89. ControlStyle "AUTOTRACK|HIGHLIGHTONFOCUS|HIGHLIGHTONMOUSEOVER",//鼠标焦点/悬停高亮
  90. ControlStyle "AUTOTRACK|HIGHLIGHTONMOUSEOVER",  //悬停高亮
  91. ControlStyle "AUTOTRACK",

  92. DecorateFileNames,

  93. DialogBackdrop "BattleNetDialogBackdropTemplate",
  94. DialogBackdrop "CustomFilterDialogBackdrop",

  95. DisabledText "UpperButtonBarButtonDisabledTextTemplate" "ALLIES",
  96. DisabledText "UpperButtonBarButtonDisabledTextTemplate" "CHAT",

  97. DisabledTexture "UpperMenuButtonDisabledBackground",

  98. EditBorderSize 0.009,
  99. EditCursorColor 1.0 1.0 1.0,
  100. EditTextFrame "AccountNameEditBoxText",

  101. File "ConsoleTexture01",
  102. File "ConsoleTexture03",
  103. File "ConsoleTexture04",
  104. File "ConsoleTexture05",
  105. File "ConsoleTexture06",
  106. File "GoldIcon",
  107. File "HeroStrengthIcon",
  108. File "LumberIcon",
  109. File "SimpleBuildTimeIndicatorBorder",

  110. Font "InfoPanelTextFont", 0.0085,
  111. Font "InfoPanelTextFont",0.0085,
  112. Font "InfoPanelTextFont",0.01,
  113. Font "MasterFont",0.008,
  114. Font "MasterFont",0.01,


  115. FontColor 0.99 0.827 0.0705 1.0,
  116. FontDisabledColor 0.5 0.5 0.5 1.0,

  117. FontFlags "FIXEDSIZE",
  118. FontFlags "PASSWORDFIELD",

  119. FontHighlightColor 1.0 1.0 1.0 1.0,

  120. FontJustificationH JUSTIFYCENTER,
  121. FontJustificationH JUSTIFYLEFT,
  122. FontJustificationH JUSTIFYRIGHT,

  123. FontJustificationOffset 0.0 -0.001,
  124. FontJustificationOffset 0.0 -0.002,
  125. FontJustificationOffset 0.0 0.0,
  126. FontJustificationOffset 0.01 0.0,
  127. FontJustificationOffset 0.01 0.001,

  128. FontJustificationV JUSTIFYTOP,
  129. FontJustificationV JUSTIFYMIDDLE,
  130. FontJustificationV JUSTIFYBOTTOM,

  131. FontShadowColor 0.0 0.0 0.0 0.9,
  132. FontShadowOffset 0.001 -0.001,

  133. FrameFont "EscMenuTextFont", 0.011, "",
  134. FrameFont "EscMenuTextFont",0.011,"",
  135. FrameFont "InfoPanelTextFont", 0.011, "",
  136. FrameFont "InfoPanelTextFont", 0.013, "",
  137. FrameFont "MasterFont", 0.007, "",
  138. FrameFont "MasterFont", 0.01, "",
  139. FrameFont "MasterFont", 0.011, "",
  140. FrameFont "MasterFont", 0.01171, "",

  141. Frame "GLUEBUTTON" "HeroSelectorButton" {

  142. Height  0.024,
  143. Height 0.48f,

  144. HighlightAlphaFile "EscMenuButtonMouseOverHighlight", //UI\Widgets\EscMenu\Orc\orc-options-button-highlight.blp
  145. HighlightAlphaFile "EscMenuCheckBoxCheckHighlight",//UI\Widgets\EscMenu\Human\checkbox-check.blp
  146. HighlightAlphaFile "EscMenuDisabledRadioButtonSelectedHighlight",//UI\Widgets\EscMenu\Human\radiobutton-buttondisabled.blp
  147. HighlightAlphaFile "UI\Glues\ScoreScreen\scorescreen-tab-hilight.blp",
  148. HighlightAlphaFile "UI\Widgets\Glues\GlueScreen-Button-KeyboardHighlight.blp",
  149. HighlightAlphaFile "UI\Widgets\Glues\GlueScreen-Checkbox-Check.blp",
  150. HighlightAlphaFile "UI\Widgets\Glues\GlueScreen-Checkbox-CheckDisabled.blp",
  151. HighlightAlphaFile "UI\Widgets\Glues\GlueScreen-RadioButton-ButtonDisabled.blp",

  152. HighlightAlphaMode "ADD",
  153. HighlightAlphaMode "BLEND",

  154. HighlightColor 0.0 0.0 1.0 0.1,
  155. HighlightColor 1.0 0.0 0.0 0.2,

  156. HighlightText "UpperButtonBarButtonHighlightTextTemplate" "KEY_ALLIES",
  157. HighlightText "UpperButtonBarButtonHighlightTextTemplate" "KEY_CHAT",

  158. HighlightType "FILETEXTURE",
  159. HighlightType "SHADE",

  160. IncludeFile "UI\FrameDef\UI\InfoPanelTemplates.fdf",

  161. LayerStyle "NOSHADING",//没有底纹
  162. LayerStyle "IGNORETRACKEVENTS",忽略鼠标事件
  163. LayerStyle "NOSHADING|IGNORETRACKEVENTS",

  164. ListBoxBorder 0.01,
  165. ListBoxScrollBar "StandardListBoxScrollBarTemplate",

  166. MenuBorder 0.009,

  167. MenuItem "NORMAL",  -2,
  168. MenuItem "WINDOW_MODE_WINDOWED",             -2,

  169. MenuItemHeight 0.0082,
  170. MenuItemHeight 0.011,

  171. MenuTextHighlightColor 0.99 0.827 0.0705 1.0,

  172. NormalText "UpperButtonBarButtonTextTemplate" "KEY_ALLIES",
  173. NormalText "UpperButtonBarButtonTextTemplate" "KEY_MENU",

  174. NormalTexture "ReplayCheckBoxNormal",

  175. PopupArrowFrame "CampaignPopupMenuArrow",
  176. PopupArrowFrame "CustomPopupMenuArrow",

  177. PopupButtonInset 0.01,
  178. PopupButtonInset 0.015,

  179. PopupMenuFrame "TeamMemberRaceMenuMenu3",
  180. PopupMenuFrame "TextureQualityPopupMenuMenu",

  181. PopupTitleFrame "EscOptionsLightsPopupMenuTitle",
  182. PopupTitleFrame "PopupMenuTitle",
  183. PopupTitleFrame "ReplayVisionMenuTitle",
  184. PopupTitleFrame "TeamMemberPopupMenuTitle",

  185. PushedTexture "UpperMenuButtonPushedBackground",

  186. ScrollBarDecButtonFrame "EscMenuScrollBarDecButton",
  187. ScrollBarIncButtonFrame "EscMenuScrollBarIncButton",

  188. SetAllPoints,

  189. SetPoint BOTTOM, "BuildTimeIndicator", TOP, 0.0, 0.00325,
  190. SetPoint BOTTOM, "ChatDialog", BOTTOM, 0.0, 0.03,
  191. SetPoint BOTTOMLEFT, "AllyHeader", BOTTOMRIGHT, 0.004, 0.0,
  192. SetPoint BOTTOMLEFT, "BattleNetChatPanel", BOTTOMLEFT, 0.01125, 0.02125,
  193. SetPoint BOTTOMRIGHT,   "QuestListItem",                BOTTOMRIGHT,   -0.003,  0,
  194. SetPoint BOTTOMRIGHT, "AllianceDialog", BOTTOM, -0.003, 0.03,
  195. SetPoint CENTER, "GameSaveSplashDialog", CENTER, 0.0, 0.0,
  196. SetPoint CENTER, "IconBackdrop4", BOTTOMRIGHT, -0.007625, 0.006875,
  197. SetPoint LEFT, "AllianceAcceptButton", RIGHT, 0.005, 0.0,
  198. SetPoint LEFT, "AlliedVictoryCheckBox", RIGHT, 0.01, 0.0,
  199. SetPoint RIGHT, "ChannelEnterButton", LEFT, -0.02, 0.0,
  200. SetPoint RIGHT, "ChatDialog", TOPRIGHT, -0.031, -0.0765,
  201. SetPoint TOP, "AnonSearchTitle", BOTTOM, 0.0, -0.005,
  202. SetPoint TOP, "AuthorLabel", BOTTOM, 0.0, -0.004,
  203. SetPoint TOPLEFT,       "LeaderboardTitle",     BOTTOMLEFT,     -0.02f,  -0.002,
  204. SetPoint TOPLEFT,"WindowModeBackdrop",BOTTOMLEFT, 0.0, 0.01375,
  205. SetPoint TOPRIGHT, "AdvancedOptionsPane", TOPRIGHT, -0.004, -0.03,

  206. SliderInitialValue 0,
  207. SliderInitialValue 1,

  208. SliderLayoutHorizontal,
  209. SliderLayoutVertical,

  210. SliderMaxValue 2,
  211. SliderMaxValue 4,

  212. SliderMinValue 0,

  213. SliderStepSize 1,

  214. SliderThumbButtonFrame "BattleNetThumbButton",
  215. SliderThumbButtonFrame "EscMenuScrollThumbButton",
  216. SliderThumbButtonFrame "StandardThumbButton",

  217. String "UpperButtonBarButtonTextTemplate" {

  218. StringList {

  219. TabFocusDefault,
  220. TabFocusNext "AddProfileButton",
  221. TabFocusNext "BackButton",

  222. TabFocusPush,

  223. TexCoord 0, 0.33984375, 0, 0.125,
  224. TexCoord 0, 1, 0.4140625, 1,
  225. TexCoord 0.0, 0.6640625, 0.25, 0.421875,
  226. TexCoord 0.0, 0.6640625, 0.75, 0.921875,

  227. Text "30",

  228. TextAreaInset           0.005,
  229. TextAreaInset 0.0,

  230. TextAreaLineGap         0.001,
  231. TextAreaLineGap 0.0015,

  232. TextAreaLineHeight      0.011,
  233. TextAreaLineHeight 0.015,

  234. TextAreaMaxLines 128,
  235. TextAreaMaxLines        32,

  236. TextAreaScrollBar "ChatScrollBar",

  237. TextLength 8,

  238. Texture "InfoPanelIconAllyFoodIcon" INHERITS "ResourceIconTemplate" {

  239. UseActiveContext,

  240. UseHighlight "UpperMenuButtonHighlight",

  241. Width   0.24,
  242. Width   0.417f,
复制代码




作者: 不言不语    时间: 2023-9-14 23:00
感谢分享
作者: cfcfp1059    时间: 2024-6-18 22:51
感谢分享




欢迎光临 天工维度魔兽争霸开发者社区-全国最大的TJ集中营-原提百万联盟 (http://bbs.mvprpg.com/) Powered by Discuz! X3.4