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.

Settlers of Catan

My current project... so that a friend several hundred miles distant can join us for board game nights. The hexes were made using the artwork found here: <a href="http://avangion.deviantart.com/art/Alternate-Catan" rel="nofollow">http://avangion.deviantart.com/art/Alternate-Catan</a>...
1414252993
Gen Kitty
Forum Champion
Hee! One of my favorite games (Knights & Cities being my favorite flavor)
Got the number tokens done. Made them a card deck. Kinda tedious since you have to upload an image for each card and have to do that twice for every number except 2 and 12. Wish we could just tick a box that lets us define how many of a specific card are in the deck. Especially since I'll have to make a second deck for the 5-6 player game and duplicates of those for the house rules my girlfriend and I use. &gt;_&lt;
1414256999
Gen Kitty
Forum Champion
Eh? You don't need to upload multiple copies of a card. <a href="https://app.roll20.net/forum/post/1292104/copies-of-cards#post-1292104" rel="nofollow">https://app.roll20.net/forum/post/1292104/copies-of-cards#post-1292104</a>
Not upload, but you have to create a card for each one in the deck you want to be able to use. So if you want ten Plains, you have to create ten plains cards and set the image each time.
1414266857
The Aaron
Roll20 Production Team
API Scripter
You can't create decks through the API yet, but you can update all the necessary fields. For a script I wrote for Keiss a while back, I had it setup the deck with images for all the cards along with their name. I just created the deck, gave it a name, clicked add card 42 times and ran the script, which grabbed all the cards for the deck (it knew what the deck was named) and made each of them into the right card: case '!bt-setup-deck': var deck = findObjs({type:'deck',name:'Map Cards'})[0]; if(deck) { var deckCards=findObjs({type:'card',deckid:deck.id}); _.each(Tiles,function(t){ if(!t.special) { var c=deckCards.pop(); if(c) { c.set({ name: t.name, avatar: Cards[CardNumFromWhere(t.where)].imgsrc }); } else { log('No card available for: '+t.name); } } }); } break; I know you could write something similar for setting up your numbers and tiles. The only obnoxious part is getting all the image urls and tying them to the right name.
1414425343
The Aaron
Roll20 Production Team
API Scripter
Gozer the Gozerian said: Would it be possible to get a copy of that? Of what?