This will unlock all of the Gage Pack DLC weapons and should also give you grenades if you activate it before the main menu screen.
Activate before the main menu and you will have grenades. After and you wont have grenades.
I recommend you put your DLC script unlock key to Space Bar.. it's code 0x20
Here's the cleaned up and finished version.
Code:
--dlc hack by OJ Simpson
function GenericDLCManager:has_dlc( dlc )
if dlc == "cce" then
dlc = "career_criminal_edition"
end
return true
end
--Gage Pack DLC weapons unlock
function GenericDLCManager:has_gage_pack()
return true
end
--Armored Transport DLC weapons unlock
function GenericDLCManager:has_armored_transport()
return true
end
--Community DLC weapons unlock
function GenericDLCManager:has_pd2_clan()
return true
end
--Buy Any Asset Hack by OJ Simpson
function AssetsItem:_return_asset_info( i )
local asset_cost = nil
if self._asset_locked[i] then
local can_unlock = true
if( ( Network:is_server() or managers.assets.ALLOW_CLIENTS_UNLOCK ) and can_unlock ) then
asset_cost = managers.money:get_mission_asset_cost_by_id( self._assets_names[i][4] )
else
asset_cost = true
end
end
return i, asset_cost
end
Grenade cases added. Hope you all like the script.
To buy grenade cases, hit your unlock key with the asset hack in it, then buy.
Can you show some proofs. I hope with this you can't get ban.
Originally Posted by MrJuhis
Can you show some proofs. I hope with this you can't get ban.
It wont get you banned more than any other script you've been running. If you want the proof then run the script yourself. You have full view of what you're putting into your game and there's nothing malicious in there.
Updated! Added Armored Transport weapons!
you will never get ban..anyway payday 2 dont have the VAC valve
working, just got the scar rifle thing :3
but some dlc mod are cant be used ...
can u add the mask ?
Originally Posted by uberhaxor14
working, just got the scar rifle thing :3
but some dlc mod are cant be used ...
can u add the mask ?
For masks, all you need is the usual masks unlocking scripts.
Code:
-- All weapon mods
for mod_id,_ in pairs(tweak_data.blackmarket.weapon_mods) do
tweak_data.blackmarket.weapon_mods[ mod_id ].unlocked = true
managers.blackmarket:add_to_inventory("normal", "weapon_mods", mod_id, false)
end
-- 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
im waiting for spawn grenade case..and infinite grenades,,anyway good work bro
Doesn't work, I can't buy the new guns.
Originally Posted by SheepyJr
Doesn't work, I can't buy the new guns.
Then you arent doing it right, cause it works for everybody else.
Originally Posted by ojsimpson
Then you arent doing it right, cause it works for everybody else.
I remade it and now it works for me.
Code:
--Career Criminal Edition DLC unlock
function GenericDLCManager:has_dlc( dlc )
if dlc == "cce" then
dlc = "career_criminal_edition"
end
return true
end
--Gage Pack DLC weapons unlock
function GenericDLCManager:has_gage_pack()
return true
end
--Armored Transport DLC weapons unlock
function GenericDLCManager:has_armored_transport()
return true
end
--All weapons unlock
local wep_arr = {
'new_m4', 'glock_17', 'mp9', 'r870', 'glock_18c', 'amcar', 'm16', 'olympic', 'ak74', 'akm', 'akmsu', 'saiga', 'ak5', 'aug', 'g36', 'p90', 'new_m14', 'deagle', 'new_mp5', 'colt_1911', 'mac10', 'serbu', 'huntsman', 'b92fs', 'new_raging_bull', 'saw', 'scar', 'ppk', 'mp7', 's552', 'm45', 'p226'
}
for i, name in ipairs(wep_arr) do
if not managers.upgrades:aquired(name) then
managers.upgrades:aquire(name)
end
end
--Buy Any Asset Hack
function AssetsItem:_return_asset_info( i )
local asset_cost = nil
if self._asset_locked[i] then
local can_unlock = true
if( ( Network:is_server() or managers.assets.ALLOW_CLIENTS_UNLOCK ) and can_unlock ) then
asset_cost = managers.money:get_mission_asset_cost_by_id( self._assets_names[i][4] )
else
asset_cost = true
end
end
return i, asset_cost
end
P.S. I'm using Pirate Perfection Trainer to get the DLC mods for weapons.
Originally Posted by SheepyJr
P.S. I'm using Pirate Perfection Trainer to get the DLC mods for weapons.
which uses my scripts for the DLC unlocks. Congrats! You're still using my scripts!
That's an old draft version modified by Pirate Captain.
Do you plan on making any new evil troll hacks?
Explosive cops is getting too old for me :/
Originally Posted by SheepyJr
Do you plan on making any new evil troll hacks?
Explosive cops is getting too old for me :/
only if anything interesting ever comes up. If you use the asset hack in the main post you can also buy assets as a client and not have to ask the host.
There's no fresh dumps of the Payday 2 source scripts but this game only has a limited amount of things to do. There isn't much else to do in payday 2.