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
CapedCrusader
Senior Member
Volunteer Data File Contributor
 
Join Date: Aug 2009
Posts: 1,550

Old January 31st, 2015, 12:19 PM
Making the copies is likely the best way on this one.

As far as the buy-off, you could use a tag and an Edge. Assign the tag to the hero with the Race. Put a containerreq on the Skill copies that checks to see if the character does not have the tag. Then create an Edge that buys this off and removes the tag from the hero. An Edge costs 2 Reward points, so that should work.

_
Currently In Development: Savage Pathfinder, SWADE Fantasy Companion
Future Development: SWADE Super Powers Companion, SWADE Sci-Fi Companion
_
Currently Running: Savage Unity Inc. (homebrew multiverse theme)
Setting Files Supported: Deadlands: Reloaded, Flash Gordon, Gaslight, Hellfrost, Interface Zero 2.0, Seven Worlds, Slipstream, Solomon Kane
Future Setting Files: Savage Judge Dredd
CapedCrusader is offline   #11 Reply With Quote
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 874

Old January 31st, 2015, 08:50 PM
Is there some way I can combine that with buying off the Illiterate Hindrance in one Edge?
Paragon is offline   #12 Reply With Quote
SeeleyOne
Senior Member
 
Join Date: Nov 2009
Posts: 891

Old January 31st, 2015, 10:03 PM
The easiest way to make it prevent skills is to have a setting of its own in the "Configure Hero" menu.

Make a setting, call it whatever the Hindrance is called.
Then have that setting be part of the Hindrance. In the hindrance it will have a tag of that setting (the one that shows up in the Hero menu). All of the skills will also have this tag. (By tag I mean "Source").

Instead of Bootstrapping it like I suggested (which would make it so you can't buy it off), you can have the Hindrance require the Setting in the hero tab,

Evil wins because good rolls poorly .... or the players are not paying enough attention to the game.
SeeleyOne is offline   #13 Reply With Quote
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 874

Old February 5th, 2015, 08:00 AM
I just realized I can do the latter part simply by building it into the Edge I do as a buy off (or, if I'm lazy, just note that the Illiterate Hindrance is in effect until the specialty Edge is taken). However, my coding limits are showing so I thought I'd just ask rather than fumbling around for a week and maybe figuring it out:

If I do the trick of having the Edge remove the Tag the skills search for (by the by, why is a Containerreq used for that rather than a Pickreq?), how does one do that? Its not self-evident, though I'm guessing some kind of expression (I didn't see an example in the code thread). If I go to the trouble of having the racial trait bootstrap in Illiterate, is there a way for an expression to remove that?
Paragon is offline   #14 Reply With Quote
zarlor
Senior Member
 
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819

Old February 5th, 2015, 08:45 AM
I don't have any good examples of tag use in the code thread mostly because I'm not all that comfortable with it myself. I'm just not exactly sure how to use them, let alone really show their use in the code thread. However, on the part where you have something, like a Hindrance, that bootstraps something else, like another Hindrance, then removing the first Hindrance will necessarily remove the second, so I think that should work for what you want.

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   #15 Reply With Quote
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 874

Old February 5th, 2015, 12:52 PM
It sounded like what Caped Crusader was suggesting an Edge to "remove" the tag, and effectively counteract what the racial trait applied. I gather you don't know how code something to delete a tag? I may have to do more research, then.
Paragon is offline   #16 Reply With Quote
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 874

Old February 5th, 2015, 12:58 PM
Hmmm. Doing some searching, I found a thread Mathias did in the Pathfinder forum talking about container usage where he says this:

"Instructions you can give:

assign[Group Id.Tag Id]
Add 1 copy of the listed tag here.
delete[Group Id.Tag Id]
Delete ALL copies of the listed tag here.
tagreplace[Group Id.Tag Id,Group Id.Tag Id]
Delete all copies of the first of those listed tags, then assign 1 copy of the second of those listed tags (this is a shortcut for delete[], then assign[])."

Perhaps that's the key to what I should be doing here.
Paragon is offline   #17 Reply With Quote
zarlor
Senior Member
 
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819

Old February 5th, 2015, 04:11 PM
Quote:
Originally Posted by Paragon View Post
Hmmm. Doing some searching, I found a thread Mathias did in the Pathfinder forum talking about container usage where he says this:

"Instructions you can give:

assign[Group Id.Tag Id]
Add 1 copy of the listed tag here.
delete[Group Id.Tag Id]
Delete ALL copies of the listed tag here.
tagreplace[Group Id.Tag Id,Group Id.Tag Id]
Delete all copies of the first of those listed tags, then assign 1 copy of the second of those listed tags (this is a shortcut for delete[], then assign[])."

Perhaps that's the key to what I should be doing here.
Yeah, that's the gist of what I understand it to be from our previous discussion on this forum where we were thinking it would be nice to be able to do a bootstrap of something in code, but you can't do that, instead you have to already have that thing boostrapped and then use tags to prevent the bootstrap from happening, that way if you remove the tag the bootstrap can appear... something like that, anyway. I have a hard time getting tags to assign sometimes, though. It's just not the area of coding in Hero Lab that I have much comfort with, is all, so I don't tend to be a lot of help on that front I'm sorry to say.

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   #18 Reply With Quote
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 874

Old February 5th, 2015, 09:00 PM
Don't feel bad in any way, Zarlor. You've been an enormous help to me on my projects on here.
Paragon is offline   #19 Reply With Quote
CapedCrusader
Senior Member
Volunteer Data File Contributor
 
Join Date: Aug 2009
Posts: 1,550

Old February 6th, 2015, 02:15 PM
Here's some code examples:

To add or delete a tag to the current item:
Code:
perform assign[Equipped.Equipped]
perform delete[Equipped.Equipped]
To add a tag to the hero level:
Code:
perform hero.assign[Hero.ShowLang]
To add a tag through a focus:
Code:
perform hero.child[wpUnarmed].setfocus
perform focus.assign[WeaponDie.3]
To add a tag to a container object:
Code:
perform container.parent.assign[WeaponMod.Power]
Tags are very cool. A lot of what happens in the background uses tags. If you have the Develop menu available, check the Floating Info Windows. IT can show you the various tags on everything from the hero down to each individual item on the hero.

_
Currently In Development: Savage Pathfinder, SWADE Fantasy Companion
Future Development: SWADE Super Powers Companion, SWADE Sci-Fi Companion
_
Currently Running: Savage Unity Inc. (homebrew multiverse theme)
Setting Files Supported: Deadlands: Reloaded, Flash Gordon, Gaslight, Hellfrost, Interface Zero 2.0, Seven Worlds, Slipstream, Solomon Kane
Future Setting Files: Savage Judge Dredd
CapedCrusader is offline   #20 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 05:27 PM.


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