PDA

View Full Version : Custom Chat Icons



markjlyon
November 12th, 2015, 04:41
I want all icons in the chat window to be customize-able. I want the GM and NPC icons to be select-able just like the PC icons are select-able. If I choose a token for an NPC I want that token image to appear in the chat window.

It appears that the GM icon is hard-coded into a resource file. I want to change this from static to dynamic. Where is the code that reads the hard-coded location of the GM icon so I can correct it?

I assume it is either in a Lua script somewhere or C++ in the fantasygrounds.exe.

How do I contribute to the development of this project to get the changes I want?

damned
November 12th, 2015, 09:55
open up the 5e.pak and dive in.
its actually a zip file.

use a good text editor or a programming tool to assist in highlighting and navigating the lua and xml...

damned
November 12th, 2015, 09:56
a lot of this code is also in the CoreRPG.pak too...

Andraax
November 12th, 2015, 14:50
Or use this extension I provided: Post containing extension (https://www.fantasygrounds.com/forums/showthread.php?17239-Change-GM-Icon-on-Chat-Log&p=224500&viewfull=1#post224500).

Full directions are in this post (https://www.fantasygrounds.com/forums/showthread.php?17239-Change-GM-Icon-on-Chat-Log&p=225502&viewfull=1#post225502).

Nickademus
November 12th, 2015, 22:44
Or use this extension I provided: Post containing extension (https://www.fantasygrounds.com/forums/showthread.php?17239-Change-GM-Icon-on-Chat-Log&p=224500&viewfull=1#post224500).

Full directions are in this post (https://www.fantasygrounds.com/forums/showthread.php?17239-Change-GM-Icon-on-Chat-Log&p=225502&viewfull=1#post225502).

I don't think this is quite what he/she wants. It sounds like the OP wants the GM icon to be changed during the game session by clicking on it (and bringing up a UI such as the portrait UI).

Andraax
November 12th, 2015, 22:52
Can't do that with the current environment.