Tabletop Simulator

Tabletop Simulator

Scripted Hold'em Poker Table
This topic has been locked
Skor  [developer] 3 May, 2017 @ 9:31am
Update: 05-03-2017
Scripts updated: Global, Save chests, Back tables (new), fold buttons and hand rankings figurine (just removed 'i = true' line from each)

- Deleted four of the 'side pot' scripting zones and recreated two of them.
- realigned the corner bet squares and their hands to match the tables, for the OCD poker players out there ;).
- Resized player tables (again). I thought I overdid it in the last update, so I reduced the z-scale of the front tables by 33%. The back tables are still the same size.
- Deleted change machines, and added scripts to each player's back-table so everyone has a personal chip converter. The script converts any currency chips on the back half of the back table.
- Non-currency chip objects will not break the chip converter script.
- Named the non-interactable objects and the script now looks for their names instead to make them so. This means you no longer need to add a script 'i = true' to RPG or board objects to keep them interactable. The names that it looks for are: 'Bet Square', 'Table Overlay', 'Front Table', 'Back Table', and 'Dealer Table'.
- Overlay image change now uses reload() instead of deleting and respawning the overlay.
- Save chests now also add the player's steam ID to the description when picked up.
- Added descriptions to busted bombs and tokens: 'Sit out one hand'
- Deleted VR fold button bag since VR players can click hidden buttons now.
- Changed 'Fix Pot' button to 'Update Pot' to avoid confusion regarding its function.
- When an important object or text goes missing (muck, pot, etc), it automatically respawns them instead of printing an error.
- Error messages should be broadcast to all seated admin players.
Last edited by Skor; 3 May, 2017 @ 9:32am
< >
Showing 1-4 of 4 comments
Skor  [developer] 3 May, 2017 @ 11:47am 
Second update:

- Fixed math on spawning custom model chips in the converter.
- Added a box to show where it is.
- Fixed overlay not being non-interactable after it's changed.
Skor  [developer] 3 May, 2017 @ 1:24pm 
Another update:

- Added anti-grouping-troll measure to the chips. How it works: when a player drops a chip or chipstack, if it is on a player's table or backtable, or in a betzone, the chip receives a color tint. It is a small color tint that you can't even see. Chips with different color tints can not be grouped with each other. Chips dropped outside of those zones will be tinted white (the normal color).

- Moved the deck bags slightly.

EDIT: Also added the color-tinting to onObjectSpawn event, so it also works on chips dropped form a stack (they weren't counted as dropped objects)

EDIT2: Then fixed error with custom currency.

EDIT3: OK, I really fixed fixed custom currency now. It wasn't color tinting before because I forgot some dumb parentheses.
Last edited by Skor; 3 May, 2017 @ 1:45pm
Skor  [developer] 3 May, 2017 @ 1:48pm 
Edit4: Oh yeah, btw, I added it to cards too, but it doesn't work on them, unfortunately. I'm considering locking cards in hands or something. I'll think about it.
Skor  [developer] 3 May, 2017 @ 3:00pm 
New update:
- Chips in bet squares can be grouped with chips on player tables again, as requested. I'll probably make an option to toggle this later.

- A player's cards dropped face-up into another player's hand will not trigger hand evaluation.
< >
Showing 1-4 of 4 comments
Per page: 1530 50