Gravemind2401 / Reclaimer

A Halo game file explorer
GNU General Public License v3.0
75 stars 15 forks source link

[H5] Some weapon skins are not displayed properly. #72

Closed notorangefruit closed 2 weeks ago

notorangefruit commented 3 weeks ago

Examples: SMG skin_019 is neon purple in-game but appears as default color in reclaimer. Magnum skin_040 is neon blue in-game but appears as default color in reclaimer.

Something worth noting is these weapon skins are normally unobtainable in-game unless you equip them via the API.

Gravemind2401 commented 2 weeks ago

The material for smg_skin_019 uses the same base texture as the regular material. The purple color in-game comes from a tint that gets applied on top of the texture.

notorangefruit commented 2 weeks ago

Where can I find this tint value in reclaimer? There are some magnum skins that are currently impossible to equip and I'm curious what tint they have. Also curious if the H2BR has tints.

Gravemind2401 commented 2 weeks ago

If you have the meta viewer set up for Halo 5 you can find the tints and other related values in the material tag. For example, in the smg_skin_019 material tag, I believe the purple tint is from the surface_color_tint value. Note that the color values labels are currently incorrect - in Halo 5 the values are in the order of RGBA, not ARGB. image

notorangefruit commented 2 weeks ago

ARGB looks to be the correct order. rgb01(1, 0, 1) #ff00ff is purple. If I were to use the RGB values in image above, it would be rgb01(1, 1, 0) which is yellow #ffff00 Confirmed same for magnum skin_040 is blue when using ARGB.