hlmod.hu
https://hlmod.hu/

BaseBuilder
https://hlmod.hu/viewtopic.php?f=29&t=10810
Oldal: 1 / 1

Szerző:  nestea [ 2013.09.09. 16:13 ]
Hozzászólás témája:  BaseBuilder

Sziasztok megcsinálná valaki (basebuilder szerver)
hogy ne csak alap zombik legyenek hanem több mint pl: sm basebuilderen is.
és ha valaki írna nekem akkor hogyan kell berakni. vagy mi? help.

bocsi ha valamit elírtam. nem értek a pluginok hozz.. stb..

Szerző:  TysOn [ 2013.09.09. 16:23 ]
Hozzászólás témája:  Re: BaseBuilder

Berakni ? FTP-n keresztül.

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. // Classic Zombie Attributes
  30. new const zclass1_name[] = { "Klasszik Zombi" }
  31. new const zclass1_info[] = { "Alap kepessegek" }
  32. new const zclass1_model[] = { "bb_classic" }
  33. new const zclass1_clawmodel[] = { "v_bloodyhands" }
  34. const zclass1_health = 3000
  35. const zclass1_speed = 260
  36. const Float:zclass1_gravity = 1.0
  37. const zclass1_adminflags = ADMIN_ALL
  38.  
  39. // Fast Zombie Attributes
  40. new const zclass2_name[] = { "Gyors Zombi" }
  41. new const zclass2_info[] = { "2000HP Gyors++" }
  42. new const zclass2_model[] = { "bb_fast" }
  43. new const zclass2_clawmodel[] = { "v_bloodyhands" }
  44. const zclass2_health = 2000
  45. const zclass2_speed = 325
  46. const Float:zclass2_gravity = 1.0
  47. const zclass2_adminflags = ADMIN_ALL
  48.  
  49. // Jumper Zombie Attributes
  50. new const zclass3_name[] = { "Ugro Zombi" }
  51. new const zclass3_info[] = { "2500HP Gravitacio-" }
  52. new const zclass3_model[] = { "bb_jumper" }
  53. new const zclass3_clawmodel[] = { "v_bloodyhands" }
  54. const zclass3_health = 2500
  55. const zclass3_speed = 285
  56. const Float:zclass3_gravity = 0.5
  57. const zclass3_adminflags = ADMIN_ALL
  58.  
  59. // Tanker Zombie Attributes
  60. new const zclass4_name[] = { "Tank Zombi" }
  61. new const zclass4_info[] = { "4000HP Gyors-" }
  62. new const zclass4_model[] = { "bb_tanker" }
  63. new const zclass4_clawmodel[] = { "v_bloodyhands" }
  64. const zclass4_health = 4000
  65. const zclass4_speed = 210
  66. const Float:zclass4_gravity = 1.0
  67. const zclass4_adminflags = ADMIN_ALL
  68. #define TANK_ARMOR 200
  69.  
  70. // Attributes
  71. new const zclass5_name[] = { "Kutya Zombi" }
  72. new const zclass5_info[] = { "1500HP Gyorsasag++" }
  73. new const zclass5_model[] = { "kutya" }
  74. new const zclass5_clawmodel[] = { "v_bloodyhands" }
  75. const zclass5_health = 1500
  76. const zclass5_speed = 325
  77. const Float:zclass5_gravity = 0.5
  78. const zclass5_adminflags = ADMIN_ALL
  79.  
  80. /*============================================================================*/
  81.  
  82. new g_zclass_tanker
  83.  
  84. // Zombie Classes MUST be registered on plugin_precache
  85. public plugin_precache()
  86. {
  87. register_plugin("[BB] Default Zombie Classes", "6.5", "Tirant")
  88.  
  89. // Register all classes
  90. bb_register_zombie_class(zclass1_name, zclass1_info, zclass1_model, zclass1_clawmodel, zclass1_health, zclass1_speed, zclass1_gravity, 0.0, zclass1_adminflags)
  91. bb_register_zombie_class(zclass2_name, zclass2_info, zclass2_model, zclass2_clawmodel, zclass2_health, zclass2_speed, zclass2_gravity, 0.0, zclass2_adminflags)
  92. bb_register_zombie_class(zclass3_name, zclass3_info, zclass3_model, zclass3_clawmodel, zclass3_health, zclass3_speed, zclass3_gravity, 0.0, zclass3_adminflags)
  93. 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)
  94. bb_register_zombie_class(zclass5_name, zclass5_info, zclass5_model, zclass5_clawmodel, zclass5_health, zclass5_speed, zclass5_gravity, 0.0, zclass5_adminflags)
  95. }
  96.  
  97. #if defined TANK_ARMOR
  98. public plugin_init()
  99. {
  100. RegisterHam(Ham_Spawn, "player", "ham_PlayerSpawn_Post", 1)
  101. }
  102.  
  103. public ham_PlayerSpawn_Post(id)
  104. {
  105. if (!is_user_alive(id))
  106. return ;
  107.  
  108. if (bb_is_user_zombie(id) && bb_get_user_zombie_class(id) == g_zclass_tanker)
  109. {
  110. give_item(id, "item_assaultsuit");
  111. cs_set_user_armor(id, TANK_ARMOR, CS_ARMOR_VESTHELM);
  112. }
  113. }
  114. #endif
  115.  

Szerző:  nestea [ 2013.09.09. 16:39 ]
Hozzászólás témája:  Re: BaseBuilder

Igen.

Szerző:  TysOn [ 2013.09.09. 16:40 ]
Hozzászólás témája:  Re: BaseBuilder

"Berakni ? FTP-n keresztül"
Ezt válasznak szántam. ;)

Szerző:  misu88 [ 2013.09.09. 17:07 ]
Hozzászólás témája:  Re: BaseBuilder

Ugye van az alap zombik sma-ja abban kell szerkeszteni vagyis beleirni uj zombikat. Ha az alapokat masolod ugy is lehet csak mas adatokkal/modellekel :)

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