• 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

Diety text field.

bodrin

Well-known member
Is it possible to have the Deity text field altered to a selection box. instead of entering the custom text. Just like the selector for the alignment of the Deity next to it.

I've inputted most of the D20 deities for some magic items that refer to worshiping a specific deity and would like to bootstrap the names to the text field, the option to enter custom text for non pantheon specific data could also be kept in, similar to the New Tag mechanism.
 
bump

I'd like to see this too. As an aside, is there any way to check the deity text field and use that as part of a requirement?
 
bump

I'd like to see this too. As an aside, is there any way to check the deity text field and use that as part of a requirement?

This is the best way to handle it. Write your requirements to search the string and list valid if it matches a substring (both "Thor " and "thor " as substrings and "thor" and "Thor" as full exact strings.)
 
Yes, that's the basic idea, though I haven't yet figured out what the name of that text field is (and by extension what the code for that would be). I was also toying around with the idea of creating a new Item Selection field, but I don't know if that's even possible. The idea would be that I could create a class ability that chooses from a list of deities. To do that, though, I would need to create the list and somehow tell HL to select from that list. Any ideas on how to do that?

The only other solution I've come up with is making the deity selection a custom ability that is selected the same way cleric deities are. I know how to do this already, but I'm not sure I like that as an option in this case.
 
Any ideas on how to do that?

The only other solution I've come up with is making the deity selection a custom ability that is selected the same way cleric deities are. I know how to do this already, but I'm not sure I like that as an option in this case.

I don't like custom selection, because it doesn't cover things you didn't think to put in.

The Deity is on the personal tab.
So set it to "Moo"
Go to Develop->Floating->Show Selection Fields and look through the list for something that sounds like it makes sense.
You see Background, and think yea Deity could be a background.

You see it in there as bDeity.

hero.child[background].field[bDeity].text
 
Last edited:
Actually, a thought that I had was to have it as a selection box and in the editor a section dedicated to deities which would include their areas of influence (portfolios, etc). Exceptions to normal Alignment rules, if applicable, favored weapons, and even available Domains which could be automatically flagged for being hidden/greyed out if the character didn't qualify.
 
Yes, ideally it would be a selection box. I'm just not sure if that's something we can do as a user community or if the developers need to do that.
 
Yes, ideally it would be a selection box. I'm just not sure if that's something we can do as a user community or if the developers need to do that.

I second the selection box, and I'd like a deity tab in the editor too!
At the momen I've got the core deities bootstrapped to the True Believer feat from CDiv and MIC. The feat allows you to select the deity and assigns a user tag to the hero (coded by Lawful_g).
I'm grinding the rest of the Pantheon in but to have a purpose built tab would make things so much easier!
 
Thread bump... did this ever go anywhere?
Looking at the Editor, I see no way to link back to (what in this case) amounts to a user input field on the personal tab.
Like others have mentioned, I would like the ability to assign feats, skills, specials, etc to particular deities (and then by extension their followers).
 
You can address the chosen deity field in d20 using the following:
Code:
hero.child[background].field[bDeity].text

Most of the other personal information is stored in that child. To view the information available through the background child, use "Develop > Floating Info Windows > Show Selection Fields" and select the "background" pick.

For finding the more obscure fields, a good place to start looking is with Grep (normal Windows users should check out the powerful BareGrep software). Scanning the *.dat files in %ProgramData%\Hero Lab\data\d20\source for "deity" revealed the following line from dossier_custom.dat:
Code:
        xml[node].attr["name"] = hero.child[background].field[bDeity].text

You can compare this value and add your scripted changes as desired:
Code:
var diety as string
deity = lowercase(hero.child[background].field[bDeity].text)
if ( deity = "cthulhu" ) then
  <...>
endif
 
Last edited:
Thanks for the Rapid response to an old thread Nullcascade.. I'll take a look at your suggestion for a work around.....
Would be nice to see this actually become a "tab" of its own one day.. would make life easier. Even expanding it to the "other" tab would be helpful... it almost seems a waste of space since it is mostly carrying mounts and the occasional hireling....

Imagine if you will a tab or pull down that allows the player based on their deity to see the domains, spells, belief structure etc of their patron. OR even more.....
a link within Herolab that would take you from the journal tab to a players version of realmworks that would allow the players access to their notes, logs, contacts, etc AHHH but that is another thread.:rolleyes:

I dreamed a dream..... :D
 
Yes, ideally it would be a selection box. I'm just not sure if that's something we can do as a user community or if the developers need to do that.

I thought you or someone that did these files had access to the source code for this?
 
I thought you or someone that did these files had access to the source code for this?

I don't have access to the source code, no. Shadow does, and that's why we've been getting new releases. I imagine he has turning the deity field into some sort of dropdown menu we can add to on his to-do list.
 
I don't have access to the source code, no. Shadow does, and that's why we've been getting new releases. I imagine he has turning the deity field into some sort of dropdown menu we can add to on his to-do list.
Yep on the to-do list. Was surprised myself that d20 didn't have this already.
 
Ah, Thanks for the response Shadow,
Toby's thread here
http://forums.wolflair.com/showthread.php?t=51882
reminded me of it.... so I throw him under the bus:D

Seriously, I can see where the two of these might inter-connect at some point? Meaning, that by selecting the diety (As suggested by this thread) it would populate available domain specific secondary spells (similar to what his thread is suggesting). Just a thought...

Keep up the good work!
 
Thread Bump... 2 1/2 months
My intent is to separate the available spells based on domains overseen by those respective deities. Similar to what spell casters already have via schools. Without a means to "see" what deity is selected by the PC and the ability to define what spells are available to the PC their selection provides, it makes achieving this goal much harder.
My real hope was to one day have the capability for the PC to pay homage and receive blessings (ie Spells ) from multiple deities. They might pray to one for guidance and yet another for success in battle and still another for healing after the battle. But, I don't see HL managing that possibility as the incremental updates are slow to come since most focus is in PF.

Don't get me wrong Shadow (and others) your efforts are MUCH appreciated and I understand there is only so much you can do.
 
Back
Top