I think this might be interesting for people who want to make their personal game controls a bit more fitting. For example, I prefer having the character movements on the arrow keys. But then you are very far away from the hotkeys. So I used the bind commands in config.cfg to set the hotkeys to the number pad as well.
Of course most keys and commands can be set in the options menue. But some, like the camera commands, and the hotkeys cannot.
Simple keybindings are set in config.cfg
Alias functions are functions that bind more than one simple command to a key. Examples for aliases are the toggle walk/run, and the auto walk function. they are set in autoexec.cfg
You can find both files in the folder -bloodlines\vampire\cfg\ Both are simple textfiles that can be edited with any text editor you like.
A keybind sets one command to one key:
bind "SPACE" "pause" for example binds the pause function to the spacebar,
bind "k" "showhotkeys" binds the hotkey menue to k, while
bind "1" "vhotkey #1" binds the actual hotkey #1 to the 1 key.
With alias functions you can set more than one command to one single key.
The toggle walk/run for example looks like this:
alias run "-speed;bind SHIFT walk"
alias walk "+speed;bind SHIFT run"
bind SHIFT walk
Now what does this mean? The last command (bind SHIFT walk) makes sure that after starting the game, the first time you press the shift key, the alias function walk will be executed. This will first call +speed (makes the character walking instead of the usual running), and then it binds the alias run to the SHIFT key.
run does the opposite, making the character running again, and then it rebinds SHIFT to walk.
Similar to this one, I have made a function that allows me to look behind me and then forward again, by pressing the BACKSPACE key:
alias lookback "cam_yaw 180;bind BACKSPACE lookforward"
alias lookforward "cam_yaw 0;bind BACKSPACE lookback"
bind BACKSPACE lookback
It is also possible to make more complex functions. Instead of a simple backwards view, you could make the character "looking over the shoulders"
alias look120 "cam_yaw 120;bind BACKSPACE look240"
alias look240 "cam_yaw 240;bind BACKSPACE look0"
alias look0 "cam_yaw 0;bind BACKSPACE look120"
bind BACKSPACE look120
I think, it is also possible to make an alias that binds more than one function to be executed on one key, but atm I can't think of an interesting application for that, so I haven't tested this yet.