OrfeasZ / ZHMModSDK

A modding SDK for Hitman 3
Other
114 stars 27 forks source link

Change console key #64

Closed chairinpool closed 6 months ago

chairinpool commented 1 year ago

Is there a way I can change the hotkey to open the overlay?

OrfeasZ commented 6 months ago

This is now possible in the latest version.

To change the console key, open the mods.ini file and add the following:

[sdk]
console_key = 0x29

(If the [sdk] section already exists, just add the console_key key / value)

You can replace 0x29 (tilde / grave key) with a scan code of your choice. See this table for a list of scan codes by key (column named Scan 1 Make).

For example, to change it to F1, write the following:

[sdk]
console_key = 0x3B
BigFish619000 commented 2 months ago

Hi Their, I was wondering if I could change Freecam`s Teleport function to another key, instead of Ctrl + F9. would it be possible to change this somewhere in the Z files, so I only have to use a single key or any other of my choice?