Results 1 to 4 of 4
  1. #1
    Payday 2 King's Avatar
    Join Date
    Feb 2018
    Gender
    male
    Posts
    0
    Reputation
    10
    Thanks
    108
    My Mood
    Sneaky

    Cool Extra Items Mod - Carry More Than One Keycard - By Kwhali AKA Polarathene

    This is in no way my own mod, it was made by Kwhali or Polarathene as he is known as in the modding scene. Just releasing it here since he never released this wonderful mod. This is a interesting Lua Script mod that I ran across on Reddit here: https://www.reddi*****m/r/paydaythehe...arry_multiple/

    What it does essentially is lets you set how many keycards you can pickup and lets you pickup more than one. I always found it annoying and tedious that I could not pickup more than one keycard. I usually play solo so it was really time consuming trying to find all of the keycards I didn't pickup. It is ridiculous that you cannot have more than one keycard, so this mod changes this. If you want to change the max number of keycards that you can carry just edit the .lua script with Notepad++, on line 10 change the max=9 to whatever number you want. You can even set it so that you always have a keycard by setting the current=0 to 1.

    The Keybind part of the mod lets you carry more special items and equipment. Same as before, you can set the maximum number of equipment and special items you can carry. You must edit the .lua script with Notepad++, on line 4 change the max=9 to whatever number you want. I wouldn't advise changing the current=0, since this applies to all equipment and special items. It might crash the game since the game doesn't know what special item to give to you at the start of the heist.

    Lua Script By Kwhali:
    Code:
    1.    BKIN_ExtraItems = BKIN_ExtraItems or class()
    2.
    3.    if not BKIN_ExtraItems.ready then
    4.        BKIN_ExtraItems.ready = true
    5.
    6.        --Config for your items, current should always be 0, max whatever max you want.
    7.        --Find values at EquipmentsTweakData/tweak_data.equipment and use any in the specials
    8.        --table.
    9.        managers.player._special_item = {
    10.            bank_manager_key = { current = 0, max = 9 }
    11.        }
    12.
    13.
    14.        --Hooks
    15.        BKIN_ExtraItems.orig__PlayerManager = {
    16.            add_special = PlayerManager.add_special,
    17.            remove_special = PlayerManager.remove_special,
    18.            can_pickup_equipment = PlayerManager.can_pickup_equipment
    19.        }
    20.
    21.        --Any added after the 1st one will increase counter and skip the rest of the code
    22.        function PlayerManager.add_special(self, params)
    23.            local name = params.equipment or params.name
    24.            local special_item = self._special_item[name]
    25.            if special_item and special_item.current < special_item.max then
    26.                self._special_item[name].current = special_item.current + 1
    27.                if special_item.current > 1 then log("more than 1") return end
    28.            end
    29.
    30.            BKIN_ExtraItems.orig__PlayerManager.add_special(self, params)
    31.        end
    32.
    33.        --If you have more than one it'll just decrease the counter and not run the rest
    34.        function PlayerManager.remove_special(self, name)
    35.            local special_item = self._special_item[name]
    36.            if special_item and special_item.current > 1 then
    37.                self._special_item[name].current = special_item.current - 1
    38.                return
    39.            end
    40.
    41.            BKIN_ExtraItems.orig__PlayerManager.remove_special(self, name)
    42.        end
    43.
    44.        --This allows you to pickup more than one
    45.        function PlayerManager.can_pickup_equipment(self, name)
    46.            local special_item = self._special_item[name]
    47.            if special_item and special_item.current < special_item.max then
    48.                 return true
    49.            end
    50.
    51.            return BKIN_ExtraItems.orig__PlayerManager.can_pickup_equipment(self, name)
    52.        end
    53.    end
    Keybind Lua Script By Kwhali:
    Code:
    1. --Adds one of everything (note some items impact movement speed preventing running)
    2. managers.player._special_item = {}
    3. for key, _ in pairs(tweak_data.equipments.specials) do
    4.	managers.player._special_item[key] = {current = 0, max = 9}
    5. end
    6. for key, _ in pairs(managers.player._special_item) do
    7.	managers.player:add_special({name = key})
    8. end
    mod.txt by Kwhali:
    Code:
    {
        "name": "BKIN Extra Items",
        "description": "Increase how many items like keycards you can hold.",
        "author": "Polarathene",
        "contact": "no@suppor*****m",
        "version": "0.1",
        "updates": [
            {
                "revision": 1,
                "identifier": "bkin-extraitems"
            }
        ],
        "persist_scripts" : [
            {
                "global" : "bkin_extraitems",
                "script_path" : "lua/bkin_extraitems.lua"
            }
        ]
    }
    If you have no experience in setting up .lua mods then you can download the mod from the attachment below. To install the mod just drop the bkin_extraitems folder into your mods directory located in the main directory of Payday 2, Enjoy!
    <b>Downloadable Files</b> Downloadable Files

  2. The Following 70 Users Say Thank You to Payday 2 King For This Useful Post:

    0000000nowhere (01-25-2019),13uttv1rg1n (07-31-2019),234yuwsnjuhw3 (06-16-2019),AmoksharkFTR (09-15-2018),Arraiallindo (05-26-2018),Arvard (11-01-2018),asg4323t12 (06-16-2019),bankguza159 (07-13-2019),ben010208 (09-11-2019),blacknyellow962 (06-20-2020),Bobo122 (08-13-2019),Boogaloo231 (08-17-2019),Bunnyhop_ (11-14-2018),canteristu (05-25-2018),Dan8675309 (01-04-2021),Deimos_marine (08-16-2020),djent3 (08-23-2021),DOOTDOOT88 (02-28-2021),eooc (02-21-2020),EtrixoL (05-26-2019),F5555555 (09-19-2020),falconLins (08-21-2019),febefebson (04-18-2020),ferreci (12-08-2019),francolary (05-30-2020),FreakOne (06-28-2018),ggggggggjjfjfgfh (09-20-2018),grunglefuq (08-28-2018),haruven (12-23-2019),HorribleHawk16 (08-04-2019),HYPERDRYVO (06-29-2019),iamnotherem (05-02-2022),imotfnir (11-18-2018),itzbally (07-25-2018),jgcrimson (07-08-2020),JoKeR_VIKING (08-13-2020),june5418186 (10-30-2022),jungleking (03-19-2018),K7mit (07-25-2020),Kanii (01-13-2021),kapac (12-04-2019),Loki1150 (06-11-2020),Malavidorra (04-01-2018),malkistenak (07-09-2019),Mardoro (09-25-2020),Mathtz (06-11-2019),MIxasss (02-25-2019),modpayday (02-28-2020),moonmirror (07-15-2018),mrsmileymace (02-01-2019),nightrock (05-12-2021),omgftw (07-02-2020),Qmxhbms1 (08-04-2020),ReconseptionYT (01-12-2020),rip sad zato (06-30-2018),roccodippo69 (09-13-2018),scarface650 (05-14-2018),Shwiftybb (05-13-2019),SkyLoli007 (04-11-2019),Sovietwestern (08-26-2020),suehoh (08-24-2018),thanann (11-28-2020),thefableking (11-01-2019),ThorvaldSpear (11-23-2019),Turkish_Beast99 (08-03-2018),Utkunick9 (07-14-2019),Woolfic102 (08-04-2020),XfilesXXXX (05-06-2019),Zorombeta (07-15-2020),ZuDoTeKa (09-04-2020)

  3. #2
    T-800's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Location
    Romania
    Posts
    17,076
    Reputation
    1688
    Thanks
    84,838
    //Approved

    "Never stop being a good person because of bad people"


    Super User -> 15-7-2020
    Global Moderator -> 23-3-2019 - 15-7-2020
    Steam Moderator -> 12-12-2017 - 23-3-2019
    Steam Minion+ -> 09-04-2017 - 12-12-2017
    Steam Minion -> 03-01-2017 - 09-04-2017


  4. #3
    diegocapo123gol's Avatar
    Join Date
    Aug 2020
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Maybe a bit to late but, it doesnt work at First World Bank doing stealth

  5. #4
    Kanii's Avatar
    Join Date
    Jan 2021
    Gender
    female
    Posts
    1
    Reputation
    10
    Thanks
    0

    Keycards despawn

    The script doesn't properly work, when you pick up a keycard use it and pick up another one it despawn from your inventory.

Similar Threads

  1. [FSOD] How To Get More Than One Item From Mystery Box [Correct Way]
    By LOGM in forum Realm of the Mad God Private Servers Tutorials/Source Code
    Replies: 7
    Last Post: 12-20-2016, 01:40 PM
  2. [Info] How to Stock more than one items.
    By jowprinz in forum Adventure Quest Worlds (AQW) Hacks / Cheats / Trainers
    Replies: 1
    Last Post: 05-20-2013, 08:28 AM
  3. Using more than one mod
    By D4rkVizard in forum Call of Duty Modern Warfare 2 Private Servers
    Replies: 1
    Last Post: 06-15-2010, 05:41 PM
  4. [Tutorial]How to make the infamous aimbot last more than one game[Vista]
    By kimodragon in forum Combat Arms Discussions
    Replies: 60
    Last Post: 09-06-2009, 09:04 PM
  5. How to get HeadShot.exe aimbot to work more than one game /w chams
    By mshjr in forum Combat Arms Hacks & Cheats
    Replies: 77
    Last Post: 08-18-2009, 08:59 PM

Tags for this Thread