crazy_Baboon Posted May 24, 2022 Report Share Posted May 24, 2022 Hi, I am trying to change the default colours of the minimap (see figure below). For example, using GIMP one can find the colour of the water to be (R-80, G-120, B-160). How can I change that to a different value? Quote Link to comment Share on other sites More sharing options...
crazy_Baboon Posted May 25, 2022 Author Report Share Posted May 25, 2022 I figured out this must be in MiniMapTexture.cpp. Quote Link to comment Share on other sites More sharing options...
Langbart Posted May 26, 2022 Report Share Posted May 26, 2022 The water color is hardcoded in Line 365. Can't be changed without recompiling the game. Food, stones, ... can be changed to another colour or set to display an icon in A26. Related Links: https://docs.wildfiregames.com/entity-docs/trunk.html#component.Minimap Minimap colours (24/Jul/11) wiki/Atlas_Manual_Player_Tab#Playerinfo Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 26, 2022 Report Share Posted May 26, 2022 9 hours ago, Langbart said: The water color is hardcoded in Line 365. Can't be changed without recompiling the game. Food, stones, ... can be changed to another colour or set to display an icon in A26. Related Links: https://docs.wildfiregames.com/entity-docs/trunk.html#component.Minimap Minimap colours (24/Jul/11) wiki/Atlas_Manual_Player_Tab#Playerinfo Could be a simple patch to add options for water color might need to be on a per map basis. Quote Link to comment Share on other sites More sharing options...
crazy_Baboon Posted May 26, 2022 Author Report Share Posted May 26, 2022 @Langbart Thanks! I wonder how to disable the food and wood entities on the minimap? I find them quite distracting and have very little use. What I have tried: I tried tempering with binaries/data/mods/public/simulation/templates/template_unit_fauna.xml section <Minimap>, but there is no option for transparency. Also, If i delete the section <Minimap>, I get white entities on my minimap that correspond to the food entities. Quote Link to comment Share on other sites More sharing options...
Langbart Posted May 26, 2022 Report Share Posted May 26, 2022 template_unit_fauna has a parent called template_unit, you would need to remove there as well. This will also hide you own units, you would then modify some other templates. Have fun. Quote Link to comment Share on other sites More sharing options...
crazy_Baboon Posted May 26, 2022 Author Report Share Posted May 26, 2022 (edited) Thanks So far I came up with: if you guys like this uncluttered map layout leave your +1, so i know it is worth working on this, in order to push it to mainstream 0ad. Maybe this mode could be activated using the toggle button on the corner of the minimap?. Edited May 30, 2022 by crazy_Baboon 1 Quote Link to comment Share on other sites More sharing options...
crazy_Baboon Posted May 26, 2022 Author Report Share Posted May 26, 2022 (edited) IMHO it should be far easier to choose what entities are drawn on the Minimap. I feel that the minimap is sometimes too cluttered with layers that are too distracting. Edited June 5, 2022 by crazy_Baboon Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.