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

does anyone know of a simple character sheet that uses a charactermancer?

im currently making a custom character sheet with a charactermancer to help me streamline monster creation for the game im making. ive been able to rely on the roll20 wiki for pretty much everything despite being a novice programmer because it usually has very good documentation. the charactermancer wiki page is definitely an exception to this. ive been able to bang sticks together hard enough to create all of the html needed for the charactermancer and enough javascript to switch slides and create repeating sections, but now i have no idea how to program the final slide, which is supposed to be the bridge between the charactermancer and the character sheet. i can only assume im supposed to use the setAttr() function to somehow pull values off of the charactermancer data object, which i have no idea how to access in any meaningful way (the getCharmancerData() function has no useful documentation) what i really need is a good example to go off of. the only character sheet that i could find raw code for that uses a charactermancer is a 3ish year old version of  the official dnd 5e by roll20 sheet  and its basically impossible to read and is honestly a terrible character sheet, not just to learn from, especially considering its age. if you have, can find, or even just know of a sheet with source code that i can look at, that would be great because im pretty sure i need a little more teaching than what your average forum poster has the patience to write out.
1643883065

Edited 1643884026
Andreas J.
Forum Champion
Sheet Author
Translator
Charmancer isn't simple, which is why there are few that even have one, and obviously even fewer that would have anything like a "simple" example. <a href="https://github.com/Roll20/roll20-character-sheets/tree/master/Shadowrun5thEdition" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/tree/master/Shadowrun5thEdition</a> uses the charmancer to import character sheets from an external txt-file, that's the best you have <a href="https://wiki.roll20.net/Charactermancer_Development_Documentation" rel="nofollow">https://wiki.roll20.net/Charactermancer_Development_Documentation</a> has the documentation for it. Updated Charactermancer_Development#Examples to link every sheet with charmancer code
1643916108
Kavini
Pro
Marketplace Creator
Sheet Author
Compendium Curator
I think if you're looking to understand a 'simple' charactermancer Mothership Official has probably the simplest, clearest implementation. But even then, the code is far from perfect, and you will need to understand PUG, and, as Andreas said, a charactermancer is not a simple beast.&nbsp;
1643924802
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Something I'll add is that for the charactermancer code to even run, you must have a compendium active in the game. This is another big reason that few sheets include one, because if there isn't an official compendium for your system, there's not much point in releasing a feature that can't be used without activating an unrelated compendium.
1643953649
GiGs
Pro
Sheet Author
API Scripter
Scott C. said: Something I'll add is that for the charactermancer code to even run, you must have a compendium active in the game. This is another big reason that few sheets include one, because if there isn't an official compendium for your system, there's not much point in releasing a feature that can't be used without activating an unrelated compendium. That's the reason I havent even explored how charactermancer coding works. None of the games I want to create sheets for have compendiums.
1643959656

Edited 1643959683
Andreas J. said: Charmancer isn't simple, which is why there are few that even have one, and obviously even fewer that would have anything like a "simple" example. <a href="https://github.com/Roll20/roll20-character-sheets/tree/master/Shadowrun5thEdition" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/tree/master/Shadowrun5thEdition</a> uses the charmancer to import character sheets from an external txt-file, that's the best you have <a href="https://wiki.roll20.net/Charactermancer_Development_Documentation" rel="nofollow">https://wiki.roll20.net/Charactermancer_Development_Documentation</a> has the documentation for it. Updated Charactermancer_Development#Examples to link every sheet with charmancer code i dont know how you got that link to work but when i clicked the shadowrun link on the roll20 wiki, the github page was gone. your link magically works. surprised that there arent more sheets with charactermancers, even if theyre complicated and somewhat jank. Kavini said: I think if you're looking to understand a 'simple' charactermancer Mothership Official has probably the simplest, clearest implementation. But even then, the code is far from perfect, and you will need to understand PUG, and, as Andreas said, a charactermancer is not a simple beast.&nbsp; doing a brief overview, this looks way more simple and is far more readable than the dnd 5e by roll20 sheet. will look into it further. whats PUG? Scott C. said: Something I'll add is that for the charactermancer code to even run, you must have a compendium active in the game. This is another big reason that few sheets include one, because if there isn't an official compendium for your system, there's not much point in releasing a feature that can't be used without activating an unrelated compendium. i know about this, very unfortunate. i know people have suggested making your own compendiums in the past, but would a blank compendium option that you can attach to your sheet be a fair compromise between roll20 and its community? if so we might recommend that, i bet theyll add it if its easy.
1643991786
Andreas J.
Forum Champion
Sheet Author
Translator
Dominic H. said: i know about this, very unfortunate. i know people have suggested making your own compendiums in the past, but would a blank compendium option that you can attach to your sheet be a fair compromise between roll20 and its community? if so we might recommend that, i bet theyll add it if its easy. AFAIK the Shadowrun sheet just tells to have an arbitrary compendium active in the game, picking the free 5e SRD is an easy I guess.