Replace a player clothes with NPC garment that requires blender editing
Replace your clothes with an NPC's that requires blender editing.
This tutorial will teach you how to swap player's clothing items with NPC's that requires blender editing.
Without mesh editing, some NPC meshes will clip quite badly, because they don't have as many poses and animations as V. Some are even worse, since they'll be flying around rather than following V's movements.
In this guide, we'll fix up a coat by transferring weights from a different item. Prerequisites: - Blender 3.1 *Required* 3.6 *recommended* - Cyberpunk Blender Addon - Wolvenkit
Step 1: Finding a player item of the same size
Prerequisite: you have the mesh that you want to fix already in your project. For this tutorial, we'll want Maman Brigitte's jacket: t2_001_wa_jacket__maman_brigitte.mesh
For female body gender, search for
_pwa_
For male body gender, search for
_pma_
Export both meshes
Step 2: Import Meshes in Blender
Open Blender
delete the standard objects from the scene (Shortcut: A -> X)
Import the player mesh (File -> Import -> Cyberpunk GLTF)
Import the NPC mesh
Step 3: Editing meshes in Blender
Delete or hide the NPC item's armature
Delete the NPC item's armature modifier (or make sure that it points at the player item's armature)
Step 3.1: Weight transfer
Repeat the process for each submesh.
If you don't have the same number of submeshes, you can simply use the "biggest" mesh you have (e.g. the coat's base mesh rather than the seams)
Select the player item's mesh
Select the NPC item's mesh
Switch to Weight Paint mode in the dropdown on the top left of your viewport
Select "Transfer Weights". Use the settings from the second screenshot.
Make sure that the NPC mesh's armature modifier is targeting the player armature:
Make sure that you select Object Mode while adding modifiers.
Step 4: Exporting your edit and importing it to project
Select all submeshes under the NPC's armature
Use the Wolvenkit Blender plugin to export them over the player item's mesh (overwrite it)
Switch to Wolvenkit
Import the player item's mesh via Import Tool
Optional: copy the NPC's appearances, materials and material definitions to the player mesh
Optional: rename the appearances to match those in the original player item
Sometimes you will need to do a bit more of editing but that is not a topic for this tutorial.
Step 5: Success!
Now you have functional clothing attached to the player and not flying arround.
If you have any questions about modding join discord server and we will help you out.
Last updated