PDA

View Full Version : Endurance Reserve Tag?



handleyj
Jun 1st, '09, 08:10 PM
Is there a tag that tells me if a power uses the character's END or an Endurance Reserve? In the app itself, if your character has an END Reserve, most powers give you a drop-down list to choose which END pool powers the power. But I don't see how to export that choice...

Thanks!

Simon
Jun 2nd, '09, 09:29 AM
It's part of the normal TEXT output for an ability.

If you're rolling your own output, then you'll need to use a combination of ATTRIBUTE_VALUE (for getUseENDReserve()) and REG_REPLACE.

handleyj
Jun 3rd, '09, 04:07 PM
Hi Simon,

Sorry, but I guess I'm not following what you're saying. If I put:

<!--POWERS--><!--TEXT--><!--/POWERS-->

Into my export sheet (which is a combat export in case it makes a difference), then a sample output from that is:

"Energy Blast 12d6 (60 Active Points); OAF (-1)"

But in this case, that EB is set to use an Endurance Reserve, but I don't see it noted in the TEXT.

I'm not sure what you meant by "ATTRIBUTE_VALUE (for getUseENDReserve())" but that sure sounds like what I want. :-) Are there methods like getUseENDReserve() that can be called from a template? Or were you just talking about the backend code?

Thanks,

-joe

PS: I'm using v3 build 2008071012

Simon
Jun 3rd, '09, 05:55 PM
Sounds like you've got "Strict Writers' Guidelines compliance" enabled (File -> Preferences -> Display). That information is not supposed to display per the WG. Disable that option and it will display in the app and exports.

As for the ATTRIBUTE_VALUE tag/container, it's one of the more advanced components of the export formats, allowing access to pretty much any getter method in the object model.

Hyper-Man
Jun 3rd, '09, 06:18 PM
Sounds like you've got "Strict Writers' Guidelines compliance" enabled (File -> Preferences -> Display). That information is not supposed to display per the WG. Disable that option and it will display in the app and exports.

As for the ATTRIBUTE_VALUE tag/container, it's one of the more advanced components of the export formats, allowing access to pretty much any getter method in the object model.

After doing this I get the following output from HD:

2 Endurance Reserve (10 END, 1 REC) (2 Active Points) - END=0
10 Energy Blast 2d6 (vs. ED) (uses END Reserve) - END=1

I always wondered why that choice existed within HD but never displayed in any exports.

So thanks to you both (to handleyj for posting the question & Simon for answering).

:D
HM

handleyj
Jun 3rd, '09, 07:43 PM
Yes, awesome! Thanks, I did indeed have the strict writers guidelines turned on.

Now about that ATTRIBUTE_VALUE tag ... I'm very interested in this. I've done some searching on the forums, and there are references to a javadoc some place. But I don't see it any where any more. I just renewed my HD support, and when I expand the Hero Designer menu, I don't see any place to access the javadoc. Is that still around?

Thanks again!

-joe

handleyj
Jun 3rd, '09, 08:15 PM
Oh! And another question: is there a tag to let me know that strict writer's guidelines were turned on/off during an export?

I plan on sharing this template on the forums when it's done, and it would be good to let people know that "they did it wrong." :-)

Simon
Jun 4th, '09, 04:29 AM
Oh! And another question: is there a tag to let me know that strict writer's guidelines were turned on/off during an export?

I plan on sharing this template on the forums when it's done, and it would be good to let people know that "they did it wrong." :-)
No, there is not -- that exists outside of the context of a given character, group of characters, or export.

Simon
Jun 4th, '09, 04:30 AM
Yes, awesome! Thanks, I did indeed have the strict writers guidelines turned on.

Now about that ATTRIBUTE_VALUE tag ... I'm very interested in this. I've done some searching on the forums, and there are references to a javadoc some place. But I don't see it any where any more. I just renewed my HD support, and when I expand the Hero Designer menu, I don't see any place to access the javadoc. Is that still around?

Thanks again!

-joe
http://www.herogames.com/HDJavaDoc

Not always updated, but the object structure doesn't tend to change that much.

handleyj
Jun 4th, '09, 11:14 AM
Many thanks!