• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Pathfinder - what styles are valid for chooser_tables?

TheIronGolem

Well-known member
I'm trying to use a chooser_table element in a gizmo form I'm making, but the "chsNormal" portal style from the sample code does not seem to be valid. What style can I use for the containing portal element instead? So far none of the experimental names I've tried have worked.
 
Are you talking about the table or the pick template of something added to the table? Because I am not exactly clear from the terms you are using.
 
I'm talking about the table, as described in the wiki here. Like I've done with several other elements in the past, I started by copy/pasting the sample code and adapting it to my needs:
Code:
<portal id="stRace" style="chsNormal" width="110">
  <chooser_table component="Race" choosetemplate="LargeItem">
    <chosen><![CDATA[
      if (@ispick = 0) then
        @text = "{text ff0000}Select Race"
      else
        @text = "Race: " & field[name].text
        endif
      ]]></chosen>
    <titlebar>
      @text = "Choose the race for your character"
      </titlebar>
    </chooser_table>
  </portal>

When I try to compile the code, HL tells me the "chsNormal" style doesn't exist (or something to that effect, I'm not at my HL machine at the moment). I assume this style name is valid in the sample Authoring Kit system, but not in Pathfinder. I've taken a few shots in the dark at other names for the style but with the same result.

If it matters, I'm using a custom component and pick template.

Does that make more sense?
 
Ha! Of course I didn't think to try capitalizing. Thanks, Aaron!

Incidentally, is there anywhere in the PF data files I'd be able to find anything that would serve as a style reference? I'd hate to have to pester you every time this comes up.
 
No, the file you're looking for is not publicly available for any packaged game system (like pathfinder). Please note that user-created tabs and forms are not something that is officially supported - the documentation (like all the ids of the visual elements) isn't in place to support it, and there's a lot of potential for conflict with changes that are made in the official files.
 
No, the file you're looking for is not publicly available for any packaged game system (like pathfinder). Please note that user-created tabs and forms are not something that is officially supported - the documentation (like all the ids of the visual elements) isn't in place to support it, and there's a lot of potential for conflict with changes that are made in the official files.

Fair enough, and I do very much appreciate the help I've received thus far (as do my SoP users, I'm sure).

But if you guys are still in a generous mood: what style can I use for an incrementer in Pathfinder?
 
All the examples I could find, try each out and see which one you like, I guess.

Code:
      style="BigWidInGr"
      style="BgThinIncr"
      style="CompSmIncr"
      style="incrSimple"
      style="SmallIncr"
      style="BigIncr"
      style="SkillIncr"
      style="XactIncr"
      style="XWideIncr"
      style="BigWidIncr"
      style="RepBalIncr"
      style="SellIncr"
      style="SmUpDwIncr"
 
Back
Top