Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Authoring Kit (http://forums.wolflair.com/forumdisplay.php?f=58)
-   -   it_bootcustom and minions (http://forums.wolflair.com/showthread.php?t=67247)

RavenX July 21st, 2022 07:19 PM

it_bootcustom and minions
 
Mathias,

I noticed in the Editor for the Pathfinder files you have rigged up minions in the Hirelings/Minions tab so that the race can be bootstrapped directly to the minion in the editor.

I also noticed there is a checkbox under it that adds a Hero.FixedRace tag directly to the minion.

I'd like to see the source code that does these things but I can't find any examples of it in the data files I have access to. The kit wiki is also kind of sparse on how to do anything with minions such as mounts. Could you show me how these two things differ from the normal it_bootcustom in the editor so I know how to do them?

Mathias July 22nd, 2022 07:36 AM

Here are the relevant sections of the editor code from PF1 - the one change from normal editor settings is the target="minion" so that the tags and bootstraps are placed on the minion, not the anchor pick:

Code:


<inputthing
name="Minion details"
helptext="Specify details about the race and other details for the minion this adds.">
<it_separator/>
</inputthing>
<inputthing
name="Minion Race"
helptext="If you want to have this always add a certain race to the minion, select the race here.">
<it_bootcustomcompset="Race"target="minion">
<match><![CDATA[
          !thing.showonly & !Helper.Obsolete
          ]]></match>
</it_bootcustom>
</inputthing>
<inputthing
name="Check here if you've chosen a minion race"
helptext="If you've selected a minion race, check here so that the user cannot change that race (which is necessary, because the race you've selected will always be there, meaning that if the user chose another one, the character would have two races).">
<it_tagcheckgroup="Hero"tag="RaceFixed"target="minion"/>
</inputthing>
<inputthing
name="Templates"
helptext="If you want to have this always add certain template(s) to the minion, select the templates here.">
<it_bootcustomcompset="Template"target="minion">
<match><![CDATA[
          !thing.showonly & !Helper.Obsolete
          ]]></match>
</it_bootcustom>
</inputthing>
<inputthing
name="Animal General Purpose Training"
helptext="Select any animal tricks from the general purpose trainings category this minion always has">
<it_bootcustomcompset="AnimTrick"target="minion">
<match><![CDATA[
          Helper.GenPurpose
          ]]></match>
</it_bootcustom>
</inputthing>
<inputthing
name="Bonus Animal Tricks"
helptext="Select any animal tricks this minion always has">
<it_bootcustomcompset="AnimTrick"target="minion">
<match><![CDATA[
          !Helper.GenPurpose
          ]]></match>
</it_bootcustom>
</inputthing>
<inputthing
name="Minion chooses a character type?"
helptext="If this minion is allowed to choose a character type (PC, NPC, Kingdom, etc.) on the configure hero form, check here.  This is not common - it's only used for generic minions like the Hireling.">
<it_tagcheckgroup="Hero"tag="FullMinion"target="minion"/>
</inputthing>




RavenX July 22nd, 2022 08:36 PM

Thank you, with this I understand what to do now.


All times are GMT -8. The time now is 04:22 AM.

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