DICE PACKS BUNDLE
Page 1 of 2 12 Last
  1. #1
    rob2e's Avatar
    Join Date
    Sep 2015
    Location
    Spokane, WA
    Posts
    1,423
    Blog Entries
    13

    5E xml mod effects question?

    Looked and looked, couldn't find out this...

    What are the parameters and possibilities for the zeroes here:

    <id-1>
    <public />
    <adjustment type="number">0</adjustment>
    <duration type="number">0</duration>
    <isgmonly type="number">0</isgmonly>
    <label type="string">AC: 1</label>
    </id-1>


    I know the "isgmonly" is for visible (0) or not visible (1)

    I assume the "adjustment" and "duration", have to do with the # of MIN, HR, DAY, RND, etc.

    Just couldn't figure out what means what or how to code those.

    I hope I explained that well enough.

    Help?
    rob2e - Join me on Discord!
    Become a Patron!
    Follow me on the Twitters
    Come watch the Twitches... twitch.tv/rob2e
    Also my YouTube Channel
    Available on the FORGE
    My Dungeon Master's Guild Material

  2. #2
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    20,824
    <id-00001>
    <public />
    <duration type="number">5</duration>
    <isgmonly type="number">0</isgmonly>
    <label type="string">Mage Armor; AC:3</label>
    <unit type="string">minute</unit>
    </id-00001>

    This one is from Mage armor which I set to last for 5 minutes. So I think your answer is that the duration is whatever number is in the duration box. My one has a unit type which yours doesn't have and that sort of fills in the blanks a bit.
    Where are you getting your xml from? Mine was just taken from the db.xml from within the campaign.
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php

  3. #3
    Yes, And thanks for your ultimate sets. They are a wealth of information. Code and otherwise.
    VR Gaming on I9 9900K RTX 3090 ( 4k on the go on I7 6700HQ 965M )
    Fantasy Grounds Ultimate in HD
    member_gqwebb

  4. #4
    rob2e's Avatar
    Join Date
    Sep 2015
    Location
    Spokane, WA
    Posts
    1,423
    Blog Entries
    13
    I'm getting my xml from my original creation. But I copied it from a forum posting. Mine only had duration (set at nothing "><") and imgonly. It works, but everything is 0 RND. I want to be able to set the number of rounds or minutes or hours.

    When I open a db.xml from a campaign the effects looks like this:

    <effects>
    <public />
    </effects>

    So I'm kind of at a loss.
    rob2e - Join me on Discord!
    Become a Patron!
    Follow me on the Twitters
    Come watch the Twitches... twitch.tv/rob2e
    Also my YouTube Channel
    Available on the FORGE
    My Dungeon Master's Guild Material

  5. #5
    rob2e's Avatar
    Join Date
    Sep 2015
    Location
    Spokane, WA
    Posts
    1,423
    Blog Entries
    13
    Quote Originally Posted by Zacchaeus View Post
    <unit type="string">minute</unit>
    Aha! I think this is my answer...

    string, which I'll assume are the full words. minute day hour round... Testing continues.

    ThanX Zacchaeus.
    rob2e - Join me on Discord!
    Become a Patron!
    Follow me on the Twitters
    Come watch the Twitches... twitch.tv/rob2e
    Also my YouTube Channel
    Available on the FORGE
    My Dungeon Master's Guild Material

  6. #6
    rob2e's Avatar
    Join Date
    Sep 2015
    Location
    Spokane, WA
    Posts
    1,423
    Blog Entries
    13
    I don't know .xml. The only computer stuff I know is BASIC (what's up 1984?), and a rudimentary understanding of HTML. I'm self-taught on .xml, HTML, .php, Office applications (Excel - I'm crazy with spreadsheets), and everything else. I eventually figure stuff out, it just takes me 10 times longer than anyone with proper training.

    Boo me, yet YAY me! Ha!
    rob2e - Join me on Discord!
    Become a Patron!
    Follow me on the Twitters
    Come watch the Twitches... twitch.tv/rob2e
    Also my YouTube Channel
    Available on the FORGE
    My Dungeon Master's Guild Material

  7. #7
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,408
    Like anything with FG XML your best bet is to enter a bunch of examples through the FG GUI, save the campaign, and then have a look at the resulting FG XML in the campaign db.xml file.

    For example:



    Gives:
    Code:
    <effects>
    	<public />
    	<id-00001>
    		<public />
    		<duration type="number">1</duration>
    		<isgmonly type="number">0</isgmonly>
    		<label type="string">1 Round</label>
    	</id-00001>
    	<id-00002>
    		<public />
    		<duration type="number">2</duration>
    		<isgmonly type="number">0</isgmonly>
    		<label type="string">2 Mins</label>
    		<unit type="string">minute</unit>
    	</id-00002>
    	<id-00003>
    		<public />
    		<duration type="number">3</duration>
    		<isgmonly type="number">0</isgmonly>
    		<label type="string">3 Hours</label>
    		<unit type="string">hour</unit>
    	</id-00003>
    	<id-00004>
    		<public />
    		<duration type="number">4</duration>
    		<isgmonly type="number">0</isgmonly>
    		<label type="string">4 Days</label>
    		<unit type="string">day</unit>
    	</id-00004>
    </effects>
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  8. #8
    rob2e's Avatar
    Join Date
    Sep 2015
    Location
    Spokane, WA
    Posts
    1,423
    Blog Entries
    13
    Ah, thanX much Trenloe! My brain doesn't think to CREATE the problem, then solve it. Cheers!
    rob2e - Join me on Discord!
    Become a Patron!
    Follow me on the Twitters
    Come watch the Twitches... twitch.tv/rob2e
    Also my YouTube Channel
    Available on the FORGE
    My Dungeon Master's Guild Material

  9. #9
    rob2e's Avatar
    Join Date
    Sep 2015
    Location
    Spokane, WA
    Posts
    1,423
    Blog Entries
    13
    Trenloe.

    I have the effects exactly as shown, but when I try to create a NEW .mod with those, the minute, hour, day still show as rounds. I tried MIN, HR, DAY, that didn't work either.

    Ideas?

    Attachment 15285
    rob2e - Join me on Discord!
    Become a Patron!
    Follow me on the Twitters
    Come watch the Twitches... twitch.tv/rob2e
    Also my YouTube Channel
    Available on the FORGE
    My Dungeon Master's Guild Material

  10. #10
    rob2e's Avatar
    Join Date
    Sep 2015
    Location
    Spokane, WA
    Posts
    1,423
    Blog Entries
    13
    Apparently, FG works with data from a campaign db.xml differently than a module db.xml?
    rob2e - Join me on Discord!
    Become a Patron!
    Follow me on the Twitters
    Come watch the Twitches... twitch.tv/rob2e
    Also my YouTube Channel
    Available on the FORGE
    My Dungeon Master's Guild Material

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 Character Create Playlist

Log in

Log in