在下有几个问题:
看了教学后 (甲)增加武器方法是否只需模组档、声音档、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"
}
==================================
烦帮在下回答甲~丁 万分感谢哟