Maptools chat avatars

If you have an idea for a new feature, please discuss it in the main MapTool forum first, then post a summary of the discussion here. Use the first Sticky as a template.

Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice

Post Reply
bocotainin
Kobold
Posts: 23
Joined: Sat Aug 22, 2009 5:07 am

Maptools chat avatars

Post by bocotainin »

For some reason maptools uses the portrait picture for avatars. Is there a way to override that to use the layout picture? Or, perhaps more usefully, any arbitrary picture?

User avatar
Azhrei
Site Admin
Posts: 12070
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Re: Maptools chat avatars

Post by Azhrei »

No, not currently.

We plan on using stylesheets more in the future and it should be possible to override the CSS with your own. For example, a given token's avatar would likely be something like:

Code: Select all

#tokenGUID {
    background-image: url(asset://...);
}

where the default image is the portrait one from the token. Then you could always override that with your own settings and pick whatever image you want.

I'm not saying it will be done that way, I'm just saying that I'd like to see it be user-configurable and this seems a practical way to do so. (Although CSS can have performance issues in some cases, so a different solution may be better. We'll see.)

User avatar
wolph42
Deity
Posts: 9904
Joined: Fri Mar 20, 2009 5:40 am
Location: Netherlands
Contact:

Re: Maptools chat avatars

Post by wolph42 »

You could use broadcast and create your own style. But that would not work for simple chat, only for macros. To get an idea you can have a look at bot_message() macro on my bag of tricks (link in sig). There's a manual for use as well.

Post Reply

Return to “Feature Requests”