Our site is generously sponsored by:

The best landscaping service Austin and lawn service company in Austin Texas and Cedar Park is Lawn Service Cedar Park.

Lawn Care Service of Cedar Park
100 E Whitestone Blvd
Ste 148, #166
Cedar Park, TX 78613
(512) 595-0884

The best landscaping service leander and lawn service provider in Leander TX is Leander Landscaping Pros.

Leander Lawn and Landscaping Pros
1800 Montana Ct
Leander, TX 78641
USA
(512) 468-2670
Please give them a visit!
  • This is a reminder of 3 IMPORTANT RULES:

    1- This is an English forum. Please post only in English.

    2- This is NOT a commercial or advertising forum. All content must be shared for FREE.

    3- No invites or links to Discord, Telegram, WhatsApp, or similar platforms.

    Please take a moment to review our forum rules and guidelines here: SoccerGaming Rules and Guidelines.

    Thank you!

HELP Texture Color Hair

Messages
79
Reaction score
56
Friends. Have a nice day, everyone. Help please. I want to use standard hairstyles from EAFC 25, but I ran into a problem with the color of the hair texture. Please tell me how you can change the color or find textures with all the colors of the hairstyle.
1000030715.jpg
 
You can grayscale this one, create a colour layer on top of it and then multiply the two layers
 
Friends. Have a nice day, everyone. Help please. I want to use standard hairstyles from EAFC 25, but I ran into a problem with the color of the hair texture. Please tell me how you can change the color or find textures with all the colors of the hairstyle.
View attachment 176371
U can check the lua files for the correct rgb coloring values :
at legacy explorer, data\fifarna\lua\assets\player.lua
Code:
-- generic hair colors
local PLAYER_COLOR_PRI_LIST = { 0x00000000, 0x00B5A787, 0x00AB875E, 0x00534238, 0x00A89176, 0x007B614A, 0x00483928, 0x00744F34, 0x007A7A7A, 0x00777777, 0x006A7434, 0x00346A74, 0x00744F34, 0x00603124, 0x00e75366, 0x00FFEEBD, 0x00FFF9BD, 0x00F7B360, 0x00FFD691, 0x00C19A6E, 0x00AA702E, 0x0020130A, 0x00212129, 0x009E9E9E, 0x00FFFFFF, 0x00FF926D, 0x00FFA06D, 0x00FFBE69, 0x00FFBAAE, 0x00FFCDD2,0x00F4ACBB, 0x00D56C81, 0x009761FD, 0x0097B4F9, 0x0074F8F8}
local PLAYER_COLOR_SEC_LIST = { 0x00231E1E, 0x00A89269, 0x00A28963, 0x0045332B, 0x00C5B48F, 0x007E6751, 0x00544236, 0x006C371C, 0x009C9996, 0x00787B7D, 0x004B6C28, 0x0028466C, 0x006C4633, 0x00583325, 0x00720c38, 0x00DEBF98, 0x00CF9F61, 0x00945F40, 0x00724A1A, 0x004F3B31, 0x00402E1A, 0x000F0A05,0x001C1D1E, 0x00343230, 0x00DDDDDD, 0x00C0472C, 0x005C3215, 0x00A25725, 0x00F47B57, 0x00F58695,0x009E4A8E, 0x00931753, 0x00613EA9, 0x007090E6, 0x0021A9AC}
local PLAYER_COLOR_TER_LIST = { 0x00100E0D, 0x00473326, 0x00362815, 0x0017110E, 0x0056463A, 0x002F211A, 0x001F140E, 0x00250E02, 0x00362F2D, 0x00232421, 0x0022250F, 0x0016162C, 0x0021150F, 0x00171413, 0x00330f2d, 0x003C2F19, 0x003A2B11, 0x005A4912, 0x001D1505, 0x00231006, 0x00060301, 0x00050301,0x00060606, 0x00060605, 0x00393939, 0x00160401, 0x00180B06, 0x001A0A04, 0x00933D3C, 0x005E2C39,0x003B172B, 0x00060006, 0x0006020E, 0x00242E47, 0x00020909}


For each hair colour, u have 3 rgb values :
1 rgb for red channel (premaire)
1 rgb for green channel (secondaire)
1 rgb for blue channel (tertaire)

U should color each channel (red, green, blue) of the texture by the rgb value


U can also try my tool, wich has a coloring function:
1. tab TEXTURES > Other > generic hair (Color RGB )
2. to remove transparancy:
* tab OTHER > Color
* Check Alpha : No transparant

1740275009418.png
 
Last edited:
U can check the lua files for the correct rgb coloring values :
at legacy explorer, data\fifarna\lua\assets\player.lua
Code:
-- generic hair colors
local PLAYER_COLOR_PRI_LIST = { 0x00000000, 0x00B5A787, 0x00AB875E, 0x00534238, 0x00A89176, 0x007B614A, 0x00483928, 0x00744F34, 0x007A7A7A, 0x00777777, 0x006A7434, 0x00346A74, 0x00744F34, 0x00603124, 0x00e75366, 0x00FFEEBD, 0x00FFF9BD, 0x00F7B360, 0x00FFD691, 0x00C19A6E, 0x00AA702E, 0x0020130A, 0x00212129, 0x009E9E9E, 0x00FFFFFF, 0x00FF926D, 0x00FFA06D, 0x00FFBE69, 0x00FFBAAE, 0x00FFCDD2,0x00F4ACBB, 0x00D56C81, 0x009761FD, 0x0097B4F9, 0x0074F8F8}
local PLAYER_COLOR_SEC_LIST = { 0x00231E1E, 0x00A89269, 0x00A28963, 0x0045332B, 0x00C5B48F, 0x007E6751, 0x00544236, 0x006C371C, 0x009C9996, 0x00787B7D, 0x004B6C28, 0x0028466C, 0x006C4633, 0x00583325, 0x00720c38, 0x00DEBF98, 0x00CF9F61, 0x00945F40, 0x00724A1A, 0x004F3B31, 0x00402E1A, 0x000F0A05,0x001C1D1E, 0x00343230, 0x00DDDDDD, 0x00C0472C, 0x005C3215, 0x00A25725, 0x00F47B57, 0x00F58695,0x009E4A8E, 0x00931753, 0x00613EA9, 0x007090E6, 0x0021A9AC}
local PLAYER_COLOR_TER_LIST = { 0x00100E0D, 0x00473326, 0x00362815, 0x0017110E, 0x0056463A, 0x002F211A, 0x001F140E, 0x00250E02, 0x00362F2D, 0x00232421, 0x0022250F, 0x0016162C, 0x0021150F, 0x00171413, 0x00330f2d, 0x003C2F19, 0x003A2B11, 0x005A4912, 0x001D1505, 0x00231006, 0x00060301, 0x00050301,0x00060606, 0x00060605, 0x00393939, 0x00160401, 0x00180B06, 0x001A0A04, 0x00933D3C, 0x005E2C39,0x003B172B, 0x00060006, 0x0006020E, 0x00242E47, 0x00020909}


For each hair colour, u have 3 rgb values :
1 rgb for red channel (premaire)
1 rgb for green channel (secondaire)
1 rgb for blue channel (tertaire)

U should color each channel (red, green, blue) of the texture by the rgb value


U can also try my tool, wich has a coloring function:
1. tab TEXTURES > Other > generic hair (Color RGB )
2. to remove transparancy:
* tab OTHER > Color
* Check Alpha : No transparant

View attachment 176569
Bro. Thank you so much. I tested several hairstyles and textures. This is very cool. Thank you!
 
Back
Top