PDA

View Full Version : Improved Hitman: Codename 47 control scheme


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.

rickyk
07-12-2011, 06:02 AM
make your own key config (with mouse being 356 for L click, 358 for R click and 358 for Wheel click.


Thanks for the info.

BTW that should read "357 for R Click" and not 358.

Cheers

Oedi
07-12-2011, 08:41 AM
why this way when the controls can be altered in the game menu?

grendel03
07-13-2011, 12:04 AM
why this way when the controls can be altered in the game menu?

It helps if someone wants to do it the quick way.

I pretty much did the same thing during the tutorial level. The controls are pretty bad; I don't think I've played a first or third person shooter that treated walk/run as separate buttons and not a modifier.

rickyk
07-13-2011, 12:12 AM
why this way when the controls can be altered in the game menu?

I wasn't able to remap some controls using the in game menu. For example binding "Mouse right click" to "move forward" (rather than W) which is how I have been playing FPS's for more than a decade.

The in game GUI does not accept this assignment for me. Editing it externally works great though.

Nth RooCH
07-13-2011, 07:21 AM
why this way when the controls can be altered in the game menu?
I found the method of remapping a bit arduous in this game and generally a quick copy paste is considered preferable. Plus some people would rather not have to sit and figure out a control scheme that mimics the more recognised formats of modern games.

Thanks for the info.

BTW that should read "357 for R Click" and not 358.

Cheers

Correct, sir! Edited, thanks :)

Oedi
07-14-2011, 11:58 AM
It helps if someone wants to do it the quick way.
no offense, but i needed like, less than 2min, to change the controls to the usual WASD config. theres also a button that changes the numpad controls to the "left side of the keyboard" controls (but that definetly needs adjustment, too).

ok i didnt try to change right mouse button as i saw that its used to show an action window. and i certainly never thought about moving with the right mouse button :D

well i guess everyone has his/her preferences.