Buyable/Removable Perk Slots

Version: 1.0.0

Report a Bug

Note:

If you are to make a tutorial with my content you must link this original post. You cannot repost the DL link to any other site (incuding YouTube). If you use my work please give me credit. You giving credit motivates me to help the community! :)

Description This script allows you to add as many buyable/free perk slot triggers as you would like in your map. You can also add a buyable/free last perk removal trigger.
Instructions
  1. Drag the folders into your root directory.
  2. Open your mapname.gsc located in usermaps>zm_mapname>scripts>zm and add this to your mapname.gsc:

    Underneath:
    function main()
    {

    Also add this to your mapname.gsc:

    Underneath:
    #using scripts\zm\zm_usermap;
  3. Open your maps zone file located in usermaps\zm_test\zone_source and add these lines:
  4. Add a trigger>use in your map with the following KVPs:

    • use this targetname if you want a buyable perk slot:
      targetname - buyable_perk_slot
    • use this targetname if you want a removable perk_slot_trigger:
      targetname - removable_perk
    • if you dont want a cost then you dont have to add this KVP:
      zombie_cost - cost_you_want
  5. Compile and you are done!
Updates
  • Jan 3 2017: Released