beatspores Posted Sunday at 10:46 AM Posted Sunday at 10:46 AM Hey thanks for clicking. I want to bind the "smart camera" to a hotkey I can use in-game without going into the settings menu to on / off that all the time. I've looked around in the .gamedatabundles and also with Apotheosis but I can't find anything myself. Any help would be greatly appreciated. Thanks, regards / b 1
Noqn Posted Sunday at 04:04 PM Posted Sunday at 04:04 PM (edited) I did some digging and you can bind two keys to enable/disable smart camera with these console commands: BindCommand F6 "SetSmartCameraState ForceEnabled" BindCommand F7 "SetSmartCameraState ForceDisabled" You can replace F6/F7 above with any key listed here: https://docs.unity3d.com/ScriptReference/KeyCode.html (there's no way create a "toggle" hotkey with console commands like this sadly) The keybindings will persist in your save, but the exact camera state will not be remembered after you exit the game just fyi, it will default to whatever the UI Setting is set to. To revert these bindings, run these commands: SetSmartCameraState UsingSmartSettings ClearBoundCommands Edited Sunday at 04:07 PM by Noqn
beatspores Posted Monday at 09:26 AM Author Posted Monday at 09:26 AM (edited) 17 hours ago, Noqn said: Spoiler I did some digging and you can bind two keys to enable/disable smart camera with these console commands: BindCommand F6 "SetSmartCameraState ForceEnabled" BindCommand F7 "SetSmartCameraState ForceDisabled" You can replace F6/F7 above with any key listed here: https://docs.unity3d.com/ScriptReference/KeyCode.html (there's no way create a "toggle" hotkey with console commands like this sadly) The keybindings will persist in your save, but the exact camera state will not be remembered after you exit the game just fyi, it will default to whatever the UI Setting is set to. To revert these bindings, run these commands: SetSmartCameraState UsingSmartSettings ClearBoundCommands Thank you so much for taking the time to look at this. Unfortunately I can't get this to work. I've tried several different kinds of keys but nothing happens either on or off. I also get a couple of error messages. Image 1 is when I try to bind an F-key, image 2 is when I try to bind a "regular" key, image 3 is when I try to reset the setting. When I use the ClearBoundCommands nothing shows about if it was registered or not. I'm on mac by the way, running from a game install file downloaded from GOG, if that changes anything in this. Edited Monday at 09:28 AM by beatspores
Noqn Posted Monday at 06:45 PM Posted Monday at 06:45 PM aaah, you might have to run this command first: iRoll20s Note that this will disable achievements for the rest of that playthrough unless you load an earlier save. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now