PDA

View Full Version : Need help with Library project



Sam Guerra
February 13th, 2013, 22:23
reworking the 3.5e/PF library to add in traits, alt traits, and favored class options

this is the layout i am looking for

Library - list race, class, etc (link)
..Races window - list core, featured an uncommon races (with heading, all races are linked)
....Individual race window - list traits, alt traits, and favored class options ( with heading, all traits are linked)
......Traits window - list trait name and description

working in notepad++

i have some script done but i am new so ....

Blahness98
February 14th, 2013, 18:29
I thought there was already a module that contained the archetypes for the classes floating around someplace. Then again, I could be mistaken..

The basic layouts of what you are attempting to do aren't really that hard. It is only a matter of sinking in some time and looking at an existing module to watch the structure. If I had more time, I'd help you out, but time is coming at a premium for me right now.

If push comes to shove, send me a copy and I'll help make sure everything is properly laid out..

Sam Guerra
February 14th, 2013, 21:31
This what i got (minus some duplicate code for other races) this gets me to
the Races window but nothing is listed.

<?xml version="1.0" encoding="utf-8"?>
<root>
<library>
<PathfinderCompleteRaces static="true">
<name type="string">Pathfinder Complete Races</name>
<categoryname type="string">Pathfinder Essentials</categoryname>
<entries>
<races>
<librarylink type="windowreference">
<class>referenceindex</class>
<recordname>lists.races@Pathfinder Complete Races</recordname>
</librarylink>
<name type="string">Races</name>
</races>
</entries>
</PathfinderCompleteRaces>
</library>
<reference static="true">
<races>
<humans>
<name type="string">Humans</name>
</humans>
</races>
</reference>
<lists static="true">
<races>
<description type="string">Races</description>
<groups>
<section001>
<description type="string">Core Races</description>
<races>
<humans>
<listlink type="windowreference">
<class>referencetextwide</class>
<recordname>reference.races.humans@Pathfinder Complete Races</recordname>
</listlink>
<name type="string">Humans</name>
</humans>
</races>
</section001>
<section002>
<description type="string">Featured Races</description>
</section002>
<section003>
<description type="string">Uncommon Races</description>
</section003>
</groups>
</races>
</lists>
</root>

Trenloe
February 15th, 2013, 01:41
Check in the standard rules library supplied with FG, 3.5e or PF for the correct structure.

For a start, your recordname for humans is incorrect there is no reference.races.humans in your XML - this applies to the XML tag structure, so there is a lists.races.humans entry but that is where the record name entry is, so that won't help.

Take a look at the end of the sample modules in FG, they will have a long list of entries just containing data related to specific types of information - these are the items you reference from your earlier lists.

Sam Guerra
February 15th, 2013, 07:03
Where are these sample modules you speak of?

Trenloe
February 15th, 2013, 07:28
Where are these sample modules you speak of?
The library modules that come with FG. Look in the <FG Application Data Directory>\modules for 3.5E-basicrules.mod or PF-SRD-Basic-Rules.mod

I guess you're already looking at these based off your XML structure already. Make sure you have all of the sections that are there in the standard library module - including formatted text sections so you actually have something to display in the windows the links open.

I've noticed you've added some extra levels that I'm not sure what you're to do - You have lists -> Races -> Groups -> Section001 -> races -> Humans. Remove the extra levels to make it the same as the 3.5E or PF RPG modules.

Sam Guerra
February 16th, 2013, 10:34
ok so here is a mod that outlines what i am doing but this is messy(too many links in library) i want the same but in PF basic format. please note i am new at this.

<?xml version="1.0" encoding="iso-8859-1"?>
<root version="2.9" release="10">
<data>
<category name="" mergeid="" baseicon="0" decalicon="0">
<id-00001>
<name type="string">Races</name>
<text type="formattedtext">
<h>Core Races</h>
<linklist>
<link class="encounter" recordname="data.id-00002">Dwarves</link>
<link class="" recordname="">Elves</link>
<link class="" recordname="">Gnomes</link>
<link class="" recordname="">Half Elves</link>
<link class="" recordname="">Half-Orcs</link>
<link class="" recordname="">Halflings</link>
<link class="" recordname="">Humans</link>
</linklist>
<h>Featured Races</h>
<linklist>
<link class="" recordname=""></link>
</linklist>
<h>Uncommon Races</h>
<linklist>
<link class="" recordname=""></link>
</linklist>
</text>
</id-00001>
<id-00002>
<name type="string">Dwarves</name>
<text type="formattedtext">
<p>These short and stocky defenders of mountain fortresses are often seen as stern and humorless. Known for mining the earth’s treasures and crafting magnificent items from ore and gemstones, they have an unrivaled affinity for the bounties of the deep earth. Dwarves also have a tendency toward traditionalism and isolation that sometimes manifests as xenophobia. </p>
<h>Racial Triats</h>
<linklist>
<link class="encounter" recordname="data.id-00003">Attributes</link>
</linklist>
<h>Alternative Traits</h>
<linklist>
<link class="" recordname=""></link>
</linklist>
<h>Favored Class Option</h>
<linklist>
<link class="" recordname=""></link>
</linklist>
<h>Subtypes</h>
<linklist>
<link class="" recordname=""></link>
</linklist>
</text>
</id-00002>
<id-00003>
<name type="string">Dwarf Racial Attributes</name>
<text type="formattedtext">
<p>+2 Constitution, +2 Wisdom, –2 Charisma: Dwarves are both tough and wise, but also a bit gruff.</p>
</text>
</id-00003>
</category>
</data>
<library>
<pathfinderraces static="true">
<categoryname type="string">Pathfinder Essentials</categoryname>
<name type="string">Pathfinder Races</name>
<entries>
<dataid-00001>
<librarylink type="windowreference">
<class>encounter</class>
<recordname>data.id-00001@Pathfinder Races</recordname>
</librarylink>
<name type="string">Races</name>
</dataid-00001>
<dataid-00002>
<librarylink type="windowreference">
<class>encounter</class>
<recordname>data.id-00002@Pathfinder Races</recordname>
</librarylink>
<name type="string">Dwarves</name>
</dataid-00002>
<dataid-00003>
<librarylink type="windowreference">
<class>encounter</class>
<recordname>data.id-00003@Pathfinder Races</recordname>
</librarylink>
<name type="string">Dwarf Racial Attributes</name>
</dataid-00003>
</entries>
</pathfinderraces>
</library>
</root>