Repository navigation
Adding Skin
This guide covers three cases:
- Standalone - regular (non-Iconic) weapon skin with custom meshes
- Standalone - Iconic - skin for a specific NPC Iconic weapon
- Addon - variant that reuses existing assets (no custom meshes)
SkinChanger has no registration step. It scans TweakDB on every inventory open and groups weapon presets automatically by family token. If your record is named correctly and has a valid appearanceResourceName, it will appear in the popup.
SkinChanger identifies skin variants by parsing the TweakDB record name. The format is different for regular vs Iconic weapons.
Regular weapon skin - 3 parts:
Items.Preset_Nue_MySkin
[0] [1] [2]
Preset Family YourName
Iconic weapon skin - 4 parts:
Items.Preset_Liberty_Kongou_MySkin
[0] [1] [2] [3+]
Preset Family Weapon YourSuffix
For regular weapons, SkinChanger reads the family token at position [1] and groups all records that share it. Items.Preset_Nue_MySkin is grouped with Items.Preset_Nue_Default because both have Nue at position [1]. The prefix Items.Preset_Nue_ is mandatory - without it the mod cannot identify which weapon family the skin belongs to.
For Iconic weapons, SkinChanger reads the weapon token at position [2] and only matches records where it exactly equals the source weapon's token. Items.Preset_Liberty_Kongou_MySkin appears only for Kongou because position [2] is Kongou.
The IconicWeapon tag separates the two lists. Regular variants must NOT have it. Iconic variants must have it. This tag is inherited from $base automatically - if $base is a _Default record, no tag. If $base is an Iconic record like Items.Preset_Liberty_Kongou, the tag is inherited. This is why $base controls both the stats and which popup the skin appears in.
A complete standalone mod with custom mesh and texture.
Cyberpunk 2077/
archive/pc/mod/
my_liberty_skin.archive <- meshes, textures, .app, factory CSV
r6/tweaks/
my_liberty_skin/
my_liberty_skin.yaml <- TweakDB preset
The record name must follow the pattern Items.Preset_{Family}_{YourName} where {Family} exactly matches the family token of the target weapon.
Examples:
- For Nue:
Items.Preset_Nue_MySkin - For Liberty:
Items.Preset_Liberty_MySkin - For Unity:
Items.Preset_Unity_MySkin - For Carnage:
Items.Preset_Carnage_MySkin
How to find the family token: look up the weapon's default record in TweakDB Explorer. The token is the second underscore-segment of the record name. Items.Preset_Liberty_Default -> family token is Liberty.
If you name your record incorrectly (e.g. Items.MySkin_Liberty) SkinChanger will not find it.
File: r6/tweaks/my_liberty_skin/my_liberty_skin.yaml
Items.Preset_Liberty_MySkin:
$base: Items.Preset_Liberty_Default
appearanceResourceName: my_liberty_skin_app
hudIcon:
atlasResourcePath: base\your_mod\textures\hud_icon.inkatlas
atlasPartName: slot_01
icon:
atlasResourcePath: base\your_mod\textures\icon.inkatlas
atlasPartName: slot_01Nuances:
-
$basemust point to the weapon's_Defaultrecord, NOT the player V version (_Player). Using_Playerbreaks inventory handling. -
appearanceResourceNameis a string key used to look up your.appin the factory CSV. It must be globally unique across all mods - prefix it with your mod name to avoid conflicts. - Do NOT override
quality,statModifiers, or any combat stats. You only needappearanceResourceNameand icons.
Inside your .archive, include a factory CSV at:
base\gameplay\factories\my_liberty_skin.csv
Content:
Factory
my_liberty_skin_app,base\your_mod\gameplay\weapons\my_liberty_skin.app
First column = appearanceResourceName value from your YAML.
Second column = path to your .app file inside the archive.
Nuances:
- The
Factoryheader line is required. - Path separator is backslash.
- The key in column 1 must exactly match the value in
appearanceResourceName.
What the .app file is: the appearances file defines what a weapon entity looks like. It contains an array of named appearances, each listing a set of components (meshes, FX, lights, attachments). When the game spawns your weapon, it loads this file and applies one of the appearances.
How to find the right vanilla .app to duplicate:
Option 1 - from TweakDB: find the weapon's entity record, e.g. Items.Preset_Liberty_Default. It has an entityID field pointing to an .ent file. Open that .ent in WolvenKit. The .ent references an .app file in its appearances array - that is your entity-level .app.
Option 2 - browse directly in WolvenKit asset browser. Weapon .app files are under:
base\weapons\ranged\{weapon_type}\{weapon_name}\entities\appearances\
e.g. base\weapons\ranged\pistol\poverty_pistol\entities\appearances\poverty_pistol__basic_01.app
Two types of .app - use the right one:
-
Entity-level .app - referenced directly by the
.entfile. Contains all components for the full weapon. This is what you need. -
Part .app - referenced by components inside the entity-level
.appfor sub-parts (barrel, grip, scope). Do NOT use this as yourappearanceResourceNametarget. Using a per-part.appas an entity-level one results in an invisible weapon with no error in the log.
How to edit the .app in WolvenKit:
- Duplicate the entity-level
.appfrom the vanilla game. - Open it. You will see an
appearancesarray. Expand the first (or only) entry. - Inside each appearance there is a
componentsarray. Each component has atypevisible in the left column. - Find components of type
entMeshComponentorentSkinnedMeshComponent- these hold the actual geometry. - In each mesh component, the
meshfield holds the.meshfile path. Replace it with the path to your custom mesh inside your archive. - Leave all other components (FX, collision, audio, attachment points) untouched.
Which mesh components to replace: it depends on the weapon. For most pistols, the main body parts are at component indices 7, 9, 10, 12, 18, 21. But do not guess - open the vanilla .app, expand the components array and look at the mesh paths to identify which components hold which parts.
Nuances:
- Do not delete components. Only replace the
meshpath. Deleting components breaks the skeleton, attachment chain, and can crash the scene. - Your custom
.meshfile must be packed in the same archive as the.app. - The
.meshfile references.mimaterial instance files. Pack those too, or point them to vanilla material paths if you are only changing geometry.
You need two .inkatlas files:
- hudIcon - grayscale silhouette. Used in the weapon wheel HUD.
- icon - full-color inventory card image.
The game reads hudIcon for both the HUD and the popup grid in SkinChanger. If hudIcon is missing or wrong, the slot appears blank.
Both .inkatlas files reference an .xbm texture. The atlasPartName must match a named slot defined inside the .inkatlas.
Each NPC Iconic weapon is a separate TweakDB record with its own tier, damage multipliers, and unique perks baked in. These are not stats you can copy or override - they are part of the record definition.
Because of this, each Iconic weapon you want to support needs its own YAML entry with $base pointing to that specific Iconic record.
When you use $base: Items.Preset_Liberty_Kongou:
- Your record inherits Kongou's tier (Tier 4+)
- Your record inherits Kongou's perk (+150% headshot multiplier, etc.)
- Your record inherits the
IconicWeapontag - this is how SkinChanger knows it's an Iconic variant - The swap engine gives the player a new item that IS a Kongou, just with a different appearance
If you used $base: Items.Preset_Nue_Default instead, the result would be a standard non-Iconic Nue - wrong tier, no perks, and it would show up in the regular weapon popup, not the Iconic one.
Items.Preset_Liberty_Kongou_MySkin
^^^^^^
position [2] must match the weapon exactly
SkinChanger extracts the token at position [2] from the source weapon name and looks for records where position [2] matches. If you name your record Items.Preset_Liberty_KongouSkin (no separate suffix), SkinChanger reads position [2] as KongouSkin - it will not match.
The format must be: Items.Preset_{Family}_{IconicName}_{YourSuffix}
# Skin for Kongou
Items.Preset_Liberty_Kongou_MySkin:
$base: Items.Preset_Liberty_Kongou
appearanceResourceName: my_kongou_skin_app
hudIcon:
atlasResourcePath: base\your_mod\textures\hud.inkatlas
atlasPartName: slot_01
icon:
atlasResourcePath: base\your_mod\textures\icon.inkatlas
atlasPartName: slot_01
# If you also want to support Seraph - separate entry required
Items.Preset_Liberty_Seraph_MySkin:
$base: Items.Preset_Liberty_Seraph
appearanceResourceName: my_kongou_skin_app # can reuse same .app if mesh fits
hudIcon:
atlasResourcePath: base\your_mod\textures\hud.inkatlas
atlasPartName: slot_01
icon:
atlasResourcePath: base\your_mod\textures\icon.inkatlas
atlasPartName: slot_01Do not extend one Iconic record but name the entry after another:
# WRONG - name says Seraph but $base is Kongou
# Will NOT appear in Seraph's popup
# Swap gives Kongou tier and abilities, not Seraph
Items.Preset_Liberty_Seraph_MySkin:
$base: Items.Preset_Liberty_KongouDo not extend _Default for an Iconic skin:
# WRONG - inherits no IconicWeapon tag, shows in regular popup, drops tier
Items.Preset_Liberty_Kongou_MySkin:
$base: Items.Preset_Nue_DefaultSame process as regular weapon. The .app structure is the same - duplicate the vanilla Iconic weapon's .app and replace mesh references.
Note: Kongou and Seraph share the Nue model family but may have different component layouts. Always check the specific Iconic weapon's .app in WolvenKit before making replacements.
An addon adds new skin variants without shipping custom 3D assets.
There are two sub-cases:
Case A - YAML only (no WolvenKit needed)
If an .app with the appearance you want already exists in the game or in another installed mod, and its appearanceResourceName is already registered in a factory CSV, you only need a YAML file. No archive, no WolvenKit.
Set appearanceResourceName to the existing key:
Items.Preset_Liberty_MyAddonSkin:
$base: Items.Preset_Liberty_Default
appearanceResourceName: existing_appearance_key_from_another_mod
hudIcon:
atlasResourcePath: base\your_mod\textures\hud.inkatlas
atlasPartName: slot_01
icon:
atlasResourcePath: base\your_mod\textures\icon.inkatlas
atlasPartName: slot_01File structure:
Cyberpunk 2077/
r6/tweaks/
my_addon/
my_addon.yaml
That is the entire mod. SkinChanger will pick it up automatically.
Case B - Custom .app with modified materials (WolvenKit needed)
Use this when the mesh stays the same but you want different materials or decals. You create a custom .app that points to vanilla meshes but overrides material entries.
In WolvenKit, duplicate the vanilla weapon .app. In the appearance entries, find the material override fields on the mesh components (chunkMaterials, overrideMaterial) and point them to your custom .mi or .mlsetup files. Leave mesh component paths untouched.
Pack only the .app and your custom material files into the archive. No new mesh files needed.
File structure:
Cyberpunk 2077/
archive/pc/mod/
my_addon.archive <- custom .app, custom material files, factory CSV
r6/tweaks/
my_addon/
my_addon.yaml
Factory CSV inside the archive:
Factory
my_addon_liberty_skin_app,base\your_mod\gameplay\weapons\my_addon_liberty.app
| TweakDB Record | Weapon |
|---|---|
Items.Preset_Liberty_Kongou |
Kongou - Yorinobu's pistol |
Items.Preset_Liberty_Seraph |
Seraph - Padre's pistol |
Items.Preset_Liberty_Dex |
Dex's Liberty |
Items.Preset_Liberty_Pride |
Pride - Rogue's pistol |
To find any other Iconic weapon record: open TweakDB Explorer, filter by type gamedataWeaponItem_Record, filter tags by IconicWeapon.
Regular skin:
- Record name format:
Items.Preset_{Family}_{YourName}- theItems.Preset_{Family}_prefix must match the target weapon's family -
$baseis_Default, not_Playeror an Iconic record -
appearanceResourceNamevalue matches factory CSV column 1 exactly (case-sensitive) - Factory CSV has the
Factoryheader line -
.appis entity-level, not per-part (if invisible in-game and no log errors, this is usually the cause) -
hudIconatlas and part name are correct (blank slot in SkinChanger popup = missing or wrong hudIcon) -
appearanceResourceNamekey is unique across all installed mods (add mod name prefix)
Iconic skin:
-
$basepoints to the exact Iconic record (not_Default) - Record name format:
Items.Preset_{Family}_{IconicName}_{Suffix}- four parts, underscores - Separate YAML entry for each Iconic weapon you support
- Factory CSV and
.appincluded