• 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

Spell book for non-spellbook classes.

I too, wish we had some more powerful search stuff, but alas that's more than I am qualified to do.

Couldnt you use the same logic to populate the spellbook that you use to populate the class spell list (using a drop down menu in the spellbook itself to determine which class to pull from)? That would then enable the standardize the searching in class spell lists.
 
Couldnt you use the same logic to populate the spellbook that you use to populate the class spell list (using a drop down menu in the spellbook itself to determine which class to pull from)? That would then enable the standardize the searching in class spell lists.

No, that's not what that selector is for. People already get confused by it enough without me tacking another function on it. Sorry man.
 
You wouldn't be able to use the selector. You could create a version of the gear item which overwrites the candidate expression to use a set class, if you wanted. For example, you could make a "prayer book (cleric)".

I think that would be as simple as adding a Target tag for the class you want it to point at. If that won't work, you'd need to go into the gizmo with an eval script, find the SpBkClsHlp pick, and override the abItemExpr field (which I believe is set at Render 10000).
 
You wouldn't be able to use the selector. You could create a version of the gear item which overwrites the candidate expression to use a set class, if you wanted. For example, you could make a "prayer book (cleric)".

I think that would be as simple as adding a Target tag for the class you want it to point at. If that won't work, you'd need to go into the gizmo with an eval script, find the SpBkClsHlp pick, and override the abItemExpr field (which I believe is set at Render 10000).

Not trying to seem dense here, but I am working with a custom spell book trying to do this and am lost.
 
I have attached the user file I am working with, I am trying to get the spell bok to list only clerical spells, and to not have them greyed out when trying to add them to the spell book. From your previous post it sounds like it should be fairly straight forward process but I guess I am not familiar enough with the editor to grasp how to do that.
 

Attachments

Alright, sorry it slipped to this morning.

So turns out it was a little more complex than I was remembering (surprise surprise). In order for the Target tag to be automatically used, there also needs to be a Helper.StartBook tag present, but you can't just have that tag be defined as part of the thing because Starting Books aren't available to be purchased. So you need to add that tag in a script, that way you can still buy the book but all the background component scripts get activated.

First 500
Code:
      perform assign[Helper.StartBook]

Now, the other part is getting the ability to print out the contents of your spellbook on characters who aren't normally spellbook casters. To handle that, add the following script (copied from the Prayer Book)

Final 10000
Code:
      perform hero.assign[Hero.Spellbook]

      foreach pick in gizmo from BaseSpell
        perform eachpick.assign[Spellbook.PrayerBook]
        nexteach
 
Thanks that makes a lot of progress. Two things I have left on this issue then. 1) Im getting a validation error "Starting spell books can only be added to characters who are storing spells in gear Spellbooks" 2) is it possible to only have the books with unique entries (IE once its added to the book the spell is removed from the list of available spells)?

PS Will you be at GenCon?
 
1) "Starting spellbooks may only be added to characters who are storing spells in gear spellbooks."? That means your character has somehow set the tCharSpHld field to non-zero. Try adding a level of wizard, click the spellbook button on its class tab, then the options button, and uncheck the box there.

2) Afraid not.

I should be at GenCon this year, afaik.
 
1) "Starting spellbooks may only be added to characters who are storing spells in gear spellbooks."? That means your character has somehow set the tCharSpHld field to non-zero. Try adding a level of wizard, click the spellbook button on its class tab, then the options button, and uncheck the box there.

2) Afraid not.

I should be at GenCon this year, afaik.

Thanks 1 worked. Dam having it work like a sorcerer's spell list (IE not being able to add duplicates) would have been very useful.

How do you prefer your bribes? Helpfulness is always appreciated :D
 
Thanks 1 worked. Dam having it work like a sorcerer's spell list (IE not being able to add duplicates) would have been very useful.

How do you prefer your bribes? Helpfulness is always appreciated :D

We usually have a semi-official hangout in a bar open to the public the evening of the 1st or 2nd day. Check with BJ for the details. I don't drink alcohol, but if you showed up there I wouldn't say no to a hot cocoa or a sandwich.
 
Dam having it work like a sorcerer's spell list (IE not being able to add duplicates) would have been very useful.

On second consideration, there might be a way to do this in a clunky way (by foreaching through all spells in the book already and then modifying the candidate expression for the table to exclude those present), but I am afraid it would break down once you hit a certain number of spells (the field which stores the candidate expression has a limited length, and excluding each individual spell will eat that up quick). I take it each of these spellbooks are going to contain a lot of spells?
 
Hmm, I put in a debug to see how many characters a standard cleric uses in the candidate expression field, which is 156. Then I looked at the field, which says it can store 5000. So assuming the unique IDs of each spell tag is about 20 characters, you could fit maybe 200 spells before the thing hit the limit and errored out.
 
We usually have a semi-official hangout in a bar open to the public the evening of the 1st or 2nd day. Check with BJ for the details. I don't drink alcohol, but if you showed up there I wouldn't say no to a hot cocoa or a sandwich.

Alcohol might be the most commonly used bribe, but for those who utilize this tactic we actually prefer higher brow options. :D

another thought would be to add a tag to each spell already in the spell book, and then have the candidate expression exclude spells with a given tag.
 
Another thought would be to add a tag to each spell already in the spell book, and then have the candidate expression exclude spells with a given tag.

Unfortunately, that won't work because the candidate expression operates on things, not picks. For something to be excluded, the tag would have to be one it was created with.
 
Back
Top