Weird, my script works fine but when I put all of these at the end of the script it doesn't work anymore. Any suggestions?
Masks:
Materials:Code:rubber_male (Mr. Mannequin): desc_id: bm_msk_rubber_male_desc value: 3 name_id: bm_msk_rubber_male unit: units/payday2/masks/msk_rubber_male/msk_rubber_male rubber_female (Mrs. Mannequin): desc_id: bm_msk_rubber_female_desc value: 3 name_id: bm_msk_rubber_female unit: units/payday2/masks/msk_rubber_female/msk_rubber_female irondoom (Doctor Crime): desc_id: bm_msk_irondoom_desc value: 3 name_id: bm_msk_irondoom unit: units/payday2/masks/msk_irondoom/msk_irondoom kawaii (Kawaii): desc_id: bm_msk_kawaii_desc value: 3 name_id: bm_msk_kawaii unit: units/payday2/masks/msk_kawaii/msk_kawaii
Patterns:Code:hot_cold (Hot and Cold): value: 5 texture: units/payday2/matcaps/matcap_hot_cold_df name_id: bm_mtl_hot_cold chrome_purple (Chrome Purple): value: 5 texture: units/payday2/matcaps/matcap_chrome_purple_df name_id: bm_mtl_chrome_purple candy (Candy): value: 5 texture: units/payday2/matcaps/matcap_candy_df name_id: bm_mtl_candy orchish (Orcish): value: 5 texture: units/payday2/matcaps/matcap_orcish_df name_id: bm_mtl_orchish
Edit: Added names for each mask/material/pattern.Code:yggdrasil (Yggdrasil): value: 4 texture: units/payday2/masks/shared_textures/patterns/pattern_yggdrasil_df name_id: bm_txt_yggdrasil poison (Poison): value: 4 texture: units/payday2/masks/shared_textures/patterns/pattern_poison_df name_id: bm_txt_poison hellish (Hellish): value: 4 texture: units/payday2/masks/shared_textures/patterns/pattern_hellish_df name_id: bm_txt_hellish cracker (Cracker): value: 4 texture: units/payday2/masks/shared_textures/patterns/pattern_cracker_df name_id: bm_txt_cracker
Last edited by dougbenham; 09-15-2013 at 04:38 AM.
Weird, my script works fine but when I put all of these at the end of the script it doesn't work anymore. Any suggestions?
Lol well then what should I do sir?
https://www.mpgh.net/forum/754-payday...-snippets.html
Search main post for 'Masks, materials, textures, colors, weapon mods'.
Right, I looked and put the code in for "give items" but I am not sure where to place the code for specific masks, material, and color
Doug why dont you copy and paste the code to get all the new stuff? Like copying and pasteing the code that you gave right into notepadd ++ and trying to turn them does not work so can you write it out and put it up if you can?
I don´t know too how to unlock this xD
I did that:
But doesn´t workCode:local masks = {} masks["kawaii"] = 'infamous' managers.blackmarket:_setup_masks() for name,quality in pairs(masks) do Global.blackmarket_manager.masks[ name ].unlocked = true managers.blackmarket:add_to_inventory( quality, "masks", name, false ) end
Last edited by Zhero; 09-15-2013 at 03:56 AM.
The code that I have in my main thread will unlock ALL available masks, materials, colors, etc. You don't need to put in the specifics. This thread is simply a dump of the new masks/materials/patterns. The average user does not need to pay attention to this thread at all..
Added names for each mask/material/pattern.
Last edited by dougbenham; 09-15-2013 at 04:39 AM.
local masks = {}
masks["rubber_male"] = 'infamous'
masks["irondoom"] = 'infamous'
masks["rubber_female"] = 'infamous'
managers.blackmarket:_setup_masks()
for name,quality in pairs(masks) do
Global.blackmarket_manager.masks[ name ].unlocked = true
managers.blackmarket:add_to_inventory( quality, "masks", name, false )
end
This works perfectly for me.