Closed Thread
Results 1 to 8 of 8

Thread: Magic List Export Template

  1. #1
    Join Date
    Feb 2003
    Location
    Las Vegas, Nevada
    Age
    42
    Posts
    319
    Rep Power
    3561

    Magic List Export Template

    I am working on an export template that will let me print out a spell list for a character. I have most of it down, but what I hope to have on there, which I have yet to figure out, is the minus to the magic roll.

    Can the program handle performing math on a tag? Can I tell it to print out the active cost / 10 round up? Or is there a tag for this already that I am not familiar with?
    -- Gary Ciaramella

    Quote Originally Posted by Roy_The_Ruthles View Post
    Superman walks up to Batman and says "Hey, Lex Luthor said he will donate a million dollars to sick orphans if I beat you up."
    Batman: "That's stupid. I'll donate two million if you just leave me to brood"
    Superman: "Eh, no dice. We kung fu fight now!"

  2. #2
    Join Date
    Feb 2003
    Location
    Chicago
    Age
    38
    Posts
    9,821
    Blog Entries
    10
    Rep Power
    44927
    If you're doing an HTML export template, you can use JavaScript to handle it.

    Something along the lines of the following:

    <script language="JavaScript">
    document.write((<!--ACTIVE_COST-->/10)+"-");
    </script>
    White Hats are for CISSPs

  3. #3
    Join Date
    Feb 2003
    Location
    Las Vegas, Nevada
    Age
    42
    Posts
    319
    Rep Power
    3561
    And if it is an RTF template?
    -- Gary Ciaramella

    Quote Originally Posted by Roy_The_Ruthles View Post
    Superman walks up to Batman and says "Hey, Lex Luthor said he will donate a million dollars to sick orphans if I beat you up."
    Batman: "That's stupid. I'll donate two million if you just leave me to brood"
    Superman: "Eh, no dice. We kung fu fight now!"

  4. #4
    Join Date
    Feb 2003
    Location
    Chicago
    Age
    38
    Posts
    9,821
    Blog Entries
    10
    Rep Power
    44927
    Not sure...I don't do too much in the way of RTF and am unfamiliar with the syntax....I don't know if you can have dynamic content in there.

    If not, then you may be SOL on the RTF front. The export process needs to be generic in order to keep it from being bogged down in language-sensitive constructs....and there's no way (currently, at least) to include mathemeatical constructs in the tags.
    White Hats are for CISSPs

  5. #5
    Join Date
    Feb 2003
    Location
    Las Vegas, Nevada
    Age
    42
    Posts
    319
    Rep Power
    3561
    Ahhh well! That would have just been frosting in any event. I am really happy with what I came up with... I did not think I would be able to figure it out at first, but a few minutes of playing around with a template and it did not seem very hard at all.
    -- Gary Ciaramella

    Quote Originally Posted by Roy_The_Ruthles View Post
    Superman walks up to Batman and says "Hey, Lex Luthor said he will donate a million dollars to sick orphans if I beat you up."
    Batman: "That's stupid. I'll donate two million if you just leave me to brood"
    Superman: "Eh, no dice. We kung fu fight now!"

  6. #6
    Join Date
    Feb 2003
    Location
    San Diego
    Age
    35
    Posts
    11,977
    Blog Entries
    14
    Rep Power
    98379
    A bit cumbersome, but you could output it to html w/ the javascript to do the math, then open it in an html editor that supports save as -> rtf (or whatever format you want to end up in). Even Word will do this, although the results can be frustrating.
    A complex system that works is invariably found to have evolved from a simple system that worked.
    - John Gall

    My Facebook Profile (Friends welcome) and HERO System Fans Facebook Group (Join us!)

    KillerShrike.com wiki

  7. #7
    Join Date
    Feb 2003
    Location
    San Diego
    Age
    35
    Posts
    11,977
    Blog Entries
    14
    Rep Power
    98379
    Also, as a side note, there's a one-column powers only export list here:

    http://www.herogames.com/forums/show...0&pagenumber=3
    A complex system that works is invariably found to have evolved from a simple system that worked.
    - John Gall

    My Facebook Profile (Friends welcome) and HERO System Fans Facebook Group (Join us!)

    KillerShrike.com wiki

  8. #8
    Join Date
    Feb 2003
    Location
    San Diego
    Age
    35
    Posts
    11,977
    Blog Entries
    14
    Rep Power
    98379
    Finally, here's a CSV export template I did for my own purposes.

    Im using it to dump Spells out to CSV and then importing the file into a very simple little Access database which drives my Spells page http://www.killershrike.com/FantasyH...lls/Spells.asp

    NOTE: To get around the heavy use of (") in HERO System Annotation, Im using single quotes/apostrophes (') instead. Most CSV importers will let you change the string delimiter to single quotes. You have to be careful not to use apostrophes anywhere in your write up. One of the Side Effect options has an apostorphe in it as well, but you probably wont run in to it very often.

    To use:

    No apostrophes
    Dont use lists or seperators (they create blank lines)

    On the Basic Info tab:
    Alternate ID = Source (PHB3e, NEW, etc)
    Campaign Name = Type (Arcane, Divine)
    Genre = Sub Type (Wizardry, Elementalism, etc)
    Player = Provider (Killer Shrike, Shadowcat, Gary C. , etc)

    In the Notes of each Power/Spell put the Category (Evocation, Illusion, etc) and any notes.


    Thats it. All of the fields mapped can be reassigned as you prefer of course. I havent tested it very widely -- I got it working for my purposes and that was good enough
    A complex system that works is invariably found to have evolved from a simple system that worked.
    - John Gall

    My Facebook Profile (Friends welcome) and HERO System Fans Facebook Group (Join us!)

    KillerShrike.com wiki

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Magic Items go here!!
    By Xandarr in forum Fantasy Hero
    Replies: 67
    Last Post: Apr 3rd, '08, 12:14 PM
  2. HEEEEEEEELPPPPPPP!
    By Yamo in forum Fantasy Hero
    Replies: 74
    Last Post: Jun 30th, '03, 03:26 PM
  3. Replies: 11
    Last Post: May 7th, '03, 12:24 PM
  4. Export template Characteristics question
    By Rigel in forum HERO Designer Discussion
    Replies: 4
    Last Post: Mar 14th, '03, 02:34 PM
  5. Rule of X ideas?
    By Chuk in forum HERO System Discussion
    Replies: 60
    Last Post: Mar 10th, '03, 06:48 AM

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