DICE PACKS BUNDLE
  1. #1
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,684
    Blog Entries
    1

    Chat Window Framdef or other....

    Where do I define the area that the Chat Text is allowed to use...?

    Attachment 7835

    I want a larger topleft/top/topright definition as I have a graphic in the top there... where do I tell FG to stop scrolling the text up?


    Code:
    	<!-- Chat window -->
    	<framedef name="chatbox">
    		<bitmap file="graphics/frames/chatbox.png" />
    		<topleft rect="0,0,15,70" />
    		<top rect="15,0,358,70" />
    		<topright rect="373,0,15,70" />
    		<left rect="0,70,15,476" />
    		<middle rect="15,70,358,476" />
    		<right rect="373,70,15,545" />
    		<bottomleft rect="0,580,15,47" />
    		<bottom rect="15,580,358,47" />
    		<bottomright rect="373,580,15,47" />
    	</framedef>

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,406
    What you're listing above is purely telling FG which portions of the chatbox.png graphics file to use to build the frame. Controls are then placed within this frame - it is the position of the controls you need to change. Look at <windowclass name="chat"> in desktop\desktop_classes.xml - <chatwindow name="chat"> is the actual chat window control - change the <bounds> of that control.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  3. #3
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,684
    Blog Entries
    1
    Thank you Trenloe.
    That worked as expected.
    Another thing Im having trouble with is the graphic elements for the dicetower and modifier box - I dont seem to be able to change these...? Any thoughts?

  4. #4
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,406
    Quote Originally Posted by damned View Post
    Another thing Im having trouble with is the graphic elements for the dicetower and modifier box - I dont seem to be able to change these...? Any thoughts?
    The modifier box is specified in <windowclass name="modifierstack"> and the dice tower in <windowclass name="dicetower"> both in desktop\desktop_classes.xml, change the <icon> or <frame> definition for the <genericcontrol> control, respectively.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Starfinder Playlist

Log in

Log in