Carcassonne для Tabletop Simulator
This mod includes all official expansions for Carcassonne (ver. 1)
It also includes scripted setup, rule enforcement, and automated scoring for the following expansions.
Major expansions:
- Inns & Cathedrals
- Traders & Builders
- The Princess & The Dragon
- The Tower
- Count, King & Robber
- Abbey & Mayor
- Hills & Sheep
- Wheel of Fortune
Minor expansions:
- The River (all types)
- The Flier
- The Goldmines
- Games Quarterly
- Russian Promos
- The Phantoms
More expansions will be added in the future, provided there is interest. Leave a comment below to request your favorite expansion. My public road-map can be viewed here:
https://trello.com/b/3YNFvv9C/tts-carcassonne-road-map
You can find the rules in the notebook in-game. However, CAR is a really good consolidation of the rules: https://boardgamegeek.com/filepage/87531/carcassonne-standard-complete-annotated-rules
- Customizable automatic setup
- Automatic turn flow consistent with the rules
- Hotseat support
- Tile validation
- Figure validation
- Automatic tile transversal and scoring with feature marking
- Automatic token distribution and scoring
- Saved game & rewind support
- AI player (with different difficulty levels)
NOTE: I don't accept random friend invites, so if you need to talk to me you should post in the comments section.
Should you run into any issues, it would be very helpful if you can provide a save file. Know that if you do run into any problems, you may be able to recover your game by saving your game, then loading it. This should reset most of the values to a working state. You may have to do some manual cleanup and/or score adjustment, if a partial turn had been done.
The following issues are already known:
- Rewinding doesn't always work - The game currently doesn't handle coroutines, timers, and moveToPositionSmooth very well when it comes to rewind states. The most common problem would be the state is saved while a piece is being moved, in which case it would have stopped moving and fallen to the table. If this happens during the scoring phase, it is possible for a follower to be scored twice (either on the same feature or a completely different one). Also, if a tile is being drawn via code (ie. AI or a buried hill), it will draw another tile from the top of the stack when loaded. If the new tile collides with the old tile, it may combine and cause even worse problems. On the rare occasion that you rewind to a broken state, simply rewinding again might give you a better state.
I tried to work around some of the most common issues, but decided it would be best not to bother with the more complex ones. I did, however, suggest a change to the API that would make things much easier: http://www.berserk-games.com/forums/showthread.php?3430-Autosave-control
- Playing with a lot of tiles will cause stutters during auto-saves - Could also be fixed by the above. Another solution could be to not store tile data within tiles themselves. The downside to this would be that users would no longer be able to copy-paste tiles to play with multiple sets. For now I'd recommend playing with smaller sets. I think deleting the setup bags after the game starts should help a bit too.
- Shuffling the tiles can lead to weird problems, including images failing to load and tile script data failing to load - Recommend letting the mod shuffle tiles on it's own. If you mess something up and need to put a tile back and reshuffle, do so at your own risk. Bug here:
http://www.berserk-games.com/forums/showthread.php?3275-BUG-Issue-shuffling-cards-with-scripts
- Rotating a tile after it has been dropped is ignored by the scripts - This can be easily worked around by picking the tile up and dropping it again. Otherwise, there currently there is no event to notify the script when this happens. To fix it, the event will need to be added. Suggestion here: http://www.berserk-games.com/forums/showthread.php?3541-TTS-Scripting-is-missing-essential-events
- Notebook logging feature doesn't work - Caused by this bug in TTS: http://www.berserk-games.com/forums/showthread.php?2930-BUG-cannot-use-editNotebookTab-on-grey-notes
- For more small quirks, see the Mod FAQ in the mod's notebook.
If you are interested in learning from the code, copying the code, or contributing code to this mod, you can find it at Github:
https://github.com/DinnerBuffet/TTSCarcassonne
Scripting by Sancho with exception to The Ferries, which was scripted by Sigma88
TheLimeyDragon for adding tile data to Bridges, Castles, and Bazaars, The Catapult, Wheel of Fortune, Ferries, Crop Circles 1, Crop Circles 2, German Monasteries, Dutch/Belgian Monasteries, The School, Mage & Witch, The Robbers, Siege, Besiegers, Cathars, The Plague, La Porxada, Darmstadt, The Tunnel, and The Festival.
This mod was adapted from MrStump's mod: http://steamcommunity.com/sharedfiles/filedetails/?id=709121727
His mod was made from the combined contribution of these people:
- The T: For all of the fantastic scans, the hard work porting them all into tabletop.
- Ax448: for most of the figure models
- I liek Potatoez: For their great work including rules for each expansion in the notebook and adding the correct expansion Follower into their expansion bags.
- PSDgraphics: For the table artwork (https://www.psdgraphics.com/)
- Demian: For the table extension used to hold the expansion bags. His mod: https://steamcommunity.com/sharedfiles/filedetails/?id=644539498
MsFairyViolet for color-correcting most of the major expansions
RiceKun for redoing the meeple + mayor models and improving the collision boxes of the dragon and the tower pieces
rhodesmas on freesound.org for the scoring sound, and shinephoenixstormcrow for the mp3 version.
My wonderful [strike]girlfriend[/strike] wife, Jenny, for the Traditional Chinese translation and majority of the testing
My other testers: evilcarebear and Fear
Thanks to Huffel for inspiration with his fantastic Settlers of Catan mod: http://steamcommunity.com/sharedfiles/filedetails/?id=694025908
Geohound from carcassonne.wikia.com made some of the art that I used in the control panel.
The rules are based on the contents of Carcassonne Annotated Rules (CAR) v7.4, by Christopher Ober. I also used several of its icons.
If you like this game, you'll love it in real-life! You can purchase the new edition from their website:
https://www.zmangames.com/en/products/carcassonne/
It also includes scripted setup, rule enforcement, and automated scoring for the following expansions.
Major expansions:
- Inns & Cathedrals
- Traders & Builders
- The Princess & The Dragon
- The Tower
- Count, King & Robber
- Abbey & Mayor
- Hills & Sheep
- Wheel of Fortune
Minor expansions:
- The River (all types)
- The Flier
- The Goldmines
- Games Quarterly
- Russian Promos
- The Phantoms
More expansions will be added in the future, provided there is interest. Leave a comment below to request your favorite expansion. My public road-map can be viewed here:
https://trello.com/b/3YNFvv9C/tts-carcassonne-road-map
Rules
You can find the rules in the notebook in-game. However, CAR is a really good consolidation of the rules: https://boardgamegeek.com/filepage/87531/carcassonne-standard-complete-annotated-rules
Features
- Customizable automatic setup
- Automatic turn flow consistent with the rules
- Hotseat support
- Tile validation
- Figure validation
- Automatic tile transversal and scoring with feature marking
- Automatic token distribution and scoring
- Saved game & rewind support
- AI player (with different difficulty levels)
Issues
NOTE: I don't accept random friend invites, so if you need to talk to me you should post in the comments section.
Should you run into any issues, it would be very helpful if you can provide a save file. Know that if you do run into any problems, you may be able to recover your game by saving your game, then loading it. This should reset most of the values to a working state. You may have to do some manual cleanup and/or score adjustment, if a partial turn had been done.
The following issues are already known:
- Rewinding doesn't always work - The game currently doesn't handle coroutines, timers, and moveToPositionSmooth very well when it comes to rewind states. The most common problem would be the state is saved while a piece is being moved, in which case it would have stopped moving and fallen to the table. If this happens during the scoring phase, it is possible for a follower to be scored twice (either on the same feature or a completely different one). Also, if a tile is being drawn via code (ie. AI or a buried hill), it will draw another tile from the top of the stack when loaded. If the new tile collides with the old tile, it may combine and cause even worse problems. On the rare occasion that you rewind to a broken state, simply rewinding again might give you a better state.
I tried to work around some of the most common issues, but decided it would be best not to bother with the more complex ones. I did, however, suggest a change to the API that would make things much easier: http://www.berserk-games.com/forums/showthread.php?3430-Autosave-control
- Playing with a lot of tiles will cause stutters during auto-saves - Could also be fixed by the above. Another solution could be to not store tile data within tiles themselves. The downside to this would be that users would no longer be able to copy-paste tiles to play with multiple sets. For now I'd recommend playing with smaller sets. I think deleting the setup bags after the game starts should help a bit too.
- Shuffling the tiles can lead to weird problems, including images failing to load and tile script data failing to load - Recommend letting the mod shuffle tiles on it's own. If you mess something up and need to put a tile back and reshuffle, do so at your own risk. Bug here:
http://www.berserk-games.com/forums/showthread.php?3275-BUG-Issue-shuffling-cards-with-scripts
- Rotating a tile after it has been dropped is ignored by the scripts - This can be easily worked around by picking the tile up and dropping it again. Otherwise, there currently there is no event to notify the script when this happens. To fix it, the event will need to be added. Suggestion here: http://www.berserk-games.com/forums/showthread.php?3541-TTS-Scripting-is-missing-essential-events
- Notebook logging feature doesn't work - Caused by this bug in TTS: http://www.berserk-games.com/forums/showthread.php?2930-BUG-cannot-use-editNotebookTab-on-grey-notes
- For more small quirks, see the Mod FAQ in the mod's notebook.
Github
If you are interested in learning from the code, copying the code, or contributing code to this mod, you can find it at Github:
https://github.com/DinnerBuffet/TTSCarcassonne
Credits
Scripting by Sancho with exception to The Ferries, which was scripted by Sigma88
TheLimeyDragon for adding tile data to Bridges, Castles, and Bazaars, The Catapult, Wheel of Fortune, Ferries, Crop Circles 1, Crop Circles 2, German Monasteries, Dutch/Belgian Monasteries, The School, Mage & Witch, The Robbers, Siege, Besiegers, Cathars, The Plague, La Porxada, Darmstadt, The Tunnel, and The Festival.
This mod was adapted from MrStump's mod: http://steamcommunity.com/sharedfiles/filedetails/?id=709121727
His mod was made from the combined contribution of these people:
- The T: For all of the fantastic scans, the hard work porting them all into tabletop.
- Ax448: for most of the figure models
- I liek Potatoez: For their great work including rules for each expansion in the notebook and adding the correct expansion Follower into their expansion bags.
- PSDgraphics: For the table artwork (https://www.psdgraphics.com/)
- Demian: For the table extension used to hold the expansion bags. His mod: https://steamcommunity.com/sharedfiles/filedetails/?id=644539498
MsFairyViolet for color-correcting most of the major expansions
RiceKun for redoing the meeple + mayor models and improving the collision boxes of the dragon and the tower pieces
rhodesmas on freesound.org for the scoring sound, and shinephoenixstormcrow for the mp3 version.
My wonderful [strike]girlfriend[/strike] wife, Jenny, for the Traditional Chinese translation and majority of the testing
My other testers: evilcarebear and Fear
Thanks to Huffel for inspiration with his fantastic Settlers of Catan mod: http://steamcommunity.com/sharedfiles/filedetails/?id=694025908
Geohound from carcassonne.wikia.com made some of the art that I used in the control panel.
The rules are based on the contents of Carcassonne Annotated Rules (CAR) v7.4, by Christopher Ober. I also used several of its icons.
If you like this game, you'll love it in real-life! You can purchase the new edition from their website:
https://www.zmangames.com/en/products/carcassonne/