• 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

Basic Question on Edges in Data Files

GeekySpaz

Member
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?
 
What kind of a requirement are you needing to set up? The various types of requirements are set up can be set up differently
 
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
 
Back
Top