Senior Member
Join Date: Aug 2008
Posts: 302
|
I don't see anywhere to put in the Alignment restriction (Any evil or any chaotic)
|
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
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.
|
#2 |
Senior Member
Join Date: Aug 2008
Posts: 302
|
sigh... we must be looking at different things... I see no folders or no pre regs.
|
#3 |
Senior Member
Join Date: Aug 2008
Posts: 302
|
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?
|
#4 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
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 |
#5 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
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. |
#6 |
Senior Member
Join Date: Aug 2008
Posts: 302
|
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. |
#7 |
Junior Member
Join Date: Sep 2008
Posts: 3
|
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
|
#8 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
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 |
#9 |
|
|