Weapon Skin Generation (KF3)

Accompanying Actor used to preview Weapon Skins on all of the game's weapons quickly.
This allows us to spot any material setup and UV issues at a glance.

Example weapon skin generation for the Nightwatch weapon

There are over 100 weapon skin variations that can be applied across the game's 36+ weapons.
As such, we needed an approachable way to manage and generate all of this content without it becoming a momentous task.

I leveraged Material Instance hierarchies and the layered material system in order to build a solution.

My goal was to create an adaptable workflow that could be used by anyone, while remaining flexible enough to accommodate the inevitable changes in the system's requirements.

My initial implementation was built entirely within an Editor Utility, with all of the logic handled through Blueprint nodes.
Over time, I rebuilt the system. I migrated the data handling to a Data Asset with additional C++ logic to support detail and struct customizations, and moved the core functionality into a C++ function library.
The rebuilt system is more organized and streamlined and reduced the iteration time by at least 50%.

The Editor Utility still handles the front-end UI, while all of the logic originates from the C++ function library.
The Data Asset stores all of the setup information for each Weapon Skin Variant and includes an automated audit system that warns users if any information is missing or incorrectly configured.

The Weapon Skin materials are Material Instances that inherit from each weapons base materials. Using the layered material system, a Weapon Skin Layer is applied to each child instance.
This allows the base materials to be modified when necessary, with those changes automatically propagating down the hierarchy chain.
The intent was to set up the data in such a way that the base weapon skin data could be changed from a single source and propagated to update existing variants.

Each iteration can be completed within a matter of seconds (1 minute at the most) and outputs a summarized markdown-formatted log for transparency and troubleshooting.

This workflow has saved the team a considerable amount of time throughout development.