Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
Mathias,
Is there a way to rig an it_bootcustom through the editor to put bootstrapped items into the gizmo? RavenX Pronouns: She/Her Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you. I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all. |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,207
|
To get the gizmo on there in the first place, you've got two options:
A checkbox (this one defaults to yes, you'll note): Code:
<inputthing name="Allows Modifications" helptext="Check this if this gear can be modified (unchecking this is very rare, since without this, you cannot set the grade of the augmentation)"> <it_entitycheck entity="grCustom" default="yes" /> </inputthing> Code:
<editthing compset="Armor" name="Armor" group="Equipment" prefix="arm" defchild="grCustArm" description="Weapons, vehicles, and simple equipment all have their own tabs for creating objects of those types." summary="Defines armor that can be selected on the Armory tab."> Code:
<inputthing name="Armor Specials" helptext="Specify any special notes about this armor."> <it_taglist group="ArmorNote" tag="?" target="child"/> </inputthing> <inputthing name="Armor Features" helptext="Choose any armor features this armor always comes with."> <it_bootcustom compset="Equipment" target="child"> <match><![CDATA[ ModCat.ArmorFeat & !thing.showonly ]]></match> <inputthing name="Fixed Rating?" helptext="If this gear uses ratings, specify the minimum rating it can be set to."> <it_tagcheck group="Equipment" tag="FixRating"/> </inputthing> <inputthing name="Rating" helptext="If this gear is only available at a single rating, specify that here."> <it_field field="grUser"/> </inputthing> </it_bootcustom> </inputthing> You may also be able to set up a defchild and an entitycheck, if some items on this editor tab will need this and others won't (I think that works, but Shadowrun doesn't use that combo, so I'm not certain). An alternative, of course, is making a new compset that's nearly identical to the old compset, but is only used for the picks that will need gizmos, so it can have its own editor tab with a defchild set. |
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
Ok I'll try it with the target="Child" part. The documentation on the wiki has nothing on bootcustom material yet. Thank you for this.
RavenX Pronouns: She/Her Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you. I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all. |
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
And yes, it says the target reference is only valid if you specify a defchild... so looks like the entitycheck is going to have to disappear now...
RavenX Pronouns: She/Her Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you. I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all. |
#4 |
Thread Tools | |
Display Modes | |
|
|