Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - User Projects (http://forums.wolflair.com/forumdisplay.php?f=55)
-   -   What are skill abilities? (http://forums.wolflair.com/showthread.php?t=47669)

Snapshot December 13th, 2013 02:23 PM

What are skill abilities?
 
System: Pathfinder
Background: I am writing a class in C# to parse the .xml file out of the .por file.

I have accounted for all the fields in the xml file except for 1 :confused:
<skillabilities/>
I have no idea where this is from. I need the schema to this field to complete the class in case it is used.
Where is this used?
Any Help would be appreciated.

Mathias December 13th, 2013 03:05 PM

It's a subset of abilities - those that would be displayed in the skill section of a statblock - they're used to build the list of modifiers that's added after the list of skills.

Mathias December 13th, 2013 03:40 PM

In the Help menu, choose "Pathfinder Roleplaying Game Manual", and then scroll down almost all the way, to "Custom Output DTD". That'll give you the DTD for the data you're looking at.

Snapshot December 13th, 2013 03:46 PM

Does it ever populate?
If so do you have a schema of it or an example I can build a schema from?

I need the fields and properties to write a class.
Name, text, description, etc and is it a collection.

Right now I use this, and always returns null
public object skillabilities { get; set; }


I need this, Items in red are examples, I need the actuals.
public SkillAbilities skillabilities { get; set; }

[Serializable]
[XmlType(AnonymousType=true)]
public class SkillAbilities {
public string description { get; set; }
[XmlElement("traitcategory")]
public string[] traitcategory { get; set; }
[XmlAttribute]
public string name { get; set; }
[XmlAttribute]
public string categorytext { get; set; }
}

An example of the populated xml would also work

Snapshot December 13th, 2013 03:51 PM

Sorry you ninja'd me thanks for the DTD info

Mathias December 13th, 2013 03:55 PM

<!ELEMENTskillabilities ((special*))>

Snapshot December 13th, 2013 08:23 PM

Many Thanks
 
1 Attachment(s)
Thank you very much Mathias, That dtd file was an awesome help after reviewing it I realized I forgot to include the pathfinder society in my code and a couple other things I have not seen in any xml file I have generated.

I wish I had been pointed to that sooner, such is life.

I included the file if anyone is interested.


All times are GMT -8. The time now is 09:17 AM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.