Can someone make a script to unlock all the masks, maybe?
PatchedPayday 2 full release LUA hack.
you can add multiple lines to the script.lua, or start completely over.
say your .lua contains this
and you want to make it also change your deploy time, just add the line a space below, like this.
now your game will print "boner" on your screen and also change your deploy time.
---------- Post added at 06:06 PM ---------- Previous post was at 06:03 PM ----------
this should do the trick. add these lines or simply over wright he ones in your default script.lua
--add all masks
managers.blackmarket:_setup_masks()
for mask_id,_ in pairs(tweak_data.blackmarket.masks) do
Global.blackmarket_manager.masks[mask_id].unlocked = true
managers.blackmarket:add_to_inventory("normal", "masks", mask_id, false)
end
--All colors and materials
for i=1, 7 do
managers.lootdrop:debug_drop( 1000, true, i )
end
say your .lua contains this
Before
if managers.hud then
managers.hud:show_hint( { text = "boner" } )
end
managers.hud:show_hint( { text = "boner" } )
end
and you want to make it also change your deploy time, just add the line a space below, like this.
End result
if managers.hud then
managers.hud:show_hint( { text = "Boner" } )
end
PlayerManager.selected_equipment_deploy_timer = function(self) return 0 end
managers.hud:show_hint( { text = "Boner" } )
end
PlayerManager.selected_equipment_deploy_timer = function(self) return 0 end
now your game will print "boner" on your screen and also change your deploy time.
---------- Post added at 06:06 PM ---------- Previous post was at 06:03 PM ----------
this should do the trick. add these lines or simply over wright he ones in your default script.lua
--add all masks
managers.blackmarket:_setup_masks()
for mask_id,_ in pairs(tweak_data.blackmarket.masks) do
Global.blackmarket_manager.masks[mask_id].unlocked = true
managers.blackmarket:add_to_inventory("normal", "masks", mask_id, false)
end
--All colors and materials
for i=1, 7 do
managers.lootdrop:debug_drop( 1000, true, i )
end
Just follow the instructions.
1. place the .dll and script.lua inside your payday 2 folder
2. open up script.lua in some text editor (i use notpad++)
3. delete all the current code, and paste these lines.
4. Start a heist and press insert on your keyboard. now exit to the main menu and you should have all the masks and colors.
1. place the .dll and script.lua inside your payday 2 folder
2. open up script.lua in some text editor (i use notpad++)
3. delete all the current code, and paste these lines.
Paste these inside script.lua
--add all masks
managers.blackmarket:_setup_masks()
for mask_id,_ in pairs(tweak_data.blackmarket.masks) do
Global.blackmarket_manager.masks[mask_id].unlocked = true
managers.blackmarket:add_to_inventory("normal", "masks", mask_id, false)
end
--All colors and materials
for i=1, 7 do
managers.lootdrop:debug_drop( 1000, true, i )
end
managers.blackmarket:_setup_masks()
for mask_id,_ in pairs(tweak_data.blackmarket.masks) do
Global.blackmarket_manager.masks[mask_id].unlocked = true
managers.blackmarket:add_to_inventory("normal", "masks", mask_id, false)
end
--All colors and materials
for i=1, 7 do
managers.lootdrop:debug_drop( 1000, true, i )
end
4. Start a heist and press insert on your keyboard. now exit to the main menu and you should have all the masks and colors.
Ehmm.. I'm press Inster but i dont have a button with name "CLICK HERE FOR FREE POINTS"
That don't work or i not understand how to activate it. I just press instert and dont see that in debug menu.
xoxo - Atari
-- player instance
local player = managers.player
layer_unit()
--Print message on screen
if managers.hud then
managers.hud:show_hint( { text = "Atari - thank me later" } )
end
-- money and level
managers.experience:_set_current_level (100)
managers.skilltree:_set_points(1200)
managers.money:_add_to_total(1000000000)
-- player instance
local player = managers.player
layer_unit()--Print message on screen
if managers.hud then
managers.hud:show_hint( { text = "Atari - thank me later" } )
end
-- money and level
managers.experience:_set_current_level (100)
managers.skilltree:_set_points(1200)
managers.money:_add_to_total(1000000000)
I rename example script to script.lua, add your code to end of the script. Load game, start heist and press Insert, but dont see debug menu. What i need to do?
---------- Post added at 06:29 PM ---------- Previous post was at 06:25 PM ----------
My incapable brains start work, i did it! Thank you Atari.
---------- Post added at 06:29 PM ---------- Previous post was at 06:25 PM ----------
My incapable brains start work, i did it! Thank you Atari.
I just used the one from the example
The way it works is that when you press insert in middle of a mission it ends the mission and simulates 1000 card drops. You get masks, parts, weapon mods, and money as well. You only see one card drop at the end of the mission, but trust me. Go into your mask inventory and you'll see a whole load of masks and colors and patterns and stuff. It doesn't garauntee a drop for all, but after a couple hits you'll have most if not all of the available.
You can change the 1000 to a different number, but I crashed when I changed it to 100000, so be careful
Code:
for i=1, 7 do
managers.lootdrop:debug_drop( 1000, true, i )
end
game_state_machine:change_state_by_name( "victoryscreen", {
num_winners = 2, personal_win = alive( managers.player:player_unit()
) } )
You can change the 1000 to a different number, but I crashed when I changed it to 100000, so be careful

Does any of this work online or no?
Just an alert for everyone
Payday 2 just updated

Payday 2 just updated

Any Idea on if this would be detecable for bans?
This thread is closed for replies.

