Forged Alliance Forever Forged Alliance Forever Forums 2019-11-25T13:16:29+02:00 /feed.php?f=2&t=18429 2019-11-25T13:16:29+02:00 2019-11-25T13:16:29+02:00 /viewtopic.php?t=18429&p=179969#p179969 <![CDATA[Re: Is it possible to diddle with the in-game faction colour]]> Statistics: Posted by nine2 — 25 Nov 2019, 13:16


]]>
2019-11-25T06:30:54+02:00 2019-11-25T06:30:54+02:00 /viewtopic.php?t=18429&p=179964#p179964 <![CDATA[Re: Is it possible to diddle with the in-game faction colour]]> index entry of the launching player and any player that has chosen your preferred colour without it propagating to other clients. In other words, it has to be a UI mod but can UI mods diddle with player metadata? That is the real question.

The source tree is rather beastly and it's taking me some time to wrap my head around it.

Statistics: Posted by Little Miss Murder — 25 Nov 2019, 06:30


]]>
2019-11-24T16:40:35+02:00 2019-11-24T16:40:35+02:00 /viewtopic.php?t=18429&p=179948#p179948 <![CDATA[Re: Is it possible to diddle with the in-game faction colour]]>
Little Miss Murder wrote:
If I understand your mod correctly; it does not really help me since I still need to have all the different colours available. And I'd have to make sure that my picked lobby colorindex corresponds to what's in the file anyway? What am I missing?


changing the color in the lobby dynamically will be pretty hard, because the GameColors.lua is loaded before the lobby starts. Any changes to the file will only affect the next game, not the game that is launched by the lobby.
You could use the mod to change all colors to colors that are easily readable for you. Or change one of the last colors also to pink, to double your chances that it is still free (although you then possibly have two players in pink, of course).
You could also configure your color to pink in the IFF mode, if it is acceptable for you that the other players have only team colors. Then you can always be pink.

To implement the colors exactly as you proposed it, one would have to change the code that handles the IFF feature. But I could not find it, and nobody could tell me yet where it is...

Statistics: Posted by BlackYps — 24 Nov 2019, 16:40


]]>
2019-11-23T10:35:26+02:00 2019-11-23T10:35:26+02:00 /viewtopic.php?t=18429&p=179919#p179919 <![CDATA[Re: Is it possible to diddle with the in-game faction colour]]>
BlackYps wrote:
I faced the same problem some time ago. You can use the mod I created for this here: viewtopic.php?f=41&t=17624
It has a chance to cause game freezes if you also use supreme score board, because a variable in SSB is not initalized correctly and it can lead to issues, if the colors are not exactly what SSB expects them to be.
You should be able to edit the IFF colors safely though.


thx dude, finally I can change team colors

btw to make experimenting easier, in gamedata create this folder structure
Code:
gamedata/2Lua.nx2/lua/GameColors.lua



btw2 would be possible for team colors to have differrent color for each enemy and ally? like this :

enemy1 - red
enemy2 - dark red
enemy3 - purple

ally1 - blue
ally2 - darkblue
ally3 - aqua

I did experiment with it but got only errors

Statistics: Posted by ZeRen — 23 Nov 2019, 10:35


]]>
2019-11-23T09:13:51+02:00 2019-11-23T09:13:51+02:00 /viewtopic.php?t=18429&p=179916#p179916 <![CDATA[Re: Is it possible to diddle with the in-game faction colour]]>
BlackYps wrote:
I faced the same problem some time ago. You can use the mod I created for this here: viewtopic.php?f=41&t=17624
It has a chance to cause game freezes if you also use supreme score board, because a variable in SSB is not initalized correctly and it can lead to issues, if the colors are not exactly what SSB expects them to be.
You should be able to edit the IFF colors safely though.


If I understand your mod correctly; it does not really help me since I still need to have all the different colours available. And I'd have to make sure that my picked lobby colorindex corresponds to what's in the file anyway? What am I missing?

Statistics: Posted by Little Miss Murder — 23 Nov 2019, 09:13


]]>
2019-11-22T22:46:58+02:00 2019-11-22T22:46:58+02:00 /viewtopic.php?t=18429&p=179906#p179906 <![CDATA[Re: Is it possible to diddle with the in-game faction colour]]> viewtopic.php?f=41&t=17624
It has a chance to cause game freezes if you also use supreme score board, because a variable in SSB is not initalized correctly and it can lead to issues, if the colors are not exactly what SSB expects them to be.
You should be able to edit the IFF colors safely though.

Statistics: Posted by BlackYps — 22 Nov 2019, 22:46


]]>
2019-11-22T22:35:22+02:00 2019-11-22T22:35:22+02:00 /viewtopic.php?t=18429&p=179905#p179905 <![CDATA[Re: Is it possible to diddle with the in-game faction colour]]> https://fileinfo.com/extension/dds)
There is software out there that can read, write and convert it, you'll have to research that yourself.

Statistics: Posted by Geosearchef — 22 Nov 2019, 22:35


]]>
2019-11-22T20:49:10+02:00 2019-11-22T20:49:10+02:00 /viewtopic.php?t=18429&p=179903#p179903 <![CDATA[Re: Is it possible to diddle with the in-game faction colour]]> Statistics: Posted by Little Miss Murder — 22 Nov 2019, 20:49


]]>
2019-11-22T20:49:25+02:00 2019-11-22T20:48:47+02:00 /viewtopic.php?t=18429&p=179902#p179902 <![CDATA[Re: Is it possible to diddle with the in-game faction colour]]>
armacham01 wrote:
The change you propose--that changes one enemy into a random color--would be bad because people often communicate based on a player's color. If different players had multiple colors for different players on your own team, communications could get confused.


This is definitely a problem. I don't know how much of a problem it would turn out to be.


If you do what speed2 suggests, then all of the players would be pink? Which might make it hard to tell your units from enemy units? If everybody is pink, then nobody is uniquely pink.


No, just your own colour.

Statistics: Posted by Little Miss Murder — 22 Nov 2019, 20:48


]]>
2019-11-22T20:43:14+02:00 2019-11-22T20:43:14+02:00 /viewtopic.php?t=18429&p=179901#p179901 <![CDATA[Re: Is it possible to diddle with the in-game faction colour]]>
That doesn't help you to tell apart the units of particular friendly/enemy players

The change you propose--that changes one enemy into a random color--would be bad because people often communicate based on a player's color. If different players had multiple colors for different players on your own team, communications could get confused.

If you do what speed2 suggests, then all of the players would be pink? Which might make it hard to tell your units from enemy units? If everybody is pink, then nobody is uniquely pink.

Statistics: Posted by armacham01 — 22 Nov 2019, 20:43


]]>
2019-11-22T20:40:33+02:00 2019-11-22T20:40:33+02:00 /viewtopic.php?t=18429&p=179900#p179900 <![CDATA[Re: Is it possible to diddle with the in-game faction colour]]> Statistics: Posted by Little Miss Murder — 22 Nov 2019, 20:40


]]>
2019-11-22T20:36:38+02:00 2019-11-22T20:36:38+02:00 /viewtopic.php?t=18429&p=179899#p179899 <![CDATA[Re: Is it possible to diddle with the in-game faction colour]]> viewtopic.php?f=42&t=15109&p=153912&hilit=colour#p153912

Image

Statistics: Posted by speed2 — 22 Nov 2019, 20:36


]]>
2019-11-22T20:31:19+02:00 2019-11-22T20:31:19+02:00 /viewtopic.php?t=18429&p=179898#p179898 <![CDATA[Is it possible to diddle with the in-game faction colour?]]>
I have a bit of an embarrassing problem. I am not colour blind in the least, but I find any other colour than Breast Cancer Awareness pink impossible to play effectively. It makes me often not join games where the colour is already taken. And I also know I am not the only person with this issue.

Can we fix this with a bit of hacking? Is it possible?

The idea being; you simply select your desired colour in the lobby, and the game renders your stuff in that colour. If another player, or players, had chosen the same colour, you simply see them as a different, randomly chosen colour. But of course they have the same benefit and see their stuff in their chosen colour, and yours in a random colour.

I think it would be a wonderful addition to the game, and if it's possible to do, then I will put in the graft. But I need to know if it's possible first. It stands to reason that you can switch between full colour and IFF colour, so it certainly seems doable.

I have no idea what effect this would have on replay files though.

Statistics: Posted by Little Miss Murder — 22 Nov 2019, 20:31


]]>