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

Creating my first game on Roll20

Hi everyone, With our city going into lockdown, I've been trying to figure out a way for my family/friends and I to play a boardgame we like to play at get together's. That brought me to roll20 and I think it is amazing! Thank you for this!!! I've designed the board, added a deck of cards, added poker chips, and figured out the dice. But there are a few things I'd still like to have some help with. 1. Is there a way for chips to be automatically removed from a players stack and then added to the pot? Basically a counter. One that minuses from the total of chips in their hand and adds to the total of chips in the pot? I think a script needs to be created to create the macro, (from what i've been reading in the documents), but, how do you do that? .... (newbie to javascript) 2. The winner is declared by having a token reach the end first. However, multiple players could be winners, if they have certain cards in their hands. Is there a way to trigger a "Winner" macro, once the token reaches the end and highlights the card (associated to that token) in a players hand? For example. The token associated to the Queen wins. There are 4 queens, so would it be possible to show who has the queens, somehow? Maybe highlight the name in the Player turn box?  or make the card flash in their screen? 3. Can an action trigger a sound effect? I'd like to have a clip play at the start of each round and i'd like to have a sound effect when someone rolls a "scratch" and has to pay into the pot? These may be big asks, and i'd appreciate any help with this. At this point, I can do everything manually, but it would be nice (and really impressive to my friends/family) if I could get this to work automatically, Thanks for your time!
1608151744
Gold
Forum Champion
Hi! This sounds fun, and hard work you're doing. 1. I don't know, not sure if I am visualizing this one. Perhaps each player's "CHIPS" pile could be a numerical stat, in a bubble/bar, on a Token. And the "POT" could be another Token that also has stat bubbles. Then yes you could (manually or with API script), take away Chips (digits from the Chip token), and move/add those digits/points to the POT token's statbubble. Would that do? 2. Not sure, maybe, and could you just do this one verbally and socially? GM could say: "Everyone who has Queen is a winner! Type YAAASSS QUEEEEN in the chat if you have queens!" Rather than automating it.  Doing this one automatically with a script may-be possible, not sure myself if the API can track what Cards each player has. Keithcurtis might know this answer. 3. Yes, Roll20AM (Audio Manager) is a community-created API script, available easily in the One-Click. You can configure it to do this.
Thank you Gold! It's been a few days in and our first family/friend game night is this Saturday, so i've been stressing to get this perfect lol! And yes, it's a lot of fun, everyone gets into it, cheering for their horse to cross the finish line! 1. For the pot, I created it as a token, with a picture of a cauldron. So it does have the bubbles on top of it. For the chips, i've created a deck, and used a picture of chips so that it is in their hands, and I can "deal" to them their starting amount. I never thought of it being a token, would the chips appear in their hand? As for the player turn to show, it will only appear if their is a token correct? So this might be the way to go. 2. LOVE IT hahaha and so would everyone else, ok, that will probably be the best way :) 3. I will definitely check out Roll20AM! Thanks so much for your reply!
Quick update: I checked out Roll20AM and added it and now I have sound effects triggered by a MACRO :D Thanks for the suggestion! For newbies, I watched a youtube tutorial that really explained what to do after you install the script, in case anyone was like me, saying now what? here's the link: <a href="https://www.youtube.com/watch?v=V0GqlU3vrTk" rel="nofollow">https://www.youtube.com/watch?v=V0GqlU3vrTk</a>
1608157205
Gold
Forum Champion
Sounds great. 1. Could you do Chips the same way you did the Pot (a token, with bubbles tracking the actual number contained). I may be wrong, but I am thinking MAYBE consider abandoning using Card Decks (Roll20 feature) as the Chips and Hand. Chips could be either tokens (1 token per chip, each player gets a lot of tokens).&nbsp; Or the CHIPS could be 1 token per Player, with a Bubble or 3 bubbles used for counting the "Number of chips" (you can set the bubble's values as bars to be visible or invisible to other players).&nbsp; Or, speak to us, the thread, more about why you want card-decks &amp; hands, or what benefit that's giving you for this. 2. You can jazz this up, lots of ways, think of the game BINGO where the winner(s) has to shout BINGO! when you win. So you can make a Macro (Button) called "I WIN" or "Yaaaas Queen" or "Bingo Button" or whatever. This button can produce lots of cheering, different types, such as: Printing in the chat room "[PLAYER NAME] is a winner!" Go nuts and make a Rollable Table called "Winner-Names" then you can make the macro do "[PLAYER-NAME] is [1t[[Winner-Names]]]!" so it will randomly say things like "Jill is a victor!" or "Juan is A Rebel Dreadnaught!". Wild-hilarious power hint, you can put a lot of Emoji into the Rollable Table also. Try to choose common emoji that will show up on Windows or Macs. Now you can randomly generate "Jill is a [SMILEY FACE] Winner!!" Set off a Special FX, particle effects visuals. This can do confetti, explosion, cotton candy pink highlight splatter, etc. Put a GIF into Chat Room with [Title For The GIF](<a href="http://Url.Url.Url-of-the-GIF.gif" rel="nofollow">http://Url.Url.Url-of-the-GIF.gif</a>) code. Like a lolcat cheering.&nbsp; Play a sound using !Roll20AM api script commands&nbsp; Rollable Table instructions, Special FX code instructions, and Roll20AM command instructions, might be needed, you can look those up or ask. 3. You got this!
Thank you so much!!!! I love the MACRO button idea and a Rollable Table with Winner Names, will definetely look into that! As for Chips in hand, I'm just trying to emulate the game in real life. Chips are important. The token that reaches the end first, wins the round, but chip leader wins the game entirely! But, now that I've got the sound effects set up, i'll start exploring chips as tokens. Can I set how many chips each token contains? If a player puts a chip in the cauldron, could I set it up so that it adds to the (bubble) count in the cauldron and removes from the players token count? Also, Can I just have one bubble? I feel like 3 bubbles for every players token would take up a lot of space in the screen, especially if they are empty. Really appreciate your help! :D
Omg, so, if you have the discard option selected for a deck, you can place your card back on top of the pile and it disappears and lowers your count in your hand. So I tried it with my 'chip', I had 10 in my hand and as soon as I dropped it, it disappeared and I only had 9. This is exactly what I was looking for! But, could I tie it into the cauldron token, where somehow it adds to the count. Is there a Macro that could do that?
Update I brought the cauldron to the top layer, and will have players grab a chip from their hand and place it into the cauldron. It drops inside of it. It's actually pretty cool the way it looks. This reduces the players chip count. As for increasing the pot count, i've decided to to add the "Pot" to the Turn Tracker. Beside each name there is a spot for numbers to be entered. I've decided to just manually enter the chip increment as a player is adding their chip to the cauldron, next to the "Pot's" name in the Turn Tracker. This way we can keep track of how much is in the pot, have it updated quickly, and everyone can see. I've been scouring the internet and documents and I don't see any other way to do it. I don't even think there is a script available. Will check this part as done and move on to Gold's suggestions for the Winners Thanks again for the help!
1608204168
Gold
Forum Champion
creative use of the Turn Tracker, that sounds good
Thanks Gold ;)