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
This post has been closed. You can still view previous posts, but you can't post any new replies.

Post Your Macros Here, pt. 2!

1435515987

Edited 1435516016
vÍnce
Pro
Sheet Author
Brian A. said: So do you have to use these macros with a character sheet? I dont use them but i like the pics in the chat window and i really hate the purple color for the background window! Black and grey would have been a better choice! I still don't know why you can't use the players selected color for their background as well? It's like trying to reinvent the wheel everytime you do something! The default roll template(purple) is a very basic, default roll template, available to everyone on roll20. Although not required(but highly encouraged) many sheet authors have included roll templates for their community character sheets. The sheet roll macros usually include the sheet's built-in roll template for formatting and roll logic. You can make your own custom macros as well using either the default roll template(purple) or the template(s) included with a sheet. Best to check the character sheet template description, wiki, and/or the Character Sheets forum for info about using roll templates with a particular sheet.
Yes its a purple world for me and my players but at least the chat is nice and tidy now with the roll templates! That is a step in the right direction at least!
Brian A. said: Yes its a purple world for me and my players but at least the chat is nice and tidy now with the roll templates! That is a step in the right direction at least! I'm glad! You can put in a character sheet though just for the template though, even if you're not playing that system. 5E has some really nice templates *plug*. xP
Using the D&D 3.5 templates I have created the following macro to create a stat-block for the npc-sheet for an animal companion. &{template:DnD35StdRoll} {{name=Hallo Sheet}} {{abilityflag=true}} {{**Hit Points**= @{Hallo|npchitpoints}/**@{Hallo|npchitpoints|max}**}} {{**Armor Class**= @{Hallo|npcarmorclass}}} {{Touch AC= @{Hallo|npctoucharmorclass}}} {{Flat-F AC= @{Hallo|npcflatfootarmorclass}}} {{**CMD**= [[10+(@{Hallo|npcbaseatt})+(((@{Hallo|npcstr})-10)/2)+(((@{Hallo|npcdex})-10)/2)]]}} {{**FORT**=+[[(d0+(@{Hallo|npcfortsave}))]]}} {{**REFL**=+[[(d0+(@{Hallo|npcrefsave}))]]}} {{**WILL**=+[[(d0+(@{Hallo|npcwillsave}))]]}} {{**STR** @{Hallo|npcstr} | **[[floor(((@{Hallo|npcstr})-10)/2)]]**=**DEX** @{Hallo|npcdex} | **[[floor(((@{Hallo|npcdex})-10)/2)]]**}} {{**CON** @{Hallo|npccon} | **[[floor(((@{Hallo|npccon})-10)/2)]]**=**INT** @{Hallo|npcint} | **[[floor(((@{Hallo|npcint})-10)/2)]]**}} {{**WIS** @{Hallo|npcwis} | **[[floor(((@{Hallo|npcwis})-10)/2)]]**=**CHA** @{Hallo|npccha} | **[[floor(((@{Hallo|npccha})-10)/2)]]**}} {{notes= [Scent](<a href="http://www.d20srd.org/srd/specialAbilities.htm#scent" rel="nofollow">http://www.d20srd.org/srd/specialAbilities.htm#scent</a>), [Link](<a href="http://www.d20srd.org/srd/classes/druid.htm#link" rel="nofollow">http://www.d20srd.org/srd/classes/druid.htm#link</a>), [Share Spells](<a href="http://www.d20srd.org/srd/classes/druid.htm#shareSpells" rel="nofollow">http://www.d20srd.org/srd/classes/druid.htm#shareSpells</a>), [Evasion](<a href="http://www.d20srd.org/srd/classes/druid.htm#animalCompanionEvasion" rel="nofollow">http://www.d20srd.org/srd/classes/druid.htm#animalCompanionEvasion</a>).}} Below is the macro I made for its pounce attack: &{template:DnD35Attack} {{name=Hallo, Payit Panther}}} {{subtags=Pounce = Bite +Claw +Claw +Rake +Rake}} {{pcflag=false}} {{fullattackflag=[[d1]]}} {{attack1=Bite Atk [[d20cs&gt;20+(@{Hallo|npcbaseatt})[BAB]+(floor(((@{Hallo|npcdex})-10)/2))[DEX]]]}} {{critconfirm1=Crit!:[[d20+(@{Hallo|npcbaseatt})[BAB]+(floor(((@{Hallo|npcdex})-10)/2))[DEX]]]}} {{fumbleroll=Fumble:[[d20]]}} {{damage1=Dmg: [[d6 +(floor(((@{Hallo|npcstr})-10)/2))[STR]]] Piercing}} {{critdmg1=+[[1d6 +(floor(((@{Hallo|npcstr})-10)/2))[STR]]]}} {{attack2= Claw 1 Atk [[d20cs&gt;20+((@{Hallo|npcbaseatt})-5)[BAB]+(floor(((@{Hallo|npcdex})-10)/2))[DEX]]]}} {{critconfirm2=Crit!:[[d20+(@{Hallo|npcbaseatt})[BAB]+(floor(((@{Hallo|npcdex})-10)/2))[DEX]]]}} {{fumbleroll=Fumble:[[d20]]}} {{damage2=Dmg: [[d3 +(floor(((@{Hallo|npcstr})-10)/2))[STR]]] Slash}} {{critdmg2=+[[1d3 +(floor(((@{Hallo|npcstr})-10)/2))[STR]]]}} {{attack3= Claw 2 Atk [[d20cs&gt;20+((@{Hallo|npcbaseatt})-5)[BAB]+(floor(((@{Hallo|npcdex})-10)/2))[DEX]]]}} {{critconfirm3=Crit!:[[d20+(@{Hallo|npcbaseatt})[BAB]+(floor(((@{Hallo|npcdex})-10)/2))[DEX]]]}} {{fumbleroll=Fumble:[[d20]]}} {{damage3=Dmg: [[d3 +(floor(((@{Hallo|npcstr})-10)/2))[STR]]] Slash}} {{critdmg3=+[[1d3 +(floor(((@{Hallo|npcstr})-10)/2))[STR]]]}} {{attack4= Improved Grab [[d20cs&gt;20+(@{Hallo|npcbaseatt})[BAB]+(floor(((@{Hallo|npcstr})-10)/2))[STR]]] if Bite Hit}} {{critconfirm4=Crit!:[[d20+(@{Hallo|npcbaseatt})[BAB]+(floor(((@{Hallo|npcstr})-10)/2))[STR]]]}} {{fumbleroll=Fumble:[[d20]]}} {{attack5=Rake Atk 1 [[d20cs&gt;20+(@{Hallo|npcbaseatt})[BAB]+(floor(((@{Hallo|npcdex})-10)/2))[DEX]]]}} {{critconfirm5=Crit!:[[d20+(@{Hallo|npcbaseatt})[BAB]+(floor(((@{Hallo|npcdex})-10)/2))[DEX]]]}} {{fumbleroll=Fumble:[[d20]]}} {{damage5=Dmg: [[d3 +(floor(((@{Hallo|npcstr})-10)/2))[STR]]] Slash}} {{critdmg5=+[[1d3 +(floor(((@{Hallo|npcstr})-10)/2))[STR]]]}} {{attack6=Rake Atk 2 [[d20cs&gt;20+(@{Hallo|npcbaseatt})[BAB]+(floor(((@{Hallo|npcdex})-10)/2))[DEX]]]}} {{critconfirm6=Crit!:[[d20+(@{Hallo|npcbaseatt})[BAB]+(floor(((@{Hallo|npcdex})-10)/2))[DEX]]]}} {{fumbleroll=Fumble:[[d20]]}} {{damage6=Dmg: [[d3 +(floor(((@{Hallo|npcstr})-10)/2))[STR]]] Slash}} {{critdmg6=+[[1d3 +(floor(((@{Hallo|npcstr})-10)/2))[STR]]]}} {{notes= [Improved Grab](<a href="http://www.d20srd.org/srd/specialAbilities.htm#improvedGrab" rel="nofollow">http://www.d20srd.org/srd/specialAbilities.htm#improvedGrab</a>), [Rake: +11, 1d3+4](<a href="http://www.d20srd.org/srd/specialAbilities.htm#rake" rel="nofollow">http://www.d20srd.org/srd/specialAbilities.htm#rake</a>)}}
1435556939
Diana P
Pro
Sheet Author
Nice! Thanks for sharing them.
This thread is the bee's knees. Anyway, working on a damage roll syntax, and having a hard time. I want it to ask me how many d8 to roll, and have the output be one of the [[ ]] style yellow boxes. Tried [[?{d8ro&lt;2}]] but that does not work correctly. Anyone know how to do it correctly? Thank you in advance.
1435609031

Edited 1435609080
@Unslayable One Thanks! xP There hasn't been any real super-easy way to share and post macros, so I thought it would be a really good idea, and it's been one of the best I ever had. ^^ So many talented macro-ers joining in and contributing their stuff, it's absolutely awesome. Yup! For that, you can use [[?{Number of Dice|1}d8ro&lt;2]] Check out this link, it's SUPER super helpful: <a href="https://wiki.roll20.net/Macros" rel="nofollow">https://wiki.roll20.net/Macros</a>
1435609331
DK Heinrich
Marketplace Creator
Sheet Author
[[ ?{ How Many d8's:?|0}d8ro&lt;2 ]] rolls 'x'd8's and rerolls any that are 2 or less and its in the call out box
@DK Heinrich Yup yup, essentially the same thing, except you don't really need the colon because the prompt box automatically does it for you. xP
I wish it didn't have that colon. That way we could put in whatever we want. Like a question or just a statement.
@HoneyBadger It's not THAT bad, it's preventable (and in my opinion, more ascetically-pleasing) to have a colon, although the option's always nice. For instance, instead of saying, "What is your message?", you'd write "Message:".
Options are better than hardcoded. I learned that while making the powercards script. Used to have a lot of stuff hardcoded and changed it to user options later.
PdG said: is there a way for a part of a macro to only trigger when a 1 is given on a querie? for instance, i put a querie in my attack macro asking if it's a charge, if yes add +2 etc etc. but can that querie trigger another line in the macro? i need to make an acrobatics check on a charge, building that into my existing macro would be awsome Adding a value to a roll conditionally based on a query is fairly standard fare. [[ 1d20 +4 + (2 * ?{Charging?(0=no, 1=yes)|0} ) ]] Conditionally showing a line of text or a new roll entirely based on a condition, not so much. For things like that, I generally just add the conditions as part of the macro whether it's needed or not, and let humans decide when to use it. ie: Hit:[[ 1d20 +4 + (2 * ?{Charging?(0=no, 1=yes)|0} ) ]] Dmg: [[1d20 + 6]] Charge?: [[1d20+3]] Acro or perhaps a slight modification to zero out the acro roll so it's just a "0" when not needed. Hit:[[ 1d20 +4 + (2 * ?{Charging?(0=no, 1=yes)|0} ) ]] Dmg: [[1d20 + 6]] Charge?: [[ ( 1d20+3 * ?{Charging?(0=no, 1=yes)|0} ) ]] Acro
The above will work perfectly for your +2 or not, simple algebra. xP As for triggering lines, I asked about this feature to the creator of the 5E shaped character sheet and didn't get too much out of it. The only workaround I have is the following, and although it's okay, it's a tad messy. {{?{Extra Line|Extra Line = [[1d20]]}}} Delete everything in the box to hide the line, hit Enter to send the line.
Ok so how do i do the macro templates so i can get rid of this cursed purple box? I don't use character sheets! (I made my own) I don't use API! I want it so each character or monster in my campaign has it's own distinct template so it is easily recognized in the chat window! I like the pics in the macro via Julix! Since the entire game is played in the chat window it is really the most important part of the game!
Brian A. said: Ok so how do i do the macro templates so i can get rid of this cursed purple box? I don't use character sheets! (I made my own) I don't use API! I want it so each character or monster in my campaign has it's own distinct template so it is easily recognized in the chat window! I like the pics in the macro via Julix! Since the entire game is played in the chat window it is really the most important part of the game! How did ya make your own character sheets without being a Mentor? o.o Unless you mean it's all text, then there's a workaround. Just import a character sheet into your campaign and tell everyone to ignore the character sheet area. He uses the Pathfinder ones, I like 5E. From there, you can manipulate the templates as per above.
Ok so i have to import a character sheet? How do i do this without it replacing mine? Do i have to do this so the code will work?
Brian A. said: Ok so i have to import a character sheet? How do i do this without it replacing mine? Do i have to do this so the code will work? Your character sheet is just text in the bio, right? If so, go to Campaign Details, then scroll all the way down, then click the dropdown box for Character Sheet and then select the correct one.
I just want to change the color purple to the players color! All the macros are done the way i want them! I really don't want to do all of those over again... Why is everything so complicated with this system? Let me have control of the colors!!!!!!!!!!!!!!!
Brian, the templates are inherited from the Character Sheet setting on the Campaign Settings page. (not to be confused with character JOURNALS, which is your Portrait, Bio, Abilities, etc) The purple template is the "default" template, that is accessible regardless of what sheet you're using. Any of the other templates are specific to which Character Sheet the campaign is configured to use. Each sheet has its own set of Template instructions; Your existing macros will continue to work exactly as-is because the "default" template is universal, but you would indeed need to adjust your macros to take advantage of the Character Sheet templates. For example, your "default" template macros will look something like: &{template:default} {{name=LongSword}} {{Hit:=[[1d20cs&gt;19 +2 ]]}} {{Dmg:=[[1d8 2]] }} {{Confirm?:[[[[1d20 +2 ]]} }} {{Crit Dmg:[[1d8 2]] }} A PATHFINDER character sheet template will look more like:(REALLY simplified version) &{template:pf_attack} {{name=LongSword (1st)}} {{attack=[[1d20 cs&gt;19 + 2 ]]}} {{damage=[[1d8 + 2 }} {{crit_confirm=[[1d20 + 2 ]] }}{{crit_damage= [[1d8 + 2 ]] }} Superficially they look similar, but there's some critical differences between the two, in the little details.
I tried it but i'm just trading one color for another. It really doesn't do what i want. Thanks anyway!
@Brian A. Uh... you can try using the DnD 5E template. There are different colored ribbons that you can give to different players, it might be the best option you have.
The pathfinder one works. The 5e didn't work. I don't know why?
Brian A. said: The pathfinder one works. The 5e didn't work. I don't know why? You'd need to change the template name AND the character sheet selected in your campaign. xP From there, you can experiment out with it. Go ahead and check out the link below for the colors and how to manipulate it. <a href="https://app.roll20.net/forum/post/2101003/5e-template-for-macros-how-to-manipulate-it#post-2101003" rel="nofollow">https://app.roll20.net/forum/post/2101003/5e-template-for-macros-how-to-manipulate-it#post-2101003</a>
Brian A. said: The pathfinder one works. The 5e didn't work. I don't know why? This is kinda what I was going on about... every single Character Sheet has its own templates and its own format and commands.
First things first, thanks to everyone for getting this thread up to 1337 views. ^^ I'll be creating a new thread sometime hopefully so we don't have to scroll so far down the line. Tooooottally not going to follow that up with a nerd joke of any kind. xD Second, I've been playing around with macros and the Attributes of character sheets, and managed to scrounge up something pretty useful. Pretty simple and straightforward. Create a character sheet called GM Macros, add in the weapon name, bonus to hit, damage, and any notes per macro, and then click the corresponding one to shoot out all the info. ^^ It'll be super super useful and easy adding multiple weapons and modifying it on the fly without diving into the macro and messing around with it, and can hypothetically be set up for spells and other effects as well! I'll be adding an image attribute too just for the funsies. xP If you want to add more, just open up Notepad, copy and paste the code in then using the Replace function, replace _1 (or whatever number you have there) with _ and the number you want. wpn1 &{template:5eDefault} {{title=@{GM Macros|weapon_1}}} {{subheader=Melee/Ranged}} {{attack_roll=1}} {{attack=[[1d20+@{GM Macros|attack_1}]]}} {{attackadv=[[1d20+@{GM Macros|attack_1}]]}} {{damage=[[@{GM Macros|damage_1}]] @{GM Macros|damage_1|max}}} {{freetext=@{GM Macros|notes_1}}}
Also, thought this was pretty funny. xD
Ya this is way over my head! As i said before why is this so complicated just to change a color? Yes i also agree with Mark all the character sheets should work in the same format so you can use any of them you want by just changing the template macro default! This is why i'm not a mentor. There is no standard that everybody can use it's all homebrew stuff!
Brian A. said: I just want to change the color purple to the players color! All the macros are done the way i want them! I really don't want to do all of those over again... Why is everything so complicated with this system? Let me have control of the colors!!!!!!!!!!!!!!! You can't do that with the templates. Not currently at least. You can with PowerCards... ^_^ ... but that requires a mentor subscription and installation of an API script.
Yes I know everything that you would want to do requires API.
Brian A. said: Ya this is way over my head! As i said before why is this so complicated just to change a color? Yes i also agree with Mark all the character sheets should work in the same format so you can use any of them you want by just changing the template macro default! This is why i'm not a mentor. There is no standard that everybody can use it's all homebrew stuff! Actually, I'd be rather opposed to all sheets being equal :) Every gaming system has its own style and technical requirements, so naturally the tools created to address those requirements will be different. In any case, if you want to post in Specific Use forums what kind of macros you want help with and which sheet you're using (3.5, Pathfinder, etc) we can , collectively, give you some examples to work with or better explain how to use the particular Character Sheet template you're using. Beyond that, we're kinda getting off topic from the original post, which is about giving examples of existing/working macros and how folks have taken advantage of the options available to them to come up with cool *&$# :)
As i stated before I use my own sheets. I think it would be better if roll 20 had a standerdized system for all the games here! If you want to play 3.5 here you go here is all the macros you need. 5e no problem use these! That would be more professional than the way it works now! Everything is a homebrew system and must be updated by the person who created it! Maybe i'll check back in 6 months to see if you can change colors in the chat window.
Brian A. said: As i stated before I use my own sheets. I think it would be better if roll 20 had a standerdized system for all the games here! If you want to play 3.5 here you go here is all the macros you need. 5e no problem use these! That would be more professional than the way it works now! Everything is a homebrew system and must be updated by the person who created it! Maybe i'll check back in 6 months to see if you can change colors in the chat window. Uh... no, that would be a terrible system. xD Character sheets have macros built in, that's the majority of the reason why people use them in the first place. It's not that hard to use macros man, ya just need to put in some time to learn how to use them.
1435878101
Wes
Sheet Author
I don't believe that using macros is the problem here. From what I can tell Brain is looking for the ability to change the background color of the template to match the players selected color. Which is currently not possible. There are a few Suggestions in the Suggestions & Ideas forum which ask for more features for the basic template. Here are two of the top three Suggestions when searching "template" in said forum: [Roll Templates] Expand Functionality of the Default Roll Template Multiple default roll templates
Thank You Wes! That's exactly what i want. Also i never see anything happen from the suggestion forums and personally i don't know why this wasn't an added feature to begin with?
1435893386

Edited 1435893423
Made a handful of macros for Forgotten Realms. If you're looking to speed up your 5E combat exponentially, ESPECIALLY for lots of lots of players, this is for you! I'm not yet done, but go ahead and take a peek of what I did so far. ^^ The sound/video quality I'm still working out, I'm still pretty new to this video stuff. &gt;.&lt; Also, pretty colors: <a href="http://i.imgur.com/20GxShT.png?1" rel="nofollow">http://i.imgur.com/20GxShT.png?1</a> <a href="https://www.youtube.com/watch?v=yQUR081jEho" rel="nofollow">https://www.youtube.com/watch?v=yQUR081jEho</a>
Ok benson using the default purple macro template how do i add that critical hit picture to my macro or any picture?
1435899280

Edited 1435899307
Brian A. said: Ok benson using the default purple macro template how do i add that critical hit picture to my macro or any picture? Benson's macro thread part 1 should have the info for putting an image inline. <a href="https://app.roll20.net/forum/post/1747672/post-your-macros-here/#post-2065218" rel="nofollow">https://app.roll20.net/forum/post/1747672/post-your-macros-here/#post-2065218</a>
MysterX said: Brian A. said: Ok benson using the default purple macro template how do i add that critical hit picture to my macro or any picture? Benson's macro thread part 1 should have the info for putting an image inline. <a href="https://app.roll20.net/forum/post/1747672/post-your-macros-here/#post-2065218" rel="nofollow">https://app.roll20.net/forum/post/1747672/post-your-macros-here/#post-2065218</a> Thanks MysterX. xP I can grab you the line, 1 second Brian. The only thing is that without the 5E character sheet, the picture'll pop up ALL the time, not just when you crit, and it'll be annoying.
To 5E sheet, add the following: {{can_crit=1}} {{action_crit_damage=[Image](<a href="http://tf2.digitaljedi.com/wp-content/uploads/2008/03/criticalhit11.png" rel="nofollow">http://tf2.digitaljedi.com/wp-content/uploads/2008/03/criticalhit11.png</a>)}} {{action_crit_damage_adv=[Image](<a href="http://tf2.digitaljedi.com/wp-content/uploads/2008/03/criticalhit11.png" rel="nofollow">http://tf2.digitaljedi.com/wp-content/uploads/2008/03/criticalhit11.png</a>)}} For just the image: [Image](<a href="http://tf2.digitaljedi.com/wp-content/uploads/2008/03/criticalhit11.png" rel="nofollow">http://tf2.digitaljedi.com/wp-content/uploads/2008/03/criticalhit11.png</a>)
I just cant get this to work! As i said before i'm not using any character sheets. Just the default purple macro template. Here is my exact macro. It is just for a critical hit. &{template:default} {{name= Renard Runs His Rapier Through!}} {{Critically Hitting For=[[2d8}]]}}
Woot i got it to work!!!!!!!!!!!!!!!!!!!!!!! Thanks Benson! Now i have a question? Can you only use images from the internet or can i use images from my portraits folder?
Brian A. said: Woot i got it to work!!!!!!!!!!!!!!!!!!!!!!! Thanks Benson! Now i have a question? Can you only use images from the internet or can i use images from my portraits folder? Mm, upload it on imgur, then use the image there. It's not connected to your portraits unfortunately, although that would be smart.
1435941920

Edited 1435941986
One of our players came up with the Poor Man's magic missile fix, fill into the 5E Spell Sheet where you have Magic Missile damage box: 1d4+1]][[1d4+1]][[1d4+1 Someone else asked me to share so I am :)