All enemy entities are currently colored red on the map. This results in most nests being a cluster**** of red squares making it impossible to tell what is actually there. I went to attack what looked like a single spawner and it ended up being just a bunch of worms. At the very least I'd like different colors for spawners and worms.
Is it possible for a mod to change the map colors?
Is it possible to change the color of entities of the map?
Re: Is it possible to change the color of entities of the map?
Yes, the map colors should be moddable rather than hardcoded.
Re: Is it possible to change the color of entities of the map?
Just ran some code to add map_color from the resources on the worms....
In short it didn't work, the faction color overwrote it.
Edit: For some reason the second half of my post didn't post, so ill say it again. I went on to suggest having map coloring modes that can be set.
Faction Colors
Entity Colors
Faction colors would only display colors based on the entity's faction's relation to the player's faction.
Entity colors would use the map_color inside the function when available otherwise it defaults to the faction color.
In short it didn't work, the faction color overwrote it.
Code: Select all
local Worms = {{N="small-worm-turret",R={r=0, g=0.8, b=0.8}},{N="medium-worm-turret",R={r=0, g=0.8, b=0.8}},{N="big-worm-turret",R={r=0, g=0.8, b=0.8}}}
for i,d in pairs(Worms) do data.raw["turret"][d.N].map_color=d.R end
Faction Colors
Entity Colors
Faction colors would only display colors based on the entity's faction's relation to the player's faction.
Entity colors would use the map_color inside the function when available otherwise it defaults to the faction color.
Re: Is it possible to change the color of entities of the map?
This has been added in 0.12.
If you want to get ahold of me I'm almost always on Discord.