Tabletop Simulator

Tabletop Simulator

Camera Control Tool (using shortcuts) [v1.2]
31 Comments
Zothen Oct 30, 2023 @ 2:40pm 
Seems the camera tokens are broken and cant be loaded any longer.
Help anybody?
lalalatio Jan 6, 2022 @ 10:33am 
Could you consider implementing this feature?
It would be even more convenient than typing keys on the keyboard.
Unreal Ed  [author] Jan 6, 2022 @ 8:48am 
Not currently, but it would be easy to make a version with a button that moves the camera, yes
lalalatio Jan 6, 2022 @ 3:44am 
Hello Unreal Ed,
would it be possible to change camera directly by clicking on your item camera?
Getsu Mar 24, 2021 @ 10:55pm 
Hi guys!!!! Just want to say that the first method is IN TTS. All you have to do is set your camera however you want then hold CNTRL and press any number 1-9 (0 is for the hotseat and relates to everyone). If you want to recall the camera just hold SHIFT and press the number. Here is a pro tip - you can use use 3rd person view (you are automatically in this when you enter) and have the camera at an angle. If you shift to 1st person view by pressing 'P' then it will shift your view to directly down on your item, so its like getting two cameras for the price of one!!!! This mod is great for the name one. Here is the webpage: https://kb.tabletopsimulator.com/player-guides/camera-states/
Jukse Mar 1, 2021 @ 4:04pm 
Shocked this wasn't in the game in the first place. Makes unscripted games with complex boards a joy. Thanks, Ed!
Unreal Ed  [author] Feb 8, 2021 @ 9:04am 
You can suggest the feature on here: https://tabletopsimulator.nolt.io/
Janvier Feb 8, 2021 @ 2:03am 
Thanks for the tool! Stumbled upon it while looking for instant cameras. It doesn't solve that issue but it does help me ensure my friends online will have access to the cameras I set up in my mods.

When will they add instant cameras? Even at 1000 rotation speed, these movements tend to make us sick. We want that TV vibe! ^^
Unreal Ed  [author] Nov 26, 2020 @ 6:52am 
The camera "cards"? If you mean the camera-shaped TOKENS, they SHOULD have numbers in them, like in the images above. If not tell me what you're seeing because that sounds like a bug
Prod Nov 25, 2020 @ 9:51pm 
I feel like I'm missing something obvious, but the camera cards in my game don't have the white text boxes with numbers and letters on them. Like the idea, but dunno how to make it work :(
Olebgamer Nov 24, 2020 @ 9:07pm 
Thanks for the suggestion.
Unreal Ed  [author] Nov 24, 2020 @ 6:42pm 
You could just put the objects under the table and lock them. If you need to change something, fly down there in 1st person, unlock it, change what you need and put them back down there. Seems simpler to me, but you can do what you want
Olebgamer Nov 21, 2020 @ 7:09pm 
Thanks, I figured it out and changed those lines... I like this, it shows me what I need to do. But I cannot afford your UI on the table, so I'm going to look at hard code the settings.
Unreal Ed  [author] Nov 21, 2020 @ 6:58am 
That's weird. It must mean the pawn was uploaded with its "forward" not facing forward in the Z-axis.

If you want to make a version that looks at that pawn correctly, change line 184/192 for the Scripting Buttons version or lines 205/213 for the Game Keys version. you just need to add "+ 90 to the y value of either.

I'd forgotten that I'd planned to do this per-player. I'll try to get to that soon
Olebgamer Nov 19, 2020 @ 10:16pm 
This does something I wanted, but I'm still unclear on your Upside down positioning.
When I use this with a pawn on a board, it goes to 3 o'clock or 9 o'clock positions.
I'd like to use 6 o'clock, I guess I could figure out what you do with that variable, or give me some hints. Or just make that a numeric input too. I'd like to see your version with per player.
I want each player to be able zoom on their pawn.
Unreal Ed  [author] May 10, 2020 @ 7:18pm 
Fixed! I never noticed that that was a problem so thanks for pointing it out! The tool should now properly save every setting any time the mod is saved/auto-saved.

Also, updated to v1.1, which adds a second camera tool that uses the Game Keys instead of the Scripting button. This means that, with it, you can now set more than 10 camera positions, the player can set any key to switch to that camera, and you can see a list of bind-able things to look at from the Options -> Game Keys menu.

This should make this tool much more versatile
agomago May 9, 2020 @ 9:37am 
I've tried to add saving of configuration data without success. Have you ever think to add it??
Unreal Ed  [author] May 16, 2018 @ 4:28pm 
Zoom definitely works for me (just tried). The number changes need to be decently big, so with 1 or 2 difference it's very slight, but add 30 and you'll definitely be much farther away
Gondor72 May 16, 2018 @ 3:09pm 
First off, this is really great. The angle and locking an object works perfect, the zoom doesn't do anything no matter what number I put in. Still something I will be using.
Unreal Ed  [author] May 11, 2018 @ 7:32pm 
I just checked and the only functions for camera are attachCameraToObject and lookAT. So no, can't save a camera position. You COULD just save it manually w ctrl+1-9, but no other way
Tragic May 11, 2018 @ 6:40pm 
Really? That seems strange. You can set the view but not get the view? I was sure I saw a tool that did that at one time.. it allows you to set extra camera hotkeys... I will see if I can find it. Also, really cool idea to set the hotkey dynamically, I use hotkeys in my new mod and a small tool for them to set they keys would be awesome... is that per player or globally?
Unreal Ed  [author] May 11, 2018 @ 6:12pm 
Good idea, I will add a tick box for the rotation. Might also set a table of special GUIDs that get rotated differently, for convenience sake.

I wanted to make it go back to previous position, but the problem is that scripting doesn't give you access to any data about the camera position. So I can't save the position before i tell it to look at something
Tragic May 11, 2018 @ 1:51pm 
Interesting tool. I like it. Though the orientation thing is tricky. Many objects have strange rotations. Like say you are using TALL card with the HORIZONTAL option checked, or you are using a mix of custom objects, some are set to 180 to appear upright... etc etc. Some careful planning in the mod could get around it.

Though it may be cool to have a tick box or something on the tool to remove the orientation aspect completely. So it simply moves the camera and zooms in on the object, but doesn't rotate the view at all. So basically making it a ZOOM from your current view.

Also, a cool idea would be to have it save your old view and a second press of the hotkey returns you.
Unreal Ed  [author] Apr 9, 2018 @ 8:54pm 
Updated: You can set an object by GUID and have the camera lock to that instead of what's under the mouse. You can create of these to have them lock on to different objects, or keep it as a way to look under your mouse cursor
Cerne13 Apr 9, 2018 @ 4:21am 
Thank you a lot. Works like a charm!
Unreal Ed  [author] Apr 6, 2018 @ 5:38pm 
I tried it btw with 8 and it worked as intended
maximo1984 Apr 6, 2018 @ 5:25pm 
Ok, thanks, I like this idea so def want to get it to work :)
Unreal Ed  [author] Apr 6, 2018 @ 4:23pm 
If you type in 8 on that center space, and then pressed 8 on your numpad while hovering over an object and it didn't do anything, then there's a bug. Make sure that there actually is only 1 number in that input field also
maximo1984 Apr 6, 2018 @ 4:19pm 
I'm still confused. I tried to use it and 8 is not set to anything. I hovered over an object and pressed 8, is that what I'm supposed to do?
Unreal Ed  [author] Apr 6, 2018 @ 12:41pm 
First off I'm guessing by "short key" you meant "shortcut key". If you press that shortcut key (bound on the numpad by default, but could be different if remapped), then your camera moves over whatever OBJECT YOU'RE HOVERING (if you aren't hovering over any object, nothing happens) at the angle and distance specified by the upper numbers (in that order).

If you're asking "how can i type that number because the camera would focus the camera tool itself?" then don't worry, because scripting buttons don't trigger while you are typing in a input field.

Hope either of these comments answer your question.
maximo1984 Apr 6, 2018 @ 3:42am 
sounds neat but a bit confusing. If you are clicking the short key in the middle, then your pointer is going to be hovering over the camera tool you made right? So how does it go "someplace else" ?