View Full Version : *NEW* WG Full Character Sheet Export Template
RPMiller
Apr 5th, '03, 09:41 AM
I posted this in another thread, but just in case you didn't read that one, here it is again. Please let me know if anything doesn't work as expected. I will be adding a macro shortly that should do any formatting that needs to be done. This template doesn't use tables, so you will have to ensure that the skills, powers, etc. are alphabetized in HD before exporting. It also assumes that you have followed my suggestions in the description of the template. Finally, you will have had to create the characters in HD as close to the WG as you could get, and than this will take care of the rest.
*EDIT*
As I am unable to get this template to follow the WG I am pulling it from here.
TechnoViking
Apr 6th, '03, 09:00 AM
Look nice. Does anyone know any way to convert MSWord macros to OpenOffice?
Mike
RPMiller
Apr 6th, '03, 12:24 PM
Originally posted by Mike Basinger
Look nice. Does anyone know any way to convert MSWord macros to OpenOffice?
Mike Can't be done as far as I'm aware. The Document Object Models (DOM) are too different. What would be really nice is if Wordpad allowed macros ;)
unmaker
Apr 8th, '03, 06:46 PM
Nice job Durmin. You should probably start using versions however... so we all know which *new* is newest. :)
Unmaker
Talon
Apr 9th, '03, 07:23 AM
What version of Word was used to create the macro? I get a compile error (on Selection.PasteAndFormat) in 2002.
RPMiller
Apr 26th, '03, 03:08 PM
Mr. Simon,
I'm posting this message because I have finally completed both of the Export Templates I have been bugging you about for so long now.
I want to thank you for all the tags that you created because they are what was needed to get it to the state it is in.
The exports follow the WG about as perfect as I could make them. They still reguire a macro to clean up the hard line returns that are left behind, semi-colons and the extra space that is left behind under the martial arts header, and skills.
It would be cool to have lists not be considered Non-Maneuvers, but I won't ask you to create that, but I would like to request it for Version 2 if I could. If that was done then all that a macro would be needed for would be to clean up the extra line breaks. I just couldn't figure out how to get the extra line breaks to not be there, and I'll probably revisit it at a later time.
So, in conclusion, who should I send the templates to for uploading, you or Ben?
Thank you again for your assistance!
PS Are you still planning on breaking the disadvantages into their names and their "Options"? You had mentioned that I should remind you to do that because you said it was do-able. I assume that you were going to do them just like the martial arts. That would be the final piece I need for the character brief to be perfect.
Simon
Apr 26th, '03, 06:46 PM
Send the template to Ben...
As for lists and non-maneuvers, use the IF_NOT_LIST container and you'll be fine. You can nest containers to achieve a wide variety of effects.
RPMiller
Apr 26th, '03, 06:56 PM
Originally posted by dsimon
Send the template to Ben...
As for lists and non-maneuvers, use the IF_NOT_LIST container and you'll be fine. You can nest containers to achieve a wide variety of effects. Will do... Both! Thanks Dan.
Oh, and I edited my message above as you were posting your reply. You might want to re-read it especially the PS ;)
Thank you so very much.
RPMiller
Apr 26th, '03, 07:06 PM
Originally posted by dsimon
Send the template to Ben...
As for lists and non-maneuvers, use the IF_NOT_LIST container and you'll be fine. You can nest containers to achieve a wide variety of effects. If I could bother you just one more time real quick... sorry...
This is what I have done with the Martial Arts, but it still leaves the extra line where the list name is duplicated. What am I missing?
<--IFMARTIAL_ARTS--><--MARTIAL_ARTS--><--IS_LIST--> <--MA_TEXT-->
Maneuver OCV DCV Notes<--/IS_LIST-->
<--IF_MANEUVER--><--MA_COST--> <--MANEUVER_NAME--> <--MANEUVER_OCV--> <--MANEUVER_DCV--> <--MANEUVER_EFFECT--><--/IF_MANEUVER--><--IF_NON_MANEUVER--><--IS_NOT_LIST--><--MA_COST--> <--MA_TEXT--><--/IS_NOT_LIST--><--/IF_NON_MANEUVER--><--/MARTIAL_ARTS-->
<--/IFMARTIAL_ARTS-->
Simon
Apr 26th, '03, 07:31 PM
You have a line break between /IS_LIST and IF_MANEUVER
RPMiller
Apr 26th, '03, 08:36 PM
Originally posted by dsimon
You have a line break between /IS_LIST and IF_MANEUVER Yes I do and it's supposed to be there. That isn't the problem.
I'm getting the "MArtial Arts: Whatever" line repeating itself. I'm surpressing it and that is what is causing the blank line.
I honestly don't know any other way to express this. I have mentioned it in several other threads, and I've done everything you have mentioned, but it remains exactly the same. The problem is that the list is evaluating as a nonmaneuver, and thus is being displayed again.
My original suggestion was instead of making the NONMANEUVER tag perhaps a weapon element, and extradc tag would be better, but you didn't like that idea. So now I'm having to ask you how to make the logic of the various tags work together. I'm sure you know exactly what I need to do, but alas my lack of knowledge is not enough.
If you need, I would be happy to post everything again as far as what is in HD, the Export Template, and the output. Would that help? Let me know, and I'll do it. It is tough to be on the cusp of producing a perfect template, but then having to rely on a silly one step macro to clean it up.
Simon
Apr 27th, '03, 03:25 AM
Move IS_NOT_LIST to before IF_MANEUVER.
Move /IS_NOT_LIST to after /IF_NON_MANEUVER
You'll still have two line breaks (an empty line) before your first maneuver, however....you'll have the list name, a line break, a line break, and the maneuver. That's the way you've got things specified in your template. If you don't want this, then put the line breaks where you want them _inside_ of your conditional blocks.
RPMiller
Apr 27th, '03, 08:25 AM
Originally posted by dsimon
Move IS_NOT_LIST to before IF_MANEUVER.
Move /IS_NOT_LIST to after /IF_NON_MANEUVER
You'll still have two line breaks (an empty line) before your first maneuver, however....you'll have the list name, a line break, a line break, and the maneuver. That's the way you've got things specified in your template. If you don't want this, then put the line breaks where you want them _inside_ of your conditional blocks. Ok, let's see how I can put this...
THANK YOU, DAN SIMON, MASTER OF ALL THINGS HERO DESIGNER, AND SAVER OF COUNTLESS HOURS OF BANGING ONES HEAD AGAINST THE WALL, AND ALL OTHER THINGS HOLY!!!
There that should do it :D
That was exactly what I needed to do. I have achieved a nigh perfect export with the exception of a couple lines with just tabs, but I consider that a non-issue. I also have empty lines when there are not any Perks, etc. If you take a look at those after the Export Template gets uploaded and can figure out the logic behind those also I would be grateful, but I'm happy as it stands right now.
Now, let's see if your huge brain can solve this little puzzle:
Here is a snippet of the tags (minus !'s):
<--IFMARTIAL_ARTS--><--MARTIAL_ARTS--><--IS_LIST--><--MA_TEXT--> (<--/IS_LIST--><--IF_MANEUVER--><--SEPARATOR-->; <--/SEPARATOR--><--MANEUVER_NAME--><--/IF_MANEUVER--><--IF_NON_MANEUVER--><--SEPARATOR-->; <--/SEPARATOR--><--IS_NOT_LIST--><--MA_TEXT--><--/IS_NOT_LIST--><--/IF_NON_MANEUVER--><--/MARTIAL_ARTS-->); <--/IFMARTIAL_ARTS-->
Here is an example output:
Martial Arts: Hung Gar Kung Fu (; Block; Kick; Knife Hand; Punch; Throw; Use art with: Axes, Maces, Hammers, and Picks, Blades, Staffs, Three-Section Staff; +2 HTH Damage Classes);
At issue is that single semi-colon after the first paren. I tied applying the same format as the Full Character Template, but it doesn't work in this case because there are not returns for a Character Brief. So can you solve that one? Huh? Can you? ;)
Simon
Apr 27th, '03, 01:26 PM
Yup...SEPARATOR is a "top level" tag....it doesn't really belong in the IF_MANEUVER container....it's part of the MANEUVERS container in general (and is evaluated as such).
Rather than using the SEPARATOR utility, just include a semicolon where you want it:
<--IFMARTIAL_ARTS--><--MARTIAL_ARTS--><--IS_LIST--><--MA_TEXT--> (<--/IS_LIST--><--IF_MANEUVER--><--MANEUVER_NAME-->;<--/IF_MANEUVER--><--IF_NON_MANEUVER--><--IS_NOT_LIST--><--MA_TEXT-->;<--/IS_NOT_LIST--><--/IF_NON_MANEUVER--><--/MARTIAL_ARTS-->); <--/IFMARTIAL_ARTS-->
Starwolf
Apr 27th, '03, 03:55 PM
"Now, let's see if your huge brain can solve this little puzzle:"
So uhm are you trying to say Dan has a big head?
:D
Simon
Apr 27th, '03, 04:04 PM
Originally posted by Starwolf
"Now, let's see if your huge brain can solve this little puzzle:"
So uhm are you trying to say Dan has a big head?
:D
It's like Sputnik; generally round, but really quite pointy in parts.
RPMiller
Apr 28th, '03, 07:42 PM
Originally posted by dsimon
Yup...SEPARATOR is a "top level" tag....it doesn't really belong in the IF_MANEUVER container....it's part of the MANEUVERS container in general (and is evaluated as such).
Rather than using the SEPARATOR utility, just include a semicolon where you want it: Hmmm...
That didn't work. All that did was move the semi-colon to the end inside the parens.
Here's an example of the output:
Martial Arts: Hung Gar Kung Fu (Block; Kick; Knife Hand; Punch; Throw; Use art with: Axes, Maces, Hammers, and Picks, Blades, Staffs, Three-Section Staff; +2 HTH Damage Classes; ); I'm thinking I'll keep the seperator tags in there unless one can rise to the occasion again and figure out how to solve this one. ;)
RPMiller
Apr 28th, '03, 08:21 PM
Originally posted by Durnin
Mr. Simon,
I'm posting this message because I have (blah, blah, blah)
The exports follow the WG about as perfect as I could make them. They still reguire a macro to clean up the hard line returns that are left behind, (blah, blah, blah) YES!!! I took your suggestions about Martial Arts, and finally figured out what you were saying!! Why didn't I see it before?!?
I'm done with the full character sheet per the WG. A macro isn't even required!!! YES!!!
(Can you tell I'm happy :D)
Anyway, I've sent it off to Ben for uploading. Now if only I can get that "extra" semi-colon in the character brief to go away, and break up the Disads so that I can post just the name and condition... ;)
Thanks for all your help Mr. Simon!
Powered by vBulletin® Version 4.2.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.