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
thaX
Senior Member
 
Join Date: Aug 2008
Posts: 302

Old August 26th, 2008, 04:58 PM
I don't see anywhere to put in the Alignment restriction (Any evil or any chaotic)
thaX is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old August 26th, 2008, 10:14 PM
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.
Mathias is online now   #2 Reply With Quote
thaX
Senior Member
 
Join Date: Aug 2008
Posts: 302

Old August 27th, 2008, 04:56 PM
sigh... we must be looking at different things... I see no folders or no pre regs.
thaX is offline   #3 Reply With Quote
thaX
Senior Member
 
Join Date: Aug 2008
Posts: 302

Old August 27th, 2008, 06:03 PM
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?
thaX is offline   #4 Reply With Quote
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old August 27th, 2008, 08:13 PM
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
Lawful_g is offline   #5 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old August 27th, 2008, 11:39 PM
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.
Mathias is online now   #6 Reply With Quote
thaX
Senior Member
 
Join Date: Aug 2008
Posts: 302

Old September 13th, 2008, 03:10 PM
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.
thaX is offline   #7 Reply With Quote
DrZaius
Junior Member
 
Join Date: Sep 2008
Posts: 3

Old September 15th, 2008, 12:34 PM
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
DrZaius is offline   #8 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old September 18th, 2008, 10:52 AM
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
Colen is offline   #9 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 02:53 PM.


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