FG Spreadshirt Swag
  1. #1

    Need Help PFRPG Class Feature XML code

    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.
    Code:
    				<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:
    Zwischenablage01.png

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

    can someone help me please ?


    Thanks

  2. #2
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,655
    Blog Entries
    1
    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?

  3. #3
    Hi Damned
    thanks for the hint.
    I tried it but unfortunately no success.

  4. #4
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,655
    Blog Entries
    1
    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...

  5. #5

    Join Date
    May 2016
    Location
    Jacksonville, FL
    Posts
    2,211
    Blog Entries
    7
    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.

  6. #6
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Product Walkthrough Playlist

Log in

Log in