questions about file names
Avatar

so... i started creating a few mods with the pdmod tool. i already made one or two simple texture mods. now i wanted to replace the "Raptor Polymer Body" for the AUG with the Standard Body, but i cant figure out which file these are. the closest i got is "wpn_fps_aug_body_aug.unit"

i know this is propably a completely noob question, but i hope you guys can help me :)

Replies
Avatar

You can't replace body using .pdmod. For this need lua script. I replace body using this script

if not tweak_data then return end

if not mycustomizer then
local tweak_factory = tweak_data.weapon.factory

tweak_factory.parts.wpn_fps_aug_body_f90.unit = "units/payday2/weapons/wpn_fps_ass_aug_pts/wpn_fps_aug_body_aug"
tweak_factory.parts.wpn_fps_aug_body_f90.third_unit = "units/payday2/weapons/wpn_third_ass_aug_pts/wpn_third_ass_aug_body_aug"

mycustomizer = true
end

Avatar
You can't replace body using .pdmod. For this need lua script. I replace body using this script

if not tweak_data then return end

if not mycustomizer then
local tweak_factory = tweak_data.weapon.factory

tweak_factory.parts.wpn_fps_aug_body_f90.unit = "units/payday2/weapons/wpn_fps_ass_aug_pts/wpn_fps_aug_body_aug"
tweak_factory.parts.wpn_fps_aug_body_f90.third_unit = "units/payday2/weapons/wpn_third_ass_aug_pts/wpn_third_ass_aug_body_aug"

mycustomizer = true
end
You can easily do it using a pdmod. But doing it through lua is much better ;)
Avatar

ok i managed to do it, thanks for the help guys!

53 996