Tabletop Simulator

Tabletop Simulator

Not enough ratings
Universal Blackjack Table
   
Award
Favorite
Favorited
Unfavorite
Assets: Scripting
Tags: Misc
File Size
Posted
Updated
848.450 KB
Oct 8, 2016 @ 10:59pm
Mar 24, 2017 @ 2:25pm
8 Change Notes ( view )

Subscribe to download
Universal Blackjack Table

Description
I've created a new version of this table called Universal Blackjack Reboot. It has all the same features but a new design and a few new ones. The scripting is also a lot more involved, while still being simple (I hope) to modify.

Displays Fixed 3/24
Today's update allowed for me to fix the miss-scaled scripting zones. We basically just take the scripting zone's scale into account.

What is it?
This is a fully playable blackjack table with power-ups and many ease-of-use features. But unlike other tables, this one is specifically designed for you to modify it to fit your preferences. It even has a unique power-up handling system that lets you select from a list of effects and possible targets for a power-up you want to add. It also runs smooth like butter because there are not hundreds of models in use.

Features
  • Scripted Powerups: The feature I am most proud of. There is a list of power-ups. Each power-up has a "who" and an "effect", with the possible options being spelled out in the script. Using those, you can create a fairly wide variety of power-ups. Set one power-up to "Other Player" with the power of "Swap" and you can exchange your hand with someone else by dropping that power-up type into another player's card zone. Or instead make the effect "Clear" to delete their hand. Or "Redraw" to delete their hand AND draw a new one. Or "Clone" to copy their hand to yours after removing your cards. Or "Draw 1" to make them draw an extra card. Or change the who to "Dealer Only" and now you can enact all those same powers onto the dealer instead, but not other players.

    You can do all of this with basically 0 scripting knowledge. All you need to do is get a figurine, name it, then put an entry into the "powerupEffectTable" in the script to get the desired results. And if you have scripting knowledge, I set it up to be VERY easy to enact new power-ups. If you can write the effect function and it is easy to include it into the rest of the power-up logic as a new type of effect that will work with all the "who" options..

  • Deal Button: Press Deal to give each seated player with a bet in front of them a pair of cards and the dealer. Dealing also clears the Dealer's and player's hand areas of cards/powerups automatically.

  • Hit Button: Each player's (and the dealer's) counter acts as a "hit" button (usuably by the dealer/promoted/host only). Clicking it will add another card to their hand from the deck. The only time the dealer has to touch the cards is to flip over their face-down card. Instructions to disable this function are in the version history notes.

  • Pay Button: Each player has one in front of them. If the dealer clicks it, the player gets a 1:1 payout of their bet and their card zone is cleared of cards/power-ups. Click the button again to make it into a 2:1 payout, or again for 3:1, etc.

  • Clear Button: Each player has one in front of them. If the dealer clicks it, the player has their bet removed and their card zone is cleared of cards/power-ups.

  • Automatic Blackjack Checker: If the dealer has 2 cards, and 1 of them is face down, the script will always check if the dealer has a blackjack. If they do, the script will flip the face-down card and announce the blackjack to the server.

  • Card Zone Counters: Card zone counters included for both the players and the dealer. They are NOT color coded dependant on value, because I cannot change the color of the buttons and they are not attached to a prop for me to change its color. If they add colorable buttons in the future, I will update. See the notebook though if you want to update the script so that when the displays go over 21 it shows an X to indicate busting instead of a number or something similar.

  • Chip Converter: Chip converter, to combine or split chips up/down in value, is included on the table. Easy to change the chip types/name if you desire. All my values go up by 10 ($1, $10, $100, etc etc for a LOT of zeros) because I find most people wind up in the millions pretty quickly anyway where the values start to do that.

  • New Deck Button: Set up decks with the cards named correctly (see included deck/Global config section for details) and place them into infinite bags. Once you give those bag's IDs to the script, it will pull a deck from one of those bags at random. It also works with a single bag, like in the default example I made. If the deck runs out, click the button. If you want a replacement, click the button and the old deck will be removed and replaced with a fresh one.

  • Trash Can: Simple but useful, any item/s in the trashcan when the Empty Trash button is clicked will be removed. Easy.

  • Support for Value Power-ups: +3 to hand, -1 to hand, etc. All can be added. In short, you name your power up and then add it to the script as a type of "card". Just follow the in-script instructions and it should be a breeze.

  • Fancy Code: I put forth my best effort, code wise, on this table. I have made it as low-impact as I am personally capable. I am happy with the result.

  • Instructions: I have included quite a bit of various instructions. Read over the notebook in-game to get a better feel for the type of things you can do. And check out the FAQ there too.

Mini-games are not included, but that is sort of the idea behind this table. It isn't full of someone else's toys. It is a platform for you to build your own, even if you can't script. Personalize it. Change the table surface, add in mini-games. Add displays with power-ups or fancy save chests to "buy". The "skeleton" that you need to build it all is already there and (I hope) easy to access. Add your own features and personality, make it yours. I appreciate a credit somewhere, but once you start building on it, it becomes yours.

Or if you want a blackjack table WITHOUT all the special custom models and stacks of minigames and such, well, here it is.

UPDATE: Check the change log for changes.

Feeling rich? Buy me something pretty.
[www.paypal.com]
27 Comments
Fatal Reaper May 19, 2020 @ 5:25pm 
How do you go about making your own table?
MrStump  [author] May 1, 2017 @ 8:17pm 
Probably a model or two. I'm working on a new table currently though that won't use those models.

As it is, you can just replace those missing models. They were only meant as placeholders anyway.
dc May 1, 2017 @ 1:56am 
Seems to be some missing files
MrStump  [author] Feb 27, 2017 @ 3:48pm 
The missing file I will fixed, I picked some random models for my powerups and one is a dead link. As for the stretched button, It is part of the changes from 2/17. An improved solution will be coming, check back some time after the next update.
MrNobodyX3 Feb 27, 2017 @ 12:05am 
There seems to be a missing file and the buttons are now stretched.
Trigger Feb 13, 2017 @ 11:58am 
During the time I've played my table. I have never seen the power up block global power up
Ludoliciouss Feb 2, 2017 @ 5:59pm 
Just prices people can buy with their chips, or other things just something else to spend your chips on :)
MrStump  [author] Feb 2, 2017 @ 4:20pm 
Increase the chance of certain powerups what? Being given to people? Depends how you give them. If it is a random give from a sack, just add more of X to the sack to raise the odds?

DFG: Add prices for what?
Trigger Feb 2, 2017 @ 2:39pm 
Is it possible to increase the chances of the global power ups for like block powerups and others that I rarely see?
Ludoliciouss Feb 2, 2017 @ 9:38am 
Maybe adding prices? Great table love playing and hosting, if you can add prices that will be awesome, I tried to do it myself but i'm to noob xD