ID:167697
 
Is it possible to make the players charater appear red to them, but all the other PC charaters as blue to them?
Using Image objects you can attach one to the player visible only to the player. So his mob will be red for him. Im to lazy and tired to look up the code right now. But its all got to do with image objects. Hope that helps some, and if not.. I'll be more detailed after I get some sleep.
Not directly.
You MIGHT be able to use an image overlay on the client.screen that has
text="<font color=red>@</font>"


This might work, try it.
[EDIT: We posted at the same time.]
In response to Flame Sage
You may want to double check this. I do not believe image overlays are behaving properly in text mode.
In response to Jmurph
Because they're IMAGES, that's like trying to use an icon in text mode =P.
In response to Jmurph
Jmurph wrote:
You may want to double check this. I do not believe image overlays are behaving properly in text mode.

It turns out they do work, with 2 exceptions:

1) Pixel offsets don't show, even if they're full-tile offsets, and
2) You need to manually specify the layer (I suggest MOB_LAYER+0.5.)

Lummox JR
In response to Lummox JR
Very good to know! Thanks Lummox!
In response to Jmurph
Yeah, neat. I figured the reason I couldn't get it working was because images were limited to actual icons, thanks!
In response to Jmurph
Jmurph wrote:
Very good to know! Thanks Lummox!

No problem. I just went on previous info that invisibility and images were buggy, and it turned out on testing that 1) invisibility works fine, and 2) images just don't seem to work with the default layer only. In the code both Tom and I were able to find evidence of image support in text mode, so they certainly should work. Then I saw that if the layer is manually specified, the images appear fine. So the actual bug is just that FLY_LAYER doesn't work in text mode.

Lummox JR