|
大家好,我是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 }
比如说:我们要把:
AWP重型狙击枪,M249班用机枪,G3SG1连发狙击枪,SG550连发狙击枪取消
我们就改成
new const g_extra_names[][] = { "燃烧弹", "冰冻弹", "照明弹" }
然后把
new const g_extra_items[][] = { "weapon_hegrenade", "weapon_flashbang", "weapon_smokegrenade" }
new const g_extra_costs[] = { 3, 3, 3}
里面的, "weapon_awp", "weapon_m249", "weapon_sg550", "weapon_g3sg1"删除和, 6, 8, 7, 7
改完后应该是:
new const g_extra_items[][] = { "weapon_hegrenade", "weapon_flashbang","weapon_smokegrenade" }
new const g_extra_costs[] = { 3, 3, 3}
改完后应改是:
new const g_extra_names[][] = { "燃烧弹", "冰冻弹", "照明弹" }
然后把
new const g_extra_items[][] = { "weapon_hegrenade", "weapon_flashbang", "weapon_smokegrenade" }
new const g_extra_costs[] = { 3, 3, 3}
new const g_extra_items[][] = { "weapon_hegrenade", "weapon_flashbang","weapon_smokegrenade" }
new const g_extra_costs[] = { 3, 3, 3}
做完这些,我们需要把做好的东西生成成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
- ------------------------------------------------------------------------------ |
|