Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
NullCascade
Junior Member
 
Join Date: Nov 2014
Posts: 5

Old November 12th, 2014, 03:11 PM
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 by NullCascade; November 12th, 2014 at 03:21 PM.
NullCascade is offline   #11 Reply With Quote
Dark Lord Galen
Senior Member
 
Join Date: Jul 2012
Location: Texas
Posts: 707

Old November 13th, 2014, 09:47 PM
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.

I dreamed a dream.....
Dark Lord Galen is offline   #12 Reply With Quote
RavenX
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633

Old November 14th, 2014, 02:51 AM
Quote:
Originally Posted by Sendric View Post
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?

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.
RavenX is offline   #13 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old November 14th, 2014, 04:41 AM
Quote:
Originally Posted by RavenX View Post
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.
Sendric is offline   #14 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old November 14th, 2014, 10:24 AM
Quote:
Originally Posted by Sendric View Post
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.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #15 Reply With Quote
Dark Lord Galen
Senior Member
 
Join Date: Jul 2012
Location: Texas
Posts: 707

Old November 14th, 2014, 01:47 PM
Thanks Shadow & everyone for responding to resurrecting this thread.
Dark Lord Galen is offline   #16 Reply With Quote
Dark Lord Galen
Senior Member
 
Join Date: Jul 2012
Location: Texas
Posts: 707

Old January 13th, 2015, 10:33 AM
thread bump..... status?
Dark Lord Galen is offline   #17 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old January 13th, 2015, 10:42 AM
Quote:
Originally Posted by Dark Lord Galen View Post
thread bump..... status?
This is still on the to-do list and its creeping up to the top. I few "bugs" have been found that I want to get fixed and out soon so not the next release of d20. But "maybe" the one after that will see this....

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #18 Reply With Quote
Dark Lord Galen
Senior Member
 
Join Date: Jul 2012
Location: Texas
Posts: 707

Old January 14th, 2015, 08:16 AM
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

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!
Dark Lord Galen is offline   #19 Reply With Quote
Dark Lord Galen
Senior Member
 
Join Date: Jul 2012
Location: Texas
Posts: 707

Old March 29th, 2015, 01:32 PM
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.
Dark Lord Galen is offline   #20 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 10:03 PM.


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