Log in

View Full Version : Need Help PFRPG Class Feature XML code



Sargas
January 6th, 2018, 18:46
Hello all
i try to code a german mod for my group of players.
The feats section is working. But the class feature wont.

i think i use the false <class>reference..

My code so far.

<schnellebewegung_barbar>
<listlink type="windowreference">
<class>referencefeat</class>
<recordname>reference.barbar.schnellebewegung_barbar@PFRPG Fähigkeiten DE</recordname>
</listlink>
<name type="string">(AF) Schnelle Bewegung (Barbar)</name>
</schnellebewegung_barbar>


it works for the library view:
21876

but if i push it to the charakter sheet it wont work.
21877

can someone help me please ?


Thanks

damned
January 6th, 2018, 22:44
Hi Sargas - Fantasy Grounds has very limited support for extended characters. It could be that your German characters (although standard for you) might not be supported... can you try a sample using teh same format but using only English characters?

Sargas
January 7th, 2018, 06:47
Hi Damned
thanks for the hint.
I tried it but unfortunately no success.

damned
January 7th, 2018, 07:41
Hi Sargas if you know/understand some programming you can recreate the required XML syntax by looking at the ruleset LUA.
Another way if you have the official product you can probably grab once class and one feat and one race and copy them (just drag and release) and then export your campaign or look in the campaigns db.xml and you may see the required code there...

Talyn
January 7th, 2018, 16:03
You were correct in your first post: you're using the incorrect class. You got the feats working because you used the referencefeats class, which is exactly what that window was designed for. For classes you want the referenceclass class, then there's also referenceclassability for, you guessed it, the class abilities. :)

Sargas
January 7th, 2018, 18:53
Hello all
Thanks for the help. It works now.
I had tryed the referenceclassability before but i had a second error in the <reference> definition.