This article relates to the game "Counter-Strike 2". Click here for more information.
This article relates to the software/tool "Counter-Strike 2 Workshop Tools". Click here for more information.
This article's documentation is for Source 2. Click here for more information.

Counter-Strike 2 Workshop Tools/Weapon Finishes

From Valve Developer Community
Jump to navigation Jump to search

Main Introduction Page: https://www.counter-strike.net/workshop/workshop

This article is about the technical things about Weapon Finishes that the official page does not cover.

Base Color

The Base Color texture painting of a weapon finish, which can be combined with the paintkit templates where you can "paint by numbers".

Wearness Mask

Todo: Why does 255 or 254 immediately take away the paint when the Wear value is on 0?

The Wearness Mask is a greyscale map with values from 0 to 255 defined by black and white. This mask can overwrite the "Wear" pattern of paintkits. The wearness is defined in a ```.tga``` of the Base Color texture in the Alpha Channel.

Pearlescent

Todo: How does it actually work?

Pearlescent Mask

The Pearlescent Mask defines what can be affected by the Pearlescent effect when it's scale value is higher than 0.