hlmod.hu
https://hlmod.hu/

Bázisepito
https://hlmod.hu/viewtopic.php?f=9&t=4153
Oldal: 1 / 1

Szerző:  GhostRyder [2012.04.21. 21:46 ]
Hozzászólás témája:  Bázisepito

Hogyan birom kivenni a jumper zombit?

http://smklan.sunwell.hu/asd.php

Meg mielott valaki beszolna, azer adtam linket, mert nemengedte ide beirni a .smat

Szerző:  DeteCT0R [2012.04.21. 21:57 ]
Hozzászólás témája:  Re: Bázisepito

GhostRyder írta:
Hogyan birom kivenni a jumper zombit?

http://smklan.sunwell.hu/asd.php

Meg mielott valaki beszolna, azer adtam linket, mert nemengedte ide beirni a .smat


1.Reklam tiltva.
2. Ha a legújabb base builder akkor van kulon bb_class ashiszem vagy valami ilyesmi:D

Szerző:  tson_ [2012.04.21. 22:01 ]
Hozzászólás témája:  Re: Bázisepito

Ja, szerintem is ebből a SMA-ból kéne valamit kiszedni. Mivel én még hülye vagyok hozzá így csak dobok 1 SMA-t xd
Kód:
/*================================================================================
   
   -----------------------------------
   -*- [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 <hamsandwich>
#include <fun>
#include <cstrike>

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

// Classic Zombie Attributes
new const zclass1_name[] = { "Classic Zombie" }
new const zclass1_info[] = { "=Balanced=" }
new const zclass1_model[] = { "bb_classic" }
new const zclass1_clawmodel[] = { "v_bloodyhands" }
const zclass1_health = 3000
const zclass1_speed = 260
const Float:zclass1_gravity = 1.0
const zclass1_adminflags = ADMIN_ALL

// Fast Zombie Attributes
new const zclass2_name[] = { "Fast Zombie" }
new const zclass2_info[] = { "HP-- Speed++" }
new const zclass2_model[] = { "bb_fast" }
new const zclass2_clawmodel[] = { "v_bloodyhands" }
const zclass2_health = 2000
const zclass2_speed = 325
const Float:zclass2_gravity = 1.0
const zclass2_adminflags = ADMIN_ALL

// Jumper Zombie Attributes
new const zclass3_name[] = { "Jumper Zombie" }
new const zclass3_info[] = { "HP- Jump+" }
new const zclass3_model[] = { "bb_jumper" }
new const zclass3_clawmodel[] = { "v_bloodyhands" }
const zclass3_health = 2500
const zclass3_speed = 285
const Float:zclass3_gravity = 0.5
const zclass3_adminflags = ADMIN_ALL

// Tanker Zombie Attributes
new const zclass4_name[] = { "Tanker Zombie" }
new const zclass4_info[] = { "HP++ Speed-" }
new const zclass4_model[] = { "bb_tanker" }
new const zclass4_clawmodel[] = { "v_bloodyhands" }
const zclass4_health = 4000
const zclass4_speed = 210
const Float:zclass4_gravity = 1.0
const zclass4_adminflags = ADMIN_ALL
#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)
   g_zclass_tanker = bb_register_zombie_class(zclass4_name, zclass4_info, zclass4_model, zclass4_clawmodel, zclass4_health, zclass4_speed, zclass4_gravity, 0.0, zclass4_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

Szerző:  GhostRyder [2012.04.21. 22:25 ]
Hozzászólás témája:  Re: Bázisepito

omg xd igy ma mennifog xDD ty

Nem reklambol irtam... Mondtam hogy nemengedte beirni a .smat

Szerző:  DeteCT0R [2012.04.21. 22:35 ]
Hozzászólás témája:  Re: Bázisepito

Kód:
/*================================================================================
   
   -----------------------------------
   -*- [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 <hamsandwich>
#include <fun>
#include <cstrike>

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

// Classic Zombie Attributes
new const zclass1_name[] = { "Classic Zombie" }
new const zclass1_info[] = { "=Balanced=" }
new const zclass1_model[] = { "bb_classic" }
new const zclass1_clawmodel[] = { "v_bloodyhands" }
const zclass1_health = 3000
const zclass1_speed = 260
const Float:zclass1_gravity = 1.0
const zclass1_adminflags = ADMIN_ALL

// Fast Zombie Attributes
new const zclass2_name[] = { "Fast Zombie" }
new const zclass2_info[] = { "HP-- Speed++" }
new const zclass2_model[] = { "bb_fast" }
new const zclass2_clawmodel[] = { "v_bloodyhands" }
const zclass2_health = 2000
const zclass2_speed = 325
const Float:zclass2_gravity = 1.0
const zclass2_adminflags = ADMIN_ALL


// Tanker Zombie Attributes
new const zclass4_name[] = { "Tanker Zombie" }
new const zclass4_info[] = { "HP++ Speed-" }
new const zclass4_model[] = { "bb_tanker" }
new const zclass4_clawmodel[] = { "v_bloodyhands" }
const zclass4_health = 4000
const zclass4_speed = 210
const Float:zclass4_gravity = 1.0
const zclass4_adminflags = ADMIN_ALL
#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)
   g_zclass_tanker = bb_register_zombie_class(zclass4_name, zclass4_info, zclass4_model, zclass4_clawmodel, zclass4_health, zclass4_speed, zclass4_gravity, 0.0, zclass4_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


Nem teszteltem :D

Oldal: 1 / 1 Minden időpont UTC+02:00 időzóna szerinti
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/