DICE PACKS BUNDLE
Page 9 of 10 First ... 78910 Last
  1. #81
    Quote Originally Posted by LordEntrails View Post
    I have been unable to resolve Advanced Stories. This is because each story entry is made of of multiple <block> elements and I don't know enough to get the for-select command to work.
    I don't know anything about coding but I can contribute to problem solving through brainstorming. i.e: this html example from Brave's AI assistant:

    htmlexample.png

    Especially if this part can be translated into xsl:
    • Wrap each block element (e.g., paragraphs, headings, lists) within an <option> element. This will create a menu option for each block element.
    • Ensure each <option> element has a value attribute containing a unique value for the corresponding block element. If no value attribute is included, the value defaults to the text contained inside the element.

    https://www.w3schools.com/tags/tag_select.asp has some test codes to run.

    # XSL version

    "Choose" command is used in this, I imagine this can be added to the code to make the dropdown menu (if I understand the problem correctly) to have more blocks.

    xslexample.png


    Hope this helps.
    If you want to Solo your way through FGU, I write about Solo RPG methods and reviews for Resources in my All Things Solo blog.
    Actual Play Logs are in Solo Play Adventures. And Solo GM Notes are in GM's Tome of Experiments.
    Now with Solo Playground - Solo Play Workbook & Battlefield Mainframe - Solo Combat Hub

  2. #82
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    18,223
    Blog Entries
    9
    Thanks. I'm working on updating my map images at the moment but will get back to this shortly. I'll post what I figure out. Appreciate the ideas

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

  3. #83
    Quote Originally Posted by LordEntrails View Post
    Thanks. I'm working on updating my map images at the moment but will get back to this shortly. I'll post what I figure out. Appreciate the ideas
    Happy to help No need to rush. Thank you for working on this util, it would be a loss to see it broken.
    If you want to Solo your way through FGU, I write about Solo RPG methods and reviews for Resources in my All Things Solo blog.
    Actual Play Logs are in Solo Play Adventures. And Solo GM Notes are in GM's Tome of Experiments.
    Now with Solo Playground - Solo Play Workbook & Battlefield Mainframe - Solo Combat Hub

  4. #84
    Curious what the status of this is, and what i need to click on to have a working version in 2025.

  5. #85
    ddavison's Avatar
    Join Date
    Sep 2008
    Posts
    6,344
    Blog Entries
    21
    Quote Originally Posted by lousilver View Post
    Curious what the status of this is, and what i need to click on to have a working version in 2025.
    It should still be working. Check the first post and download a copy from there. Let us know if you have any trouble running it and what operating system you have.

  6. #86
    I didn't see FGPrintTool.exe in the zip file. I ran FG Character Tool.exe. it's running in unity.

    I picked PringCampaign_5E.xsl
    I picked my campaign.

    All i see are NPCs and item records, no stories. I use the book, so my stories aren't numbered like in the video. but i didn't see any stories in the output.xml

    windows 10

    also, sometimes the file browser has corrupted text so you can't read files. I tried changing the xml source because i had picked the wrong one, and the field became perma blank, so i had to restart the program.
    Attached Images Attached Images

  7. #87
    ddavison's Avatar
    Join Date
    Sep 2008
    Posts
    6,344
    Blog Entries
    21
    Yes, the PrintCampaign_5E.xsl uses the path for basic Story entries in the campaign and does not point to the reference manual/advanced story entries. The path would need to be changed in the XSL file to appoint to this new location. The easiest way to do that is to make a duplicate of the XSL file for your own use and then modify it. Look at your campaign's db.xml file to see the path structure of where your data is located and then modify the story section to use this path instead.

  8. #88
    Quote Originally Posted by ddavison View Post
    Yes, the PrintCampaign_5E.xsl uses the path for basic Story entries in the campaign and does not point to the reference manual/advanced story entries. The path would need to be changed in the XSL file to appoint to this new location. The easiest way to do that is to make a duplicate of the XSL file for your own use and then modify it. Look at your campaign's db.xml file to see the path structure of where your data is located and then modify the story section to use this path instead.
    I had some mild success. I noticed that simple stories are termed 'encounter', and that advanced stories are 'refmanualdata'. So I saved a copy of PrintCampaign_5E.xsl and replaced all instances of the former with the latter. This resulted in the titles of each record being included in the output, which was actually in record order rather than alphabetical order so that was nice. but none of the record content was included. I suspect this might be due to the a difference in the internal structure between simple and advanced stories, as the latter can have multiple blocks. maybe i can puzzle this out later.

  9. #89
    ddavison's Avatar
    Join Date
    Sep 2008
    Posts
    6,344
    Blog Entries
    21
    Exactly. You are on the right track. The refmanualdata nodes have children nodes for the various blocks of text that are included, along with extra information for any frames our layouts you have.

    You can leave the story one there and duplicate it so it looks at the refmanualdata records. Then you will need to look at the children of those nodes and make templates for the children. Finally call the appy-templates for each of the children so it knows how you want to format the output. You can probably map various frames to new CSS classes that resemble the same styling options.

    If you use something like ChatGPT, just make sure to tell it that it has to be compatible with XSL 1.0. There are lots of new and easy to use features in later versions of XSLT but Unity only supports the 1.0 version.

  10. #90
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    18,223
    Blog Entries
    9
    See the xml files I have uploaded to earlier in this thread to see what improvements I've made. Please share any improvements you make.
    edit: my simple efforts did not come up with a way to export advanced stories. I'm sure it's achievable, I just haven't tried very hard as I don't currently have the need for advanced story export.

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

Page 9 of 10 First ... 78910 Last

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
  •  
GI JOE RPG Launch

Log in

Log in