PDA

View Full Version : Chat interface



black0jack
March 16th, 2012, 14:44
Good afternoon everybody, I'm working on my ruleset (based on D20_JPG), and am trying to change some elements of the chat window and one of the things that struck me the ruleset 3.5, were the new ways are shown and the actions STORY using a normal dialogue balloon to speak.

How do I add that kind of effect to chat my ruleset?

Ps: Sorry for my english, I'm using the google translator to post!

Trenloe
March 16th, 2012, 15:21
In the 3.5E ruleset, this is specified through the msg.mode parameter - details here (https://www.fantasygrounds.com/refdoc/Comm.xcp):


mode: String. Set only if you want to specify a chat mode. (chat, system, ooc, emote, ...) The frames and fonts associated with each mode can be customized in the XML.
This is referenced in the desktop\desktop_classes.xml (search for <mode>chat</mode>) which specifies a name of "chatframe_chat".

"chatframe_chat" is detailed (as a framedef) in graphics\graphics)frames.xml - using ""graphics/frames/chatframe_chat.png" as the bitmap for the chatframe.

Hope this allows you to get this working in your ruleset.