Jump to content

Recommended Posts

Posted

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

  • Hmmm 1
Posted (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 by Noqn
Posted (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.

1.jpg

2.jpg

3.jpg

Edited by beatspores
Posted

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.

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...