Loading ...
Sorry, an error occurred while loading the content.
 

Pain of a time with csheet

Expand Messages
  • Pedro Barrenechea
    Ok, now i have about 90% of the new character sheet done, except one part.. the Armor. the |TAGE| seems to work throught the html file with out a hitch, except
    Message 1 of 2 , Jan 5, 2001
      Ok,

      now i have about 90% of the new character sheet done, except one part..
      the Armor.

      the |TAGE| seems to work throught the html file with out a hitch, except at
      the armor area. For some resion there is a tag |FOR.0,100,1, then table info
      with /TAG/ and a ,1| at the end.

      Now if I try to brake up the armor in any way, even "cleaning up" the table
      code, I lose the info, I'm trying to set the text at -1. But Cant seem to
      alter the text within the armor area at all...

      *****Armor Table from Csheet.htm***********

      <table BORDER="1" CELLSPACING="1" CELLPADDING="0" WIDTH="100%">
      <tr align="center">
      <td WIDTH="20%">Item </td>
      <td WIDTH="10%">Total Bonus </td>
      <td WIDTH="10%">Base Bonus </td>
      <td WIDTH="10%">Max Dex Bonus </td>
      <td WIDTH="10%">Armor Check Penalty </td>
      <td WIDTH="10%">Arcane Failure </td>
      <td WIDTH="10%">Speed </td>
      <td WIDTH="20%">Feat/Misc </td>
      </tr>
      |FOR.0,100,1,<td>\ARMOR%.NAME\
      <td>\ARMOR%.TOTALAC\<td>\ARMOR%.BASEAC\<td>\ARMOR%.MAXDEX\
      <td>\ARMOR%.ACCHECK\<td>\ARMOR%.SPELLFAIL\%<td>\ARMOR%.MOVE\<td> ,<tr
      align="center">,</tr>,1|
      </table>

      ********************************************

      Thanks
      Peter B

      P.S. here is what I have so far
    • mocha@mcs.net
      Peter, your character sheet looks very cool and stylish! What kind of browser are you using? I suspect that some browsers may actually display what you have
      Message 2 of 2 , Jan 7, 2001
        Peter,
        your character sheet looks very cool and stylish! What kind of browser
        are you using? I suspect that some browsers may actually display what
        you have written correctly. I'm using Netscape (sometimes I use IE and
        on rare ocassions OmniWeb), and the armor, weapons, armor and equipment
        sections all looked a bit off. I don't think it's due to your html,
        I think it may be due more to netscape. I found that if I added a
        </td> at the end of every <td> in the FOR loop it displayed correctly.
        This shouldn't be necessary, but there you have it. So I changed your
        csheet so it had these three lines:
        |FOR.0,100,1,<td>\ARMOR%.NAME\
        </td><td>\ARMOR%.TOTALAC\</td><td>\ARMOR%.BASEAC\</td><td>\ARMOR%.MAXDEX\
        </td><td>\ARMOR%.ACCHECK\</td><td>\ARMOR%.SPELLFAIL\%</td><td>\ARMOR%.MOVE\</td><td> ,</font><tr
        align="center">,</tr>,1|

        |FOR.0,100,2,<td><font
        size="-1">\SKILL%\</td><td>\SKILL%.TOTAL\</td><td>\SKILL%.RANK\
        </td><td>\SKILL%.MOD\</td><td> ,</font><tr align="center">,</tr>,1|


        |FOR.0,100,2,<td><font size="-1">\EQ%.EQUIPPED\</td><td>(\EQ%.QTY\)
        \EQ%.LONGNAME\</td><td>  </td><td>\EQ%.WT\,</font><tr
        align="center">,</tr>,1|

        The weapons section was off for the same reason, so I changed that to
        <tr align="center"> <td><font size="-1">Primary
        </font> </td><td><font size="-1">|WEAPONP.LONGNAME|</font>
        </td><td><font size="-1">|WEAPONP.HIT|</font> </td><td><font
        size="-1">|WEAPONP.SIZE|</font> </td><td><font
        size="-1">|WEAPONP.DAMAGE| (|WEAPONP.TYPE|) </font> </td><td><font
        size="-1">|WEAPONP.ATTACKS| </font> </td><td><font
        size="-1">|WEAPONP.CRIT| </font> </td><td><font
        size="-1">|WEAPONP.MULT| </font> </td><td><font
        size="-1">|WEAPONP.RANGE| </font> </tr> |%| |%WEAPON1|
        <tr align="center"> </td><td><font size="-1">Off-Hand
        </font> </td><td><font size="-1">|WEAPONO.LONGNAME| </font>
        </td><td><font size="-1">|WEAPONO.HIT|</font> </td><td><font
        size="-1">|WEAPONO.SIZE|</font> </td><td><font
        size="-1">|WEAPONO.DAMAGE| (|WEAPONO.TYPE|) </font> </td><td><font
        size="-1">|WEAPONO.ATTACKS| </font> </td><td><font
        size="-1">|WEAPONO.CRIT| </font> </td><td><font
        size="-1">|WEAPONO.MULT| </font> </td><td><font
        size="-1">|WEAPONO.RANGE| </font> </tr> |%|


        I tried to put your <font size="-1"> inside of the FOR loop but that
        was causing PCGen to abort creating the character sheet. I'm not sure
        why that would be so I'll look into it - with my above changes your
        sheet looks fine except the armor, skills and equipment details
        in the for loop are all in a larger font. But at least this fixes
        the immediate problem!

        Feel free to post your chseet (name it anything that starts with
        csheet and ends in .htm and it will be found by PCGen. So you could
        name it csheetpeter.htm or whatever, maybe I ought to have PCGen
        just serch for any file? I'll have to think about that.

        -Bryan
      Your message has been successfully submitted and would be delivered to recipients shortly.