Jump to content
  • 0

Display Character (Image) Next to chat box


nizate

Question

4 answers to this question

Recommended Posts

  • 0

Retracting my original answer since the code required would break stuff.

 

This IS possible, but you have to get creative. The first step is making the game engine think that the event window should be a lot bigger. So open event eventdefault.png, increase the height ~300 pixels and move the window to the very bottom so it looks like this.

aa105b5189e99a1564c5ef8b725c7635.png

 

My version.

 

Everything from this point on happens in Client/Resources/Gui/InGame.xml.  Open that file and find

		<EventDialogWindow_Max1Response>
			<Bounds>247,210,530,162</Bounds>

The values are (X, Y, Width, and Height). Increase the height by 300 to 462.

 

Save the xml and login to the game. You will see this:

1684a40c83f455fb0f30c8bca0f69a95.png

 

The window is moved downward some, but everything is now outside of it.

 

So now you have to find the bounds for the following and set the second value (the Y value) to be 300px greater to shift everything down to the window.

You will want to change:

  • EventDialogueArea
  • EventDialogueAreaNoFace
  • Response1Button

 

You will end up with this:

5bcffd11e29756970736155986c1c786.png

 

 

Which is closer to what we want. Next up, though, we need to increase the size of our portrait. This is easy, find the bounds for EventFacePanel and tweak them to your liking. I'm setting mine to <Bounds>22,100,200,200</Bounds>

f3f2184f384651b6f9f66ccd25bec701.png

 

More tweaks are then needed, the dialogue text could be moved to the left, and then expanded to fill the whole window.. and this process would need to be repeated for Event windows with 2, 3, and 4 responses.

 

There are other changes that could be made.. it will definitely take a lot of tinkering but that's the jist of it. It's POSSIBLE but not intuitive.

 

Link to comment
Share on other sites

  • 0

At the moment, it's portraits/faces only. You could however draw a full-body portrait (must be square or it will be stretched) and use that as the "face", but there is no way to have it go outside the text bubble like in the first picture.

Link to comment
Share on other sites

  • 0

Would it be easier to put in function calls (after source) that can be executed to do this?  I believe this would wack ALL event windows to be like this... (I personally will try to move them anyways)   I think declaring specific images and making a function call (maybe have the event set something) which will display the image, then onclick have the image refresh (either updates to another image or expression) or is removed on end dialogue.  I think using the premade portrait, will be more troublesome... I might be wrong though.

Link to comment
Share on other sites

  • 0

So probably the BEST way to accomplish this is wait until we implement the show/hide picture functions in the event system.

You should then, on the events you want, show any graphic off to the side or top of the window and hide it at will.

 

ETA of such a function though is unknown and likely won't come until after the source release.

 

Link to comment
Share on other sites

×
×
  • Create New...