Sari la conținut
LondoN eXtream

(BB) Clase Zombie

Postări Recomandate

DESCRIERE


Aceste clase de zombie sunt prentru modul base builder. Conține 7 clase.


 


DESCÄ‚RCARE



#include <amxmodx>
#include <basebuilder>
#include <hamsandwich>
#include <fun>
#include <cstrike>

/*================================================================================
[Plugin Customization]
=================================================================================*/

// Classic Zombie Attributes
new const zclass1_name[] = { "Scheleton" }
new const zclass1_info[] = { "=Echilibrat=" }
new const zclass1_model[] = { "v_schelete" }
new const zclass1_clawmodel[] = { "v_m_schelete" }
const zclass1_health = 9000
const zclass1_speed = 260
const Float:zclass1_gravity = 1.0
const zclass1_adminflags = ADMIN_ALL

// Fast Zombie Attributes
new const zclass2_name[] = { "Asistenta Zombie" }
new const zclass2_info[] = { "HP-- SP++" }
new const zclass2_model[] = { "nurse" }
new const zclass2_clawmodel[] = { "nurse_knife" }
const zclass2_health = 6500
const zclass2_speed = 328
const Float:zclass2_gravity = 1.0
const zclass2_adminflags = ADMIN_ALL

// Jumper Zombie Attributes
new const zclass3_name[] = { "Moartea" }
new const zclass3_info[] = { "HP- GR+" }
new const zclass3_model[] = { "v_sat" }
new const zclass3_clawmodel[] = { "v_m_sat" }
const zclass3_health = 7200
const zclass3_speed = 285
const Float:zclass3_gravity = 0.5
const zclass3_adminflags = ADMIN_ALL

// Alien Dog Zombie Attributes
new const zclass4_name[] = { "Caine Extraterestru" }
new const zclass4_info[] = { "HP-- GR++ SP++" }
new const zclass4_model[] = { "dog" }
new const zclass4_clawmodel[] = { "dogg" }
const zclass4_health = 4200
const zclass4_speed = 390
const Float:zclass4_gravity = 0.3
const zclass4_adminflags = ADMIN_ALL

// Tanker Zombie Attributes
new const zclass5_name[] = { "Razboinic de Gheata" }
new const zclass5_info[] = { "HP++ SP-" }
new const zclass5_model[] = { "v_frost" }
new const zclass5_clawmodel[] = { "v_m_frost" }
const zclass5_health = 11500
const zclass5_speed = 210
const Float:zclass5_gravity = 1.0
const zclass5_adminflags = ADMIN_ALL
#define TANK_ARMOR 200

// Cioara Zombie Attributes
new const zclass6_name[] = { "Dragon Zburator" }
new const zclass6_info[] = { "HP--- SP+ GR +++" }
new const zclass6_model[] = { "v_dragon" }
new const zclass6_clawmodel[] = { "v_m_dragon" }
const zclass6_health = 3000
const zclass6_speed = 390
const Float:zclass6_gravity = 0.155
const zclass6_adminflags = ADMIN_MAP

// Vip Zombie Attributes
new const zclass7_name[] = { "Zombie Distrugator" }
new const zclass7_info[] = { "HP+++ SP++ GR+" }
new const zclass7_model[] = { "new_viaipi" }
new const zclass7_clawmodel[] = { "n_m_vip" }
const zclass7_health = 13000
const zclass7_speed = 328
const Float:zclass7_gravity = 0.4
const zclass7_adminflags = ADMIN_IMMUNITY



/*============================================================================*/

new g_zclass_tanker

// Zombie Classes MUST be registered on plugin_precache
public plugin_precache()
{
register_plugin("[BB] Clase Zombalai", "Basebuilder v6.9", "Tirant + DanTe's update")

// 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)
g_zclass_tanker = 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(zclass6_name, zclass6_info, zclass6_model, zclass6_clawmodel, zclass6_health, zclass6_speed, zclass6_gravity, 0.0, zclass6_adminflags)
bb_register_zombie_class(zclass7_name, zclass7_info, zclass7_model, zclass7_clawmodel, zclass7_health, zclass7_speed, zclass7_gravity, 0.0, zclass7_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

Partajează acest post


Link spre post
Distribuie pe alte site-uri
Vizitator
Adaugi comentarii ca vizitator. Dacă ai un cont, te rog autentifică-te.
Răspunde la acest topic...

×   Alipit ca text avansat.   Alipește ca text simplu

  Doar 75 emoji sunt permise.

×   Linkul tău a fost încorporat automat.   Afișează ca link în schimb

×   Conținutul tău precedent a fost resetat.   Curăță editor

×   Nu poți lipi imagini direct. Încarcă sau inserează imagini din URL.

Încărcare

×