• 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

Paragon problems

ErinRigh

Well-known member
:confused: Hey, I am trying to add the Paragon template but I have snagged up here and could some help. There is a scripting error here, i done it, it happened, and now i can't figure out what the error is, or even where to go to fix it. I've attached my working file for you to check.

HELP!

Erin :confused:
 

Attachments

I've just loaded your file into Hero Lab.
I've looked over it in the editor, then added it to a base creature in HL. There was no error message at any time. I can see that there are parts of the template that you haven't done yet, but no errors.

What scripting error did you have? Can you copy/paste it here?
 
how totally weird last night it was giving me errors based on something called gslEquip (or similar) connected to paragon spell-like abilities, and now it is not doing it, bizarre.

oh well I'll let you know how it goes.
 
This happens once in a while. Most likely you just needed a full recompilation of the user content. That said, if you get errors in the future, you can copy and paste them here (you can also do screenshots, but the error windows allow you to copy their content to the clipboard).
 
Second snag, please someone help!

I can't figure out how to make a special ability that will multiply speed by 3, anyone?

Erin
 
Well if someone can help me with that special ability, I'll upload the finished template

A character's speed is controlled by hero.child[Speed].field[tSpeed].value

Presumably you can just multiply that by 3 at the appropriate phase.
 
ok Sendric, thanks. Now pretend that my coding abilities are great, but my coding knowledge is next to nonexistant. Can you give me the line of code that will do that? I probably won't ever need to ask again.
 
ok Sendric, thanks. Now pretend that my coding abilities are great, but my coding knowledge is next to nonexistant. Can you give me the line of code that will do that? I probably won't ever need to ask again.

sure

Code:
hero.child[Speed].field[tSpeed].value *= 3

as for timing, that would depend on whether it would multiply the character's speed while hasted. If not, do it before pre-levels/10000. If so, do it after.
 
Last edited:
Darn it Sendric, I thought i was done, but i missed an ability. I can't figure out where to add the special ability +20 damage with melee/thrown, can you offer any help?

Erin

BTW, thanks for the last bit there
 
Darn it Sendric, I thought i was done, but i missed an ability. I can't figure out where to add the special ability +20 damage with melee/thrown, can you offer any help?

Erin

BTW, thanks for the last bit there

Ah, this one is a bit trickier. To do this in d20 you will need to use a foreach loop. Normally, we try to avoid them, but sometimes they are necessary. In any case, this is how you would add +20 damage to a melee or thrown weapon. Note that I have no idea what the Paragon is or where its from so I'm not looking at the special you are referring to.

Code:
foreach pick in hero from BaseWep where "wCategory.Melee | wCategory.RangeThrow"
    eachpick.field[wDamBonus].value += 20
nexteach
 
Last edited:
Thanks mate, unfortunately I get a syntax error in that code when I go to use it, and since my coding xp is only now about 25, i don't know what I have done wrong, the error is;

Hero Lab was forced to stop compilation after the following errors were detected:

Syntax error in 'eval' script for Thing 'xParaDMG' (Eval Script '#1') on line 1
-> Invalid syntax within 'foreach' statement
 
Thanks mate, unfortunately I get a syntax error in that code when I go to use it, and since my coding xp is only now about 25, i don't know what I have done wrong, the error is;

Hero Lab was forced to stop compilation after the following errors were detected:

Syntax error in 'eval' script for Thing 'xParaDMG' (Eval Script '#1') on line 1
-> Invalid syntax within 'foreach' statement

Sorry. "here" should be "hero". I have fixed it in the above code block.
 
Well if someone can help me with that special ability, I'll upload the finished template

Were you able to finish this template and if so would it be possible to get a copy? I've started trying to write it up myself but I'm beginning to think I should start with something simpler :p
 
Weapons have a field[wDamBonus].value that adds a bonus to weapon damage.

When you say "damage with melee/thrown" is that for a specific weapon, all weapons of a type, or just all weapons the character wields? This will affect the script used so the bonus is not added at the wrong time or to the wrong items.
 
Paragon is from the Epic Level Handbook, the bonus is a luck bonus, and it's applied to all melee and thrown weapon attacks.
 
Were you able to finish this template and if so would it be possible to get a copy? I've started trying to write it up myself but I'm beginning to think I should start with something simpler :p

That Paragon Creature template was added with the last release. It is contained with the Epic Level Handbook user file.
 
Back
Top