Automatically Setting or Updating Values on a Character Sheet in Roll20

Поделиться
HTML-код
  • Опубликовано: 22 дек 2024

Комментарии • 47

  • @Godsbane
    @Godsbane 2 года назад +1

    Creating my own RPG system, ChatSetAttr is possibly my number one script in the Roll20 library. Absolutely love this script. Thanks, Jakob! And thanks, Nick, for sharing expertise with this amazing tool for more people.

    • @NickOlivo
      @NickOlivo  2 года назад +1

      Thanks for watching! Happy gaming!

  • @benfoshee1899
    @benfoshee1899 2 года назад +2

    Oh yeah I use this for using potions, lay on hands, I set token macros to show how much weight a character is carrying, to drink water, to eat food, to show how many charges are left on magic items. Very useful

    • @NickOlivo
      @NickOlivo  2 года назад

      It's a very versatile script. Thanks for watching, and happy gaming!

    • @admag91
      @admag91 2 года назад

      Do you have a link to those macros? I'm just starting to get into using them in my game and that sounds amazingly useful.

    • @lysanthir7231
      @lysanthir7231 2 года назад

      Same, scripts would be appreciated

  • @2012lolwing
    @2012lolwing 2 года назад

    Finally come around to seeing this video, bless your soul Nick! This has made it much easier for me to understand since I'm more of a visual learner. Cheers mate! Thanks for responding to my previous comment :D
    *Edit*
    I'm glad to be apart of the patreon crew now as well! I look forward to your videos in the future :)

    • @NickOlivo
      @NickOlivo  2 года назад

      Glad the videos have been helpful! Thanks for your support, and happy gaming!

  • @carlosrivera9047
    @carlosrivera9047 2 года назад +1

    Love all your videos. Do you do these for other games besides DnD? FFG Star Wars, for instance?

    • @NickOlivo
      @NickOlivo  2 года назад +1

      Thanks for the kind words, Carlos! Right now I'm only doing D&D, but I've done a few vids on Call of Cthulhu. Happy gaming!

  • @admag91
    @admag91 2 года назад

    These videos you are make are so helpful! Would be super interested if you made a video or maybe small series about the scripts and macros you use in your games with some links to macros/scripts. Would be super helpful to get ideas on what's even possible with these tools. Especially for non-coders just starting out on Roll20.

    • @NickOlivo
      @NickOlivo  2 года назад

      Thanks for watching! I've done a bunch of vids on macros - here are a few of them. ruclips.net/video/SlwAXIDFveo/видео.html and ruclips.net/video/jM9phzrOy-4/видео.html and ruclips.net/video/_TUrDnOYx78/видео.html and ruclips.net/video/UFJpcC4yOTw/видео.html Enjoy!

  • @urdaanglospey6666
    @urdaanglospey6666 2 года назад

    Thank you for all of your awesome videos!

    • @NickOlivo
      @NickOlivo  2 года назад +1

      Glad they've been helpful! Happy gaming!

  • @michaelmorris8571
    @michaelmorris8571 2 года назад

    Your videos are very helpful, thank you for all the work you do!

    • @NickOlivo
      @NickOlivo  2 года назад

      Thanks for the kind words, Michael! Happy gaming!

  • @RinnyGames
    @RinnyGames 2 года назад

    Would it be possible to use this API to add custom spells to a character sheet? I'm running a custom system and need to add many custom spells to many NPCs and was looking for a way to quicken the process a bit. I've messed around with ChatSetAttr, and gotten a good bit of use out of it but haven't been able to figure out the more complex applications of it, such as adding spells.

    • @NickOlivo
      @NickOlivo  2 года назад

      I don't think so. I think this can only add & modify resources, but you could post over on the Roll20 forums - someone there would know for sure - app.roll20.net/forum/category/46806 Good luck and happy gaming!

  • @A2ndChapter
    @A2ndChapter 2 года назад

    Hey Nick, thanks for all the fantastic videos.
    Wondering if you can help me.
    I'm running a Gumshoe game and want to use the ChatSetAttr to deduct points spent from values in the character sheet.
    E.g. the character has a Stability test and rolls 1d6, they opt to spend 2 Stability to increase their chances. Macro outputs the roll and then deducts the 2 Stability from that attribute.
    I've got the macro to do the roll - &{template:@{selected|sheetswitch}} @{selected|stability_dice} {{rname=^{stability-a}}}
    But can't work out how to use ChatSetAttr to then do the deduction.
    I assume it's something like &{template:@{selected|sheetswitch}} @{selected|stability_dice} {{rname=^{stability-a}}} !modbattr --charid @{selected|character_id} --silent --stability|$[[0]]!!! but it's not doing the deduction...
    Any help appreciated!

    • @NickOlivo
      @NickOlivo  2 года назад +1

      Hi there- I'm not familiar with this particular character sheet, but from what's above, it looks like the macro is calling an attribute or ability rather than making a die roll. I'm not sure if ChatSetAttr can handle that sort of situation. I'd say ask over on the Roll20 Mod Forums (app.roll20.net/forum/category/46806) and someone there might be able to help. Good luck, and happy gaming!

  • @michaelmorris8571
    @michaelmorris8571 2 года назад

    I've noticed that API's like this don't like to work with other API's this one for example dosn't work with the aura api that changes colors based on the players hp. So for example I used this to take an healing potion and it updated the sheet but not the aura color. Any thoughts on this?

    • @NickOlivo
      @NickOlivo  2 года назад

      Hmm. I'm not sure about that, to be honest. I'd say your best bet would be to post it over on the Roll20API forums and someone there might have some insight - app.roll20.net/forum/category/46806

    • @michaelmorris8571
      @michaelmorris8571 2 года назад

      @@NickOlivo thank you, I'll post that.

  • @TazorNissen
    @TazorNissen 2 года назад

    Will this script work with other character sheets, like Pathfinder?
    Also, if I make a script for Rage or Beast Shape, I guess I would have to make two scripts; one to turn it on & one to turn it off?

    • @NickOlivo
      @NickOlivo  2 года назад +1

      I believe it will, but you may need to poke around on the forums for the exact Pathfinder syntax. As for Rage and Beast Shape, yes, you'd have one macro to enable it, and another to restore the values back to their original settings. Thanks for watching, and happy gaming!

  • @GilbertoCiucci
    @GilbertoCiucci 2 года назад

    Hello Mr. Olivo. I tried to implement "Second Wind" to my warrior with his tutorial. But he gives me a mistake and I don't understand why. If you could help me understand better I would be grateful. I copy below my macro and the error that the game gives me:
    !modbattr --charid @ {target | character_id} --silent --hp | $ [[1d10 + @ {level}
    Error: Attribute hp is not number-valued for character Silina. Attribute left unchanged.
    Thank you so much

    • @NickOlivo
      @NickOlivo  2 года назад +1

      Hi Gwegil - it looks like you have an extra space between the @ and target and {level}, and I think you're missing a pair of ]]'s as well. Try this: !modbattr --charid @{target | character_id} --silent --hp | $ [[1d10 + @{level}]]

    • @GilbertoCiucci
      @GilbertoCiucci 2 года назад

      @@NickOlivo thx a lot. I'll try and i'll write Here the result.

  • @DmChef
    @DmChef 9 месяцев назад

    could you add a spell if you read a scroll?

    • @NickOlivo
      @NickOlivo  9 месяцев назад

      Yes, though if it's a spell from a source you own (like the PHB or something like that) it may be easier to just drag it from the compendium.

  • @BrianTChamberlin
    @BrianTChamberlin 2 года назад

    best script IMO

    • @NickOlivo
      @NickOlivo  2 года назад

      Yeah, this one and tokenmod are my two biggest go-tos. Thanks for watching and happy gaming!

  • @TaraBryn
    @TaraBryn 2 года назад

    is this broken currently? It's not working for me

    • @NickOlivo
      @NickOlivo  2 года назад +1

      Hi Tara - Roll20 has been making some changes that have impacted some of the APIs. The folks over on this forum might have some insight about this app.roll20.net/forum/category/46806

  • @David_Gallaher
    @David_Gallaher 2 года назад

    So so so good

    • @NickOlivo
      @NickOlivo  2 года назад

      Thanks for the kind words, David! Happy gaming!

  • @emitrin24
    @emitrin24 Год назад

    Not sure if you're still around, awesome work. I have kind of a unique idea that I think would use this feature. I have a feature in my game where healing spells heal for an additional 10% of missing life. Any ideas on how I could make this automated?

    • @NickOlivo
      @NickOlivo  Год назад

      There are a couple of ways you could approach that, but to make sure I understand, how are you handling numbers less than 1? For example, let's say I'm a cleric with a +3 modifier for my Wisdom. I cast Healing Word for 1d8+3, and get a total of 5. That, plus 10% would be 5.5. Do you always round that 10% up? so 5.5 becomes 6? And if you healed 11 points, that 11 + 10% would be 12.1, which becomes 13?

    • @emitrin24
      @emitrin24 Год назад

      @@NickOlivo thanks for the fast reply, it would round up.

    • @emitrin24
      @emitrin24 Год назад

      @NickOlivo this is what I am trying to do. I am probably doing more work than needed, but it works for most things. As you see I need it for feature 4. Might make things faster I don't know.
      !setattr {{
      --sel
      --repeating_traits_-create_name|Enchanted Wisdom
      --repeating_traits_-create_source|Racial
      --repeating_traits_-create_source_type|Glimmer - Feature 1
      --repeating_traits_-create_description|You gain proficiency in Wisdom and Intelligence saving throws.
      }}
      !setattr --sel --intelligence_save_prof|1 --wisdom_save_prof|1 --charisma_save_prof|1 --mod --constitution_base|2 --intelligence_base|2
      !setattr {{
      --sel
      --repeating_traits_-create_name|Green Magic
      --repeating_traits_-create_source|Racial
      --repeating_traits_-create_source_type|Glimmer - Feature 2
      --repeating_traits_-create_description|When you cast a spell or use a feature that restores hit points or grants temporary hit points, you can add an additional 5 to the spell. This extra healing represents the mystical energy of the feywild, which imbues your magic with additional power and potency. You can also remove one crowd control or non permanent curse effect from a creature as part of the spell. The feature’s healing increases by 5 when you reach 6th level (10), 10th level (15), 14th level (20), and 18th level (25).
      }}
      !setattr {{
      --sel
      --repeating_traits_-create_name|Mystic Knowledge
      --repeating_traits_-create_source|Racial
      --repeating_traits_-create_source_type|Glimmer - Feature 3
      --repeating_traits_-create_description|You are Fey and suffer no negative effects from charmed. In addition, you know one Cantrip and one 1st level spell from the support list. These don't count against your spells known.
      }}
      !setattr {{
      --sel
      --repeating_traits_-create_name|Nature's Blessing
      --repeating_traits_-create_source|Racial
      --repeating_traits_-create_source_type|Glimmer - Feature 4
      --repeating_traits_-create_description|You have powerful healing properties. When you heal a creature they regain an additional 5 percent of missing health. This extra 5 percent is calculated and applied before any other healing takes place. The feature increases by 5 percent when you reach 6th level (10 percent), 10th level (15 percent), 14th level (20 percent), and 18th level (25 percent).
      }}

    • @NickOlivo
      @NickOlivo  Год назад

      This Healing Word macro adds an additional 10% of healing - to be more or less, you'd just change the 1.1 multiplier to 1.05, 1.2, or 1.25
      &{template:dmg} {{rname=Healing Word}} {{range=60 feet}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[ceil((1d4 + 3[CHA])*1.1)]]}} {{dmg1type=Healing}}{{hldmg=[[ceil(((1*?{Cast at what level?|Level 1,0|Level 2,1|Level 3,2|Level 4,3|Level 5,4|Level 6,5|Level 7,6|Level 8,7|Level 9,8})d4)*1.1)]]}}
      Best of luck, and happy gaming!

    • @emitrin24
      @emitrin24 Год назад

      @@NickOlivo Perfect so just make every healing spell a macro?

  • @paulfelix5849
    @paulfelix5849 2 года назад

    Hate to be the noob but, hey, I'm a noob. I’m having trouble getting a command to work. I wanted to combine some of the things in this vid and allow a fighter to invoke his Second Wind ability and have his HP updated as appropriate. But… I’ve tried a number of command variations and nothing is working right. I cannot get the command to find and use the character’s level in the computation… it’s not adding that into the 1d10 die roll. I’m sure I’m not understanding something about the command syntax, but can’t figure it out. Here’s is the simplest command I could get. Suggestions?
    !modbattra --name Tewfuel --hp|{{[[1d10]]+level}}!!!

    • @NickOlivo
      @NickOlivo  2 года назад

      Try this !modbattr --name Tewfuel --hp|[[1d10+@{Tewfuel|level}]]!!!

  • @DuqueThivar1
    @DuqueThivar1 2 года назад

    Buen video, aunque no lo entienda al completo, igual entiendo cuando veo tus ejemplos

  • @godsdemon7441
    @godsdemon7441 Год назад

    Nick, you really need to convert some of these D&D ideas to Call of Cthulhu. THere is too much of a character sheet difference. You have good vids but most of it is one sided and worthless to everyone else.