Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
GeekySpaz
Junior Member
 
Join Date: Aug 2013
Posts: 12

Old August 3rd, 2013, 08:43 AM
I must be the only idiot who can't figure out how to do this since I can't find any instructions on how to do this online.

I'm trying to add an edge to a data file. The edge has requirements. I don't see any way in the data file editor to specify the requirements for the edge. Can anyone slap me over the head with what I'm sure is an obvious answer once I see it?
GeekySpaz is offline   #1 Reply With Quote
CapedCrusader
Senior Member
Volunteer Data File Contributor
 
Join Date: Aug 2009
Posts: 1,556

Old August 3rd, 2013, 07:27 PM
What kind of a requirement are you needing to set up? The various types of requirements are set up can be set up differently
CapedCrusader is offline   #2 Reply With Quote
GeekySpaz
Junior Member
 
Join Date: Aug 2013
Posts: 12

Old August 3rd, 2013, 07:55 PM
Minimum attribute and skill requirements, prerequisite edges, that sort of thing.
GeekySpaz is offline   #3 Reply With Quote
zarlor
Senior Member
 
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819

Old August 4th, 2013, 04:32 AM
Like Caped said, it depends on what the requirement is. I find it best to make judicious use of the "New (Copy)" button (at the bottom of the list where you would add an Edge) to look at examples of other Edges that have pre-requisites, preferably of the same type I need to use. So, for example, for a Trait you could take a look at the Ace edge which needs Agility d8+. On that one you can see the "Expr-Reqs" button (in the buttons on the left) is highlighted and has a "x1" next to it. That just means there is an "Expression Requirement" for the Edge.

Click on the Expr-Req and you'll see a few things that it does' Under "Message:" is the text that will be displayed in Red if a character doesn't meet the requirements for that Edge. Then there are some check-boxes which you don't normally need to mess with. Then the actual Code on the "Pre-requisite Expression" line. In this case "#trait[attrAgi] >= 4" It's important to remember that for Savage Worlds files the die type is halved into a numeric value, so a d8 is listed as a 4, d6 would be 3, and so on.

That "#trait" part is actually a kind of macro, or shorthand, for a longer piece of code. The important thing to know about it is that you would use it when you KNOW a character will have what you are looking for. All characters have Traits so you are fine using it like that here.

For Skills, however, there is no guarantee that a character will even have the skill to check against the number. So for that check out something like the Adept edge. Again you've got another Expr-Req (2, this time) and one of this is for a Skill, Faith. So this time the code looks a little different, "#traitfound[skFaith] >= 4". That "#traitfound" part is the macro here, rather than "trait". You use traitfound when the trait might not exist on any given character, like for skills.

You'll notice there that the "Pick-Reqs" button is also highlighted for Adept. If you click on it you'll see that this is what you fill in when an Edge requires some other Edge, for example. That one is pretty simple to use.

The special cases tend to do with things like Knowledge skills (since those can jsut be filled in by hand) and there are examples of some of the more complex things to look for an do in the "Common Codes" thread stickied at the top of this forum. That thread also has some pointers for where you can get more information in the program and on the Hero Lab Wiki for how to do things in the Editor.

Hope that helps!
Lenny

Lenny Zimmermann
Metairie, LA, USA

Data files authored (please let me know if you see any issues with any of these if you have/use them):
Official (In the downloader)
50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome
Coming Eventually
Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me)
zarlor is offline   #4 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 06:20 AM.


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