Member
Join Date: Mar 2013
Location: LV, NV
Posts: 65
|
I've recently purchased all the SWADE data packs, downloaded a long list of user files contributed by the community (I can list them if needed/useful but omitting for post brevity). I'm modestly familiar with the editor, more so with M&M and PF due to use.
But my experience with the editor in those games rarely touched on anything to do with scripts, and those few times it did I was able to get by using copy/paste from other examples. TBH all my attempts with the editor in MM/PF have been trial/error/copy/paste, I can't really say I get how these scripts work, it's like trying to learn Russian without a guide (Though I have been experimenting with Zarlor's common code examples). But this time around, I actually need some programming help from seasoned users as I don't even know how to begin tackling this problem or what section of the guides I should be studying to serve my goals.
Also, I want to house rule an increased number of Edges, but restrict them along the lines of what other game systems rely on a Class system to grant access to (i.e. PC acquires an edge chosen from a restricted list as he advances). I also have no clue how to approach this and would welcome any suggestions to try out. I know this sounds like I'm asking for someone to actually write all the scripts for me, but I'd rather be pointed at where I can find the appropriate lessons and maybe a couple of examples of what those lessons teach, so that I can compare my understanding of the lesson with someone's use of them. Normally I'd set aside a few weeks for study time, but I'm short on time. Right now, though I read the SW tutorial, I'm being dense and failing to connect the dots as to which sections hold the answers for me. All that said, if anyone feels inclined to make an example that I could copy and paste, I would not be ungrateful. |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Aug 2009
Posts: 1,569
|
OK, we can help with most of these.
1. For the AB, the Edge needs something like this: Code:
<exprreq message="Spirit d8 required."><![CDATA[ #trait[attrSpi] >= 4 ]]></exprreq> 2. Hmmm. Tell me more about this one. Picking up an AB gives the hero starting Powers. Changing that number in relation to the related Attribute shouldn't be a huge problem. 3. You've got this one. 4. The additional Powers aren't related the Attribute normally. #2 would just change the initial Power allotment. Yes, the New Powers Edge can show you how. 5. This one's easy. Set the Advancement Slots in the Edge to 0. Bingo, free Edge. For the rest, this can likely be dealt with using restrictions on the Edges - They pick up one that defines the "Class" and then the other Edges related to that Class have that initial Edge as a requirement. _ 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 |
#2 |
Member
Join Date: Mar 2013
Location: LV, NV
Posts: 65
|
Hi CapedCrusader, thanks for the assistance
I'm embarrassed to admit despite your instructions being fairly clear, this isn't working as anticipated and I can't say why. I uploaded a set of pics to illustrate and make certain I followed your instructions correctly. The validation error came to haunt my entire installation of HL with SW, whether I selected the file or not. I had to remove the .user file entirely from the data folder and put it someplace else or HL wouldn't load Quote:
I'm attempting to do a Shadowrun conversion and happened to stumble on a write-up wherein the author has magic tied to Spirit rating. The author didn't make mention buying additional powers that were more than one's Spirit rating, but I intend to translate elements from Shadowrun (via Initiation rules) that allow characters to continue advancing their choices. I figured I could let this default to the "Edge: New Powers", but haven't gotten far enough ahead to be able to test my structures yet. Since it's Shadowrun, cyberware implants are a thing. The author made use of the SciFi Companion's rules for Implants including Strain and the correlation between Magic and Cyber for what you pay is a even match, i.e. enhanced reflexes are the same value/cost whether one is a Physical Adept or has wired reflexes implanted, a symmetry that I personally really like. Implants impose Strain from the Sci Fi Companion, they would reduce any magic user's powers. Rather than reducing a magic user's Spirit, I figured it should reduce access to their powers, since if the implants are removed, the interference goes away. In addition, I want to create another type of implant of bioware that will also work with these rules, but where the impact on the availability of powers is much less. So to line all this up, I have to code some considerations;
Quote:
--Menu #1 "All Picks on Hero" --Menu #1 Tag Expression = Arcane.? & !Arcane.Arcane & !Skill.? & !Power.? & !Edge.? I'm assuming that by making the Edges for magic weilders all "Arcane Background: XXX" that the default "New Powers Edge" will play nicely with my custom ABs by default? Ok, I was thinking this would likely be how I go about constructing things. I'll followup on this and post some findings as I dig deeper. |
||
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Aug 2009
Posts: 1,569
|
1. Pictures? Also, you could open the .user file and just post the code for the prereq.
2. I've played Shadowrun. My suggestion might be to have it affect the Power Points available to use to power the spells. The number of Powers wouldn't change. This seems to make more sense to me than Powers disappearing. Also a lot easier to code. 4. The Arcane.? is looking for an Arcane tag on the Edge, not the name. When you set up the Arcane Background this tag should be included automatically. _ 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 |
#4 |
Member
Join Date: Mar 2013
Location: LV, NV
Posts: 65
|
Quote:
C1.JPG C2.JPG C3.JPG As for posting the code from my user file, I can't. I literally had to take that .user file and remove it from my data folder as it was preventing HL from being able to load up. Even when I attempted to load it from it's segregated folder through the editor, it refuses to load. I get a error message that reads "Expected close tag for element 'validate'". My 3rd picture above was when I was trying to get it to work and changed it from "Warning" to "Validate" which is probably why it keeps bugging out. I thought that's what the script was attempting to make sure of so gave it a try, didn't realize it would fubar the file. As to your 2nd point, we're running with no Power Points (as fuel- I'll spare you my personal rant about their use of terminology on that issue ), but instead having failed rolls on the skills inflicting Fatigue. Now that the wiki is up again, I'll start working my way through it to try to figure things out and post only when stuck. |
|
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Aug 2009
Posts: 1,569
|
Ah, wrong button. Next one up - Expr-req. Then the "#trait[attrSpi] >= 4" goes in the Prerequisite Expression and "Spirit d8 required." goes in the message.
_ 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 Last edited by CapedCrusader; February 14th, 2021 at 12:18 AM. |
#6 |
Member
Join Date: Mar 2013
Location: LV, NV
Posts: 65
|
|
#7 |
|
|