Thread: Table Questions
-
October 16th, 2017, 23:08 #11
Archangel
- Join Date
- Apr 2008
- Location
- Virginia Beach
- Posts
- 3,096
AlphaDecay, can you show us a screen shot of what your xml looks like?
-
October 24th, 2017, 22:35 #12
I can help with this a bit, but most of my experience is with Savage Worlds rather than DnD 5e.
Code:<gear> <description type="string">Adventuring Gear</description> <groups> <r01ammunition> <description type="string">Ammunition</description> <equipment> <id-00066> <link type="windowreference"> <class>reference_equipment</class> <recordname>reference.equipmentdata.id-00066</recordname> </link> <name type="string">Arrows (20)</name> <cost type="string">1s</cost> <weight type="number">1</weight> </id-00066> <id-00067> <link type="windowreference"> <class>reference_equipment</class> <recordname>reference.equipmentdata.id-00067</recordname> </link> <name type="string">Sling Bullets (20)</name> <cost type="string">4c</cost> <weight type="number">1.5</weight> </id-00067> </equipment> </r01ammunition>
There are a handful of basic window classes:
- imagewindow,
- referencetext,
- referenceindex,
- item,
- npc,
Then each particular rules set will have additional window classes. As an example Savage Worlds has:
- EDGE, (edges and hinderances)
- Power,
- categorisedlist,
- referencetext_narrow,
- referencetext_wide.
DnD and Pathfinder as an example has:
- Spell
- Feat
- reference_equipment
- reference_adventuringgeartable
DnD's reference_adventuringgeartable and Savage Worlds categorisedlist, are both specialized windows linked to LUA code. Depending on what you want the table to contain, you should be able to make a window, by simply referencing that windowclass in the XML. HOWEVER, it is probably specialized to reference and use specific items, I haven't looked at 5e recently so couldn't say but there are probably different window classes for different items such as:
- reference_armortable
- reference_weapontable
- reference_magicitemtable
- reference_spelltable
Finally, you can create a new windowclass and have it used by a rulesset via an Extension, its been a couple of years but if I remember correctly I put together a Headquarters windowclass for Savage Worlds. Pretty sure someone took it, fixed it up included it into the main rules set. Not to hard if you have some experience with website construction via hand coding and XML experience.
https://www.fantasygrounds.com/wiki/..._File_OverviewLocation: Central Pa (East -5)
Ultimate License Holder
Current Campaign: Necessary Evil
Current Project: Dawn of Daikaiju: Converting, Deadlands: Reloaded The last Sons - Quality Assurance Checking
Discord: Mgrancey#4994
"Mad Science" means never stopping to ask "what's the worst thing that could happen?" -- Maxim 14 of The Seventy Maxims of Maximally Effective Mercenaries
Adventure: Keep Living Life Like There's No Tomorrow and You'll Eventually Be Right,
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks