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 .
×

This Sheet, These mods... help, please?

Good morning all,  Many thanks to the community for taking the time to read my flailing, panicked post yesterday ("New Pro Member, In over my Head") and thanks especially to a few members (GiGs, Andreas J, Scott C)  for some good, constructive advice, which I hope I'm acting on in this post -- specifically, if I were to ask specific questions about a specific sheet that I want to modify, I might get some good answers, and at least a place to start.  The sheet I want to start from as a base is the "Star Wars Revised" which is nested under the d20 modern family. (I have no idea how to link directly to it, as I can only really find it in the drop-down menu, when selecting a sheet to use for my game.)  The mods I would like to make are as follows: eliminate 'Force Points' and 'Dark Side Points' and in their place, add 'Competency Points.' eliminate the 'Starship' section, and the accompanying 'Starship Notes & Weapons' section. eliminate the 'Vehicles' section, and the accompanying 'Vechicle Notes & Weapons' section. remove the 'Star Wars' logo in top left, and replace it with a logo for my 'Infected' RP (which I have yet to create.)  This is the big one:  eliminate the entire skill section, both 'Skills' and 'Force Skills' and replace it with a user-definable fill-in-the-skill-name Skill section (much like in the existing weapons section, there would be an 'add' button, which would populate a line for a new skill. The user can then fill in the skill name. There would be two variables / blank boxes attached to each skill: a percentage, and a + % / level. Just like the Palladium system.) Each added skill would be rollable, with the roll being a percentile roll.  Ultimately, I don't think what I'm trying to achieve should be that difficult. But I'm NOT a coder, so it is daunting.
1646663695
Kraynic
Pro
Sheet Author
All community created sheets are in the Roll20 github.&nbsp; Your first step is to get the code there, then you can start messing around with removing or adding things.&nbsp; <a href="https://github.com/Roll20/roll20-character-sheets/tree/master/Star%20Wars%20Revised%20RPG" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/tree/master/Star%20Wars%20Revised%20RPG</a>
1646667871
GiGs
Pro
Sheet Author
API Scripter
Those are big changes, especially the last one. IMO it would be best to ask a separate thread for each type of change, have a subect that describes what change yoiu are trying to make, and do one thread at a time.When its solved, move on to the next. But from your question, , those look like fairly simple changes and definitely achievable without much work. The tricky part would be to check if there are knock-on effects: are any skills values used in other places in the sheet, are force points used in other places in the sheet, etc. If there aren't such knockon effects, your changes seem like they'll be easy.
1646675190

Edited 1646675338
OK, so if I'm modifying a sheet, how do I make a copy of said sheet, so that I can have one to mess around with, rather than messing with the 'live' sheet? Where would I store the one I'm working on? And from clicking on the link Kraynic posted above... I have no idea what any of those folders represent, or what I'd do with them.&nbsp;
1646675652

Edited 1646675769
Kraynic
Pro
Sheet Author
Have you checked out any of the documentation on creating sheets? <a href="https://wiki.roll20.net/Building_Character_Sheets" rel="nofollow">https://wiki.roll20.net/Building_Character_Sheets</a> At the very least, have you created a game and set the sheet to Custom so that you know what the basic editor looks like? <a href="https://wiki.roll20.net/Using_Custom_Character_Sheets" rel="nofollow">https://wiki.roll20.net/Using_Custom_Character_Sheets</a>
Kraynic said: Have you checked out any of the documentation on creating sheets? <a href="https://wiki.roll20.net/Building_Character_Sheets" rel="nofollow">https://wiki.roll20.net/Building_Character_Sheets</a> At the very least, have you created a game and set the sheet to Custom so that you know what the basic editor looks like? <a href="https://wiki.roll20.net/Using_Custom_Character_Sheets" rel="nofollow">https://wiki.roll20.net/Using_Custom_Character_Sheets</a> Hey Kraynic, I have created a game, I have set the sheet to a thousand different things (including 'Custom') to see if there's a sheet that would already work... but yeah, the sheet set to 'Custom' means nothing to me. Just three grey pages, one for HTML, one for CSS, one for 'translations' or something... I can see the sheet, but I don't know what to do with it.&nbsp;
1646688237
Kraynic
Pro
Sheet Author
That would be where the html and css goes (and translations if you include that in the html) for whatever you want to appear in the "Character Sheet" tab.&nbsp; If you look at the github folder for the sheet you are wanting to edit, there is an html file and a css file.&nbsp; It is an older sheet that will need to have the legacy mode box checked right above the editor, or else the css won't work correctly.
1646690144

Edited 1646690303
Andreas J.
Forum Champion
Sheet Author
Translator
instead of picking an existing sheet, you pick "custom" from the dropdown. then the <a href="https://wiki.roll20.net/Sheet_Editor" rel="nofollow">https://wiki.roll20.net/Sheet_Editor</a> &nbsp; opens up to you, where you copy past the code. css: <a href="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Star%20Wars%20Revised%20RPG/SWRRPG.css" rel="nofollow">https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Star%20Wars%20Revised%20RPG/SWRRPG.css</a> html: <a href="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Star%20Wars%20Revised%20RPG/SWRRPG.html" rel="nofollow">https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Star%20Wars%20Revised%20RPG/SWRRPG.html</a>
Andreas -- yeah, I got that... problem is, I have no clue what to put in that huge expanse of grey nothingness! ;)
1646691953

Edited 1646691964
GiGs
Pro
Sheet Author
API Scripter
Read the previous post more carefully - it tells you what to put in that expanse of nothingness.
GiGs said: Read the previous post more carefully - it tells you what to put in that expanse of nothingness. ok -- I'll give it a try. (can I save work in progress?) And when it's done -- IF it's done -- how do I submit it to Roll20 to use?
1646704826

Edited 1646704853
ok, now that I've given it a shot, I can say that there have been a couple of successes.&nbsp; I was able to replace the Star Wars logo with a bloody biohazard symbol. I was able to delete 'Dark Side Points'&nbsp; I was able to replace 'Force Points' with 'Competency Points.' However.&nbsp; All the formatting (columns, line weights, font sizes etc.) is missing from the modified sheet, even though I copied all the CSS and HTML as it was from the source. Before I made any changes, all the formatting was broken. Can I fix that?&nbsp; How do I link you fine folks to my ongoing project?
1646705009
Kraynic
Pro
Sheet Author
In one of my posts, I mentioned that the sheet you wanted to edit would require the legacy mode turned on.&nbsp; Did you do that right above the editor?
I did.&nbsp;
1646705609
Kraynic
Pro
Sheet Author
Sure seemed to work to me: You might want to be sure you got all the code.
Damn. OK.&nbsp;
Ok, I got the style and format this time, but somewhere along the way, through simple modification and deletion, the sheet forgets that it's supposed to have columns, and it all just ends up being a poorly formatted single column. Help?
1646708088
Kraynic
Pro
Sheet Author
You are going to have to either alter the css to accommodate your changes to the html, or you will need to go about your changes differently.
I have no idea what that means, or how to go about it.&nbsp;
1646751358
Kraynic
Pro
Sheet Author
When I started making my first sheet, neither did I. In a very basic nutshell, html defines what is getting displayed and where information is stored, while css defines how it is displayed.&nbsp; Any time you change the contents of one of those files, then anything in the other file that was working on it is likely to need adjustment as well. I posted the link to the primary wiki page for building sheets up near the top of the thread.&nbsp; If you simply go there, in the "Get Started" section right after the contents panel there are links that will take you to some html and css tutorials/guides, should you need them. <a href="https://wiki.roll20.net/Building_Character_Sheets" rel="nofollow">https://wiki.roll20.net/Building_Character_Sheets</a>
1646754184
Finderski
Pro
Sheet Author
Compendium Curator
Dan G. said: Ok, I got the style and format this time, but somewhere along the way, through simple modification and deletion, the sheet forgets that it's supposed to have columns, and it all just ends up being a poorly formatted single column. Help? Can you post a pic of your sheet? Chances are it's still two columns, but your first column is too wide for some reason. &nbsp;If I had to guess, it's the size of your logo. But without seeing the sheet and/or the code/css it's hard to give better direction. It would also likely help a lot if you could make your full code available via something like Pastebin so people can see what your code is doing.
The code for the messy bit above is below. 'Reputation', and 'Credits' seems to float with the Character Notes box above it, whereas the Competency Points does not. The 'Reputation' title box and the 'Credits' title box are listed as 70 px, but I've set the Competency points box to 160 px wide. Doesn't make sense.&nbsp;
Finderski said: Dan G. said: Ok, I got the style and format this time, but somewhere along the way, through simple modification and deletion, the sheet forgets that it's supposed to have columns, and it all just ends up being a poorly formatted single column. Help? Can you post a pic of your sheet? Chances are it's still two columns, but your first column is too wide for some reason. &nbsp;If I had to guess, it's the size of your logo. But without seeing the sheet and/or the code/css it's hard to give better direction. It would also likely help a lot if you could make your full code available via something like Pastebin so people can see what your code is doing. Pastebin?
1646760003
Kraynic
Pro
Sheet Author
Dan G. said: Pastebin? Web search?
1646760229
Kraynic
Pro
Sheet Author
As far as how the sheet responds to your changes, have you done incremental changes to see exactly where it breaks? Change image, then check.&nbsp; Make the competency change, then check.&nbsp; Delete the dark side points, then check.