husano896
|
分享:
▲
▼
1.主插内寻找 forward_return(FMV_STRING, g_modname)把g_modname换成你要的即可(记得要加引号 「 ""」) 2. 在主插件寻找 native_register_extra_item2("antidote", g_extra_costs2[1], ZP_TEAM_ZOMBIE) native_register_extra_item2("madness", g_extra_costs2[2], ZP_TEAM_ZOMBIE) native_register_extra_item2("infbomb", g_extra_costs2[3], ZP_TEAM_ZOMBIE) case EXTRA_ANTIDOTE: len += formatex(menu[len], sizeof menu - 1 - len, "\d%d. %L", item-EXTRAS_STARTID+1, id, "MENU_EXTRA2") case EXTRA_MADNESS: len += formatex(menu[len], sizeof menu - 1 - len, "\d%d. %L", item-EXTRAS_STARTID+1, id, "MENU_EXTRA3") case EXTRA_INFBOMB: len += formatex(menu[len], sizeof menu - 1 - len, "\d%d. %L", item-EXTRAS_STARTID+1, id, "MENU_EXTRA4")删掉后 在寻找 buy_extra_item(id, itemid) 把有关解毒药 狂爆 僵尸芭乐的部分全部华丽(?的删掉 复制程式
case EXTRA_ANTIDOTE: // Antidote
{
humanme(id, 0)
}
case EXTRA_MADNESS: // Zombie Madness
{
g_nodamage[id] = true
zombie_aura(id+TASK_BLOOD)
engfunc(EngFunc_EmitSound, id, CHAN_VOICE, zombie_madness[random_num(0, sizeof zombie_madness - 1)], 1.0, ATTN_NORM, 0, PITCH_NORM)
set_task(get_pcvar_float(cvar_madnessduration), "madness_over", id+TASK_BLOOD)
}
case EXTRA_INFBOMB: // Infection Bomb
{
// Increase infection bomb purchase count for this round
g_infbombcounter++
// Already own one
if (user_has_weapon(id, CSW_HEGRENADE))
{
// Increase BP ammo on it instead
fm_set_user_bpammo(id, CSW_HEGRENADE, fm_get_user_bpammo(id, CSW_HEGRENADE) + 1)
// Flash ammo in hud
message_begin(MSG_ONE_UNRELIABLE, g_msgAmmoPickup, _, id)
write_byte(AMMOID[CSW_HEGRENADE]) // ammo id
write_byte(1) // ammo amount
message_end()
// Play clip purchase sound
engfunc(EngFunc_EmitSound, id, CHAN_ITEM, sound_buyammo, 1.0, ATTN_NORM, 0, PITCH_NORM)
return; // stop here
}
// Give weapon to the player
fm_give_item(id, "weapon_hegrenade")
new name[32]
get_user_name(id, name, 31)
client_print(0,print_center,"小心! [%s] 购买了僵尸手榴弹", name)
}
|
|
x1
[5 楼]
From:台湾中华电信股份有限公司 | Posted:2011-06-25 07:24 |
|
|
zxzyman
|
分享:
▲
下面是引用 husano896 于 2011-06-25 07:24 发表的 : 1.主插内寻找 forward_return(FMV_STRING, g_modname)把g_modname换成你要的即可(记得要加引号 「""」)
2. 在主插件寻找 native_register_extra_item2("antidote", g_extra_costs2[1], ZP_TEAM_ZOMBIE) native_register_extra_item2("madness", g_extra_costs2[2], ZP_TEAM_ZOMBIE) ....... 谢谢您 可以改游戏类型了! 但僵尸道具 我可能是删错了 不能转AMXX 是不是删除这一些 复制程式
case EXTRA_ANTIDOTE: // Antidote {
humanme(id, 0)
}
case EXTRA_MADNESS: // Zombie Madness
{
g_nodamage[id] = true zombie_aura(id+TASK_BLOOD)
engfunc(EngFunc_EmitSound, id, CHAN_VOICE, zombie_madness[random_num(0, sizeof zombie_madness - 1)], 1.0, ATTN_NORM, 0, PITCH_NORM)
set_task(get_pcvar_float(cvar_madnessduration), "madness_over", id+TASK_BLOOD)
}
case EXTRA_INFBOMB: // Infection Bomb
{
// Increase infection bomb purchase count for this round
g_infbombcounter++
// Already own one
if (user_has_weapon(id, CSW_HEGRENADE))
{
// Increase BP ammo on it instead
fm_set_user_bpammo(id, CSW_HEGRENADE, fm_get_user_bpammo(id, CSW_HEGRENADE) + 1)
// Flash ammo in hud
message_begin(MSG_ONE_UNRELIABLE, g_msgAmmoPickup, _, id)
write_byte(AMMOID[CSW_HEGRENADE]) // ammo id
write_byte(1) // ammo amount
message_end()
// Play clip purchase sound
engfunc(EngFunc_EmitSound, id, CHAN_ITEM, sound_buyammo, 1.0, ATTN_NORM, 0, PITCH_NORM)
return; // stop here
}
// Give weapon to the player
fm_give_item(id, "weapon_hegrenade")
new name[32]
get_user_name(id, name, 31)
client_print(0,print_center,"小心! [%s] 购买了僵尸手榴弹", name)
} native_register_extra_item2("antidote", g_extra_costs2[1], ZP_TEAM_ZOMBIE) native_register_extra_item2("madness", g_extra_costs2[2], ZP_TEAM_ZOMBIE) 这也要删除吗...
[ 此文章被zxzyman在2011-06-26 14:40重新编辑 ]
|
UWC3NG 终极魔兽-次世代 (繁体中文版) -按此连结-
|
x0
[6 楼]
From:没有资料 | Posted:2011-06-26 11:53 |
|
|
|