DICE PACKS BUNDLE
  1. #1

    4EParser Issue: vehicles

    I'm manually putting in the Dark Sun content into the parser and I'm having trouble putting the vehicles in.

    Here is a sample of what the txt file looks like

    Code:
    ZZXBEGIN
    Sand Skiff
    Large vehicle
    HP 80 Space 2 squares by 3 squares Cost 360gp
    AC 8; Fortitude 12, Reflex 8
    Speed 8
    X Pilot
    The pilot must sit by the sand skiff's tiller, typically at the rear of the vehicle.
    X Load
    SiA Medium creatures and their gear.
    X Out of Control
    An out-of-control sand skiff moves forward at half speed. At the Dungeon Master’s discretion, it can instead move in the same direction as a strong wind at up to full speed.
    X Sails
    At the Dungeon Master’s discretion, a sand skiff can take a modifier to its speed of -4 to +4 depending on the strength and direction of the wind.
    X Special
    A sand skiff requires firm, flat, open terrain. Reduce speed by half (or more) if the terrain is steep, soft, or cluttered with obstructions.
    X Option: Creature-Drawn
    One Large or larger creature can pull a sand skiff when the wind is calm.
    I get the following when I try to parse

    "Fatal Parse error on: Pilot The pilot must sit by the sand skiff's tiller, typically at the rear of the vehicle"

    Any ideas what I am doing wrong?
    Everybody lies...
    -Dr. Gregory House, HOUSE MD-

    Urge to destroy world, rising...
    -Black Mage, 8-Bit Theater-

  2. #2

    Join Date
    Mar 2006
    Location
    Arkansas
    Posts
    7,400
    Just off the top of my head why are you using just X? I though Tenian always used three character tokens to separate data.

  3. #3
    Quote Originally Posted by Griogre
    Just off the top of my head why are you using just X? I though Tenian always used three character tokens to separate data.
    From the Parser Document.txt under Vehicles:
    *For power formatting see the NPC Alternate power section. Most vehicle "powers" are of Type X.
    Everybody lies...
    -Dr. Gregory House, HOUSE MD-

    Urge to destroy world, rising...
    -Black Mage, 8-Bit Theater-

  4. #4
    And I found out the problem. I needed to put ZZX after each power name

    Now to figure out why the Speed isn't displaying
    Everybody lies...
    -Dr. Gregory House, HOUSE MD-

    Urge to destroy world, rising...
    -Black Mage, 8-Bit Theater-

  5. #5
    I'll bet the speed parsing problem has to do with the fact that you have AC, Fort, and Ref (and no Will) in the previous line.

  6. #6
    From the Parser Document
    Code:
    *************************************************
    Vehicles:
    *************************************************
    -Output:
        Data is displayed in the Library "Vehicles"
    -Input:
    Data File:
    ZZXBEGIN
    {name}
    {size} vehicle
    HP {hp} Space {space} Cost {cost}
    AC {ac}; Fortitude {fort}, Reflex {ref}
    Speed {speed text}
    {power*}
    
    *For power formatting see the NPC Alternate power section. Most vehicle "powers" are of Type X.
    Also, Vehicles don't have Will
    Everybody lies...
    -Dr. Gregory House, HOUSE MD-

    Urge to destroy world, rising...
    -Black Mage, 8-Bit Theater-

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
  •  
FG Spreadshirt Swag

Log in

Log in