• 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

Trying to make a Warlock class entry...

It's in the class level tab in the editor, in the Pre-Reqs section. In the source folder (a subfolder of the editor's default directory), you'll find the SRD classes - you'll want to study how alignment restrictions are coded in for classes that have them.
 
I see the Pre Regs, but don't know if the things I put in there work. I put in the Alignments you need, right?
 
Huh... wierd. WHen I was making classes with Hero Lab a while back the most useful teaching aid I had was copying already entered prestige classes and looking at their pre-reqs etc. However, I just tried to copy the Assassin Prestige class, which has an Alignment requirement of any Evil to answer your question, but no pre reqs and/or Eval scripts were listed.... same with the Palafin class. When did things switch in that way? It will make learnign the system much harder without relevant examples.

You are in luck though thaX, I happen to have the appropriate script in one of my already made classes. Try this in the Pre-reqs:

@valid = 0
if (hero.tagis[Alignment.Evil] <> 0) then
@valid = 1
elseif (hero.tagis[Alignment.Chaotic] <> 0) then
@valid = 1
endif
 
In the editor, file menu, open data file, then select the source file, and look through the list of files for classes and prestige classes with alignment restrictions (Barbarian, assassin, paladin, etc.). Select one of those, and then in the editor itself, select the class level tab. One of the buttons in the center-right is pre-requisites, and if there are any, it will say how many have been entered.

What you'll need to do is study how other pre-requisites are coded, and work from those for your project.

Lawful_g, I'm looking at the srd_prestige_assassin.dat right now, and see the pre-reqs. Witht the weird way HL acts when duplicating an entire class, I always look at my classes in the source folder.
 
Ok, I seen the entry for the Monk and it is a lot of stuff to shift through to restrict the alignment.

I have given up on this, and it seems that this program will be useless for me since I am not a programmer. I had such high hopes when I seen it in Gen Con, but I can't even put in a class without coming to a complete block.
 
I can understand your frustration. But you don't have to be a programmer to work with the program I think Lone Wolf has done the best they could in terms of making the program accessible and powerful, the trade off is editing and changing things isn't the simplest task in the world. You do need to spend time testing things and you have to read through all their documentation. I have started on smaller things so maybe I can get some base knowledge so I can tackle more complex changes. The forum here is great, people are helpful. I just think you have to be ready to take your time sorting things out and be ready to scratch your head a few times but stick with it. Good Luck
 
thaX wrote:
>
>
> Ok, I seen the entry for the Monk and it is a lot of stuff to shift
> through to restrict the alignment.
>
> I have given up on this, and it seems that this program will be useless
> for me since I am not a programmer. I had such high hopes when I seen it
> in Gen Con, but I can't even put in a class without coming to a complete
> block.


As we add capabilities, Hero Lab is constantly evolving. For example,
restricting the alignment was something that couldn't be done easily
without writing scripts 6 months ago, but because of all the changes and
new capabilities we've added since then, it's now possible.

This has allowed me to add new "Alignment Requirement" and "Alignment
Forbidden" entries to class levels, races, and templates. Next release,
you'll be able to configure complex alignment restrictions (for example,
"You must be Good or Neutral, but you can't be Lawful Neutral") simply
by checking boxes. This will be included as a free update in the next
release.


Hope this helps,

--
Colen McAlister, colen@wolflair.com
 
Back
Top