Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Script] D&D 4e Character Importer

Thanks again. BIG Time saver
I seriously just went mentor for your two macros alone, those were the deciding factors in my penny pinching life. Question though, when updating a character sheet do you just copy past the new data from the builder and hit the Build macro again?
1397419005

Edited 1397419064
I'm glad you're finding the scripts of that much use you decided to become a mentor. Unfortunately, you have to manually update the Roll20 sheet with the new stuff. I haven't even looked at figuring out how to update an existing sheet with new information. That'd be a rather difficult task I think. Prolly easier to just delete the sheet and re-import when they level up. I am intending to change the output of the script to match the new character sheets on the dev server, but I'm waiting for the dust to settle.
Glad to hear it; After tryign it the way I assumed I confirmed just delete/remake was easier with little fuss. I look forward to seeing how these apply to the new character sheets. Are you intent on building one that is to work hand in hand with the scripts or adjust the scripts to the default on update?
I'm waiting for the character sheets to mature and get the bugs worked out before working with them.
Gonna start working on this next week to match the attributes created by the D&D 4e sheet option under campaign settings (mentor only at the moment).
Will you be hosting it as a separate code for those not interested in using the Character Sheets? (Not that I am among the list of said people)
I rather dislike keeping separate versions up to date... it depends on if character sheets will be available to everyone and not just supporters.
OK, just thought I would ask to keep note of it :) My players are loving the scripts!
Denathil "The Mutt" Verasi said: OK, just thought I would ask to keep note of it :) My players are loving the scripts! Had any problems?
No problems, only things was as I stated about being able to show in imported power cards while running both scripts it didn't say -who- was doing the action without editing, which is no big deal imo :). I have started to look at the code to see how it might be applied to other systems (though again I am in pre-k compared to everyone here when it comes to coding) as the overall benefit is just... astounding.
Would putting it in the mouseover title of the card work? I'm just worried about making things too spammy.
That would work, but as I said it is only a small annoyance nothing major ^_^
Denathil "The Mutt" Verasi said: That would work, but as I said it is only a small annoyance nothing major ^_^ You have at least two simple options, requires modifying the PowerCardScript, not the CharacterImporter. Option 1 - Does not require script modification. Have your players edit each power. Very simple solution as HoneyBadger has done well by allowing custom tags. Have your guys put as the first tag in the script. --Actor|Joe Bob Option 2 - Requires two line changes in the PowerCardScript, Only you have to make the change and it will work for everyone. Very simple to do. Drawback is that it must be done each time you update the script. There are two lines. You must change both. Change: sendChat("", "/direct " + DisplayCard); To: sendChat(msg.who, "/direct " + DisplayCard); Now the power card should display as if they had sent a chat message. On a side note to HoneyBadger, would it be ok to add an option to the PowerCardScript. Something like: var DisplayWho = false; // enable if you want the PowerCard to display who sent it. sendChat(DisplayWho ? msg.who : "", "/direct " + DisplayCard);
I like that solution there.
I assume the formatting from the offline character builder is simply not compatible as far as the powers go for import + power card script? I ask because importing from the offline CB everything seems to come through fine except the power card stuff. It creates the sheet and token actions BUT they are only showing the title, leftsub/rightsub nothing more. The created macro has no attack/damage effect info at all. Most of my players do not have access to the online DDI and as of right now our options are build the token macros by hand for power card script OR I import their characters to the online builder which is a little bit of a job and then export those files. Just curious if it is just the formatting between the old and new .dnd4e files. BTW thank you for the importing scripts and the power card scripts...the monster import is simply AMAZING for prep time savings.
That's correct Mike, and if I remember correctly HoneyBadger doesn't have an interest in supporting the OfflineCharacter Builder because that the only way you can get it is by pirating it.
Really nice work with this and I'm looking forward to you using the new character sheets with the importer. :) Imported a few higher level characters and almost no problems, but a lot of time saved. The only exception is the Paragon Power Tiger Jump in combination of an Elf, Ranger, Paragon Path Snow Tiger, is not created correctly. The Hit and Damageroll are not in the macro only the what I assume are the default values (1d20+0 and nothing). The rest of the power is parsed normally and is in the macro.
Yeah, there are so many different ways a power can be written... I just kinda gave up trying to find exceptions and write something for them.
I've started updating the character importer to create attributes based on the needs of the D&D 4e Character Sheet built in to roll20 via the new update. It'll be a little bit before I post it however. I want to make sure it works and I'm gonna have to figure out the regex necessary to yank out all the needed variables from the DDI character builder file.
Nice HB, looking forward to it! Wish i could give you a hand with all that work!
Awesome, thanks HoneyBadger.
I, and my players, are already looking forward to it. Your work has been so helpful!