change of team color options

Everything about mods can be found here.

Moderator: Morax

change of team color options

Postby ZeRen » 04 Nov 2018, 12:23

Is there a way to change team colors (default = (allies = green, enemy = red, you = blue) ?

has anyone have experience with this?
User avatar
ZeRen
Evaluator
 
Posts: 639
Joined: 03 Aug 2014, 08:22
Has liked: 153 times
Been liked: 49 times
FAF User Name: ZeRen

Re: change of team color options

Postby speed2 » 04 Nov 2018, 12:38

They are hardcoded in the exe
User avatar
speed2
Contributor
 
Posts: 3137
Joined: 05 Jan 2013, 15:11
Has liked: 614 times
Been liked: 1079 times
FAF User Name: speed2

Re: change of team color options

Postby ZeRen » 04 Nov 2018, 12:46

speed2 wrote:They are hardcoded in the exe

oh :(
User avatar
ZeRen
Evaluator
 
Posts: 639
Joined: 03 Aug 2014, 08:22
Has liked: 153 times
Been liked: 49 times
FAF User Name: ZeRen

Re: change of team color options

Postby Louvegarde » 04 Nov 2018, 13:16

Are you sure they are hardcoded in the EXE ?
In lua.nx2/GameColors.lua I found this :

Image
Cryogenic slumber party!
User avatar
Louvegarde
Priest
 
Posts: 353
Joined: 25 Mar 2018, 14:09
Has liked: 105 times
Been liked: 103 times
FAF User Name: Louvegarde

Re: change of team color options

Postby speed2 » 04 Nov 2018, 13:19

Ofc they are in that file, I was just testing you :D

/me runs away
User avatar
speed2
Contributor
 
Posts: 3137
Joined: 05 Jan 2013, 15:11
Has liked: 614 times
Been liked: 1079 times
FAF User Name: speed2

Re: change of team color options

Postby Geosearchef » 04 Nov 2018, 13:45

@ZeRen
To sum up, you can change them. Go to:
`/ProgramData/FAForever/gamedata`, open the lua.nx2 file in there. It's a standard ZIP archive, just open it using e.g. 7zip.
You can edit the colors in the GameColors.lua file at the end. If you don't know how the colors work (1 byte per color channel, hex color values, ARGB), you can also use a color picker like: https://www.google.com/search?q=colorpi ... olorpicker
Just replace the # with ff. (that's the alpha = opacity channel)
Developer, Server Admin, ICE, currently working on Team Matchmaking, FAF Client
User avatar
Geosearchef
Contributor
 
Posts: 377
Joined: 18 Oct 2013, 14:08
Location: Germany
Has liked: 5 times
Been liked: 118 times
FAF User Name: Geosearchef

Re: change of team color options

Postby ZeRen » 04 Nov 2018, 17:37

Geosearchef wrote:@ZeRen
To sum up, you can change them. Go to:
`/ProgramData/FAForever/gamedata`, open the lua.nx2 file in there. It's a standard ZIP archive, just open it using e.g. 7zip.
You can edit the colors in the GameColors.lua file at the end. If you don't know how the colors work (1 byte per color channel, hex color values, ARGB), you can also use a color picker like: https://www.google.com/search?q=colorpi ... olorpicker
Just replace the # with ff. (that's the alpha = opacity channel)

FAF rewrite the file if I change it and I have no idea how create mod for that, thx for the effort tho
User avatar
ZeRen
Evaluator
 
Posts: 639
Joined: 03 Aug 2014, 08:22
Has liked: 153 times
Been liked: 49 times
FAF User Name: ZeRen

Re: change of team color options

Postby Little Miss Murder » 23 Nov 2019, 09:20

speed2 wrote:They are hardcoded in the exe


LOL

Hex Editor.
Little Miss Murder
Avatar-of-War
 
Posts: 229
Joined: 30 Mar 2019, 12:20
Has liked: 132 times
Been liked: 27 times
FAF User Name: Little Miss Murder


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest