• 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

problem with [menu_things] not defaulting

ShadowWalker

Well-known member
So I have a component.
Code:
<component
    id="SkillGen"
	name="Skill Generation"
	autocompset="no">
	<field
	  id="sgSP"
	  name="Skill Points"
	  type="static">
	  </field>
	</component>

and a compset
Code:
  <compset
    id="SkillGen">
	<compref component="SkillGen"/>
	</compset>

Those are both in the same .str file.

Now I also have some things.
Code:
  <thing
    id="sgRoll"
	compset="SkillGen"
	name="Roll"
	description="The character gets 3 rolls on the Growth and Learning tables for the choosen Background.">
	<fieldval field="sgSP" value="3"/>
	</thing>
	
  <thing
    id="sgChoose"
	compset="SkillGen"
	name="Choose"
	description="The character gets 2 choices on the learning table only.">
	<fieldval field="sgSP" value="2"/>
	</thing>

They are in a .dat file.

I have modifed form_config.dat to include the following in the cnfStart template.
Code:
<portal
	  id="skillgen"
	  style="menuNormal">
	  <menu_things
		field="acSkillGen"
	    component="SkillGen"
		defthing="sgRoll">
		</menu_things>
	  </portal>

When I load hero lab and select the game system the menu is not defaulting. It has no selection.
I have tried bootstrapping the things and using picks but that hasn't worked either. Is there may be something related to the file extensions being used?
 
Back
Top