Team color Mod request

Everything about mods can be found here.

Moderator: Morax

Team color Mod request

Postby Fearghal » 21 Jan 2018, 04:31

Hi,
Looking to have someone make mod for "grouping teams into preset color choices".
I would like to have the 16 present colors arranged in normal color spectrum wavelength order.
ROYGBIV - Red, Orange, Yellow, Green, Blue, Indigo, and Violet, when team selecting colors.
Eg: For 2 team game -
team one always chooses from first 8 colors (darks, reds, orange, tans thru yellow variants)
and team two always chooses from last 8 colors ( green, blue, indigo, violet, white colors)
Divide and sort similar way for 3, 4, 5, 6 team games.
By having same color group variants for team play you will quickly, intuitivly,
learn teams colors and always know which colors are friend or foe during every game.
It is good for spotting team chat, and for
quickly sorting and balancing in game lobby too.
Some one quote me for building this mod and I would like to commision it.
and I will pay Gyle to cast them,
I know he will like every game having team 1 and 2 from same color group each time
Reds (orange/yellows) team vs Blues (green/violets) team.
Sincerely
Jake
Last edited by Fearghal on 21 Jan 2018, 22:01, edited 1 time in total.
Fearghal
Crusader
 
Posts: 13
Joined: 16 Aug 2017, 00:03
Has liked: 5 times
Been liked: 15 times
FAF User Name: Fearghal

Re: Team color Mod request

Postby Fearghal » 21 Jan 2018, 21:58

I searched before but did not find a previoust thread on my mod request but just found:
Under "Team Colors" Year -2015

/viewtopic. ... 54#p101236

I was thinking exactly what the poster above was thinking
about making team players similar color variants.

I stink, but play solo every day to relax,
and have to resort to presorting teams colors manualy
before every game (ocd) before being able to play,
It is very tedious having to manually sort my 5v5 and 6v6 game colors before every game.

Playing against a random 10-12 colors,
intermixed differently each game, is "annoying"
No, I dont like the present blue, green, red model.....
I want to still be able to differentiate between players but easily distinguish sides.

If someone can tell me what became of the above idea,
I would appreciate.

And

If someone can make mod, where I can play solo game where each team color
is sorted at start like the link above.......
I will forward a HUGE 3 figure sum to your account of choice.

Sincerely
Fearghal
Fearghal
Crusader
 
Posts: 13
Joined: 16 Aug 2017, 00:03
Has liked: 5 times
Been liked: 15 times
FAF User Name: Fearghal

Re: Team color Mod request

Postby Uveso » 28 Jan 2018, 14:35

Hello Fearghal,

first of all i am red/green color blind^^. Have this im mind if i ask dump questions about colors :)

Well, bad news is, you can't simply make a mod for modding the colors in lobby.
That is because the fact that mods will loaded after the lobby when you enter the gameworld.

So you only can maka a ".scd" file mod and overwrite existing files.

Another way would be the ingame button tooltipui0078="Player Colors".
With this button you can make the same color for enemies and another color for allies.
But this way you can't set different colors to the enemy. (At least you can change the default colors)

Beside this, how do you want to have this function working ?
Maybe we could add a button inside the lobby called "make team colors" and set colors like you described.

This could be a task for our newer modders ?

If anyone is interested;
Gamecolors are defined inside the file "GameColors.lua"

For an example how to set colors see "lobby.lua" (actual line 2678, but this can change while developing)
Code: Select all
if IsColorFree(data.Color) then
    -- Color is available, let everyone else know
    gameInfo.PlayerOptions[data.Slot].PlayerColor = data.Color
    lobbyComm:BroadcastData( { Type = 'SetColor', Color = data.Color, Slot = data.Slot } )
    UpdateGame()
else
    -- Sorry, it's not free. Force the player back to the color we have for him.
    lobbyComm:SendData( data.SenderID, { Type = 'SetColor', Color = gameInfo.PlayerOptions[data.Slot].PlayerColor, Slot = data.Slot } )
end
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso

Re: Team color Mod request

Postby Fearghal » 30 Jan 2018, 07:43

Thanks for getting back to me.
Very informative.
Right now there are 20 colors to choose from.
Using the same exact 20 colors...
It would be nice if when in lobby ..
team one - chooses from the first 10 colors in color spectrum,
and team two - chooses from the last 10 colors of spectrum.
Every game you would recognize instantly team side (friend/foe)
instead of each game having 20 colors randomly mixed between teams.
Any new modders able to do above I can cover some $$ for your time,
my ocd really wants team colors.
Thanks.

In the previous thread talking about Team Colors (Mar 2015)
Retnut and Hussar seemed to have ideas on how to accomplish this.
/viewtopic.php?f=42&t=10054

Below photo is 2 teams with 16 of the current 20 color pallet.
Red, orange, yellow end of spectrum against Blue, indigo, violet, white end.
3 or 4 player games - divide 20 colors into equal segments of spectrum.
Heads up games - choose any color
Free for all / Survival type games - choose any color
Attachments
FAF Lobby.jpg
FAF Lobby.jpg (84.26 KiB) Viewed 1357 times
Fearghal
Crusader
 
Posts: 13
Joined: 16 Aug 2017, 00:03
Has liked: 5 times
Been liked: 15 times
FAF User Name: Fearghal


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest