Test page


Levels Weapons Menu

Description:
  • This plugin based on our Levels System. Every new Level player will be able to get new guns. Player need to Gain XP to Grow up in Level and then he can Unlock more Weapons. This is a Pro-Edition that highly coded.
Cvars:
  • ze_buy_time 60 Menu buy time?
  • ze_give_HE_nade 1 Give Fire Nade? 0 = Disable | 1 = Enable
  • ze_give_SM_nade 1 Give Frost Nade? 0 = Disable | 1 = Enable
  • ze_give_FB_nade 1 Give Another Frost Nade? 0 = Disable | 1 = Enable
  • ze_block_weapons_lowlvl 1 Block player from picking up high levels weapons? 0 = Allow | 1 = Block
Client Commands:
  • say /enable or say_team /enable Re-Enable Menu if you use Remember choice.
  • guns Write in console this will get you the guns menu if the buy time not elapsed yet.
Installation & Instructions:
  • Delete the old weapons_menu Then Add this new one.
  • Open your zombie_escape.ini and delete these lines:

    1. [Weapons Menu]
    2. PRIMARY = weapon_m4a1 , weapon_ak47 , weapon_aug , weapon_sg552 , weapon_galil , weapon_famas , weapon_scout , weapon_awp , weapon_sg550 , weapon_m249 , weapon_g3sg1 , weapon_ump45 , weapon_mp5navy , weapon_m3 , weapon_xm1014 , weapon_tmp , weapon_mac10 , weapon_p90
    3. SECONDARY = weapon_usp , weapon_glock18 , weapon_deagle , weapon_p228 , weapon_elite , weapon_fiveseven
  • How to edit Levels Weapons? Simply you can do this from zombie_escape.ini or from the source code you are free. So how to do it?
    You need only to change the Weapons position. So i'll give you example This:

    1. PRIMARY = weapon_xm1014 , weapon_ump45 , weapon_m3 , weapon_mp5navy , weapon_p90 , weapon_galil , weapon_famas , weapon_sg550 , weapon_g3sg1 , weapon_m249 , weapon_sg552 , weapon_aug , weapon_m4a1 , weapon_ak47
    2. SECONDARY = weapon_usp , weapon_p228 , weapon_glock18 , weapon_fiveseven , weapon_deagle , weapon_elite

    Mean:

    1. weapon_xm1014 // Level 0
    2. weapon_ump45 // Level 0
    3. weapon_m3 // Level 1
    4. weapon_mp5navy // Level 2
    5. weapon_p90 // Level 3
    6. weapon_galil // Level 4
    7. weapon_famas // Level 5
    8. weapon_sg550 // Level 6
    9. weapon_g3sg1 // Level 7
    10. weapon_m249 // Level 8
    11. weapon_sg552 // Level 9
    12. weapon_aug // Level 10
    13. weapon_m4a1 // Level 11
    14. weapon_ak47 // Level 12
    15. weapon_usp // Level 0
    16. weapon_p228 // Level 0
    17. weapon_glock18 // Level 1
    18. weapon_fiveseven // Level 2
    19. weapon_deagle // Level 3
    20. weapon_elite // Level 4

    So change the position of weapons to edit it.
  • Weapons Names & Max BP Ammo can be changed only from The source code:

    1. // Primary and Secondary Weapons Names [Default Values]
    2. new const szWeaponNames[][] =
    3. {
    4. "",
    5. "P228",
    6. "",
    7. "Scout",
    8. "HE Grenade",
    9. "XM1014",
    10. "",
    11. "MAC-10",
    12. "AUG",
    13. "Smoke Grenade",
    14. "Dual Elite",
    15. "Five Seven",
    16. "UMP 45",
    17. "SG-550",
    18. "Galil",
    19. "Famas",
    20. "USP",
    21. "Glock",
    22. "AWP",
    23. "MP5",
    24. "M249",
    25. "M3",
    26. "M4A1",
    27. "TMP",
    28. "G3SG1",
    29. "Flashbang",
    30. "Desert Eagle",
    31. "SG-552",
    32. "AK-47",
    33. "",
    34. "P90"
    35. }
    36. // Max Back Clip Ammo (Change it From here if you need)
    37. new const szMaxBPAmmo[] =
    38. {
    39. -1,
    40. 52,
    41. -1,
    42. 90,
    43. 1,
    44. 32,
    45. 1,
    46. 100,
    47. 90,
    48. 1,
    49. 120,
    50. 100,
    51. 100,
    52. 90,
    53. 90,
    54. 90,
    55. 100,
    56. 120,
    57. 30,
    58. 120,
    59. 200,
    60. 32,
    61. 90,
    62. 120,
    63. 90,
    64. 2,
    65. 35,
    66. 90,
    67. 90,
    68. -1,
    69. 100
    70. }
  • This system works like, In the first level that it's the 0 level player will see in the menu 2 Primary Weapons and 2 Secondary Weapons and every next level he will unlock another 1 Primary and 1 Secondary and every time the old weapons will be displayed also in the menu. If you don't like this system and need special one just post down here and i'll make it like your needs. I don't need to explain how it done as it need that you should understand the code first so for minimize the efforts just let me do it for you :).
Changelog:
  • Spoiler!
Screenshots:
  • ImageImageImageImage
  • ImageImageImageImage
Downloads:
Last edited by Raheem on 02 Aug 2018, 11:43, edited 1 time in total.


31/03/2020 - Written by: PaTaTyu