Thread: 5E xml mod effects question?
-
September 11th, 2016, 09:11 #1
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
-
September 11th, 2016, 19:30 #2
<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
-
September 11th, 2016, 19:38 #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
-
September 11th, 2016, 19:41 #4
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
-
September 11th, 2016, 19:47 #5rob2e - 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
-
September 11th, 2016, 19:50 #6
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
-
September 11th, 2016, 20:19 #7
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!
-
September 11th, 2016, 20:21 #8
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
-
September 11th, 2016, 22:49 #9
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 15285rob2e - 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
-
September 11th, 2016, 23:05 #10
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