-
September 2nd, 2024, 16:37 #81
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
-
September 2nd, 2024, 19:12 #82
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.
-
September 3rd, 2024, 03:38 #83If 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
-
February 11th, 2025, 03:16 #84
- Join Date
- Oct 2020
- Posts
- 109
Curious what the status of this is, and what i need to click on to have a working version in 2025.
-
February 11th, 2025, 13:54 #85
-
February 12th, 2025, 05:51 #86
- Join Date
- Oct 2020
- Posts
- 109
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.
-
February 12th, 2025, 20:14 #87
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.
-
February 13th, 2025, 05:33 #88
- Join Date
- Oct 2020
- Posts
- 109
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.
-
February 13th, 2025, 14:50 #89
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.
-
February 13th, 2025, 16:06 #90
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.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks