Tabletop Simulator

Tabletop Simulator

Not enough ratings
Fully Scripted Chess
   
Award
Favorite
Favorited
Unfavorite
Type: Game
Number of Players: 2
File Size
Posted
Updated
108.598 KB
19 Mar, 2021 @ 2:24pm
20 Mar, 2021 @ 4:01pm
2 Change Notes ( view )

Subscribe to download
Fully Scripted Chess

Description
Chess on TTS, but fully scripted!
Features scripted moving and capturing, check/checkmate/stalemate detection, support for all special moves, timed modes, and more.

There are two ways to move your pieces:
- Select a piece by clicking it, then click on the destination square
- Click and drag a piece to the destination square

A common annoyance may happen when you try to move a piece one square forward (relative to your camera) using select-and-click. The piece itself may block the square you are trying to click, causing you to deselect it. To avoid this, use click-and-drag when moving pieces one square forward.

NOT CURRENTLY SUPPORTED
- Undoing moves (use rewind time instead)
- Detecting repetitions
- Fifty move rule

This mod is a work in progress. If you encounter issues, rewinding time to before they occurred will usually fix them.

Please comment about any issues you encounter. For chess gameplay irregularities, please also include a screenshot of the state of the board.

Feedback is always appreciated.

Fork here: https://github.com/michael-c-123/tts-scripted-chess
7 Comments
Ghotrix 1 Jan, 2024 @ 6:51am 
great mod, but I wan't been able to "press" any MOD related buttons in VR, can you fix it?
PROMAN 10 Apr, 2021 @ 12:31pm 
Amazing! I use this all the time now. It would be nice if there was some different chess boards and pieces options. The default wood and metallic is nice but isn't amazing. It looks like you already have most of the code to add new themes. That's a feature I would love to have :)
cowgoesmoo33  [author] 31 Mar, 2021 @ 12:06am 
https://github.com/michael-c-123/tts-scripted-chess

I must warn that the code is a bit of a mess lol. If you have any questions, please let me know.
Ramun Flame 30 Mar, 2021 @ 9:52pm 
@Linkjay

You can access the script of any mod (except dlc) by going to the modding tab at the top then clicking scripting.
Linkjay 30 Mar, 2021 @ 9:27pm 
This is super cool! Is it possible you could upload your source to GItHub or something of the like? I'd like to check it out and make modifications to improve what you have
cowgoesmoo33  [author] 20 Mar, 2021 @ 4:09pm 
Thanks for the great suggestions! I think I'll hold back on trying to make a computer opponent though, as I think it will be beyond my abilities to get it to play at any reasonable level (or to somehow integrate a chess engine). As for the others, I'll definitely work on implementing them.
Ramun Flame 19 Mar, 2021 @ 3:36pm 
Very nice! A few features that would be nice to have, although it's already good.

-Full move history in the chat.
-Undo moves without rewind time.
-Remove unneeded seat colors(only need two).
-Keep captured pieces on the table(don't delete them, put them off to the side).
-Computer opponents.

If you are interested in implementing any AI, I would be happy to provide the framework I use for AI on my mods(Animations/Potraits) and explain how to implement it here. I wouldn't know anything about getting them to play well though.

Thanks again for the mod.