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

1532786160

Edited 1532884906
Havoc
Sheet Author
API Scripter
Warhammer Fantasy 4th Edition. Quick 2h sheet. No API, only rolls with [[ ]]. Needs to be tested to find all the bugs or make better macros.&nbsp; <a href="https://pastebin.com/vbR4SbSX" rel="nofollow">https://pastebin.com/vbR4SbSX</a> &nbsp;html <a href="https://pastebin.com/DgDKWGqM" rel="nofollow">https://pastebin.com/DgDKWGqM</a> css
1532796324
GiGs
Pro
Sheet Author
API Scripter
Is 4th edition out?
1532796591
Havoc
Sheet Author
API Scripter
Preview for Preorders.
1532798024
Havoc
Sheet Author
API Scripter
Added a button to roll damage from weapons. And added the armour background guy. <a href="https://pastebin.com/xF6HPBVM" rel="nofollow">https://pastebin.com/xF6HPBVM</a> html <a href="https://pastebin.com/DgDKWGqM" rel="nofollow">https://pastebin.com/DgDKWGqM</a> css
Give that man a roll20 medal already.
Thanks Havoc!
Great work! Cant wait to give the new system a try.
Amazing!
1532884889
Havoc
Sheet Author
API Scripter
Fixed experience and added total weight. <a href="https://pastebin.com/vbR4SbSX" rel="nofollow">https://pastebin.com/vbR4SbSX</a> &nbsp;html
Awesome, thank you.
1532941860

Edited 1532942077
Arioch1973
Sheet Author
Would it be possible to get the output from skill rolls to show the number you rolled, and the Success Level? Something along this? &amp;{template:default} {{name=Test Result}} /roll ceil((?{Value}-[[1d100]])/10)
I love it! Thank you.
1532953710

Edited 1532959356
Arioch1973
Sheet Author
I modified the character sheet so that it will do the skill/characteristic rolls and calculate the success level (not rounded up or down atm); <a href="https://pastebin.com/S5Gs1q2e" rel="nofollow">https://pastebin.com/S5Gs1q2e</a> Thank you very much Havoc. I dont know enough about HTML coding, but I can modify your code. Sorry if I stepped on any toes in modding it. Edit again: <a href="https://pastebin.com/wwjhbfZD" rel="nofollow">https://pastebin.com/wwjhbfZD</a> In the end I just went with the "Roll [#] against [#]" format that is used in core rulebook examples.
1532960361
Havoc
Sheet Author
API Scripter
Sure. You can modify it.
Also, I found out on the character sheet, you can only take Hardy one time, when it is a ranked talent.
<a href="https://pastebin.com/F7B7fS2k" rel="nofollow">https://pastebin.com/F7B7fS2k</a> &lt;- I updated my alternate version with a fix that allows you to select Hardy more than one time.
WOW.....that was fast....thanks Havoc
You make the best Warhammer sheets! Glad to see you working on this. Thanks Havoc!
How do i add this to my game? Roll20 noob here!
Fraser D. said: How do i add this to my game? Roll20 noob here! You have to be a Pro member. After becoming a Pro you can upload a custom sheet to your game. <a href="https://wiki.roll20.net/Character_Sheets" rel="nofollow">https://wiki.roll20.net/Character_Sheets</a>
1533000897
GiGs
Pro
Sheet Author
API Scripter
Though if you're patient, it - or something like it - will probably be added to the sheets that free users can use sooner or later.
1533033309
Havoc
Sheet Author
API Scripter
Last time Timothy S. &nbsp;uploaded my Warhammer Fantasy 2nd to the Roll20 public list. If anybody is willing to take up the torch (take my sheet, maintain it), then go right ahead. Just credit who created the sheet and that's that. And before anybody asks - no, I will not do it myself.
On behalf of the free user GMs here that are also super hyped aboout Warhammer 4th: PLS FOR THE LOVE OF SIGMAR SOMEONE DO IT
<a href="https://pastebin.com/KG5g8Lm1" rel="nofollow">https://pastebin.com/KG5g8Lm1</a> &lt;- I added a size modifier to the character sheet so it calculates wounds according to size. I left the ability to modify SB TB and WPB modifiers in case there are special circumstances for some creature.
We need this uploaded for all the user :(
If I knew how to upload it, I would do so.
<a href="https://pastebin.com/X0ydRs2U" rel="nofollow">https://pastebin.com/X0ydRs2U</a> &lt;- Fixed a bug when it came to calculating wounds with the Size setting and the wounds "Modifier"
1533328974
Oxycutor
Pro
Sheet Author
Thanks for doing the work on this Havoc and Arioch1973.&nbsp; &nbsp;I've upgraded to Pro and tried it out.&nbsp; &nbsp;If I were to have a dabble at making changes myself, and I then add the code as custom for my game, should I assume it would only affect the code in my game, and not the code for the sheet on R20 in general?
1533329036
Havoc
Sheet Author
API Scripter
Yes
1533330203
Oxycutor
Pro
Sheet Author
Great. I want to try add a line on the stat block for whether a talent has been taken giving +5 to starting stat.&nbsp; e,g Warrior Born or Savvy.&nbsp; A feature that's on one of the second editions sheets that I liked
Well, if you get that working, maybe we can consolidate our changes in the end and make a single character sheet out of it?
1533333260
Oxycutor
Pro
Sheet Author
I think I have got it working.&nbsp; And yeah, consolidating changes is a good idea.&nbsp; &nbsp;I've joined Pastebin, so this is my version with that change&nbsp; &nbsp;&nbsp;<a href="https://pastebin.com/xzTGjZAw" rel="nofollow">https://pastebin.com/xzTGjZAw</a>
API noob question: I tried pasting it in as a new script but keep getting: On Line 2: SyntaxError: Unexpected token &lt; Am I doing something stupid?
Nice change with the talents line. Something I would like to do is to change the "Roll" for weapons. I have not looked at it yet, but I would like it to work as this; On group you select which weapon group it is, and it automatically links the correct skill for the weapon. When you click roll for weapons, it should output it as "Rolling XX" "against XX" "Weapon Name" "Damage" "Qualities".
1533387396

Edited 1533387417
Arioch1973
Sheet Author
Gar B. said: API noob question: I tried pasting it in as a new script but keep getting: On Line 2: SyntaxError: Unexpected token &lt; 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.
1533387655
Oxycutor
Pro
Sheet Author
Gar B. said: API noob question: I tried pasting it in as a new script but keep getting: On Line 2: SyntaxError: Unexpected token &lt; Am I doing something stupid? Make sure you're copying the RAW code from Pastebin.&nbsp; &nbsp;And then only put the html into the HTML layout part, and the css in the CSS part.&nbsp; &nbsp; Beyond that, I'm pretty noob on this myself, when it comes to this kind of HTML.&nbsp;&nbsp;
1533389145

Edited 1533404876
Oxycutor
Pro
Sheet Author
Arioch1973 said: Nice change with the talents line. Something I would like to do is to change the "Roll" for weapons. I have not looked at it yet, but I would like it to work as this; On group you select which weapon group it is, and it automatically links the correct skill for the weapon. When you click roll for weapons, it should output it as "Rolling XX" "against XX" "Weapon Name" "Damage" "Qualities". I've got a bit of a list:- Calculate armour encumbrance Calculate weapon encumbrance Calculate trappings encumbrance Total should already calculate Max encumbrance is usually SB+TB for PC's, but the sheet needs to work for NPCs and creatures, some of which have a fixed Max Enc I'd like to see with the roll output, to show something like success or fail, in green or red After that, to show how many success levels (SL) And if it's a crit or fumble (roll a double - 11, 22, 33, 44, 55, 66, 77, 88, 99, 00) And something else if it's 01-05 or 96-00 as those are also crits and fumbles As a GM, I'd like the option to maybe change the range for that last type of crit/fumble Agree, having an attack button linked to weapon type which then rolls the appropriate melee specialisation skill - or WS only if there isn't one Damage is Attack SL + SB + weapon damage Range works the same way, with a specialisation for each Range(x) skill, except it's advanced, so in theory you can only use that weapon type if you have the skill, but it doesn't appear to work that way in the combat section, and the description of the skill implies there would be a penalty, but no such penalty exists in the ranged penalties.&nbsp; &nbsp; We are however currently working off the preview edition of the rulebook though, so this could change some kind of button for a melee defense, if you have a shield, or it includes dodge skill, so you only need to have one I would like a drop/down choice box for armour locations when listing the armour and encumbrance, and the diagram of hit-locations should auto calculate armour points in that location I haven't tried it out yet on tabletop, but it looks like spells, blessings and invoking miracles all work differently so that section will probably need adjusting Possibly also change something in the style sheet so that the buttons - i.e the bits that make the rolls are little more obvious to see By no means is this a comprehensive list, nor am I suggesting trying to do all of these in one go, nor do I really have any experience in R20 sheet making to know how difficult any of these are to do
I tried to get the output to be success levels, but best I could do with the default roll template and no API was "Rolling" and "Against", the other option was to only have Success Levels, which is not helpful since you need to know what you rolled. And if you check the formatting of the D100 rolls that I put in there, they are doing critical success markings for doubles etc. But for some reason the default template will not output it. And unfortunately, I do not know how to make a roll template.
<a href="https://pastebin.com/xW8sXN5x" rel="nofollow">https://pastebin.com/xW8sXN5x</a> &nbsp; Version 1.34 - All the Melee (XXXXX) skills are now on the character sheet, for future expansion of calling them in different rolls. They are all basic skills, so no reason to not list them.
1533405501
Oxycutor
Pro
Sheet Author
There is a page on their wiki about how to make a roll template&nbsp; &nbsp; <a href="https://wiki.roll20.net/Roll_Templates#Default" rel="nofollow">https://wiki.roll20.net/Roll_Templates#Default</a>. Also, now you've added all the Melee (X) specialisations, we no longer need the Melee line with no specialisation
I will look into it tomorrow, it is past midnight here in sweden.
<a href="https://pastebin.com/jaDV27i4" rel="nofollow">https://pastebin.com/jaDV27i4</a> HTM Version 1.36 with a new rolltemplate. <a href="https://pastebin.com/YD6ZQGeM" rel="nofollow">https://pastebin.com/YD6ZQGeM</a> CSS Version 1.36 with new rolltemplate
<a href="https://pastebin.com/6V2eSBde" rel="nofollow">https://pastebin.com/6V2eSBde</a> &lt;- HTML version 1.37, advanced and group skills now use the new roll template. All ranged weapon specialisations have been added to the character sheet. Weapon groups are now selectable and the "Roll" button for weapons do the Test and output the weapon data using the new roll template, so you have all the info in front of you when making an attack or defending. <a href="https://pastebin.com/F498nQRk" rel="nofollow">https://pastebin.com/F498nQRk</a> &lt;- CSS version 1.37, with updates to the roll template to support new character sheet features.
I could really use some help with creating an API script that rolls "D100" "Against" and calculates the Success Level=floor((D100-Against)/10). I am unable to do it within the roll template, as I can not get any math to work in there.
1533519442

Edited 1533519735
GiGs
Pro
Sheet Author
API Scripter
I think it's possible to do this in a rolltemplate, though its a bit laborious. Your current rolltemplate has a tiny error btw: you have rollLess and rollGreater, but this doesnt account for when roll exactly equals the score.&nbsp; There's a not&nbsp; operator, ^ you can use. So instead of rollLess, use not rollGreater &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{#^rollGreater() dice against}} ***Success*** {{/^rollGreater() dice against}} The way you'd report degrees of success would require changing the template a bit. Instead of having {{roll}} and {{against}} as separate variables, you need to combine them:&nbsp; Change {{dice=[[ 1d100cs01cs02cs03cs04cs05cs11cs22cs33cs44cs55cs66cs77cs88cf96cf97cf98cf99cf00 ]]}} {{against=[[ ?{Modifier?|0}+@{Current_WS} ]]}} To {{roll=[[ ?{Modifier?|0}+@{Current_WS} - 1d100cs01cs02cs03cs04cs05cs11cs22cs33cs44cs55cs66cs77cs88cf96cf97cf98cf99cf00 ]]}} Then in the roll template you can use rollless and rollgreater to compare against 0, 10, 20, etc, to find the exact degree of success or failure. You do need to nest these comparisons and use the not operator a lot, so it is a bit tedious to construct. It;s still better than&nbsp; a script version, because only Pro subscribers will be able to use that. Here's a simple example from my Fudge Homebrew, where you need to report the number rolled as an adjective: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{roll}} =&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {{#roll}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {{#rollLess() roll -3}} Abysmal&nbsp; {{/rollLess() roll -3}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;{{#rollTotal() roll -3}} Terrible {{/rollTotal() roll -3}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;{{#rollTotal() roll -2}} Poor {{/rollTotal() roll -2}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;{{#rollTotal() roll -1}} Mediocre {{/rollTotal() roll -1}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;{{#rollTotal() roll 0}} Fair {{/rollTotal() roll 0}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {{#rollTotal() roll 1}} Good {{/rollTotal() roll 1}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;{{#rollTotal() roll 2}} Great {{/rollTotal() roll 2}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;{{#rollTotal() roll 3}} Superb {{/rollTotal() roll 3}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;{{#rollTotal() roll 4}} Amazing {{/rollTotal() roll 4}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;{{#rollTotal() roll 5}} Epic {{/rollTotal() roll 5}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;{{#rollGreater() roll 5}} Legendary {{/rollGreater() roll 5}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {{/roll}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {{#rollWasCrit() roll}}&lt;span class='sheet-roll-fudgedie'&gt;+&lt;/span&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {{#rollWasFumble() roll}}&lt;span class='sheet-roll-fudgedie'&gt;+&lt;/span&gt;{{/rollWasFumble() roll}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {{/rollWasCrit() roll}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {{#^rollWasCrit() roll}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {{#rollWasFumble() roll}}&lt;span class='sheet-roll-fudgedie'&gt;-&lt;/span&gt;{{/rollWasFumble() roll}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {{/^rollWasCrit() roll}} This was simple enough to avoid the need for nesting, but it should show the principle.
{{dice=[[ 1d100cs01cs02cs03cs04cs05cs11cs22cs33cs44cs55cs66cs77cs88cf96cf97cf98cf99cf00 ]]}} {{against=[[ ?{Modifier?|0}+@{Current_WS} ]]}} works if I want only the Success Level, but since you need to know the roll itself (it is used to determine hit location etc.) I still need it to show both the roll, the against value, and then calculate success level. That's the main problem for me to overcome at the moment. And thank you for pointing out the error in the case of equal to.
1533537707
GiGs
Pro
Sheet Author
API Scripter
I forgot about the need to calculate hit location. It looks a script approach will be the only way. The PowerCards script can probably do it and it is formats the output, if you can master the syntax.
<a href="https://pastebin.com/JNKFTZVn" rel="nofollow">https://pastebin.com/JNKFTZVn</a> &lt;- HTML Version 1.38, some bugfixes and added commentary for easier navigation of the code. <a href="https://pastebin.com/pdBg0VKK" rel="nofollow">https://pastebin.com/pdBg0VKK</a> &lt;- CSS Version 1.38
1533590595

Edited 1533590916
Great Work, thank you very much. I hope it will be released for all of the users soon.&nbsp;
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.
1533749051
Oxycutor
Pro
Sheet Author
I don't know if it helps, but to reverse anything up to 99, it would be ((x MOD() 10) * 10) + (x DIV() 10), where x is the roll.