Originally Posted by
2500mar
Hey man. I can see you are the most ultimate awesome code/lua guy ever.
Do you know exactly how to remove all mask customization (like materials, color, patterns)?
I hacked loot card to drop 5000 times, mostly for weapon attachments, but I got a bunch of these which I really want OUT. Also, I want them out for the sake of anti-ban
Hello, this is a script to remove all masks, textures, colors and materials. Script removes even those you acquired legitimately so craft all the masks you want to keep first!
Code:
if managers.hud then
managers.hud:show_hint( { text = "Executed script.lua" } )
for i=1, 1000 do
for mat_id,_ in pairs(tweak_data.blackmarket.masks) do
managers.blackmarket:remove_item("normal", "masks", mat_id, false)
managers.blackmarket:remove_item("infamous", "masks", mat_id, false)
end
for mat_id,_ in pairs(tweak_data.blackmarket.materials) do
managers.blackmarket:remove_item("normal", "materials", mat_id, false)
managers.blackmarket:remove_item("infamous", "materials", mat_id, false)
end
for mat_id,_ in pairs(tweak_data.blackmarket.textures) do
managers.blackmarket:remove_item("normal", "textures", mat_id, false)
managers.blackmarket:remove_item("infamous", "textures", mat_id, false)
end
for mat_id,_ in pairs(tweak_data.blackmarke*****lors) do
managers.blackmarket:remove_item("normal", "colors", mat_id, false)
managers.blackmarket:remove_item("infamous", "colors", mat_id, false)
end
end
end
Also keep in mind this script removes 1000 copies, so if you have more (you used some script a lot) run this script several times.
Originally Posted by
MeisterJaeger
How can I remove skillpoints that I added with script?
Respec your skill trees, fill them as you wish but dont get past the number of skill points you would have had on your level. Then simply use a script to set your free skill points to 0.