Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
ShadowWalker
Senior Member
 
Join Date: Jun 2014
Posts: 243

Old July 10th, 2016, 10:07 AM
Some races in Interface Zero have some player decided text.
I though I would use a gizmo to have a form show up on selection of one of the races that has this requirement.

So I added an entity to the traits.dat where races are defined.
Code:
  <entity
    id="adjRace"
    form="raCustRace">
    <bootstrap thing="racDetails"/>
  </entity>
I added the racDetails thing
Code:
  <thing
    id="racDetails"
    name="Racial Details"
    compset="RaceDetail">
  </thing>
I then added the entity to the race things that require it.
Code:
    <child entity="adjRace">
    </child>
I created the form with a simple template that includes an edit portal. There is also a layout that has the template linked to the same thing as the above entity uses in the bootstrap.

I have a chooser that shows the list of the races.
When one of the races with the entity associated to it is selected it doesn't show the form. I'm missing something just not sure what.
ShadowWalker is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old July 10th, 2016, 10:30 AM
Choosers can't show edit forms.

You'll need a separate table where you display picks from that compset (which will only ever get one item).
Mathias is online now   #2 Reply With Quote
ShadowWalker
Senior Member
 
Join Date: Jun 2014
Posts: 243

Old July 10th, 2016, 12:38 PM
So I can't use a chooser to do the selection.
Instead I need to use a dynamic table?
There is a way to limit just one selection and allow for changing that selection?

Is there another way I could have done this that would have been better? or is this the correct way to do it?
ShadowWalker is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old July 10th, 2016, 12:58 PM
The other alternative would be to have a chooser to select the race, and then a fixed table that shows the selection, and doesn't really look like a table - instead, it just looks like more of the text on that tab, that appears once a race is selected.

That way, users wouldn't even need to open a new form to type in the text - it just appears on the same tab once a race is selected, along with any other information about the race.
Mathias is online now   #4 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old July 10th, 2016, 12:59 PM
Another alternative: a helper pick that's bootstrapped by races (a component bootstrap), and that ability is displayed somewhere, and shows an edit control for the user to type in the text.
Mathias is online now   #5 Reply With Quote
ShadowWalker
Senior Member
 
Join Date: Jun 2014
Posts: 243

Old July 11th, 2016, 04:18 AM
Thanks for the suggestions.
ShadowWalker is offline   #6 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 11:38 AM.


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