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

Can I create my own charactersheet on top of the official D&D 5e files?

1635099652
Pktome
Pro
Marketplace Creator
Sheet Author
Compendium Curator
I have a question, I have a friend who is playing a "adapted version" of D&D 5e that uses specific Animals/Minions, with specific sheet/windows and abilities. • I want to know if it is possible to REUSE the code from the official D&D 5E sheet and add this "adaptation" on top. • If I REUSE the official code, am I able to use the Compendium? For example, if I made a D&D 5e card from scratch, would I be able to use the Compendium to import the values ​​if I respected the same names? • are able to create a Field in the character sheet and a Script that recognizes JSON and "build/change" the sheet from a button? This friend has access to an APP that already has the list of monsters and this list generates this code capable of sending the same monster to other users, Could I use this code and make the token automatically be created? an additional question • Is it possible to create buttons that generate repeated fields already filled with predetermined values? For example, I have a list of weapons, select the SWORD, in a repeatfield, it creates already with the values ​​of the SWORD.
1635101145
GiGs
Pro
Sheet Author
API Scripter
Unfortunately, that's the one sheet where this is not possible, because the devs have withdrawn the code from the public sheet github repo. If there's another 5e sheet you like, you can use those as a base and addd your own code to them. If that sheet has been built with access to the compendium, you'll have that, or you can build it in yourself (its not straightforward though). You cant access outside sites from roll20, but you can build an import function into your sheet, so they could paste the code into the sheet and populate the stats automatically. You could do that with a custom API script too. Creating a token requires the API - it cant be done from the character sheet. So since some of what you'll be doing would require the API, you'd need to consider which parts of your work would be done through the API and which the character sheet. For your additional question: yes, but you'd need to have the data for all the weapons (and other things) that you want to appear build into the sheet code itself. Honestly, of all your questions, this is the easiest to implement. it's very easy to do this.
1635104621
Pktome
Pro
Marketplace Creator
Sheet Author
Compendium Curator
GiGs said: Unfortunately, that's the one sheet where this is not possible, because the devs have withdrawn the code from the public sheet github repo. If there's another 5e sheet you like, you can use those as a base and addd your own code to them. If that sheet has been built with access to the compendium, you'll have that, or you can build it in yourself (its not straightforward though). You cant access outside sites from roll20, but you can build an import function into your sheet, so they could paste the code into the sheet and populate the stats automatically. You could do that with a custom API script too. Creating a token requires the API - it cant be done from the character sheet. So since some of what you'll be doing would require the API, you'd need to consider which parts of your work would be done through the API and which the character sheet. For your additional question: yes, but you'd need to have the data for all the weapons (and other things) that you want to appear build into the sheet code itself. Honestly, of all your questions, this is the easiest to implement. it's very easy to do this. Do you have/do you remember any Sheet that has these functions? I want to see how it was made to do too. My idea would be to create a <textarea> where I would put the code and from the button, the specific fields of that code would be filled. Name, Attributes, Abilities, etc.