Starfinder Playlist
Page 2 of 2 First 12
  1. #11
    Okay, thanks Zacchaeus - I figured that would be the case with my first question.

    As for my second:

    Quote Originally Posted by Zacchaeus View Post
    You can have two different borders around two columns of text or around one single text block.
    I'm I'm understanding that correctly, does this mean that I could - potentially - enclose the text in a brown border / frame that's to the left of the image? And if so, how would I do that?

    Ultimate License Holder!
    Anyone can play!
    Timzone:
    US Central (-6 GMT)

  2. #12

    Join Date
    May 2016
    Location
    Jacksonville, FL
    Posts
    2,071
    Blog Entries
    7
    As @Zacc said, basically 'no' to each question. If you have a paragraph break somewhere (as you do in your sample screenshot) only include that text in the 'image' block, then create a new 'text' block below it to continue the normal text.

    Frames are purely a background texture for the 'text' portion of a block and will not include images. That's one (of many) features I'm hoping will eventually be included in the layout functionality.

    Quote Originally Posted by Casimir View Post
    ...does this mean that I could - potentially - enclose the text in a brown border / frame that's to the left of the image? And if so, how would I do that?
    Sure, just stick the frame markup in the same block as the image+text block and the script will know how to handle it. It also works for two-column text+text.

    The main thing to watch for, especially when using the two-column layout, is readability. Each blocktype is inherently 'indented' inside the refpage borders by a few pixels (5 or 10? @Trenloe might know.) When you use a frame, the text inside that frame is further 'indented' (refer to my above comment about using this technique as a "trick") so make sure what you're trying to do actually looks good without having to enlarge the refpage. If it's questionable, then it's usually better to just keep the 'framed' text as its own separate, single-column block.
    Last edited by Talyn; November 6th, 2020 at 23:13.

  3. #13
    Quote Originally Posted by Talyn View Post
    Sure, just stick the frame markup in the same block as the image+text block and the script will know how to handle it. It also works for two-column text+text.
    Unfortunately, I don't seem to be able to get this to work. I don't know if I'm doing it right, but here's the code I'm trying to work with:

    Code:
    <id-00003>
        <align type="string">left,right</align>
        <blocktype type="string">image</blocktype>
        <image type="image">
            <bitmap>images\sideimg1.jpg</bitmap>
        </image>
        <size type="string">200,350</size>
        <frame type="string">brown</frame>
        <text type="formattedtext"><p>     Lorem ipsum dolor sit amet...</text>
    </id-00003>
    And what's happening instead is a standard text colored block:

    Attached Images Attached Images

    Ultimate License Holder!
    Anyone can play!
    Timzone:
    US Central (-6 GMT)

  4. #14

    Join Date
    May 2016
    Location
    Jacksonville, FL
    Posts
    2,071
    Blog Entries
    7
    I will correct my original statement (been awhile; I've pretty much trained myself to minimize two-column blocks whenever possible): you can only do something "fancy" (frame or image type) to one column per block. So image + frame would be two "fancy" things, which is a non-starter so the scripts will default to simply the blocktype (image in this case) and normal text.

  5. #15
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    22,878
    Blog Entries
    1
    Note the example you started with is the same.

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  6. #16
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Newcastle, UK (for a bit)
    Posts
    28,099
    For a Pathfinder 2 product I have some blocks that have an image on the left and text (with a frame) on the right - see the third screenshot here: https://www.fantasygrounds.com/store...ZOSMWPZO9303FG

    This was created with the following code:

    Code:
            <blocks>
              <id-00001>
                <align type="string">right,left</align>
                <size type="string">170,350</size>
                <frame type="string">pfblue</frame>
                <image type="image">
                  <bitmap type="string">images\Abadar - Symbol.jpg</bitmap>
                </image>
                <caption type="string" />
                <text type="formattedtext"><h>Master of the First Vault</h><p>LN god of cities, law, merchants, and wealth</p><p><b>Realm</b> Aktun (Axis)</p><p><b>Allies</b> Asmodeus, Brigh, Erastil, Iomedae, Irori, Shelyn, Shizuru, Torag</p><p><b>Enemies</b> Besmara, Lamashtu, Norgorber, Rovagug</p><p><b>Temples</b> banks, cathedrals, courthouses</p><p><b>Worshippers</b> architects, bankers, lawmakers</p><p><b>Sacred Animal</b> monkey</p><p><b>Sacred Colors</b> gold and silver</p><p><b>Divine Ability</b> Constitution or Intelligence</p><p><b>Alternate Domains</b> duty</p></text>
                <imagelink type="windowreference">
                  <class>imagewindow</class>
                  <recordname>reference.imagedata.img_abadarsymboljpg</recordname>
                </imagelink>
                <blocktype type="string">imageleft</blocktype>
              </id-00001>
    Note the blocktype of imageleft - in theory, imageright should also work - which is what @damned suggested in post #3, but a while ago I had issues with getting this to work properly on imageright and only got it working on imageleft. I didn't investigate in any depth as I didn't specifically need imageright

    EDIT: I've done some further investigating now (diving into the CoreRPG ruleset code) and it will work if the frame value is provided via XML as frameleft - so try something like the following:

    Code:
    <id-00003>
        <align type="string">left,right</align>
        <blocktype type="string">imageright</blocktype>
        <image type="image">
            <bitmap>images\sideimg1.jpg</bitmap>
        </image>
        <size type="string">200,350</size>
        <frameleft type="string">brown</frameleft>
        <text type="formattedtext"><p>     Lorem ipsum dolor sit amet...</text>
    </id-00003>
    Last edited by Trenloe; November 8th, 2020 at 10:01.
    FG Con 16 Fantasy Grounds Online RPG Convention - Postponed New date To Be Confirmed.
    Register at www.fg-con.com for all the latest info.

    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!

  7. #17

    Join Date
    May 2016
    Location
    Jacksonville, FL
    Posts
    2,071
    Blog Entries
    7
    These new tags, are they documented somewhere? They're certainly not on the Wiki page...

Thread Information

Users Browsing this Thread

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

Posting Permissions

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

Log in

Log in