Nth RooCH
07-11-2011, 08:06 AM
After a little bit of fiddling around I found a solid method of altering the control scheme in Hitman: Codename 47. In the following directory, Steamapps>Common>Hitman Codename 47 there is a .cfg file called simply "Hitman". Within it you will find a run down of the controls assigned using numbers. The numbers will correspond to keys on the keyboard, and this is the general order of them...
http://code.google.com/p/logkeys/wiki/Keymaps
This means you can generally make your own key config (with mouse being 356 for L click, 357 for R click and 358 for Wheel click. However below is my chosen settings. Copy paste this below for
W = walk forward
S = walk backward
A = Strafe left
D = Strafe right
L shift = Run
L ctrl = Sneak
R = reload weaponry
L mouse = fire
R mouse = context menu
Mousewheel button = Do action
Beyond that, there are probably a few more changes to be made, but it works and feels far more intuitive this way. Config below...
<Settings>
<Controls>
<Mapping Action="FireWeapon">
<Key SCode="356"/>
</Mapping>
<Mapping Action="ShowMap">
<Key SCode="1"/>
</Mapping>
<Mapping Action="ShowLaptop">
<Key SCode="2"/>
</Mapping>
<Mapping Action="ShowStatus">
<Key SCode="60"/>
</Mapping>
<Mapping Action="WalkForward">
<Key SCode="17"/>
</Mapping>
<Mapping Action="WalkBackWard">
<Key SCode="31"/>
</Mapping>
<Mapping Action="WalkLeft">
<Key SCode="30"/>
</Mapping>
<Mapping Action="WalkRight">
<Key SCode="32"/>
</Mapping>
<Mapping Action="Run">
<Key SCode="42"/>
</Mapping>
<Mapping Action="TurnLeft">
<Key SCode="44"/>
</Mapping>
<Mapping Action="TurnRight">
<Key SCode="46"/>
</Mapping>
<Mapping Action="LeanOutLeft">
<Key SCode="16"/>
</Mapping>
<Mapping Action="LeanOutRight">
<Key SCode="18"/>
</Mapping>
<Mapping Action="Sneak">
<Key SCode="29"/>
</Mapping>
<Mapping Action="ToggleMouseControl">
<Key SCode="4"/>
</Mapping>
<Mapping Action="ReloadWeapon">
<Key SCode="19"/>
</Mapping>
<Mapping Action="ToggleWeaponMode">
<Key SCode="15"/>
</Mapping>
<Mapping Action="SelectNext2">
<Key SCode="34"/>
</Mapping>
<Mapping Action="SelectPrev2">
<Key SCode="20"/>
</Mapping>
<Mapping Action="DropItemInHand">
<Key SCode="33"/>
</Mapping>
<Mapping Action="DoAction">
<Key SCode="358"/>
</Mapping>
<Mapping Action="Binoculars">
<Key SCode="3"/>
</Mapping>
<Mapping Action="EmptyHands">
<Key SCode="33"/>
</Mapping>
<Mouse Speed="13" Invert="0"/>
</Controls>
<Sound SfxVol="80" MusicVol="54" SpeechVol="90" UseEAX="0" UseHW="0" UseStreaming="1" MusicQuality="1" NumBuffers="8"/>
</Settings>
So aye, copy, paste, and edit to your hearts content.
http://code.google.com/p/logkeys/wiki/Keymaps
This means you can generally make your own key config (with mouse being 356 for L click, 357 for R click and 358 for Wheel click. However below is my chosen settings. Copy paste this below for
W = walk forward
S = walk backward
A = Strafe left
D = Strafe right
L shift = Run
L ctrl = Sneak
R = reload weaponry
L mouse = fire
R mouse = context menu
Mousewheel button = Do action
Beyond that, there are probably a few more changes to be made, but it works and feels far more intuitive this way. Config below...
<Settings>
<Controls>
<Mapping Action="FireWeapon">
<Key SCode="356"/>
</Mapping>
<Mapping Action="ShowMap">
<Key SCode="1"/>
</Mapping>
<Mapping Action="ShowLaptop">
<Key SCode="2"/>
</Mapping>
<Mapping Action="ShowStatus">
<Key SCode="60"/>
</Mapping>
<Mapping Action="WalkForward">
<Key SCode="17"/>
</Mapping>
<Mapping Action="WalkBackWard">
<Key SCode="31"/>
</Mapping>
<Mapping Action="WalkLeft">
<Key SCode="30"/>
</Mapping>
<Mapping Action="WalkRight">
<Key SCode="32"/>
</Mapping>
<Mapping Action="Run">
<Key SCode="42"/>
</Mapping>
<Mapping Action="TurnLeft">
<Key SCode="44"/>
</Mapping>
<Mapping Action="TurnRight">
<Key SCode="46"/>
</Mapping>
<Mapping Action="LeanOutLeft">
<Key SCode="16"/>
</Mapping>
<Mapping Action="LeanOutRight">
<Key SCode="18"/>
</Mapping>
<Mapping Action="Sneak">
<Key SCode="29"/>
</Mapping>
<Mapping Action="ToggleMouseControl">
<Key SCode="4"/>
</Mapping>
<Mapping Action="ReloadWeapon">
<Key SCode="19"/>
</Mapping>
<Mapping Action="ToggleWeaponMode">
<Key SCode="15"/>
</Mapping>
<Mapping Action="SelectNext2">
<Key SCode="34"/>
</Mapping>
<Mapping Action="SelectPrev2">
<Key SCode="20"/>
</Mapping>
<Mapping Action="DropItemInHand">
<Key SCode="33"/>
</Mapping>
<Mapping Action="DoAction">
<Key SCode="358"/>
</Mapping>
<Mapping Action="Binoculars">
<Key SCode="3"/>
</Mapping>
<Mapping Action="EmptyHands">
<Key SCode="33"/>
</Mapping>
<Mouse Speed="13" Invert="0"/>
</Controls>
<Sound SfxVol="80" MusicVol="54" SpeechVol="90" UseEAX="0" UseHW="0" UseStreaming="1" MusicQuality="1" NumBuffers="8"/>
</Settings>
So aye, copy, paste, and edit to your hearts content.