在下有幾個問題:
看了教學後 (甲)增加武器方法是否只需模組檔、聲音檔、TGA、SPR
然後在ini文件增加指令 還有菜單設置?
(乙)那麼如果聲音檔採用原設置的聲音檔 則不需另外增加wav嗎?
接著
(丙)若ini文件設置之[model]為**** 那麼模組名連同TGA、SPR
、聲音的檔名都必須是****嗎?
本人試做尚未成功
改完後進入遊戲 購買時並未出現第4頁
排除甲乙丙三個疑問後 其他最有可能出現錯誤的地方是菜單的顯示
(由於本人是採用mania民間所發布的1015版本
RES檔與版大的格式有些許出入 可至此下載本人隨意挑的RES 供您參考:
http://www.sendspace...e/l6o0td)
所以 (丁)能不能請版大針對此格式作說明
因為不知道要調哪
並說明每段的控制指令的意思(如下):
// ---------------------- weapon 1 ----------------------
"1-weapon1-img"
{
"ControlName" "ImagePanel"
"fieldName" "1-weapon1-img"
"xpos" "30"
"ypos" "85"
"wide" "138"
"tall" "48"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
// 1-weapon1-img
"image" "gfx/vgui/usas"
"scaleImage" "1"
}
"1-weapon1-team"
{
"ControlName" "ImagePanel"
"fieldName" "1-weapon1-team"
"xpos" "140"
"ypos" "126"
"wide" "26"
"tall" "7"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
// 1-weapon1-team
"image" "resource/icon/team0"
"scaleImage" "1"
}
"1-weapon1-name"
{
"ControlName" "Label"
"fieldName" "1-weapon1-name"
"xpos" "30"
"ypos" "133"
"wide" "138"
"tall" "15"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
// 1-weapon1-name
"labelText" "Usas12 - 3350$"
"textAlignment" "center"
"dulltext" "1"
"brighttext" "0"
}
"1-weapon1-bottom"
{
"ControlName" "Button"
"fieldName" "1-weapon1-bottom"
"xpos" "30"
"ypos" "85"
"wide" "138"
"tall" "63"
"autoResize" "0"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" ""
// 1-weapon1-bottom
"command" "nst_buy_wpn usas"
}
==================================
煩幫在下回答甲~丁 萬分感謝喲