Problem description:
Okay, I was wondering. Is there a code I can use to make the mob icon and all overlays resemble diamond? When I say this, I mean slightly transparent, and a blue-ish white coloring to be added over. I can do this if I go through ever icon and add a special icon-state for Diamond Form, but that's pretty time consuming. Is there an easier way to do this?
Thanks.
![]() Jan 3 2013, 8:59 pm
|
|
Update: I've used rgb(r,g,b,a) to get the color I want for the icon, but it doesn't seem to affect the overlays set on the icon??
|
Did you try removing the overlays, applying the color then adding the overlays?
|
I've actually done something similar although only towards the mob icon, and not its overlays. I simply used the icon.Blend() with a diamond "texture".
var/icon/I = new('mob.dmi') for more information on Blend() read the DM Guide. Edit: forgot to mention that the color of your icon plays a role when using this method, i used MapColors() to get the right(desired) color after Blend(). I've added that aswell. Note that this might not be a good way of doing it, it's just the approach i've ended up on based on my programming skills. |