圖 1.
圖 2.
圖 3.
圖 4.
到CSO-NST\cstrike\addons\amxmodx\configs
打開nst_wpn.ini 加一行[name](刀名子)自己取[model]用到的模組[wpn_change]29[damage]傷害加成[cost]價錢
範例:;[name]Hammer[model]hammer[wpn_change]29[damage]1.095[cost]600
好了後到CSO-NST\cstrike\models\nst_wpn 增加 你的你的模組以範例來說你就加p_hammer.mdl, v_hammer.mdl, w_hammer.mdl
在去CSO-NST\cstrike\gfx\vgui 添加買槍圖叫hammer.tga在到CSO-NST\cstrike\sound\weapons 加音效 你進去裡面應該就知道怎麼加
在到CSO-NST\cstrike\resource\UI 打開BuyPistols_CT.res添加
"hammer-img"
{
"ControlName" "ImagePanel"
"fieldName" "hammer-img"
"xpos" "474"
"ypos" "85"
"wide" "138"
"tall" "48"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
"image" "gfx/vgui/hammer"
"scaleImage" "1"
}
"hammer-name"
{
"ControlName" "Label"
"fieldName" "hammer-name"
"xpos" "474"
"ypos" "133"
"wide" "138"
"tall" "15"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "#nst_wpnname_hammer"
"textAlignment" "center"
"dulltext" "1"
"brighttext" "0"
}
"hammer-bottom"
{
"ControlName" "Button"
"fieldName" "deserteagle-bottom"
"xpos" "474"
"ypos" "85"
"wide" "138"
"tall" "63"
"autoResize" "0"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" ""
"command" "nst_buy_wpn3 hammer"
}
如果要改座標 要自己改
順便給妳CSO-NST的官網
http://forum.gamevn.com/sh...p?t=665502