在此表示感谢,目前银行里共有990元有谁好心帮我补上六元谢谢了!—————————————————————龙年快乐,合家幸福———————————————————在此纪念疯狂草泥马,是他让我进入CSO-NET世界。
在CS板块捞到初音的模型,想加到 Counter-Strikedjb FQ 玩,结果不会,问度娘,结果很蛋疼,弄了一个晚上顺藤摸瓜才明白的大部分;本来想在CS板块的发的,但是那里的人不认识,这边应该有人玩,别跟我说什么自慰伤身,当年在自慰王的mp.dll下刷木仓,刷木仓!和虚拟人一起搞基...
——————————————————————华丽的分界线——————————————————————
甚嬷媞じ☆ve以 Counter-Strikedjb FQ 说明,转载请注明出处,一个早上码字不容易,如有雷同,纯属巧合!
部分参考:
http://tieba.baidu.com/f?kz=10234911481.首先,在“cstrike\models\player”创建一个文件夹,以模型名称命名,然后把模型文件(.mdl)放进此文件夹。
如:我的模型文件是“miku.mdl”,那么我创建的文件夹名为“miku”,把“miku.mdl”放进文件夹“miku”。
2.用UE打开“cstrike\addons\amxmodx\configs\player.ini”,在后面补上如下参数:(完成此处后弄不清请看10)
[name]游戏内名称[model]模型名称[team]1/2[sex]1/2[hand]0/1
————————————————————
说明:
[name] 游戏内名称
[model] 模型名称
[team] 阵营 "1" T阵营 "2" CT阵营
[sex] 性别 "1" 男 "2" 女
[hand] 手臂区分 "0" 关闭 "1" 开启
————————————————————
如:[name]初音未来[model]miku[team]2[sex]2[hand]1
3.准备好模型文件相关的大小为“256*196”的图片,更改文件名为模型名称,接着用格式工厂转换格式为TGA格式,把转换好的图片(.tga)放在“cstrike\gfx\vgui”
如:我用Ps打开“miku,jpg”,通过“自由变换”和“裁剪”更改图片大小为“256*196”,然后加上黑框,以TGA格式另储存在“cstrike\gfx\vgui”,分辨率为24位/像素。
4.打开美图秀秀,新建(画布)像素为256*20,背景色(自定颜色)为黑色,在接着在左上角的“文字”板块用“输入静态文字”参数如下:
输入“游戏内名称”;本地字体:华康圆体W9;文字颜色:自定;字号大小:19号。
最后以jpg格式保存,再打开格式工厂转换其格式为TGA格式,把转换好的图片(TGA)放在“cstrike\resource\control\bones\cl”
如:我用Ps打开“cstrike\resource\control\bones\cl”内任意TGA图片,然后处理掉文字,只剩下背景色(黑色),在输入如下参数:
输入“初音未来”;本地字体:华康圆体W9;文字颜色:自定;字号大小:19号。
最后把“通道-ALpha 1通道”白色部分改为黑色,回到图层,按住“ctrl”,单击“文字图层”,选取文字选区,再回到“通道-ALpha 1通道”,按“Shift+F5”(编辑-填充),参数如下:
使用:颜色...(白色);混合不改动;
最后确定,以TGA格式另储存在“cstrike\resource\control\bones\cl”,分辨率为32位/像素。
5.打开“cstrike\gfx\cstrike_english.txt”(默认记事本打开)
按“Ctrl+F3”(查找),输入“Cstrike_Spetsnaz_Name”,方向:向下;确认查找下一个;
然后在"Cstrike_Spetsnaz_Name" "SPETSNAZ"的下面加上如下参数:
"Cstrike_模型名称_Name" "模型名称" ①
再按“Ctrl+F3”(查找),此时内容依旧是“Cstrike_Spetsnaz_Name”,方向:向下;确认查找下一个;(应该可以跳过此步骤)
然后在"[english]Cstrike_Spetsnaz_Name" "SPETSNAZ"的下面加上如下参数:
"Cstrike_模型名称_Name" "模型名称" ②
"[english]Cstrike_模型名称_Name" "英文名" ③
再按“Ctrl+F3”(查找),输入Cstrike_Spetsnaz_Label,方向:向下;确认查找下一个;(应该可以跳过此步骤)
然后在"Cstrike_Spetsnaz_Label" "俄罗斯特种部队主要任务为从事经济及军事设施的间谍活动及破坏,
进行内部防碍行为,抵抗海外叛乱军组织等。"的下面加上如下参数:
"[english]Cstrike_模型名称_Label" "英文说明" ④
"Cstrike_模型名称_Label" "中文说明" ⑤
最后按“Ctrl+F3”(查找),输入“csonst_spade_Name”,方向:向下;确认查找下一个;(或者到文档的最后部分)
然后在"csonst_spade_Name" "斯帕德"的下面加上如下参数:
"csonst_模型名称_Name" "游戏内名称" ⑥
OK!保存吧,注意备份!
我是这样设置的:
①"Cstrike_miku_Name" "miku"
②"Cstrike_miku_Name" "初音未来"
③"[english]Cstrike_Miku_Name" "Hatsune Miku"
④"[english]Cstrike_miku_Label" "Hatsune Miku is VOICE2 family's CV-01,age is 16,height is 152cm,weight is 48g"
⑤"Cstrike_miku_Label" "初音未来是VOICE2家族的CV-01,年龄16岁,身高150cm,体重48kg。"
⑥"csonst_miku_Name" "初音未来"
6.打开“cstrike\resource\cstrike_english.txt”(默认记事本打开)
按“Ctrl+F3”(查找),输入“Cstrike_Spetsnaz_Name”,方向:向下;确认查找下一个;(应该可以跳过此步骤)
然后在"[english]Cstrike_Spetsnaz_Name" "SPETSNAZ"的下面加上如下参数:(应该可以跳过此步骤)
"Cstrike_模型名称_Name" "模型名称" ⑦
"[english]Cstrike_模型名称_Name" "英文名" ⑧
再按“Ctrl+F3”(查找),输入Cstrike_Spetsnaz_Label,方向:向下;确认查找下一个;(应该可以跳过此步骤)
然后在"[english]Cstrike_Spetsnaz_Label" "The primary missions of the Russian SPETSNAZ are:
acquiring intelligence on major economic and military
installations and either destroying them or putting them out
of action, organizing sabotage and acts of subversion;
carrying out punitive operations against rebels; forming and
training insurgent detachments, etc."的下面加上如下参数:
"Cstrike_模型名称_Label" "英文说明。" ⑨
"[english]Cstrike_模型名称_Label" "中文说明" ⑩
接着按“Ctrl+F3”(查找),输入csonst_Spetsnaz,方向:向下;确认查找下一个;
然后在"csonst_Spetsnaz" " &18 "的下面加上如下参数:
"csonst_模型名称" " &20 "//游戏内名称
最后按“Ctrl+F3”(查找),输入csonst_fernando_Name,方向:向下;确认查找下一个;
然后在"csonst_fernando_Name" "费尔南多"的下面加上如下参数:
"csonst_模型名称_Name" "游戏内名称" ⑾
OK!保存吧,注意备份!
我是这样设置的:
⑦"Cstrike_Miku_Name" "初音未来"
⑧"[english]Cstrike_Miku_Name" "Hatsune Miku"
⑨"Cstrike_Miku_Label" "初音未来是VOICE2家族的CV-01,年龄16岁,身高150cm,体重48kg。"
⑩"[english]Cstrike_Miku_Label" "Hatsune Miku is VOICE2 family's CV-01,age is 16,height is 152cm,weight is 48g."
⑾"csonst_miku_Name" "初音未来"
7.复制“cstrike\classes”任意人物文件(.res),如“natasha.res”,以模型名称命名重命名(按F2重命名),用UE打开,清除内容,输入如下参数:
"classes/spetsnaz.res"
{
"imageBG"
{
"ControlName" "ImagePanel"
"fieldName" "imageBG"
"xpos" "0"
"ypos" "0"
"wide" "256"
"tall" "196"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
"fillColor" "WindowBG"
"zpos" "0"
}
"classimage"
{
"ControlName" "ImagePanel"
"fieldName" "classimage"
"xpos" "0"
"ypos" "0"
"wide" "256"
"tall" "196"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "west"
"image" "gfx/vgui/模型名称"
"scaleImage" "1"
"zpos" "1"
}
"imageBorder"
{
"ControlName" "Divider"
"fieldName" "imageBorder"
"xpos" "0"
"ypos" "0"
"wide" "256"
"tall" "196"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"zpos" "2"
}
"className"
{
"ControlName" "Label"
"fieldName" "infolabel"
"xpos" "0"
"ypos" "204"
"wide" "300"
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "#csonst_模型名称_Name"
"textAlignment" "west"
"dulltext" "1"
"brighttext" "0"
}
}
我是这样设置的:
"classes/spetsnaz.res"
{
"imageBG"
{
"ControlName" "ImagePanel"
"fieldName" "imageBG"
"xpos" "0"
"ypos" "0"
"wide" "256"
"tall" "196"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
"fillColor" "WindowBG"
"zpos" "0"
}
"classimage"
{
"ControlName" "ImagePanel"
"fieldName" "classimage"
"xpos" "0"
"ypos" "0"
"wide" "256"
"tall" "196"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "west"
"image" "gfx/vgui/miku"
"scaleImage" "1"
"zpos" "1"
}
"imageBorder"
{
"ControlName" "Divider"
"fieldName" "imageBorder"
"xpos" "0"
"ypos" "0"
"wide" "256"
"tall" "196"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"zpos" "2"
}
"className"
{
"ControlName" "Label"
"fieldName" "infolabel"
"xpos" "0"
"ypos" "204"
"wide" "300"
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "#csonst_miku_Name"
"textAlignment" "west"
"dulltext" "1"
"brighttext" "0"
}
}
8.有UE打开“\cstrike\resource\UI\Classmenu_CT.res或Classmenu_TER.res”,在文档后面部分空白处输入如下参数:(x轴参考雪域特种队,Y轴参考自动选择)
"button-20-bg"
{
"ControlName" "ImagePanel"
"fieldName" "button-20-bg"
"xpos" "180"
"ypos" "342"
"wide" "140"
"tall" "26"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
"image" "gfx/tga/tgact"
"scaleImage" "1"
}
"button-20-bg2"
{
"ControlName" "ImagePanel"
"fieldName" "button-20-bg"
"xpos" "210"
"ypos" "348"
"wide" "130"
"tall" "12"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
"image" "resource/control/bones/cl/模型名称"
"scaleImage" "1"
}
"button-20-key"
{
"ControlName" "ImagePanel"
"fieldName" "button-1-key"
"xpos" "185"
"ypos" "345"
"wide" "20"
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
"image" "resource/control/keyboard"
"scaleImage" "1"
}
"模型名称"
{
"ControlName" "MouseOverPanelButton"
"fieldName" "模型名称"
"xpos" "180"
"ypos" "342"
"wide" "140"
"tall" "26"
"autoResize" "0"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#csonst_模型名称"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"command" "joinclass 1;nst_choose_player 模型名称"
}
//-------------------------------
我是这样设置的(19,20的上面):
"button-19-bg"
{
"ControlName" "ImagePanel"
"fieldName" "button-19-bg"
"xpos" "180"
"ypos" "342"
"wide" "140"
"tall" "26"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
"image" "gfx/tga/tgact"
"scaleImage" "1"
}
"button-19-bg2"
{
"ControlName" "ImagePanel"
"fieldName" "button-19-bg"
"xpos" "210"
"ypos" "348"
"wide" "130"
"tall" "12"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
"image" "resource/control/bones/cl/miku"
"scaleImage" "1"
}
"button-19-key"
{
"ControlName" "ImagePanel"
"fieldName" "button-1-key"
"xpos" "185"
"ypos" "345"
"wide" "20"
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
"image" "resource/control/keyboard"
"scaleImage" "1"
}
"miku"
{
"ControlName" "MouseOverPanelButton"
"fieldName" "miku"
"xpos" "180"
"ypos" "342"
"wide" "140"
"tall" "26"
"autoResize" "0"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#csonst_miku"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"command" "joinclass 1;nst_choose_player miku"
}
//-------------------------------
9.进入游戏查看效果如何!如果多了个选项恭喜你成功了!
我的效果是这样的!
10.3-8是针对图形菜单而制作的,如果你只能完成到2,那么请看此处:
直接进入游戏,随便选个人物,然后按“[”,选择CT(如果你在team处填“1”的话请选择T),按9(More),一直按到最后面,选择“游戏内名称”就行了。
我的“游戏内名称”是“初音未来”,你的会是什么呢?
——————————————————————邪恶的分界线——————————————————————
当年和自慰王及一群人创小号占领了某个板块...别举报我就行了,那事已经过了2年,用户名好像是水军_板砖吧,密码是秘密!至于禁不禁言我也不知道。
[ 此帖被甚嬷媞じ☆ve在2012-01-26 16:16重新编辑 ]