《命令与征服™:重制版》

《命令与征服™:重制版》

TD color mod
ΗΞΧATαηταlνs 2020 年 8 月 8 日 上午 10:21
Tweaking Color Values in the Mod's XML File
Hello,

Thanks again for this awesome mod, your work is greatly appreciated! I'd also like to thank you for your very helpful reply to my previous question about changing the third team color (Multi-3) from your "Dark Green Sage" included with this mod to the real-world camouflage color "Ranger Green".

However, I'm still a bit confused about what every line means in the XML file for each of the multiplayer/skirmish team color choices. I tried changing the last team color (which is white in your mod by default) to a pure red color.

I was able to get the Multi-6 team color to show up as pure red in the drop-down team color selection menu in the skirmish game setup page and I got the enemy team's color on the in-game radar map to show up as pure red after changing the "RGB" parameter values in the XML file to be R = 1, G = 0, B = 0, but unforunately the enemy team's actual units in-game are showing up as super bright pure white while playing in a skirmish match.

So, I still don't quite understand how to change all of the multiple team color parameter values included in the XML file for each team color (Multi-1, Multi-2, etc...). I also don't understand how I can change the XYZ parameter values to represent a color value I specify using an online RGB color picker tool. Additionally, I do not understand why there are "initial", "lower bound", and "upper bound" XYZ and RGB parameter value lines in the XML file.

Can you help me understand what each line and parameter means in the XML file your mod provides and show me (or others reading this thread) how we should go about changing any one of the team colors included in your mod's XML file to any arbitrary RGB color value desired?

Thanks again! :)
< >
正在显示第 1 - 4 条,共 4 条留言
Meru33  [开发者] 2020 年 8 月 14 日 上午 8:48 
Hi Yopo!

Sorry for my late response, but I was very busy the last days.

For the moment, I can recommend you to check the very nice guide made by Josef. In the guide, he explains how to translate the HSV values of custom colors into the color code used in the XML file

You can find the guide under the name:
Jozef's Guide to Colour Modding

Hope this helps. In September I will be back into modding and we can discuss further, if you want.

Have fun by gaming!

Cheers!
Meru33  [开发者] 2020 年 8 月 14 日 上午 9:14 
Hi again Yopo!

Perhaps this information could be useful for you:

Team original color my mod

Multi1 --> gold gold

Multi2 --> blue dark grey

Multi3 --> red "ranger green"

Multi4 --> green green

Multi5 --> organge brown

Multi6 --> light blue light grey
ΗΞΧATαηταlνs 2020 年 8 月 14 日 上午 10:51 
引用自 Kerekupai-meru
You can find the guide under the name:
Jozef's Guide to Colour Modding
Hope this helps. In September I will be back into modding and we can discuss further, if you want.

Thank you very much for sharing that Steam Guide, it's quite helpful! I look forward to the next mod work you release in the future, thanks and take care. :)
Nyerguds 2022 年 11 月 28 日 上午 1:31 
引用自 Kerekupai-meru
Team original color my mod
Multi1 --> gold gold
Multi2 --> blue dark grey
Multi3 --> red "ranger green"
Multi4 --> green green
Multi5 --> organge brown
Multi6 --> light blue light grey
These team names are incorrect. Those are the names of the colours, not of the actual Multi-teams. They messed up those colour names in the remaster, so they don't match the actual names of the associated multi-team. I noticed this error in the map editor, where they indeed just linked each Multi-team to the same-named colour, and the result was all wrong.

The actual linking of teams and colours is:

Team -> Colour Name
Multi1 -> MULTI2 (Blue; originally teal in classic)
Multi2 -> MULTI5 (Orange)
Multi3 -> MULTI4 (Green)
Multi4 -> MULTI6 (Teal; originally gray in classic)
Multi5 -> MULTI1 (Yellow)
Multi6 -> MULTI3 (Red)

This error was caused by the fact they took the order of the colours list from the TD source code, which does not match the order of the multi-teams that used them, and then just numbered them from multi1 to multi6.
最后由 Nyerguds 编辑于; 2022 年 11 月 28 日 上午 1:35
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50