|
大家好,我是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
- ------------------------------------------------------------------------------ |
|