Question: I notice the vaporColors are limited to four colors: white, cyan, orange and green. I tried your test mod and I found that the cyan, the white and the green were basically the same. Could be possible the add more colors (like red or purple)?
They are not the same, but they can sometimes appear the same based on what is in the background.
For example green and cyan on green background will look almost the same.
But the same cyan and green on light grey background will look different.
Try it.
OpenXcom palette is very limited and simulating transparency just isn't possible in all background/foreground color combinations.
Also: how does colors
works?
transparencyLUTs:
- colors:
- [ 8, 8, 12, 2 ] # "white"
Those numbers are indexes on the Battlescape palette?
I don't know how it works... I was trying to read it for a long time, but it's too cryptic without someone telling you what it is.
As far as I can tell, the numbers correspond to [(R)ed, (G)reen, (B)lue, Step], where R G B are not real RGB (0-255), also not xcom RGB (0-63) and also not OpenXcom colors/indices.
I also don't know what values they can have, probably between 0 and 15, but that's just a wild guess. "Step", no idea.
Probably the only guy who can answer this is Warboy.
If you find out, do let us know!