PDA

View Full Version : Intro picture in the Chat



Sarielo
December 15th, 2014, 01:33
Hello Everybody,
i am near to finsh my Adventure as a modul. But i want to show my Intro Pic in the Chatwindow, how can i do this? or its only possible in Rulesets?

much regard

Sarielo

here is an Example what i mean:
https://www11.pic-upload.de/thumb/15.12.14/8pmji8o7baoi.png (https://www.pic-upload.de/view-25560370/Intro-picture.png.html)

Trenloe
December 15th, 2014, 01:36
Only possible in rulesets or extensions, not modules.

Nylanfs
December 15th, 2014, 15:06
Actually I remember a thread on making a MOTD for players when they log into a game. I wonder if that effort could be extended to including an image?

Found it

https://www.fantasygrounds.com/forums/showthread.php?22369-Message-of-the-Day-%28MOTD%29-Extension

Trenloe
December 15th, 2014, 16:59
Actually I remember a thread on making a MOTD for players when they log into a game. I wonder if that effort could be extended to including an image?
That extension doesn't write anything to the chat window. It searches the campaign story entries for an enetry called MOTD and displays that story entry when the players log in *if* it has already been shared by the GM.

In theory the extension could be changed to look for a specific image name in a module - but this would still require the use of an extensions and then what happens if 2 modules have the same named image? And, if the GM hasn't shared that image to the players it won't show up (most wouldn't know, or perhaps even care, that they needed to pre-share a splash screen).

Sarielo
December 15th, 2014, 18:18
its also a good solution for my Question to show it, but i am not shure if i want this

€dit: The wiki sayed no but: is it not possible with a GM hotkey? like /Img xxx.jpg .. or draging it in the chat window?

Trenloe
December 15th, 2014, 19:14
€dit: The wiki sayed no but: is it not possible with a GM hotkey? like /Img xxx.jpg .. or draging it in the chat window?
These are processes that would have to be done by the GM manually, so they're not giving you an image or a link to an image automatically when a player logs in based on a particular module being loaded.

Sarielo
December 15th, 2014, 19:41
would be okay if everybody is connectet that i post than the picture in the chat, but i only know to post the Link in the chat. not that the image it self is shown.

Trenloe
December 15th, 2014, 19:45
would be okay if everybody is connectet that i post than the picture in the chat, but i only know to post the Link in the chat. not that the image it self is shown.
If you're going to do it manually and you're waiting until everyone logs in then you're best just using the usual "Share" functionality of an image. See "Image Record" here: https://www.fantasygrounds.com/wiki/index.php/Images

Sarielo
December 15th, 2014, 20:17
you miss understoud me, i want the Picture in the Chat! not on the table

Trenloe
December 15th, 2014, 20:49
you miss understoud me, i want the Picture in the Chat! not on the table
Sorry, I was offering more options, even though I knew this wasn't what you mentioned originally.

There is no way (currently) of displaying an image in chat via the normal FG interface. The most you can do is drag a link to an image into the chat window - it would then be up to the players to press that link and they'd only see the link if they were logged in at that time.

To display an image in the chat window you need to use the FG Comm package to send a message to the chat window and set the "icon" in the message data: https://www.fantasygrounds.com/refdoc/Comm.xcp Therefore this has to be done in code - usually in an extension. *AND* this graphic would have to be an icon graphics resource in the ruleset/extension - you can't put use a dynamic image reference (e.g. an image in the campaign\module).

As you want to do display an image in the chat window when a specific module is loaded then this would need an extension written (or the base ruleset changed to allow this). If you use an extension, there is no guarantee that a GM would enable the extension so there is basically no sure way to display a specific graphic in the chat window when a module is enabled. Even if the code was written in the base ruleset, you can only display pre-defined icon graphic resources from the ruleset, so you'd be limited to the graphics already defined.

Sarielo
December 15th, 2014, 20:53
Okay that helped me alot! Many Thanks to you ;-) you are the best.

Sariel