beatspores Posted January 12 Posted January 12 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 January 12 Posted January 12 (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 January 12 by Noqn
beatspores Posted January 13 Author Posted January 13 (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 January 13 by beatspores
Noqn Posted January 13 Posted January 13 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