Yep that will be nice - for free too, at least according to the newsletter: https://wolflair.com/index.php?conte...012#pathfinderQuote:
Originally Posted by hawkwind
Printable View
Yep that will be nice - for free too, at least according to the newsletter: https://wolflair.com/index.php?conte...012#pathfinderQuote:
Originally Posted by hawkwind
Once again, I'm experiencing a lot of errors with using this parser with statblocks exported from Hero Lab. :(
The parser is claiming to have no problems itself. But once I attempt to activate the .mod in FG, I get a "Database Error: A XML parse error occurred processing file har:db.xml - Error on line 46: Error reading end tag."
I look at line 46, and I can see why. The XML is just plain broken:
which is generated from:Quote:
<p><b><u>Special Abilities</u>:</b> </p><p><b>Aura of Courage +4 (10' radius) (Su)</b> You are immune to Fear. Allies within aura gain a morale bonus to saves vs Fear. </p><p><b>Aura of Good (Ex)</b> The paladin has an Aura of Good with power equal to her class level. </p><p><b>Detect Evil (At will) (Sp)</b> You can use detect evil at will (as the spell). </p><p><b>Divine Bond (Weapon +1) (7 minutes) (1/day) (Sp)</b> Weapon shines with light and gains enhancement bonuses or chosen properties. </p><p><b>Immune to Fear (Ex)</b> You are immune to all fear effects. Immunity to Disease You are immune to diseases. </p><p><b>Just</p><p><b>ice/Law Variant Channeling (±2 Sacred) Perception, Sense Motive, attack & save bonus/zone of truth Lay on Hands (3d6) (4/day) (Su)</b> You can heal 3d6 damage, 4/day Mercy (Dazed) (Su)</b> When you use your lay on hands ability, it also removes the dazed condition. </p><p><b>Mercy (Shaken) (Su)</b> When you use your lay on hands ability, it also removes the shaken condition. </p><p><b>Paladin Channel Positive Energy 4d6 (2/day) (DC 14) (Su)</b> Positive energy heals the living and harms the undead; negative has the reverse effect. Point Blank Shot +1 to attack and damage rolls with ranged weapons at up to 30 feet. Precise Shot You don't get -4 to hit when shooting or throwing into melee. Rapid Reload (Heavy crossbow) You can reload fast with one type of Crossbow or Firearm. </p><p><b>Smite Evil (3/day) (Su)</b> +1 to hit, +7 to damage, +1 deflection bonus to AC when used.</p>
Quote:
Special Abilities
Aura of Courage +4 (10' radius) (Su) You are immune to Fear. Allies within aura gain a morale bonus to saves vs Fear.
Aura of Good (Ex) The paladin has an Aura of Good with power equal to her class level.
Detect Evil (At will) (Sp) You can use detect evil at will (as the spell).
Divine Bond (Weapon +1) (7 minutes) (1/day) (Sp) Weapon shines with light and gains enhancement bonuses or chosen properties.
Immune to Fear (Ex) You are immune to all fear effects.
Immunity to Disease You are immune to diseases.
Justice/Law Variant Channeling (±2 Sacred) Perception, Sense Motive, attack & save bonus/zone of truth
Lay on Hands (3d6) (4/day) (Su) You can heal 3d6 damage, 4/day
Mercy (Dazed) (Su) When you use your lay on hands ability, it also removes the dazed condition.
Mercy (Shaken) (Su) When you use your lay on hands ability, it also removes the shaken condition.
Paladin Channel Positive Energy 4d6 (2/day) (DC 14) (Su) Positive energy heals the living and harms the undead; negative has the reverse effect.
Point Blank Shot +1 to attack and damage rolls with ranged weapons at up to 30 feet.
Precise Shot You don't get -4 to hit when shooting or throwing into melee.
Rapid Reload (Heavy crossbow) You can reload fast with one type of Crossbow or Firearm.
Smite Evil (3/day) (Su) +1 to hit, +7 to damage, +1 deflection bonus to AC when used.
The thing that confuses me is that this is pretty much consistent. I get this with every single NPC I attempt to export now. Am I the only person who uses Hero Lab to make NPC's? Maybe it's because I'm reaching a higher level of statblock complexity because of a higher level of play, but I really hope that something can still be done to help with this. Fixing this always takes me forever. It's always the Special Abilities line. The parser can't handle something there. Is there anything that can be done? :)
Please attach an example of the text file you are parsing.Quote:
Originally Posted by darkling
Sure thing. :)
One thing to try - makes sure each line of the special abilities ends in a full-stop (period). This is used by the parser when it is trying to work out what section of the ability header to put in bold.
I'm not sure why the current one is splitting up Just-ice, it might be a limit to how far back the code looks for a full-stop.
Anyway, darkling, please send through the example text file you are parsing so I can try to work out what is causing this and fix if possible.
Cheers!
Oh whoops. I attached it to the previous post. ^^^^ :)
It's as I suspected - the entries in the Special Abilities that don't end in a full-stop (period) are causing the issues.
Just add a . to the end of the lines that don't have a period/full-stop. "Lay on hands" for all three NPCs and "Justice/Law variant" for one.
Works beautifully with NeoExodus. Praise to you! I might get my campaign in after all.:)
I'm usually pretty good with the parser but I must be tired tonight as i can't seem to get it to work
this is my error message
Reading data file: C:\Users\Falafel\Documents\thornkeep\accursed halls.txt
Logging to: C:\Users\Falafel\Documents\thornkeep\accursed halls.txt.log
Formatting creature stat block: Murgo the Oracle CR 2
Processing creature: Murgo the Oracle
Error in ReadWriteFormattedCreature, Message: Index was outside the bounds of the array.
Processing creature:
Error in ReadWriteFormattedCreature, Message: The empty string '' is not a valid local name.
Error in btnStartParse_Click, Message: The Writer is closed or in error state.
Module file created: C:\Users\Falafel\Documents\thornkeep\accursedhalls .mod
attached is my file
sorry some how the file didn't attach possibly because its a text file
here are the contents, any help would be appreciated
goblin leader
Murgo the Oracle CR 2
XP 1
NE Small humanoid
lnit +5; Senses darkvision 60 ft., vision; Perception +2
DEFENSE
AC 16, touch 12, flat-footed 15 (+4 armor, +1 Dex, +1 size)
hp 23 (3d8+6)
Fort +2, Ref +2, Will +5; +4 vs. disease
OFFENSE
Speed 30 ft.
Melee mwk longspear +3 (1d6-1/x3)
Oracle Spells Known (CL 3rd; concentration +4)
1st (6/day) -bane (DC 12), burning hands (DC 12), cause fear (DC 12),
doom (DC 12), inflict light wounds (DC 12)
O (at will) -bleed (DC 11), create water, detect magic, light, resistance
Mystery flame
STATISTICS
Str 8, Dex 12, Con 12, Int 13, Wis 14, Cha 13
Base Atk +2; CMB +O; CMD 11
Feats Combat Casting, Improved Initiative
Skills Acrobatics +6, Climb +4, Heal +8, Sense Motive +8, Spellcraft +7,
Stealth +8; Racial Modifiers +4 Ride, +4 Stealth
Languages Common, Goblin
SQ oracle's curse (wasting), revelations (burning magic, fire breath [3d4,
1/day, DC 12])
Combat Gear potion of cure light wounds, acid (2); Other Gear
masterwork chain shirt, masterwork longspear
In the text you pasted "Init" is written with a lowercase "l" and not capital "I".
Change this to I and the error goes away.
Also, but not relevant to the parser, the 0lvl spells use a capital "O" and not a zero in your text.
thanks a lot, that was driving me nuts
I, too, am being driven crazy. I keep reading and rereading the text and I just can't figure out what's wrong. I did have an A-ha! moment when I saw that, originally, the CMB didn't have + in front of the number, but alas, that was not the issue, I suppose.
This is the text I'm trying to parse:
Quote:
Shalelu Andosana CR 5
XP 1,600
Female elf fighter 2, ranger 4
CG Medium humanoid (elf)
Init +3; Senses low-light vision; Perception +12
DEFENSE
AC 19, touch 14, flat-footed 15 (+4 armor, +3 Dex, +1 dodge, +1 natural)
HP 53 (6d10+16)
Fort +10, Ref +8, Will +3; +2 vs. enchantments, +1 vs. fear
Defensive Abilities bravery +1
OFFENSE
Speed 30 ft.
Melee mwk short sword +8/+3 (1d6+1/19-20)
Ranged +1 composite longbow +11/+6 (1d8+1/x3)
Space 5 ft., Reach 5 ft.
Special Attacks favored enemy (goblinoids +2)
Ranger Spells Prepared (CL 1st; concentration +2)
1st-Resist Energy
TACTICS
During Combat Shalelu prefers to fight with her bow, resorting to melee only when truly desperate or when an ally seems in dire need of healing from her wand.
Morale Shalelu is loyal to her friends, and as long as even one of them remains in danger, she won't abandon them. That said, if she feels she can escape, get help, and return in time to save anyone captured by enemies before it's too late, she might try to do so.
STATISTICS
Str 12, Dex 16, Con 14, Int 12, Wis 13, Cha 8
Base Atk +6; CMB +7; CMD 21
Feats Dodge, Endurance, Point-Blank Shot, Precise Shot, Rapid Shot, Skill Focus (Acrobatics), Weapon Focus (composite longbow)
Skills Acrobatics +12, Knowledge (nature) +8, Perception +12, Stealth +15, Survival +10, Swim +10
Languages Common, Elven, Goblin
SQ elven magic, favored terrain (forest +2), hunter's bond (companions), PC gear, track +2, weapon familiarity, wild empathy +3
Treasure sleep arrows (10), potion of delay poison, potions of lesser restoration (2), wand of cure light wounds (25 charges), antitoxin (2)
This is the Error Message from the log:
Quote:
4/9/2013 9:42:56 AM: Calling sub ReadWriteFormattedCreature
4/9/2013 9:42:56 AM: ReadWriteFormattedCreature: Entered sub routine.
4/9/2013 9:42:56 AM: ReadWriteFormattedCreature: Looking for Description, line read =
4/9/2013 9:42:56 AM: ReadWriteFormattedCreature: Looking for NAME/CR, line read =
4/9/2013 9:42:56 AM: ReadWriteFormattedCreature: Processing creature:
4/9/2013 9:42:56 AM: ReadWriteFormattedCreature: Looking for XP, line read =
4/9/2013 9:42:56 AM: ReadWriteFormattedCreature: Looking for Creature Type, line read =
4/9/2013 9:42:56 AM: ReadWriteFormattedCreature: Creating XML structure...
4/9/2013 9:42:56 AM: ReadWriteFormattedCreature: Error Message: System.ArgumentException: The empty string '' is not a valid local name.
at System.Xml.XmlWellFormedWriter.WriteStartElement(S tring prefix, String localName, String ns)
at System.Xml.XmlWriter.WriteStartElement(String localName)
at PFRPGFGCreatureParser.Form1.ReadWriteFormattedCrea ture(StreamReader reader, XmlWriter writer)
4/9/2013 9:43:00 AM: Exiting sub ReadWriteFormattedCreature - will enter again unless it is the end of the intermediary formatted file.
4/9/2013 9:43:00 AM: Calling sub CloseBaseXML
4/9/2013 9:43:00 AM: Error in btnStartParse_Click, Message: System.InvalidOperationException: The Writer is closed or in error state.
at System.Xml.XmlWellFormedWriter.AdvanceState(Token token)
at System.Xml.XmlWellFormedWriter.WriteEndElement()
at PFRPGFGCreatureParser.Form1.CloseBaseXML(XmlWriter writer)
at PFRPGFGCreatureParser.Form1.btnStartParse_Click(Ob ject sender, EventArgs e)
The parser looks for "gear" towards the end of the parse to locate where the "Gear" section starts. Unfortunately, for some reason, Paizo decided to put "PC gear" in the SQ section for this NPC so the parser thinks this is where the gear entry starts. Remove that and it should parse OK.
<sniffle> I'm so happy. Thank you so very much!
No worries.Quote:
Originally Posted by guppyfish
If you have issues parsing something in the future, open the .fpf file that is created during the first pass of parsing (same name as your .txt file in the same directory). This "may" give you some pointers to where the issue lies. For the issue you had the final section of the .fpf file showed this:
The NOMATCH tag in the middle of the SQ line, just before"gear" pointed me to where the issue was occurring.Code:SQ:elven magic, favored terrain (forest +2), hunter's bond (companions), PC
NOMATCH:gear, track +2, weapon familiarity, wild empathy +3
TREASURE:sleep arrows (10), potion of delay poison, potions of lesser restoration (2), wand of cure light wounds (25 charges), antitoxin (2)
The curse of the Old ones is effecting me
this freezes the parser don't know why
THE VISITANT CR 8
XP 1
CE Mil-go Cleric 7
Init +7; Senses blindsight 30 ft., low-light vision; Perception +17
DEFENSE
AC 22, touch 18, flat-footed 14 ( +7 Dex, +1 dodge, +4 natural)
hp 107 (10d8+63)
Fort +14, Ref +10, Will +9
DR 5/slashing; Immune cold, plant traits; Resist electricity 10, fire 10
OFFENSE
Speed 30 ft., fly 50 ft . (good)
Melee 4 claws +14 (1d4+4 plus grab)
Special Attacks channel negative energy 5/day (DC 13, 2d6),
evisceration, sneak attack +2d6, wooden fist (+1, 7 rounds/day)
Spell-Like Ability (CL 3rd; concentration + 5)
7/ day-touch of chaos
Cleric Spells Prepared (CL 3 rd; concentration +7)
2nd-barkskin°, cure moderate wounds (DC 16), hold person (DC 16)
1st-cure light wounds (3), protection from law0
O (at will)-bleed (DC 14), create water, mending, stabilize
D Domain spell; Domains Chaos, Plant
TACTICS
During Combat The Visitant starts combat by using its wand at invisibility
(via Use Magic Device). It then proceeds to use its summon monster
scrolls. Once it has summoned several allies, it casts protection from
law and moves to a flanking position-PCs with healing capacities are
its preferred targets.
Morale If reduced to fewer than 30 hit points, the Visitant attempts
to flee, making for area C14 so it can escape into the woods to the
north. If it manages to do so, it can become a harrowing recurring
villain.
STATISTICS
Str 18, Dex 24, Con 23, Int 23, Wis 18, Cha 15
Base Atk +7; CMB +11 (+15 grapple); CMD 29 (37 vs. trip)
Feats Combat Reflexes, Dodge, Selective Channeling, Skill Focus (Use
Magic Device), Weapon Finesse
Skills Bluff +19, Disguise +19, Fly +24, Heal +17, Knowledge (religion)
+19,
Perception +17, Spellcraft +19, Use Magic Device +18
Languages Aklo, Azlanti, Mi-Go; cannot speak
SQ deceptive, item creation, no breath, starflight
Gear scroll of summon monster III, scroll of summon monster IV,
wand of charm monster (10 charges), wand of invisibility
(15 charges), wand of sound burst (15 charges)
SPECIAL ABILITIES
Deceptive (Ex) A mi-go is a master of deception, and gains a +4 racial
bonus on Bluff and Disguise checks. Bluff and Disguise are always
class skills for mi-go.
Evisceration (Ex) A mi-go's claws are capable of swiftly and painfully
performing surgical operations upon helpless creatures or creatures it
has grappled. When a mi-go succeeds at a grapple check (in addition
to any other effects caused by a successful check), it deals its sneak
attack damage to the victim. A creature that takes this damage
must succeed at a DC 18 Fortitude save or take an additional 1d4
points of ability damage from the invasive surgery (the type
of ability damage dealt is chosen by the mi-go at the time
the evisceration occurs). The save DC is Dexterity-based.
Item Creation (Ex) All mi-go possess the ability to create
strange items that blur the line between magic and
technology, given time and resources. But this mi-go doesn't have
time to take advantage of this ability during this adventure.
Sta rflight (Su) A mi-go can survive in the void of outer space, and flies
through space at an incredible speed. Although exact travel times
vary, a trip within a single solar system normally takes 3d20 months,
while a trip beyond should take 3d20 years (or more, at the GM's
discretion)-provided the mi-go knows the way to its destination .
Change "Spell-like Ability" to be "Spell-Like Abilities".Quote:
Originally Posted by hawkwind
This is the first time I've seen this issue - the statblock doesn't adhere to the Paizo standard. Out of curiosity, where is this creature from?
That was quick- thanks alot
Its from a level yet to be explored in the PFS mini campaign I am running, according to the pazio boards this critter caused or nearly caused a few tpk's
OK, thanks - found it. I hope Paizo haven't changed the spreadsheet they use to make statblocks to now use "Spell-like Ability" when there is only one ability... I'll have to keep an eye on that and see if I can code for it. But, this is the first time I've seen it, so hopefully it is just a one off and someone decided to manually make the title more grammatically correct...Quote:
Originally Posted by hawkwind
the book was first published 4 to 5 months ago so I think its a one off
This mod is amazing. I literally just cut and pasted from a pdf and it parsed it 100% accurately on the first time. I was dumbstruck by the ease.
When looking over my NPCs and trying to drag and drop spells onto the caster, I noticed the spells from the library don't drop onto the NPC sheets (they just drop an empty spell template). I assume this was what you guys were talking about over the last few pages of this thread. My question is, has a solution been found? I think Trinloe was working on it (if I understood the thread correctly) but he said it was slow and difficult work. How's it going?
Just curious. I'd hate to do this stuff manually if an automated solution has been invented.
Thanks again for this amazing mod.
Nevermind... as usual after posting for help I figured it out. :o
Hmm. The parser is locking up on this creature. Looking at the cleric sample included with the parser, I can't figure out what's wrong.
First, the log:
01/05/2013 11:02:40 PM: Starting Application. App Exe: Pathfinder Tool - FG Creature Parser Product Version: 1.0.0.15
01/05/2013 11:02:40 PM: Reading data file: ...\Kingmaker 2 Creatures.txt
01/05/2013 11:02:40 PM: Calling sub FormatDataFile.
01/05/2013 11:02:40 PM: Entered Sub FormatDataFile.
01/05/2013 11:02:40 PM: FormatDataFile: Read past starting blank lines (if any).
01/05/2013 11:02:40 PM: FormatDataFile: Opened StreamWriter.
01/05/2013 11:02:40 PM: FormatDataFile: Written DESCRIPTION line:
01/05/2013 11:02:40 PM: FormatDataFile: Written NAME line: Tiressia CR 4
01/05/2013 11:02:40 PM: FormatDataFile: Reading and formatting creature stat block: Tiressia CR 4
01/05/2013 11:02:40 PM: FormatDataFile: Written XP line: XP 1,200
01/05/2013 11:02:40 PM: FormatDataFile: Written TYPE line: Female dryad druid 2 (Pathfinder RPG Bestiary 116) CG Medium fey
01/05/2013 11:02:40 PM: FormatDataFile: Written INIT line: Init +5; Senses low-light vision; Perception +14
01/05/2013 11:02:40 PM: FormatDataFile: got the line ending in DEFENSE Defense
01/05/2013 11:02:40 PM: FormatDataFile: got the line ending in OFFENSE DR 5/cold iron; Weaknesses tree dependent
01/05/2013 11:02:40 PM: GetAndFormatLine: Searching for 2 strings: tactics ,statistics
01/05/2013 11:02:40 PM: FormatDataFile: Retrieved OffenseText Speed 30 ft. Melee mwk sickle +10 (1d6-1) Ranged mwk longbow +10 (1d8-1/x3) Domain Spell-Like Ability (CL 2nd; concentration +8) 8/day-storm burst Spell-Like Abilities (CL 6th; concentration +12) Constant-speak with plants At will-entangle (DC 17), tree shape, wood shape (1 lb. only) 3/day-charm person (DC 17), deep slumber(DC 19), tree stride 1/day-suggestion (DC 19) Druid Spells Prepared (CL 2nd; concentration +7) 1st-faerie fire, goodberry, magic fang, obscuring mistD 0 (at will)-guidance, purify food and drink, stabilize, virtue D Domain spell; Domain Weather
01/05/2013 11:02:40 PM: FormatDataFile: Written SPEED line: 30 ft.
01/05/2013 11:02:40 PM: FormatDataFile: Written Melee line as: mwk sickle +10 (1d6-1)
01/05/2013 11:02:40 PM: FormatDataFile: Written Ranged line as: mwk longbow +10 (1d8-1/x3) Domain
Now the stat block for this creature in the text file:
Tiressia CR 4
XP 1,200
Female dryad druid 2 (Pathfinder RPG Bestiary 116)
CG Medium fey
Init +5; Senses low-light vision; Perception +14
Defense
AC 18, touch 15, flat-footed 13 (+5 Dex, +3 natural)
hp 48 (6d6+2d8+18)
Fort +9, Ref +10, Will +13
DR 5/cold iron
Weaknesses tree dependent
Offense
Speed 30 ft.
Melee mwk sickle +10 (1d6–1)
Ranged mwk longbow +10 (1d8–1/×3)
Domain Spell-Like Ability (CL 2nd; concentration +8)
8/day—storm burst
Spell-Like Abilities (CL 6th; concentration +12)
Constant—speak with plants
At will—entangle (DC 17), tree shape, wood shape (1 lb. only)
3/day—charm person (DC 17), deep slumber(DC 19), tree stride
1/day—suggestion (DC 19)
Druid Spells Prepared (CL 2nd; concentration +7)
1st—faerie fire, goodberry, magic fang, obscuring mistD
0 (at will)—guidance, purify food and drink, stabilize, virtue
D Domain spell; Domain Weather
TACTICS
During Combat Tiressia tries to avoid melee combat,
using entangle to hinder foes and deep slumber on
any creature attacking her tree. She uses her scroll to
summon additional creatures to help Falchos in battle,
while jumping from tree to tree using tree stride and tree
meld to attack enemies at a distance with her longbow.
Morale Tiressia retreats into her oak when reduced to 20 hit
points or fewer, praying that her attackers get bored and leave.
Statistics
Str 8, Dex 20, Con 15, Int 14, Wis 20, Cha 22
Base Atk +4; CMB +9; CMD 18
Feats Agile Maneuvers, Great Fortitude, Stealthy,
Weapon Finesse
Skills Climb +8, Craft (wood sculpture) +17, Diplomacy +15, Escape
Artist +16, Handle Animal +15, Heal +14, Knowledge (nature)
+13, Perception +14, Stealth +16, Survival +16
Languages Common, Elven, Sylvan; speak with plants
SQ nature bond (Plant domain), nature sense, tree meld, wild
empathy +8, woodland stride
Combat Gear goodberries (5), potion of cure moderate wounds
(2), scroll of summon nature’s ally II, wand of cure light wounds
(26 charges), 6 feather tokens (tree); Other Gear masterwork
longbow with 20 arrows, masterwork sickle, 178 gp
Located the problem. In the source PDF for this NPC, the entry below the ranged attack (Domain Spell-Like Ability) is written in the singular form. It must be "Abilities".
I've found that I get most of my errors from this utility when trying to parse something that has Cleric levels/abilities. Coincidence?
This is the same issue that hawkwind had a few posts above. It seems to be very rare that Paizo use the singular (this is only the second occurrence that I know of). However, I've tagged this to be updated in the next release.Quote:
Originally Posted by lachancery
You shouldn't have any issues dropping spells onto an NPC sheet - once you have created the spell class you should just be able to drop spells from the spell modules onto the spell class. Remember to unlock the NPC before trying to make any changes.Quote:
Originally Posted by chillybilly
Also, remember to prepare the spells, otherwise when you lock the NPC (or close it) the spells go into "Combat" mode and only those prepared will be seen.
Thanks for this fantastic tool, Trenloe - I've just used it for the first time, and it works a treat!
One thing I noticed is that the XP values go into the xml as (for example) "XP 100" - since it's a number tag, shouldn't it really just be "100"? I know the values aren't used currently in FG, but it bothered me!
I've updated the code in the current development stream to remove the XP entry and also to remove any commas in the number.Quote:
Originally Posted by Callum
But, I, loved, those, commas.:DQuote:
Originally Posted by Trenloe
Thanks for the update, it's been working great so far in my Exodus, and now Obsidian Twilight games. Good show.
Cheers,
SF
The change has only been made in the dev version, which won't be released for a while yet. So, enjoy those commas for a little while longer.Quote:
Originally Posted by S Ferguson
I was hoping, at some point, to have written a small extension that would have used the XP values from the creatures when creating an encounter - so that it would auto total the XP for the whole encounter and calculate the CR too. This would help GMs to make challenging (or not) encounters on the fly and would also allow the adjusted XP of the encounter to be used when dragged to the party sheet for XP allocation.
That's an excellent idea. Hope to see it in the beta!;)Quote:
Originally Posted by Trenloe
That's great - thanks, Trenloe!Quote:
Originally Posted by Trenloe
Might I be so bold as to make a few more constructive suggestions? Of course, I don't know how feasible these are, so feel free to ignore them.
Firstly, could the creature's languages appear in the Languages slot on the Main tab, not as text in the Other tab?
Secondly, could the text formatting in the Other tab be adjusted to make it more clear and easy to read (like the standard layout)? I've attached a screenshot of an NPC where I've edited the text alongside the one straight from the parser to show what I mean.
Note that these aren't criticisms - the parser is already great; I'm just hoping to make it even greater!
I don't know why I didn't do this in the first place. Looking at the original software specification I wrote for this I don't have languages as an FG field for an NPC so I must have missed that.Quote:
Originally Posted by Callum
It's an easy fix so I've included it in the dev code.
Yeah, a lot more could be done on the Other tab in terms of better formatting - that is a nice to have at the moment, but I will look into it at some point. Just keep in mind that the more carriage returns/new lines there are in the other tab then the longer the page will be - this could be very long for some high CR creatures and require a lot of scrolling! :-o But, if it is more readable then that is probably preferable.Quote:
Originally Posted by Callum
Is it possible to do single spacing for some of that stuff on the 'Other' Tab? When I was working on some critters I messed around with doing spell lists as a 'list' and it condensed the information into a smart looking format.. the only problem was it bulleted all the spell levels which wasn't so great.
Readable is preferable to less scrolling IMO.
The issue here is that not all HTML tags are supported by the formatted text control. Some of this is discussed here: https://www.fantasygrounds.com/forum...ad.php?t=14323Quote:
Originally Posted by Blackfoot
The main tag that is not supported is the break <br> tag that would be nice here. There may be a possibility of using table specifications to reduce the blank space between rows.
If someone can mess around and come up with a nice format that works within the FG 3.5e/PF ruleset for the NPC other tab formatted text control then I'll consider putting it in the next release of the parser. At the moment, for me, this is a very low priority and there are other pieces of functionality I want to work on before I look into making the other tab "pretty". :)
That the spirit, function before form, how dada-esque of you.;)Quote:
Originally Posted by Trenloe
I agree absolutely that making it look pretty isn't a good use of time! Putting all the spell names in italics, for example, would take an age to code and isn't necessary. However, spacing stuff out is much easier to do, and the main thing that improves readability and usability, in my opinion. The second most important thing is making the headings bold (which you have already done). I'd also keep the underlining just for sections (such as Tactics), and drop the colons.Quote:
Originally Posted by Trenloe
So you just need to go from this:
to this:Code:<text type="formattedtext">
<p><b><u>Spells Known</u>:</b> (CL 1st; concentration +2) 1st (2/day)-cure light wounds, hideous laughter (DC 12) 0 (at will)-daze (DC 11), ghost sound (DC 11), mage hand, message</p>
<p><b><u>Tactics</u>:</b> <b>During Combat</b> The warchanter continues her bardic performance during combat, using her whip to try to trip PCs. She casts hideous laughter on any PC who seems to be particularly dangerous, and cure light wounds on herself after she is first wounded. <b>Morale</b> The warchanter fights to the death.</p>
</text>
Code:<text type="formattedtext">
<p><b>Spells Known </b>(CL 1st; concentration +2) </p>
<p>1st (2/day) - cure light wounds, hideous laughter (DC 12) </p>
<p>0 (at will) - daze (DC 11), ghost sound (DC 11), mage hand, message </p>
<p><b><u>Tactics </u></b></p>
<p><b></b><b>During Combat </b>The warchanter continues her bardic performance during combat, using her whip to try to trip PCs. She casts hideous laughter on any PC who seems to be particularly dangerous, and cure light wounds on herself after she is first wounded. <b></b></p>
<p><b>Morale </b>The warchanter fights to the death. </p>
</text>
Using the paragraph "<p>" tags is exactly what I originally used when I first started doing some formatting in the "other" tab. This creates a double new line - i.e. a blank line between each paragraph tag.
But, as mentioned above (post #155), for creatures with a lot of info in the other tab this results in a very long entry - which has to be scrolled through, even with a big window. It seemed clunky, so I removed the <p> for anything other than new sections.