hlmod.hu

Magyar Half-Life Mód közösség!
Pontos idő: 2025.06.17. 11:18



Jelenlévő felhasználók

Jelenleg 341 felhasználó van jelen :: 2 regisztrált, 0 rejtett és 339 vendég

A legtöbb felhasználó (2761 fő) 2025.01.09. 20:06-kor tartózkodott itt.

Regisztrált felhasználók: Bing [Bot], Google [Bot]az elmúlt 5 percben aktív felhasználók alapján

Utoljára aktív
Ahhoz hogy lásd ki volt utoljára aktív, be kell jelentkezned.



Az oldal teljeskörű
használatához regisztrálj.

Regisztráció

Kereső


Új téma nyitása Hozzászólás a témához  [1 hozzászólás ] 
Szerző Üzenet
 Hozzászólás témája: Bázisépítő Zombik
HozzászólásElküldve:2013.09.29. 09:13 
Offline
Tud valamit
Avatar

Csatlakozott:2013.09.12. 16:51
Hozzászólások:144
Megköszönt másnak: 51 alkalommal
Megköszönték neki: 6 alkalommal
Sziasztok ebbe írjon valaki nekem 3 alap zombit
és 2 VIP zombit (H jogra)
Előre is köszönöm

SMA Forráskód: [ Mindet kijelol ]
  1. /*================================================================================
  2.  
  3. -----------------------------------
  4. -*- [BB] Default Zombie Classes -*-
  5. -----------------------------------
  6.  
  7. ~~~~~~~~~~~~~~~
  8. - Description -
  9. ~~~~~~~~~~~~~~~
  10.  
  11. This plugin adds the default zombie classes from Zombie Plague
  12. into Base Builder. All credit belongs to MeRcyLeZZ.
  13.  
  14. All classes have been balanced, but feel free to edit them if
  15. you are not satisfied.
  16.  
  17. ================================================================================*/
  18.  
  19. #include <amxmodx>
  20. #include <basebuilder>
  21. #include <hamsandwich>
  22. #include <fun>
  23. #include <cstrike>
  24.  
  25. /*================================================================================
  26.  [Plugin Customization]
  27. =================================================================================*/
  28.  
  29.  
  30. // Classic Zombie Attributes
  31. new const zclass1_name[] = { "Sipder NEW" }
  32. new const zclass1_info[] = { "" }
  33. new const zclass1_model[] = { "bb_pok" }
  34. new const zclass1_clawmodel[] = { "v_bloodyhands" }
  35. const zclass1_health = 3000
  36. const zclass1_speed = 260
  37. const Float:zclass1_gravity = 1.0
  38.  
  39.  
  40. // Fast Zombie Attributes
  41. new const zclass2_name[] = { "Gyors NEW" }
  42. new const zclass2_info[] = { "" }
  43. new const zclass2_model[] = { "bb_farkas" }
  44. new const zclass2_clawmodel[] = { "v_m001_2" }
  45. const zclass2_health = 3000
  46. const zclass2_speed = 365
  47. const Float:zclass2_gravity = 1.0
  48.  
  49.  
  50. // Jumper Zombie Attributes
  51. new const zclass3_name[] = { "Ugro" }
  52. new const zclass3_info[] = { "" }
  53. new const zclass3_model[] = { "bb_jumper" }
  54. new const zclass3_clawmodel[] = { "v_bloodyhands" }
  55. const zclass3_health = 2500
  56. const zclass3_speed = 285
  57. const Float:zclass3_gravity = 0.6
  58.  
  59.  
  60. // Tanker Zombie Attributes
  61. new const zclass4_name[] = { "Tank" }
  62. new const zclass4_info[] = { "" }
  63. new const zclass4_model[] = { "bb_tanker" }
  64. new const zclass4_clawmodel[] = { "v_bloodyhands" }
  65. const zclass4_health = 4000
  66. const zclass4_speed = 230
  67. const Float:zclass4_gravity = 1.0
  68.  
  69. #define TANK_ARMOR 200
  70.  
  71. //Kuszo Zombi
  72. new const zclass5_name[] = { "Kuszo" }
  73. new const zclass5_info[] = { "" }
  74. new const zclass5_model[] = { "bb_kuszo" }
  75. new const zclass5_clawmodel[] = { "v_bloodyhands" }
  76. const zclass5_health = 5000
  77. const zclass5_speed = 195
  78. const Float:zclass5_gravity = 1.0
  79.  
  80. #define kuszo_armor 100
  81.  
  82. //Vip Ugro Zombi
  83. new const zclass6_name[] = { "VIP Ugro" }
  84. new const zclass6_info[] = { "" }
  85. new const zclass6_model[] = { "bb_ugro" }
  86. new const zclass6_clawmodel[] = { "v_bloodyhands" }
  87. const zclass6_health = 3500
  88. const zclass6_speed = 270
  89. const Float:zclass6_gravity = 0.4
  90. const zclass6_adminflags = ADMIN_LEVEL_H
  91. #define ugro_armor 100
  92.  
  93. //VIP repulo zombi
  94. new const zclass7_name[] = { "VIP Replulo" }
  95. new const zclass7_info[] = { "" }
  96. new const zclass7_model[] = { "bb_repulo" }
  97. new const zclass7_clawmodel[] = { "v_bloodyhands" }
  98. const zclass7_health = 400
  99. const zclass7_speed = 220
  100. const Float:zclass7_gravity = 0.2
  101. const zclass7_adminflags = ADMIN_LEVEL_H
  102. #define repulo_armor 100
  103.  
  104. //VIP Tank Zombie Attributes
  105. new const zclass8_name[] = { "CSO NEW" }
  106. new const zclass8_info[] = { "" }
  107. new const zclass8_model[] = { "bb_cso" }
  108. new const zclass8_clawmodel[] = { "v_bloodyhands" }
  109. const zclass8_health = 400
  110. const zclass8_speed = 220
  111. const Float:zclass8_gravity = 1.0
  112. #define tank2_armor 100
  113. /*============================================================================*/
  114.  
  115. new g_zclass_tanker
  116. new g_zclass_kuszo
  117. new g_zclass_vip_ugro
  118. new g_zclass_vip_repulo
  119. new g_zclass_vip_tank
  120.  
  121. // Zombie Classes MUST be registered on plugin_precache
  122. public plugin_precache()
  123. {
  124. register_plugin("[BB] Default Zombie Classes", "6.5", "Tirant")
  125.  
  126. // Register all classes
  127. bb_register_zombie_class(zclass5_name, zclass5_info, zclass5_model, zclass5_clawmodel, zclass5_health, zclass5_speed, zclass5_gravity, 0.0)
  128. bb_register_zombie_class(zclass1_name, zclass1_info, zclass1_model, zclass1_clawmodel, zclass1_health, zclass1_speed, zclass1_gravity, 0.0)
  129. bb_register_zombie_class(zclass2_name, zclass2_info, zclass2_model, zclass2_clawmodel, zclass2_health, zclass2_speed, zclass2_gravity, 0.0)
  130. bb_register_zombie_class(zclass3_name, zclass3_info, zclass3_model, zclass3_clawmodel, zclass3_health, zclass3_speed, zclass3_gravity, 0.0)
  131. g_zclass_tanker = bb_register_zombie_class(zclass4_name, zclass4_info, zclass4_model, zclass4_clawmodel, zclass4_health, zclass4_speed, zclass4_gravity, 0.0)
  132. g_zclass_kuszo = bb_register_zombie_class(zclass5_name, zclass5_info, zclass5_model, zclass5_clawmodel, zclass5_health, zclass5_speed, zclass5_gravity, 0.0)
  133. g_zclass_vip_ugro = bb_register_zombie_class(zclass6_name, zclass6_info, zclass6_model, zclass6_clawmodel, zclass6_health, zclass6_speed, zclass6_gravity, 0.0, zclass6_adminflags)
  134. g_zclass_vip_repulo = bb_register_zombie_class(zclass7_name, zclass7_info, zclass7_model, zclass7_clawmodel, zclass7_health, zclass7_speed, zclass7_gravity, 0.0, zclass7_adminflags)
  135. g_zclass_vip_tank = bb_register_zombie_class(zclass8_name, zclass8_info, zclass8_model, zclass8_clawmodel, zclass8_health, zclass8_speed, zclass8_gravity, 0.0)
  136. }
  137.  
  138. #if defined TANK_ARMOR
  139. public plugin_init()
  140. {
  141. RegisterHam(Ham_Spawn, "player", "ham_PlayerSpawn_Post", 1)
  142. }
  143.  
  144. public ham_PlayerSpawn_Post(id)
  145. {
  146. if (!is_user_alive(id))
  147. return ;
  148.  
  149. if (bb_is_user_zombie(id) && bb_get_user_zombie_class(id) == g_zclass_tanker)
  150. {
  151. give_item(id, "item_assaultsuit");
  152. cs_set_user_armor(id, TANK_ARMOR, CS_ARMOR_VESTHELM);
  153. }
  154. if (bb_is_user_zombie(id) && bb_get_user_zombie_class(id) == g_zclass_kuszo)
  155. {
  156. give_item(id, "item_assaultsuit");
  157. cs_set_user_armor(id, kuszo_armor, CS_ARMOR_VESTHELM);
  158. }
  159. if (bb_is_user_zombie(id) && bb_get_user_zombie_class(id) == g_zclass_vip_ugro)
  160. {
  161. give_item(id, "item_assaultsuit");
  162. cs_set_user_armor(id, ugro_armor, CS_ARMOR_VESTHELM);
  163. }
  164. if (bb_is_user_zombie(id) && bb_get_user_zombie_class(id) == g_zclass_vip_repulo)
  165. {
  166. give_item(id, "item_assaultsuit");
  167. cs_set_user_armor(id, repulo_armor, CS_ARMOR_VESTHELM);
  168. }
  169. if (bb_is_user_zombie(id) && bb_get_user_zombie_class(id) == g_zclass_vip_tank)
  170. {
  171. give_item(id, "item_assaultsuit");
  172. cs_set_user_armor(id, tank2_armor, CS_ARMOR_VESTHELM);
  173. }
  174. }
  175. #endif
  176. /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
  177. *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1038\\ f0\\ fs16 \n\\ par }
  178. */
  179. /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
  180. *{\\ rtf1\\ ansi\\ ansicpg1250\\ deff0\\ deflang1038{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
  181. */
  182. /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
  183. *{\\ rtf1\\ ansi\\ ansicpg1250\\ deff0\\ deflang1038{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\
  184. /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
  185. *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1038\\ f0\\ fs16 \n\\ par }
  186. */
  187. /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
  188. *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1038\\ f0\\ fs16 \n\\ par }
  189. */
  190.  


Hozzászólás jelentése
Vissza a tetejére
   
Hozzászólások megjelenítése: Rendezés 
Új téma nyitása Hozzászólás a témához  [1 hozzászólás ] 


Ki van itt

Jelenlévő fórumozók: nincs regisztrált felhasználó valamint 2 vendég


Nyithatsz új témákat ebben a fórumban.
Válaszolhatsz egy témára ebben a fórumban.
Nem szerkesztheted a hozzászólásaidat ebben a fórumban.
Nem törölheted a hozzászólásaidat ebben a fórumban.
Nem küldhetsz csatolmányokat ebben a fórumban.

Keresés:
Ugrás:  
Powered by phpBB® Forum Software © phpBB Limited
Magyar fordítás © Magyar phpBB Közösség
Portal: Kiss Portal Extension © Michael O'Toole