Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
TheIronGolem
Senior Member
 
Join Date: Feb 2015
Posts: 676

Old March 27th, 2017, 07:35 PM
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.
TheIronGolem is offline   #1 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old March 28th, 2017, 02:35 PM
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.
Aaron is offline   #2 Reply With Quote
TheIronGolem
Senior Member
 
Join Date: Feb 2015
Posts: 676

Old March 28th, 2017, 03:21 PM
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?
TheIronGolem is offline   #3 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old March 28th, 2017, 09:31 PM
Yes. Try style="Chooser"

Code:
  <portal
    id="sCSplAll2"
    style="Chooser">
Aaron is offline   #4 Reply With Quote
TheIronGolem
Senior Member
 
Join Date: Feb 2015
Posts: 676

Old March 29th, 2017, 06:27 AM
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.
TheIronGolem is offline   #5 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old March 29th, 2017, 07:14 AM
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.
Mathias is offline   #6 Reply With Quote
TheIronGolem
Senior Member
 
Join Date: Feb 2015
Posts: 676

Old March 31st, 2017, 07:43 PM
Quote:
Originally Posted by Mathias View Post
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?
TheIronGolem is offline   #7 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old April 1st, 2017, 04:14 AM
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"
Aaron is offline   #8 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:44 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.