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

[Warhammer Fantasy 4th] Sheet for Sigmar

1533759190
GiGs
Pro
Sheet Author
API Scripter
Arioch1973 said: I am working on a version of the roll template that outputs hit locations as well. But for now it straight up uses the result of the D100 roll, since I have not figured out on how to reverse the value of a D100 and feed it to the roll template. If you have the roll as a single entry {{roll=[[1d100]] }} you cant reverse it within a rolltemplate,n but you can brute force it with having many repeated rolltotal comparisons: {{rollTotal roll 11}} {{rollTotal roll 21}} {{rollTotal roll 31}} etc. You end up with a huge amount of duplication, since you probably need to have 100 entries, but it is doable. Then you can also compare {{roll}} to the skill roll {{roll=[[Skill + ?{Modifier|0} ]] }} to calculate success or fail, and you can add in the roll macro a lot of redundant elements to account for degrees of success: {{rollplus10=[[Skill + ?{Modifier|0} +10]] }} {{rollplus-10=[[Skill + ?{Modifier|0} -10]] }} {{rollplus-20=[[Skill + ?{Modifier|0} -20]] }} and so on. Then you can use nested comparisons to find degree of success with  a vast chain of nest logical comparisons (checking if roll is under rollplus10 but also not under rollplus20, etc).  So what you want does seem do-able, but its really painful to create.
Arioch1973 said: Gar B. said: API noob question: I tried pasting it in as a new script but keep getting: On Line 2: SyntaxError: Unexpected token < Am I doing something stupid? You do not paste it as a script into the API section. Go to the Game settings, select custom character sheet. Input the HTML code in the HTML section, and dont forget to grab the CSS code from the first post in this thread, and put that in the CSS section. Excellent! Works a treat, thanks a lot for the help!
<a href="https://pastebin.com/i6KepixQ" rel="nofollow">https://pastebin.com/i6KepixQ</a> &lt;- HTML version1.39 &lt;- Now with hit location matched properly to the roll. And due to a small fix, if you have used the previous version of the character sheet with any spells, you are going to have to set their Casting Number (CN) again. <a href="https://pastebin.com/YUCfCNKK" rel="nofollow">https://pastebin.com/YUCfCNKK</a> &lt;- CSS version 1.39
<a href="https://pastebin.com/SGB94iDv" rel="nofollow">https://pastebin.com/SGB94iDv</a> &lt;- HTML version 1.40 &lt;- Bug fix with size setting for "Little" and start on work for a new look of the character sheet. <a href="https://pastebin.com/JL5JAew6" rel="nofollow">https://pastebin.com/JL5JAew6</a> &lt;- CSS version 1.40 for the new look.
Hi - just wanted to extend a big thanks from my gaming group. We're super excited to try out Fourth Edition and equally excited to see the constant work on this character sheet. :)
<a href="https://github.com/Roll20/roll20-character-sheets#contributing" rel="nofollow">https://github.com/Roll20/roll20-character-sheets#contributing</a>
If this character sheet is to go any further, I need the assistance of someone who actually knows how to program for the API. I am doing this in a process of learning as I go along. And while I have been able to do some things with the API, what I need now for this character sheets functionality is currently beyond my abilities.
<a href="https://pastebin.com/017j29Vp" rel="nofollow">https://pastebin.com/017j29Vp</a> &lt;- HTML Version 1.41, in this there is a big change when it comes to listing skills. Please give me feedback which style you prefer, this or the previous one. <a href="https://pastebin.com/XCnqbMBs" rel="nofollow">https://pastebin.com/XCnqbMBs</a> &lt;- CSS Version 1.41.
1534585886
GiGs
Pro
Sheet Author
API Scripter
Do you have screenshots of the differences? I havent loaded the sheet, but once I get WFRP 4 I will likely end up running a game in the future.
Definitely a fan of 1.40. In the most recent version, the listing for skills is simply just far too massive. Did 1.41 do anything besides just the skill list change?
Yes. there are some changes in 1.41 that is not visible. But I have already consulted with my own player group, and there will be no more massive skill list. The new changes that I need are incorporated in the new version I am working on now. But it is still the old smaller skill list.
Okay cool. Looking forward to the new additions of 1.41 without the massive skill list. Thanks for all your work!
I want to say thank you for taking the time to create this sheet; my group and I are enjoying it very much and has made life easier. I have a couple request if that's alright, I know your pretty much doing it alone it seems and if I knew how to make a sheet I would gladly offer help but sadly I do not. Here are the request from my group: Page tabs for spells to divide Petty magic from arcane and lore, A casting button added to the spells so you can just click on the spell and it gives the description along with effect when casting it, a critical hit table added in much the same way as the 2e sheet (You could add a button at each hit location on the figure on the sheet).&nbsp; Again thank you for all your hard work. If it wasn't for you, we would have a much harder time enjoying this amazing game.&nbsp;
1534919017

Edited 1534921252
So glad I found this! Please keep up your wonderful work, may I spread the word on my youtube channel for those interested?&nbsp; Also dear Creator, I offered a bounty on this sheet:&nbsp; <a href="https://www.youtube.com/watch?v=h3QS5ljAFnQ&amp;t=" rel="nofollow">https://www.youtube.com/watch?v=h3QS5ljAFnQ&amp;t=</a> If you'd like to collect it, please message me!
<a href="https://pastebin.com/GkYheQXR" rel="nofollow">https://pastebin.com/GkYheQXR</a> &lt;- Version 1.42 of the HTML version. Slight changes, italic text to mark which skills are grouped skills, and addition to mark which ranged specialization can be used untrained.&nbsp; As for the spell casting button, it is something I have been considering. Just figuring out how i want to do it. And as for spreading the word on youtube, I can not speak for havoc who was the original creator, and only for myself. I see this as an open source project stared by havoc (feel free to comment on this havoc), and if someone wants to pick it up and develop, or use it, it is fine by me. As I said, I just started doing this based on what Havoc started. I can not claim a bounty on something that I did not originally create the basis for. So I hope that you spread the word, and that we get more people that get on here, and help with developing it. :) That would be more than enough for me.
1534943140

Edited 1534943166
Havoc
Sheet Author
API Scripter
Yeah. I created this sheet and it is a "go, do whatever you want with it, just credit the original author"-thing. Go right ahead, do whatever you want. Also, I could add API to the sheet, since that's needed for those advanced tests (doubles, degrees of success/failure, etc.). However, I didn't read the whole book, so I don't know all the mechanics. I could make the API, but would need someone to tell me the whole roll mechanics.
Havoc: I can easily explain the roll mechanic. The roll mechanic is simple. D100 vs your % just as previous editions. 01-05 is an Automatic success. 96-00 is an automatic failure. doubles are used for critical success if the test was successful, or for critical failures if you rolled above. For each 10 points you rolled beneath your %(target value whatever you want to call it); you gain +1 Success Level. For each 10 you rolled above your %, you gain -1 Success Level. This can easily be calculated as (round(against-d100)/10). What I need from an API script is to be able to accept "against" value, roll the d100 compare it, mark doubles according to the success/failure/critical as noted above. Feed back the number it rolled, and then also feed back the Success Level based on the calculation I mentioned.
1534958131

Edited 1534958187
Kavini
Roll20 Production Team
Marketplace Creator
Sheet Author
Compendium Curator
Arioch1973 said: doubles are used for critical success if the test was successful, or for critical failures if you rolled above ... mark doubles according to the success/failure/critical as noted above. You don't necessarily need the API to do this bit— you've already used the same logic to identify hit locations. I'm slowly working on updating another sheet to do the same thing and here's the logic I used to achieve the desired effect: <a href="https://pastebin.com/sJxEwwGQ" rel="nofollow">https://pastebin.com/sJxEwwGQ</a>
Nic B.: But doing the calculation of (round(against-1d100)/10) without the api and output both the result of the d100 and the calculated Success Level is something I have not figured out how to do. I will look at your code and see if I can figure something out.
1534962909

Edited 1534971715
Arioch1973
Sheet Author
<a href="https://pastebin.com/wtaT1h7a" rel="nofollow">https://pastebin.com/wtaT1h7a</a> &lt;- Version 1.43a. Dont use 1.43. I was to quick on the trigger, and in this one I added in all the different types of spells such as; Petty, Arcane, Lore, Blessing, Miracle. And you can now roll for your spell casting.
1535005931
Havoc
Sheet Author
API Scripter
Something like this maybe? This is API, so only for PRO users. If you want to add this to the sheet, then you need to create two different versions. One that uses API and one that doesn't. <a href="https://pastebin.com/eCQ7iUMx" rel="nofollow">https://pastebin.com/eCQ7iUMx</a> &nbsp;JavaScript (needs splitArgs from the script list). It also has some older stuff that isn't used there. Here's the macro !warroll ?{Target?|50} ?{Public?|Public,0|Private,2|GM Only,1} ?{Test Name?|Custom Test}
Havoc: That is just beautiful. And you are right, I will need to split the character sheet into one that uses API and one that does not.
1535009203

Edited 1535009215
Havoc
Sheet Author
API Scripter
Changed the art to look more like the book.&nbsp; <a href="https://pastebin.com/BE2q0NJ2" rel="nofollow">https://pastebin.com/BE2q0NJ2</a>
Awesome. I have been trying to make my roll template for the non-api version to match your visual style of the API version, so they would at least look the same, but the skillimage and the title besides it are giving me serious headaches as it wont work when encoded in the html rolltemplate, but works from your api...
This is all looking so great! Any chance we could get a post just showing the current recommended links for the Character Sheets? People are flinging around stuff like crazy in here, haha. So excited to tinker with this!
1535046808

Edited 1535047261
Arioch1973
Sheet Author
<a href="https://pastebin.com/tbUsJrk1" rel="nofollow">https://pastebin.com/tbUsJrk1</a> &lt;- Version 1.44 HTML (Non-API), larger text in the roll template, some colors for the success/failure. And the logic regarding successes/failures/critical/fumbling are sorted out. All the roll buttons have been updated to use the new version of the roll template. So this requires the new version of the CSS as well. <a href="https://pastebin.com/qvirzJ84" rel="nofollow">https://pastebin.com/qvirzJ84</a> &lt;- Version 1.44 CCS (Non-API). I was rebuilding the whole rolltemplate today, but had to start over, so I settled for fixing some other things. Currently 1.44 is the most usable for playing the game. There might be a while before I do any more updates as I will be busy with other things for a while. <a href="https://i.imgur.com/6KdDpzL.jpg" rel="nofollow">https://i.imgur.com/6KdDpzL.jpg</a> &lt;- a quick and dirty screen shot of what it looks like at the moment, the character sheet itself.
1535051817
Havoc
Sheet Author
API Scripter
Personally not a fan of that parchment. Makes the font unreadable/confusing. I suggest also changing the graphics of the checkboxes and "buttons" (those green things). Checkboxes you can see in my Warhammer Fantasy 2nd Sheet how they are changed in the CSS. While the buttons need only a change for their background url to these: <a href="http://i.imgur.com/0IZIz4n.png" rel="nofollow">http://i.imgur.com/0IZIz4n.png</a> &nbsp;not clicked <a href="http://i.imgur.com/39o8cLG.png" rel="nofollow">http://i.imgur.com/39o8cLG.png</a> &nbsp;hover (if it's there in CSS) <a href="http://i.imgur.com/BRsgwNU.png" rel="nofollow">http://i.imgur.com/BRsgwNU.png</a> &nbsp;clicked/checked
<a href="https://imgur.com/a/jINCcYg" rel="nofollow">https://imgur.com/a/jINCcYg</a> &nbsp;Toughness bug
1535087186

Edited 1535087468
Arioch1973
Sheet Author
Perun Borsucco said: <a href="https://imgur.com/a/jINCcYg" rel="nofollow">https://imgur.com/a/jINCcYg</a> &nbsp;Toughness bug I will take a look at it immediately. Found it and will fix it. A typo had snuck in, and it rolled against Strength instead of Toughness. I will provide an updated character sheet version today.
Havoc said: Personally not a fan of that parchment. Makes the font unreadable/confusing. I suggest also changing the graphics of the checkboxes and "buttons" (those green things). Checkboxes you can see in my Warhammer Fantasy 2nd Sheet how they are changed in the CSS. While the buttons need only a change for their background url to these: <a href="http://i.imgur.com/0IZIz4n.png" rel="nofollow">http://i.imgur.com/0IZIz4n.png</a> &nbsp;not clicked <a href="http://i.imgur.com/39o8cLG.png" rel="nofollow">http://i.imgur.com/39o8cLG.png</a> &nbsp;hover (if it's there in CSS) <a href="http://i.imgur.com/BRsgwNU.png" rel="nofollow">http://i.imgur.com/BRsgwNU.png</a> &nbsp;clicked/checked I will get to that asap Havoc. The parchment is pretty much a placeholder for now until I have time to sit down and make something better. I just wanted something other than a plain white background.
1535090925
Havoc
Sheet Author
API Scripter
You could use the parchment from my old sheet. It might look better.
Havoc said: You could use the parchment from my old sheet. It might look better. Could you provide me a link to it and I will take a look?
1535101012
Havoc
Sheet Author
API Scripter
Arioch1973 said: Havoc said: You could use the parchment from my old sheet. It might look better. Could you provide me a link to it and I will take a look? <a href="https://github.com/Roll20/roll20-character-sheets/tree/master/WFRP2E-Havoc" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/tree/master/WFRP2E-Havoc</a>
<a href="https://pastebin.com/d1TWn88F" rel="nofollow">https://pastebin.com/d1TWn88F</a> &lt;- Version 1.45 HTML, toughness bug fixed. <a href="https://pastebin.com/VaqUKv1x" rel="nofollow">https://pastebin.com/VaqUKv1x</a> &lt;- Version 1.45 CSS; Very much a work in progress. Unfortunately Havoc, I could not get the checkbox changes to work. But I replaced the green buttons with the ones you provided.
1535104885
Havoc
Sheet Author
API Scripter
Arioch1973 said: <a href="https://pastebin.com/d1TWn88F" rel="nofollow">https://pastebin.com/d1TWn88F</a> &lt;- Version 1.45 HTML, toughness bug fixed. <a href="https://pastebin.com/VaqUKv1x" rel="nofollow">https://pastebin.com/VaqUKv1x</a> &lt;- Version 1.45 CSS; Very much a work in progress. Unfortunately Havoc, I could not get the checkbox changes to work. But I replaced the green buttons with the ones you provided. &lt;div class="sheet-item" style="width:8%"&gt;&lt;input type="checkbox" name="attr_TrappingHeld" value="true" checked /&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt; input[type="checkbox"] { opacity: 0; width: 16px; height: 16px; position: relative; left: 16px; margin: -10px; z-index: 1; } input[type="checkbox"] + span::before { margin-right: 1px; border: solid 1px #a8a8a8; line-height: 14px; text-align: center; display: inline-block; vertical-align: middle; -moz-box-shadow: 0 0 2px #ccc; -webkit-box-shadow: 0 0 2px #ccc; box-shadow: 0 0 2px #ccc; } input[type="checkbox"] + span::before { position:relative; content: ""; background-image:url(<a href="http://i.imgur.com/c8Cx2mg.png" rel="nofollow">http://i.imgur.com/c8Cx2mg.png</a>); background-size: 100%; background-repeat: no-repeat; background-position: center; opacity: 1; width: 20px; height: 20px; font-size: 12px; border:none; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; } input[type="checkbox"]:checked + span::before { content: ""; border:none; background-image:url(<a href="http://i.imgur.com/MOtYDyu.png" rel="nofollow">http://i.imgur.com/MOtYDyu.png</a>); background-size: 100%; background-repeat: no-repeat; background-position: center; -moz-box-shadow: 0 0 2px transparent; -webkit-box-shadow: 0 0 2px transparent; box-shadow: 0 0 2px transparent; } input[type="checkbox"]:checked ~ input[type="checkbox"] + span::before { background: #f6f6f6; background: -moz-radial-gradient(#f6f6f6, #dfdfdf); background: -webkit-radial-gradient(#f6f6f6, #dfdfdf); background: -ms-radial-gradient(#f6f6f6, #dfdfdf); background: -o-radial-gradient(#f6f6f6, #dfdfdf); background: radial-gradient(#f6f6f6, #dfdfdf); } This worked locally for me. Try to check it out.
1535109897

Edited 1535110253
Arioch1973
Sheet Author
Tried your version there. It is the same, maybe it is a browser issue? I am using firefox. Edit: Tried it on chrome. Same there. So I am not sure where I am going wrong with this. Found it, all this time I was focusing on the CSS, and missed the addition of &lt;span&gt;&lt;/span&gt; in the HTML. Sorry about that. I am learning as I go along doing this, and your examples are teaching me much Havoc.
It works
1535122425

Edited 1535183944
Arioch1973
Sheet Author
<a href="https://pastebin.com/xqkU5AL1" rel="nofollow">https://pastebin.com/xqkU5AL1</a> &lt;- HTML Version 1.46 (Righ Arm fixed to Right Arm) <a href="https://pastebin.com/z2kGU2yS" rel="nofollow">https://pastebin.com/z2kGU2yS</a> &lt;- CSS Version 1.46
Found a small typo, the hit location for right arm comes out as "Righ Arm"
Burning said: Found a small typo, the hit location for right arm comes out as "Righ Arm" Fixed that, check the updated link above for the html.
It still comes out of "Righ Arm", checked and found it in the HTML itself and it still shows "Righ Arm" when doing a ctrl + F for it. Not really that big of a deal, but still.
Did you take the new html from the updated link? I am searching through it, and there are no instances of "Righ Arm" anymore.
Hey, loving the sheet so far but noticed it doesn't calculate damage. It just copies and pastes whatever is in the damage box. Is this intended?
Yeah, this is from the new 1.46 HTML:&nbsp; <a href="https://i.imgur.com/XEOweJn.png" rel="nofollow">https://i.imgur.com/XEOweJn.png</a> In game:&nbsp;<a href="https://i.imgur.com/23JoyEd.png" rel="nofollow">https://i.imgur.com/23JoyEd.png</a>
1535295479
GiGs
Pro
Sheet Author
API Scripter
Burning is right, the rolltemplate hasn't been fixed. Lines 2329+.
1535304121

Edited 1535304286
Arioch1973
Sheet Author
God damn, I pasted the old code. So sorry about that. <a href="https://pastebin.com/BEVFyNaB" rel="nofollow">https://pastebin.com/BEVFyNaB</a> &lt;- Version 1.46 HTML. There, again copied and pasted. Right Arm should be fixed.
Arioch1973 said: God damn, I pasted the old code. So sorry about that. <a href="https://pastebin.com/BEVFyNaB" rel="nofollow">https://pastebin.com/BEVFyNaB</a> &lt;- Version 1.46 HTML. There, again copied and pasted. Right Arm should be fixed. I have some bad news for you, my friend. Somehow, the most recent update has caused "Right Leg" to come out as "Rightt Leg". In fact, when doing a CTRL+F for "Rightt", there's 40 results, which does include the hit location result. Very odd, because "Right Leg" was correct in the previous version, as well as all the cases were "Right" instead of "Rightt."