Thread: 4eparser query - ZBREAK
-
September 5th, 2010, 16:42 #1
- Join Date
- Aug 2010
- Posts
- 24
4eparser query - ZBREAK
Hello guys,
I know it is not FG exactly, but I figure someone here can probably give me a hand.
How do you use the ZBREAK tag to allow paragraph breaks in formated text? Like for Lore entries, or Fluff.
I have tried before, in the space of the break, in the space of the break in a new line. I have tried sticking that tag pretty much everywhere and doesn't make a difference.
I either get a huge block of text, or just the first paragraph.
Other than that I have had no issues, and for now I have stuck to just keep it as a wall of text. Still wish I could format it properly though.
-
September 6th, 2010, 07:11 #2
- Join Date
- Aug 2008
- Posts
- 614
I've never used ZBREAK... back in my day, we didn't have no fancy ZBREAK or any of those other helper formatting tags. I just use XML.
ZLore
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum adipiscing augue at massa tempor vulputate. Praesent ornare ornare mi ac convallis.</p>
<p>Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.</p>
etc.
-
September 6th, 2010, 07:33 #3
Nilaihah - I too have never used ZBREAK but from reading the Parser Document it looks like its only supported for Lore content i.e. inside a ZLore block.
For NPCs the text under Fluff, Lore, Tactics etc. is automatically formatted by the Parser, there is no need to add formattedtext block tags like <p> </p> and <b> etc. Just copy the text under each block as is.
Text under ZLore is auto-formatted into <frame> blocks if starts with the following format:
{knowledge skill} DC {#}:
{DC} :
Also, make sure you are using the latest version of the Parser, Tenian recently updated the Parser to break out the individual blocks in a Fluff file to support his new NPC Lore extension.FG Project Development
Next Project(s)*: Starfinder v1.2 Starship Combat
Current Project: Starfinder v1.1 - Character Starships
Completed Projects: Starfinder Ruleset v1.0, Starfinder Core Rulebook, Alien Archive, Paizo Pathfinder Official Theme, D&D 5E data updates
* All fluid by nature and therefore subject to change.
-
September 6th, 2010, 09:52 #4
- Join Date
- Aug 2010
- Posts
- 24
Thanks for taking the time to answer, guys.
Yes, I can get the lore blocks to format properly. As in, it does show the DC or {skill} DC {#} prefix, the issue is that if in my fluff file pre-parse I have:
ZLore
History DC 15:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum adipiscing augue at massa tempor vulputate. Praesent ornare ornare mi ac convallis.
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
History DC 15:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum adipiscing augue at massa tempor vulputate. Praesent ornare ornare mi ac convallis.
I tried putting ZBREAK pretty much anywhere in that initial block and didn't really make much of a difference. It didn't seem it was parsing it at all as it would just actually print out ZBREAK in the lore text in FG.
One option would be to edit the XML straight, but it would be nice the know how to do it from the fluff file pre-parse just to save time instead of first parsing and then going in to edit each entry. That is, if it is possible.
This issue is not limited to only the lore blocks, either. I cannot get it to accept multiple paragraphs anywhere. All the other categories also break after the first paragraph.
I did check whether I was running the latest version of the parser, but I'll give it another look when I am home to be certain.
-
September 6th, 2010, 10:26 #5
What happens if you remove the empty lines? i.e.
ZLore
History DC 15:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum adipiscing augue at massa tempor vulputate. Praesent ornare ornare mi ac convallis.
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
Does it output as a single block or as a frame and a paragraph?
FG Project Development
Next Project(s)*: Starfinder v1.2 Starship Combat
Current Project: Starfinder v1.1 - Character Starships
Completed Projects: Starfinder Ruleset v1.0, Starfinder Core Rulebook, Alien Archive, Paizo Pathfinder Official Theme, D&D 5E data updates
* All fluid by nature and therefore subject to change.
-
September 6th, 2010, 10:30 #6
- Join Date
- Aug 2010
- Posts
- 24
That outputs as a single block of text.
I tried putting the ZBREAK between paragraphs in an individual line, making it a whole single paragraph with ZBREAK where they should break, putting ZBREAK at the end of the whole Lore block, tried using it as 'ZBreak' instead to see if it was just a mistake in the documentation and that it was caps sensitive...
Tried a few other combinations, but no cigar.
-
September 6th, 2010, 11:00 #7
Not sure then. I've sent Tenian a message so we will hopefully have an answer soon.
FG Project Development
Next Project(s)*: Starfinder v1.2 Starship Combat
Current Project: Starfinder v1.1 - Character Starships
Completed Projects: Starfinder Ruleset v1.0, Starfinder Core Rulebook, Alien Archive, Paizo Pathfinder Official Theme, D&D 5E data updates
* All fluid by nature and therefore subject to change.
-
September 6th, 2010, 11:10 #8
- Join Date
- Aug 2010
- Posts
- 24
Thank you very much. It is appreciated!
All in all it is not a huge thing, but it would be convenient.
Other than that, the amount of work the parser saved me is outright unbelievable. Really nifty tool.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks