搜索
查看: 2578|回复: 7

[TAkkEt教程]如何在M菜单增加够买项

[复制链接]
发表于 2009-5-2 11:46:30 | 显示全部楼层 |阅读模式 来自 中国–北京–北京
大家好,我是TAkkEt
本次教程:【如何在M菜单增加够买项】
工具:
UltraEdit 32简体中文增强版 14.20.0
我一发到论坛了,可以下载
下载地址:
首先,我们先下载丧失感染插件
如,^Ex@LAtExT站队丧失感染v4.1内部版
我们先打开,找到
^Ex@LAtExT站队丧失感染v4.1内部版\cstrike\addons\amxmodx\scripting
里面的zombie_plague40.sma文件
用我们刚才下载的UE(UltraEdit 32简体中文增强版 14.20.0)
打开文件,(对准zombie_plague40.sma文件,鼠标右键点UltraEdit)
然后我们找到:

// Extra Items: Weapons and their costs
new const g_extra_names[][] = { "燃烧弹", "冰冻弹", "照明弹", "AWP重型狙击枪", "M249班用机枪", "SG550连发狙击枪", "G3SG1连发狙击枪" }
new const g_extra_items[][] = { "weapon_hegrenade", "weapon_flashbang", "weapon_smokegrenade", "weapon_awp", "weapon_m249", "weapon_sg550", "weapon_g3sg1" }
new const g_extra_costs[] = { 3, 3, 3, 6, 8, 7, 7 }

我改是的:
// Extra Items: Weapons and their costs
new const g_extra_names[][] = { "可乐手雷", "雪碧冰冻", "照明弹", "沙漠之用", "M3单发散弹", "M4A1警察专用", "AK47匪徒专用" }
new const g_extra_items[][] = { "weapon_hegrenade", "weapon_flashbang", "weapon_smokegrenade", "weapon_deagle", "weapon_m3", "weapon_m4a1", "weapon_ak47" }
new const g_extra_costs[] = { 2, 3, 1, 2, 8, 4, 4 }

教程:
名字我就不说了,直接改弹药包的价格和MOD模型
new const g_extra_items[][] = { "weapon_hegrenade", "weapon_flashbang", "weapon_smokegrenade", "weapon_deagle", "weapon_m3", "weapon_m4a1", "weapon_ak47" }
new const g_extra_costs[] = { 2, 3, 1, 2, 8, 4, 4 }

这是模型
new const g_extra_items[][] = { "weapon_hegrenade", "weapon_flashbang", "weapon_smokegrenade", "weapon_deagle", "weapon_m3", "weapon_m4a1", "weapon_ak47" }
这是价格
new const g_extra_costs[] = { 2, 3, 1, 2, 8, 4, 4 }

做完这些,我们需要把做好的东西生成成AMXX文件
首先,
(UE菜单,改好后,继续同上教程)
我们点,文件,点另存为,点找到格式改成UTF-8 - 无BOM

然后我们打开^Ex@LAtExT站队丧失感染v4.1内部版\cstrike\addons\amxmodx\scripting
把做好的文件放到这里(刚保存的SMA,记住我要把它保存到和以前文件一个目录)
然后把做好的文件拖到compile这个文件上
他就会出现生成文件的菜单,生成后,会出现
// AMXXPC compile.exe
// by the AMX Mod X Dev Team
// Fixed by Rulzy.


////文件名
// Header size:            .............
// God size:                .............
// Date size:               .............
//Total requirements:  .............
// Done.
//
// Compilation Time 0.22 sec
//----------------------------------------------------------------------------------

press Enter to exit



^Ex@LAtExT站队论坛:
主论坛:http://exlatext.ttsite.com
分论坛:http://takket.ttsite.com

本站队合作网吧【心缘网吧】
合作服务器:
服务器1号:222.84.241.212:27015
服务器2号:222.84.241.189:27015
服务器3号:125.73.128.158:27015

-----------------联系方式---------------------------------------------------
-   CSid:TAkkEt                              
-   CS年龄:7年                                
-   QQ:525730335(请注明)
-   邮箱:525730335@qq.com  / zzxzzx0213@126.com
-  ------------------------------------------------------------------------------
发表于 2009-5-2 18:42:40 | 显示全部楼层 来自 中国–湖北–黄冈
LZ的广告很强大!!
鉴定完毕
回复

使用道具 举报

发表于 2009-5-4 10:12:36 | 显示全部楼层 来自 中国–辽宁–本溪
写的很不错,受教了
回复

使用道具 举报

发表于 2009-8-11 15:18:41 | 显示全部楼层 来自 中国–广东–佛山
本帖最后由 小白2 于 2009-8-11 15:20 编辑

建议楼主发地图教程,插件的教材就不要再发了,好多人都懂的教材!很好,很强大,安全,无痛苦
回复

使用道具 举报

发表于 2009-8-11 18:33:39 | 显示全部楼层 来自 中国–江苏–苏州
支持一下
回复

使用道具 举报

发表于 2009-10-4 17:56:58 | 显示全部楼层 来自 中国–广东–汕尾
汗……这么********的教程…………

怎么看着像打广告…………
回复

使用道具 举报

发表于 2009-10-12 11:36:47 | 显示全部楼层 来自 中国–江苏–南京
还不错,来看看
回复

使用道具 举报

发表于 2010-1-1 14:35:19 | 显示全部楼层 来自 中国–北京–北京
很好啊,学习了
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表