Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD

Notices

Reply
 
Thread Tools Display Modes
TaylorBland
Member
 
Join Date: Apr 2014
Location: Abilene, TX
Posts: 97

Old March 29th, 2018, 06:19 PM
Not counting the Spell Level itself, i am working on a sort of Avatar the Last Airbender campaign (in a slightly modified universe), Where each of the 4 nations can have Benders. the Bender Variant of the Human Race has Spells linked directly to it. At level 1 they gain a Cantrip and one Level 1 Spell based on their Element (earth, air, fire or water). at certain levels they automatically gain new elemental Spells.

How would i go about scripting the spells that are limited to level?

In this world, there are not Spell-casting Classes and only use the following (Barbarian, Fighter, Monk, Ranger, and Rogue). this is to show that only the Bender sub-races can cast "Magic". it is because of this, that Benders just gain a new Spell at a later Level.

I'm still working on the sub-bending types, like Lightning and Blood for example. i may not even do those. but anyway...


Or would i have to create some kind of extra thing like the Divine Domains (that grant certain spells at certain levels anyway)?
TaylorBland is offline   #1 Reply With Quote
dungeonguru
Senior Member
 
Join Date: May 2016
Location: Louisville, KY
Posts: 458

Old March 30th, 2018, 09:57 AM
I'd have to see the homebrew you're talking about before committing to how to handle something.

A spell's level is simply the sLevel.# tag, where # is the level of the spell (0 = cantrip, 1 = 1st, etc..)

The editor has a tutorial in the Help file (tutorial #6) that shows how to set up a class to cast spells and you can always pick apart the community PHB_Classes file by looking at Arcane Trickster and Eldritch Knight on how to set up the spells known and memorized arrays (how many spells at what level).

If you look at the community drow and tiefling, you can see where innate spells are bootstrapped to show up at certain levels.

I would also suggest looking at some of the community warlock patrons to see how the Patron spells are added to the warlock spell lists.

DM'ing since 1984's red box. Pretending to slay dragons for a long time before.
SELF-CERTIFIED OLD COOT
The mirror doesn't lie.

Links for Community files:
Changelog for 5e Community Files
Open Issues for 5e Community Files


LW Products: Hero Labs Classic
Other Tools: CC3+, Inspiration Pad Pro
dungeonguru is offline   #2 Reply With Quote
TaylorBland
Member
 
Join Date: Apr 2014
Location: Abilene, TX
Posts: 97

Old March 30th, 2018, 03:23 PM
this is a start, thanks.
TaylorBland is offline   #3 Reply With Quote
RavenX
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,568

Old March 30th, 2018, 05:56 PM
Quote:
Originally Posted by TaylorBland View Post
this is a start, thanks.
Easiest way to script it would be to limit the choices by thingid I think. But you would have to get all the thingids.# tags for the spells based on elements. Otherwise you're going to get a list of spells that covers all spells if you just use the tag for level.

if you were doing a candidate field:

Code:
  ~for the cantrip
  field[usrCandid1].text = "component.Spell & sLevel.0 & (thingid.???? | thingid.????)"

  ~for the 1st level spell
  field[usrCandid2].text = "component.Spell & sLevel.1 & (thingid.???? | thingid.????)"
The | is an or statement, you'd use that between thing ids. This would limit the spell selection list specifically to the spells you gave a thingid tag for.

If they did spell output for spell attacks as weapons, I'd say you could limit your list by damage type tags, but I don't think spell attacks have a handy reference in these data files that outputs spell attacks as weapons or that prints out for the spell. At least not yet. Normally when I do the attacks in a Statblock I list all the attack spells as if they were weapons for ease of use at the table in my own DM notes.

RavenX

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.

Last edited by RavenX; March 30th, 2018 at 08:28 PM.
RavenX is offline   #4 Reply With Quote
TaylorBland
Member
 
Join Date: Apr 2014
Location: Abilene, TX
Posts: 97

Old April 5th, 2018, 06:51 PM
This is great and is a wonderful start. so a quick question, if i want more options to become available like as a Class, would it be easier just to create a new Bending Class instead or would this option as a Racial Gift work best? i just want to make it the best i can without going overboard with things.

Y'know K.I.S.S.

Keep It Simple Stupid!!!!!
TaylorBland is offline   #5 Reply With Quote
RavenX
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,568

Old April 5th, 2018, 07:35 PM
Quote:
Originally Posted by TaylorBland View Post
This is great and is a wonderful start. so a quick question, if i want more options to become available like as a Class, would it be easier just to create a new Bending Class instead or would this option as a Racial Gift work best? i just want to make it the best i can without going overboard with things.

Y'know K.I.S.S.

Keep It Simple Stupid!!!!!
Well if you make a new class, you end up having to make new copies of the spells so you can add the class tags to the new class. Otherwise they won't pop up for the class... If you notice how hero lab's editor does spells, the classes are tagged on the actual spell... which may actually be a lot more work than the tag expression I gave you. Manually copying each spell you need just to remove the class tags and add new class tags will take a lot of time rather than just looking up the thing ids for a tag expression.

RavenX

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.
RavenX is offline   #6 Reply With Quote
dungeonguru
Senior Member
 
Join Date: May 2016
Location: Louisville, KY
Posts: 458

Old April 6th, 2018, 03:42 AM
Quote:
Originally Posted by RavenX View Post
Well if you make a new class, you end up having to make new copies of the spells so you can add the class tags to the new class. Otherwise they won't pop up for the class...
I don't think that's 100% accurate. You should just have to extend tags after you have the new sClass tag from the new class rather than make copies. When you make a class and grant it casting, you use the sClass tag that gets created using your class abbreviation - cHelpXXX, so if you created an Bender class with abbreviation Ben, the system autogenerates the tag sClass.cHelpBen. You then just extend the tag to spells you want in the list:

It looks like this in the .user file:
<extthing thing="spFireBolt" group="sClass" tag="cHelpBen"/>

Admittedly you have to do that for every spell you want to grant access to, which is tedious.

The twist is when you create subclasses for existing classes that don't have spellcasting baked in. If you wanted to create a "Bender" subclass for each of the existing classes you would need to probably explore something like the Way of the Four Elements monk abilities and bootstrap the spells as Quaternary or Quintenary abilities, or do something like the Rogue Arcane Trickster and assign the subclass an existing sClass tag (sClass.Wiz).

From a mechanical standpoint, it makes sense that most high-level benders use the monk martial arts/signature moves progression, while the average NPC bender has a feat or racial feature that allows access to a single bending "move".

DM'ing since 1984's red box. Pretending to slay dragons for a long time before.
SELF-CERTIFIED OLD COOT
The mirror doesn't lie.

Links for Community files:
Changelog for 5e Community Files
Open Issues for 5e Community Files


LW Products: Hero Labs Classic
Other Tools: CC3+, Inspiration Pad Pro
dungeonguru is offline   #7 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,638

Old April 6th, 2018, 10:07 AM
Quote:
Originally Posted by dungeonguru View Post
I don't think that's 100% accurate. You should just have to extend tags after you have the new sClass tag from the new class rather than make copies. When you make a class and grant it casting, you use the sClass tag that gets created using your class abbreviation - cHelpXXX, so if you created an Bender class with abbreviation Ben, the system autogenerates the tag sClass.cHelpBen. You then just extend the tag to spells you want in the list:

It looks like this in the .user file:
<extthing thing="spFireBolt" group="sClass" tag="cHelpBen"/>
Yep exactly why I had asked Colen to add this logic originally. The ability to extend spells to other classes without having to make copies is a life saver.

Your getting really good with HL dungeonguru.

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 online now   #8 Reply With Quote
RavenX
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,568

Old April 6th, 2018, 01:18 PM
Quote:
Originally Posted by dungeonguru View Post
:
<extthing thing="spFireBolt" group="sClass" tag="cHelpBen"/>
Was not aware this was even an option, I'd have to check but I don't know for sure if this is covered by the kit wiki either. It is convenient but keep in mind this is Raw Source Code, can this be done via the editor? A lot of people who use hero lab don't work in the raw source code like some of us do. The options I mentioned will work in the editor.

RavenX

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.
RavenX is offline   #9 Reply With Quote
dungeonguru
Senior Member
 
Join Date: May 2016
Location: Louisville, KY
Posts: 458

Old April 6th, 2018, 02:39 PM
Quote:
Originally Posted by RavenX View Post
can this be done via the editor?
Yes.

In the editor under the General tab, there is a *Extend Thing tab.

When you hit the New button you provide the thing you want to extend to - the thingid of the spell in this case. The other two fields are the group and tag id of the tag you want to extend to it.


And @ShadowChemosh, thanks for the compliment - I still need to figure out how to host my own source - I've pretty much stopped using the community files although I do give the community files a version of my stuff as I go along.

DM'ing since 1984's red box. Pretending to slay dragons for a long time before.
SELF-CERTIFIED OLD COOT
The mirror doesn't lie.

Links for Community files:
Changelog for 5e Community Files
Open Issues for 5e Community Files


LW Products: Hero Labs Classic
Other Tools: CC3+, Inspiration Pad Pro
dungeonguru is offline   #10 Reply With Quote
Reply

Thread Tools
Display Modes

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 12:37 PM.


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