Power related error message
I'm in the process of putting together a .stock file for the Broken Earth creatures so I can use the encounter builder with it, and I've gotten an error message on one (the BE "dragon", which is a mutated flightless eagle with pyrokinetic powers). I got three duplicates of the following error message:
"Attempt to access nonexistent child pick 'resPowers' from script Location: 'eval' for Component 'Power' (Eval Script #2) near line 3" I'm not recognizing where I'd even be finding this (since the "res" prefix doesn't seem to relate to any components in SW that I can find. And a search in the .user file doesn't seem to find that phrase at all. Suggestions? |
I believe "res" is just Resource and, based on naming, "resPowers" would be a reference to something in one of the core files, not your own. Perhaps if you would post the eval script(s) you have on that creature we could try to help out finding the problem?
|
That's the kicker; it doesn't have an eval script on the creature itself. There's one on the Racial Ability that gives it the psionic powers it has, but that's just a bit of code to give it power points:
Code:
#trkmax[trkPower] += 20 Let me list the whole dragon entry, and see if anything seems off (as far as I can tell, nothing popped an error when I first put it together, so unless the code got damaged along the way or something changed, I don't get this): Code:
<thing id="creBEDrag" name="Dragon (Broken Earth)" description="Dragons were in fact once bald eagles that were mutated by a cocktail of radiation and escaped viruses, including the Extreme Radiation Resistance virus, a virus meant to induce pyrokinetic powers, and probably a few others. \nThe result is a giant flightless and featherless bird that looks much like the dinosaurs of old. \nThe dragon retained its ancestorā€™s powerful beak, which can easily tear its foes apart. However the power that inspires the dragonā€™s name is actually its psionic ability to create blasts of fire. (Most people believe it \nbreaths fire, but this is not strictly true.) Possibly because of the ERR virus, this fire is also radioactive, and any exposed to it risk radiation poisoning." compset="Creature" uniqueness="unique"> Code:
<thing id="abBEPDra" name="Psionics (Dragon)" description="Dragons have 10 power points and know the following powers: {i}burst, blast and damage field{/i}." compset="RaceAbil" uniqueness="unique"> |
It occurs to me that this could be related to the fact that Broken Earth uses a non-standard variation of Psionics, so the normal one is precluded, but I can't see where the way I've given the dragons psi powers even interacts with that, since the individual powers aren't precluded. It should also be noted that when I do a test with the Dragon entry, it doesn't throw any errors in the editor.
|
Ok, so resPowers is defined in core thing_miscellaneous.dat file where it explains it as follows (in part):
Code:
<!-- Powers resource to track the number of arcane powers granted to the character --> Something is telling you the problem is in creBEDrag, though, right? Which means your error in the the first post isn't complete. Can you let us know what the error line is that mentioned creBEDrag? |
It was just a guess because it only happened when I imported the BE Dragon as a race for the base of a creature (as I was doing a set of creature portfolios for each one). Since the prior two I'd just done didn't trigger that, and the Dragon has some powers, I assumed it had something to do with that.
IAbBEPDra is listed up above, but here's all three of the bootstraps (I can't see why the others would be relevant for reasons that will be obvious, but what the hey): Code:
<thing id="abBEExRaR" name="Extreme Radiation Resistance" description="Dragons are immune to all but the strongest forms of radiation. They gain a +4 bonus to Vigor tests to resist radiation." compset="RaceAbil"> |
Hmm... would you mind sending me a copy of the file? zarlor at acm dot org. I can see if I get the same error.
|
You have to have an arcane background to be able to have powers (the tab that appears where you pick powers). You cannot add powers without that. You need to bootstrap your psionic arcane background.
|
Huh. I wonder why it doesn't throw an error in the editor then.
Sure enough, too, that was it. Thanks, SeelyOne. |
By the by, does anyone know if there's a way to pre-specify the Trappings on a power you've bootstrapped?
|
All times are GMT -8. The time now is 06:00 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.