Thread: Module Creation
-
January 10th, 2021, 23:15 #1
Module Creation
How does one get this level of module organization? When I export an NPC module, all I get is "NPCs". Does this require XML editing?
Code:<library> <testsummon static="true"> <categoryname type="string"></categoryname> <name type="string">testsummon</name> <entries> <npc> <librarylink type="windowreference"> <class>reference_list</class> <recordname>..</recordname> </librarylink> <name type="string">NPCs</name> <recordtype type="string">npc</recordtype> </npc> </entries> </testsummon> </library>
Untitled.jpgLast edited by dellanx; January 10th, 2021 at 23:27.
-
January 10th, 2021, 23:24 #2
Yeah, I think such things are done directly in xml
By the way, you may want to cut down your screenshot; one can see your campaign password there(because you took a screenshot of all your monitors, also with your FB page and the conversations there)
-
January 10th, 2021, 23:27 #3
-
January 10th, 2021, 23:31 #4
[deleted body content]
Last edited by Talyn; January 10th, 2021 at 23:57.
-
January 10th, 2021, 23:34 #5
-
January 10th, 2021, 23:39 #6
No, and I think I misunderstood what you were asking originally since the screenshot was so huge and you copied the library text so... anyway the category that you set in the export dialog is the text category in your library page and there's only one of those.
Could you post a more concise example of what you're trying to do? There are a couple list types already in FG that you could point to (still an XML job) or create a custom list. I do that all the time for practically every project I work on. Some lists are easy (FG does all the hard work) where some of the older list types are fully manual (you have to build each entry yourself) which is still ... "easy" it's just time-consuming and tedious.
-
January 10th, 2021, 23:51 #7
I export a Module "test-summon"
Untitled.jpg
The Astral Deva and Barbed Devil (hamatula) are organized under NPCs. I would like there to be Summoned NPC 9 for Astral Deva and Summoned NPC 8 for Barbed Devil (hamatula).
Just like in this module: Summonable Monsters.mod here. The problem with that module is that the special abilities are not parsed. I am able to do that, but I would like to organize my summoned monsters by spell type.
Thanks
-
January 10th, 2021, 23:59 #8
Oh, gotcha. What Blackfoot did was create separate XML lists for each summon level, which was really the only way to do it back in 2013. What I'd probably do today is add a custom tag to each monster entry then code a single reference_groupedlist to have FG create the list and categorize them for me on the fly. Either way it's six of one, half-dozen of the other, and it's working in the XML no matter what.
Something along the lines of:
Code:<summonlevel type=string">Summon Monsters 8</summonlevel>
Last edited by Talyn; January 11th, 2021 at 00:02.
-
January 11th, 2021, 01:10 #9
Not getting very far, came up with this, but something is wrong:
<name type="string">NPCs</name>
<recordtype type="string">npc</recordtype>
<reference_list type="string">summonlevel</reference_list>
and
<summonlevel type="string">Summon Monsters 8</summonlevel>
<name type="string">Barbed Devil (hamatula)</name>
-
January 11th, 2021, 01:34 #10
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks