Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not screwyourlongdeags then
- if not tweak_data then return end
- -- create a new weapon part with no stats, we'll use it later
- tweak_data.weapon.factory.parts.dummy_overkill = {
- pc = 40,
- type = "slide",
- -- the original compensator is a barrel_ext, but deagle silencers won't attach to those
- name_id = "bm_wp_deagle_co_long",
- a_obj = "a_co",
- unit = "units/payday2/weapons/wpn_fps_pis_deagle_pts/wpn_fps_pis_deagle_co_long",
- third_unit = "units/payday2/weapons/wpn_third_pis_deagle_pts/wpn_third_pis_deagle_co_long"
- }
- -- the long barrel is a slide part, so we change it to look like the original slide...
- tweak_data.weapon.factory.parts.wpn_fps_pis_deagle_b_long.unit = "units/payday2/weapons/wpn_fps_pis_deagle_pts/wpn_fps_pis_deagle_b_standard"
- tweak_data.weapon.factory.parts.wpn_fps_pis_deagle_b_long.third_unit = "units/payday2/weapons/wpn_third_pis_deagle_pts/wpn_third_pis_deagle_b_standard"
- -- ...and then add the new weapon part we created above
- tweak_data.weapon.factory.parts.wpn_fps_pis_deagle_b_long.adds = { "dummy_overkill" }
- screwyourlongdeags = true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement