Tabletop Simulator

Tabletop Simulator

Roulette (scripted)
28 条留言
Villain von Badguy 6 月 25 日 下午 4:33 
Hey! Tried to download this to test but it seems like there are assets missing? It keeps failing to load a pastebin link, is there any solution or is mod no longer supported?
LANFR4 2023 年 1 月 1 日 下午 12:50 
can auto spin? how?
Sancho  [作者] 2020 年 7 月 7 日 下午 6:59 
@Moarty, thanks for the offer but I'm no longer working on TTS mods. You might be able to find someone on the discord channel that would do it. Anyone that wants to can use the code i have written so far.
Moarty 2020 年 7 月 7 日 下午 5:44 
Hey! Add me so I can message you! Are you interested in adding some features to this for pay?
kadencabs 2019 年 9 月 15 日 上午 10:19 
it has blue box with question mark
Kodi022 2019 年 6 月 30 日 下午 7:38 
you can drop the ball onto the roulette wheel on the number you want and it won't spin and actually give that number. Other than that great work. Would like a conversion table or something to easily change chip value
HugoN 2019 年 5 月 12 日 下午 3:04 
Works good now!
Sancho  [作者] 2019 年 5 月 12 日 上午 11:08 
@HugoN1, thanks for letting me know! I spoke with the dev and he thinks the physx update changed the way in which the object's resting state gets updated. I changed the coding to get around this and uploaded a fix.
HugoN 2019 年 5 月 12 日 上午 3:25 
I think the new update broke something, when the wheel stops it doesn't give or take away what someone bet
Sancho  [作者] 2018 年 12 月 26 日 下午 11:18 
@BlueNexus,

This was the first mod I made and I had no idea you could identify an object's type without using name/description when I first wrote it :)

Anyhoo, I uploaded a new version. I used the same method as MrStump, so chips no longer need to be named "Chip". You can also now put the value of the chip in the name (ie. $10000). Editing the script file of the chip is no longer necessary.

A note that only custom chips needs to be named with the value in the name. Standard chips can have any name, including the names he used in his mod. However, in order to identify the owner of the chip, they must still have the player color in the description. You'd need to make some changes to his mod in order to make that work correctly.
BlueNexus6674 2018 年 12 月 26 日 下午 12:53 
Why don't you use the same method of recognising chips as MrStumps? by using a chip list of 'names', then you can still use the 'chip value' part of your script.
Sancho  [作者] 2018 年 12 月 26 日 上午 9:37 
Considering so many people have been confused by the way I implemented custom chips, maybe I should just change my mod to be the same as MrStumps. Let me see what I can do.
BlueNexus6674 2018 年 12 月 26 日 上午 8:07 
@sancho, I've tried using MrStumps, slight problem however, his script requires each chip set be required to be names differet (i.e $50, $40), rather than "chip", I dont fully understand the modding api, but I might be able to give you a hand on a workaround?
Sancho  [作者] 2018 年 12 月 25 日 下午 2:20 
As for a trading system, I won't be adding one myself but anyone that is interested can feel free to update this mod and upload it separately. I recommend MrStump's universal chip converter as a start.
Sancho  [作者] 2018 年 12 月 25 日 下午 2:17 
@BlueNexus, load your saved chips of choice. ie. I just tested with these: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1088487453

Name them "Chip" and put the color of the player in the description (ie. White). Save the game and load it, then edit the scripts on the chips and add "chipValue = 1000" or whatever in them. Save and run the scripts.

If this sounds convoluted it's because TTS doesn't support custom values on custom chips.

You can also use any of the standard chips (10, 50, 100, 500, 1000). Just put name them "Chip" and put the color of the player in the description.
BlueNexus6674 2018 年 12 月 25 日 上午 1:21 
Also how do you implement the custom chips? they arn't working for me?
BlueNexus6674 2018 年 12 月 25 日 上午 1:12 
I'd love a trading system for the chips
LetrollOnPC 2018 年 11 月 11 日 上午 8:45 
Can we get a trade up/down system for the chips? Also it works very well.
Sancho  [作者] 2018 年 3 月 1 日 上午 6:45 
Pick up the ball with left-click
While hovering over the wheel, press and hold right-click (while still holding left-click)
Move the mouse with the wheel quickly and release left-click
ellibod 2018 年 3 月 1 日 上午 6:08 
How did you get the ball to spin properly
Sancho  [作者] 2018 年 2 月 19 日 下午 5:03 
@JD, if it falls off the table, it will respawn in the middle of the table. If you deleted it, save your game, start fresh from the workshop, save the ball to your items, load your game again, then spawn the saved item.
JD 2018 年 2 月 19 日 上午 4:11 
what happens when you lose the white ball
Baucans 2017 年 11 月 8 日 上午 9:20 
looks good
Sancho  [作者] 2016 年 9 月 23 日 上午 11:09 
I'm interested to see what you did, but I need to get off for now. Feel free to add me and hit me up so I can take a look. I'm definitely not happy with the current spinning since it's too easy for the ball to go flying off the wheel, so a better solution is needed.

As for the ability to restart, I might consider adding something. Do you have any suggestions? Some other roulette mods have some kind of penalty like needing to sit out for several rounds.
MrNobodyX3 2016 年 9 月 23 日 上午 8:45 
I made a funnel for ease of spinning if you want to join my game to save it...

I was just noting that if someone goes bankrupt I can't restart the color chip without going in and changing the discription
Sancho  [作者] 2016 年 9 月 23 日 上午 7:50 
Thanks for letting me know. I've updated it with a fix for not detecting 0. As for "can't get chips back with restart", I'm not actually sure what you mean. Can you elaborate?
MrNobodyX3 2016 年 9 月 23 日 上午 6:19 
found issue; does not detect 0 & 00
MrNobodyX3 2016 年 9 月 23 日 上午 6:03 
one complain... can't get chips back with restart