Kod:
/*================================================================================
-----------------------------------
-*- [BB] Default Zombie Classes -*-
-----------------------------------
~~~~~~~~~~~~~~~
- Description -
~~~~~~~~~~~~~~~
This plugin adds the default zombie classes from Zombie Plague
into Base Builder. All credit belongs to MeRcyLeZZ.
All classes have been balanced, but feel free to edit them if
you are not satisfied.
================================================================================*/
#include <amxmodx>
#include <basebuilder>
#include <fakemeta>
#include <hamsandwich>
#include <fun>
#include <cstrike>
/*================================================================================
[Plugin Customization]
=================================================================================*/
// Classic Zombie Attributes
new const zclass1_name[] = { "Normal Zombi" }
new const zclass1_info[] = { "Standart Zombi Ozellikleri" }
new const zclass1_model[] = { "bb_classic" }
new const zclass1_clawmodel[] = { "v_bloodyhands" }
const zclass1_health = 5000
const zclass1_speed = 270
const Float:zclass1_gravity = 0.5
const zclass1_adminflags = ADMIN_ALL
// Fast Zombie Attributes
new const zclass2_name[] = { "Hizli Zombie" }
new const zclass2_info[] = { "HP'si Normal Hizi Yuksek" }
new const zclass2_model[] = { "bb_fast" }
new const zclass2_clawmodel[] = { "v_bloodyhands" }
const zclass2_health = 5000
const zclass2_speed = 270
const Float:zclass2_gravity = 0.5
const zclass2_adminflags = ADMIN_ALL
// Jumper Zombie Attributes
new const zclass3_name[] = { "Uzun Ziplayan Zombie" }
new const zclass3_info[] = { "HP'si Normal Ziplamasi Fazla" }
new const zclass3_model[] = { "bb_jumper" }
new const zclass3_clawmodel[] = { "v_bloodyhands" }
const zclass3_health = 6000
const zclass3_speed = 270
const Float:zclass3_gravity = 0.5
const zclass3_adminflags = ADMIN_ALL
// Tanker Zombie Attributes
new const zclass4_name[] = { "Guclu Zombie" }
new const zclass4_info[] = { "HP'si Fazla Hizi Normal" }
new const zclass4_model[] = { "bb_tanker" }
new const zclass4_clawmodel[] = { "v_bloodyhands" }
const zclass4_health = 5000
const zclass4_speed = 270
const Float:zclass4_gravity = 0.5
const zclass4_adminflags = ADMIN_ALL
// Kamuflaj Zombi
new const zclass5_name[] = { "Kamuflaj Zombi" }
new const zclass5_info[] = { "Kamufle Olur" }
new const zclass5_model[] = { "gign", "gsg9", "sas", "urban" }
new const zclass5_clawmodel[] = { "v_knife" }
const zclass5_health = 6000
const zclass5_speed = 300
const Float:zclass5_gravity = 0.6
const zclass5_adminflags = ADMIN_ALL
// Kamuflaj Zombi
new const zclass9_name[] = { "Kurt Zombi" }
new const zclass9_info[] = { "Slotlara Ozel" }
new const zclass9_model[] = { "bb_kurt22" }
new const zclass9_clawmodel[] = { "v_kurt22" }
const zclass9_health = 10000
const zclass9_speed = 300
const Float:zclass9_gravity = 0.6
const zclass9_adminflags = ADMIN_LEVEL_A
// Kamuflaj Zombi
new const zclass8_name[] = { "YURUYEN UCAHHH" }
new const zclass8_info[] = { "AMDINLERE OZEL" }
new const zclass8_model[] = { "bb_nvejderha" }
new const zclass8_clawmodel[] = { "v_azra" }
const zclass8_health = 15000
const zclass8_speed = 300
const Float:zclass8_gravity = 0.6
const zclass8_adminflags = ADMIN_KICK
#define TANK_ARMOR 200
/*============================================================================*/
new g_zclass_tanker
// Zombie Classes MUST be registered on plugin_precache
public plugin_precache()
{
register_plugin("[BB] Default Zombie Classes", "6.5", "Tirant")
// Register all classes
bb_register_zombie_class(zclass1_name, zclass1_info, zclass1_model, zclass1_clawmodel, zclass1_health, zclass1_speed, zclass1_gravity, 0.0, zclass1_adminflags)
bb_register_zombie_class(zclass2_name, zclass2_info, zclass2_model, zclass2_clawmodel, zclass2_health, zclass2_speed, zclass2_gravity, 0.0, zclass2_adminflags)
bb_register_zombie_class(zclass3_name, zclass3_info, zclass3_model, zclass3_clawmodel, zclass3_health, zclass3_speed, zclass3_gravity, 0.0, zclass3_adminflags)
bb_register_zombie_class(zclass4_name, zclass4_info, zclass4_model, zclass4_clawmodel, zclass4_health, zclass4_speed, zclass4_gravity, 0.0, zclass4_adminflags)
bb_register_zombie_class(zclass5_name, zclass5_info, zclass5_model, zclass5_clawmodel, zclass5_health, zclass5_speed, zclass5_gravity, 0.0, zclass5_adminflags)
bb_register_zombie_class(zclass8_name, zclass8_info, zclass8_model, zclass8_clawmodel, zclass8_health, zclass8_speed, zclass8_gravity, 0.0, zclass8_adminflags)
bb_register_zombie_class(zclass9_name, zclass9_info, zclass9_model, zclass9_clawmodel, zclass9_health, zclass9_speed, zclass9_gravity, 0.0, zclass9_adminflags)
}
#if defined TANK_ARMOR
public plugin_init()
{
RegisterHam(Ham_Spawn, "player", "ham_PlayerSpawn_Post", 1)
}
public ham_PlayerSpawn_Post(id)
{
if (!is_user_alive(id))
return ;
if (bb_is_user_zombie(id) && bb_get_user_zombie_class(id) == g_zclass_tanker)
{
give_item(id, "item_assaultsuit");
cs_set_user_armor(id, TANK_ARMOR, CS_ARMOR_VESTHELM);
}
}
#endif
fazlasına gerek yok slotlara özel ve adminlere özel zombi bulunmaktadır dosya yolu belirtilmiş. İstersen indirebilirsin.