Advertisement
Guest User

sick 1deags

a guest
Jan 16th, 2015
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. if not screwyourlongdeags then
  2. if not tweak_data then return end
  3.  
  4. -- create a new weapon part with no stats, we'll use it later
  5. tweak_data.weapon.factory.parts.dummy_overkill = {
  6. pc = 40,
  7. type = "slide",
  8. -- the original compensator is a barrel_ext, but deagle silencers won't attach to those
  9. name_id = "bm_wp_deagle_co_long",
  10. a_obj = "a_co",
  11. unit = "units/payday2/weapons/wpn_fps_pis_deagle_pts/wpn_fps_pis_deagle_co_long",
  12. third_unit = "units/payday2/weapons/wpn_third_pis_deagle_pts/wpn_third_pis_deagle_co_long"
  13. }
  14.  
  15. -- the long barrel is a slide part, so we change it to look like the original slide...
  16. 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"
  17. 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"
  18.  
  19. -- ...and then add the new weapon part we created above
  20. tweak_data.weapon.factory.parts.wpn_fps_pis_deagle_b_long.adds = { "dummy_overkill" }
  21.  
  22. screwyourlongdeags = true
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement