Howto: Multilevel mousebindings

There are 8 replies in this Thread. The last Post () by magnet.

  • As i recently found this neat little trick that is possible even though the game itself does not recognize multilevel mouse bindings im going to post (so not someone cries i would have an unfair advantage with my "advanced movement and firing circuits";p)


    I assume that the reader has an 7 button mouse. Mouse1&2+2shoulder+wheel, where as wheel is accounted as 3 buttons, up down and pressing it,unfortunate freelancer doesn't know the wheel itself, only the button it has, so you end up with only 5 of your 7 buttons


    This tutorial will allow you to be able to use your mouse keys with control alt and shift keys like the keyboard allows


    First go to your my games/freelancer directory and open the userkeymap.ini with any texteditor


    You will now see multiple lines that will look like


    [KeyCmd]
    nickname = USER_REPAIR_HEALTH
    key = 71


    now we want to add the possibility to use the nano's with control+mouse4 (note when you want to do this per options freelancer will not recognize you pressed control when you press mouse4 and prompts if you want to rebind your older mouse4 key)


    To enable this option add the following line to that


    key = -4,CONTROL


    With this line on any press of mouse4 and control at once you will use nanobots to heal yourself


    So far the introduction and basics of this


    To now edit the configuration to do anything you want it to, look for the action or maneuver you wish to have and add lines like the above and use the provided keytable (i wont give the keyboard key codes, look for the numbers yourself when you want to do that)


    "key = buttonnumber, multilevelkey"
    Multilevelkeys are (obvious i think)
    CONTROL
    ALT
    SHIFT
    keep in mind to type these in uppercase letters, i tired it with lowercase and for some odd reason it didnt worked
    mosuebuttonnumbers are
    -1 =mousebutton 1
    -2 =mousebutton 2
    -3 =mousebutton 3
    -4 =mousebutton 4
    -5 =mousebutton 5


    now comes the tricky yet simple part, if you want to add a third option to a specific key add another line with an additional multilevelkey
    example


    key = -4,CONTROL,SHIFT


    whatever action has this line will be performed when you press control+shift+mouse4


    Thats so far, with this easy guide you should now be able to modify your userkeymap.ini to do anything you wish, you can even map to do one key/button to perform multiple tasks at once, but it is kinda lame imho
    If not you should uninstall freelancer, delete windows, shutdown your computer and never touch it again n00b


    Own you in space, Cowboy [8]

    <a href="http://www.factorizer.co.uk" title="Funny Facts"><img src="http://www.factorizer.co.uk/Andariel,0,ffffff,000000,0.png" alt="Funny Facts" /></a>

    DC_Harpy-DC_Andariel-DC_Chupacabre-DC_Lurking_Shadow-DC_Lady_Nukem
    "If brute force isn't solving your problems, you're probably not using enough"

  • looks interessting


    altho, old players around here already use 60% of the keyboard during the fights (with the time you get used to use all possible buttons you can reach :D ) ...


    and in combination with what you just wrote ... hehe, imagine how would fights look liek then


    i always wondered if i can combine during a fight (and not to get killed, lol) , the rotate option with left-right movements (or even up/down)...

  • it does, i actually use wasdqe with shift alt and control (not everything yet finally decided but im working on perfecting this) feels pretty lame so im unsure if i should keep these settings, if i decide that it is i will do the same as in any other fps, backup the file/s and never use them again^^

    <a href="http://www.factorizer.co.uk" title="Funny Facts"><img src="http://www.factorizer.co.uk/Andariel,0,ffffff,000000,0.png" alt="Funny Facts" /></a>

    DC_Harpy-DC_Andariel-DC_Chupacabre-DC_Lurking_Shadow-DC_Lady_Nukem
    "If brute force isn't solving your problems, you're probably not using enough"

  • hmmm that opens some new possibilities

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • thats why i suggested to make this possible per options

    <a href="http://www.factorizer.co.uk" title="Funny Facts"><img src="http://www.factorizer.co.uk/Andariel,0,ffffff,000000,0.png" alt="Funny Facts" /></a>

    DC_Harpy-DC_Andariel-DC_Chupacabre-DC_Lurking_Shadow-DC_Lady_Nukem
    "If brute force isn't solving your problems, you're probably not using enough"

  • damn i will be on it too - very soon ^^


    Thanks for the hint - i didn´t know that...


    Click the image above to visit us.
    _______________________________________
    "Sir, we are surrounded!"
    "Excellent, now we can attack in any direction."

  • nothing to thank, i just discovered it and first was unsure what would been thought about this then decided to quick write that up and share it, what would been such a neat little trick when i wont allow my enemys to have it too


    *edit* can someone explain me how i can change the music to a prefered mp3/wav file? i would prefer some metal/neofolkrock instead of this "old" fl music

    <a href="http://www.factorizer.co.uk" title="Funny Facts"><img src="http://www.factorizer.co.uk/Andariel,0,ffffff,000000,0.png" alt="Funny Facts" /></a>

    DC_Harpy-DC_Andariel-DC_Chupacabre-DC_Lurking_Shadow-DC_Lady_Nukem
    "If brute force isn't solving your problems, you're probably not using enough"

  • Nice idea. Thanks for sharing!
    As a left handed player I always thought it was a disadvantage that ctrl and shift were
    practicly useless but now all keys around my beloved cursor keys will work in some way :)

  • this is cool! i just solved some of my problems


    respect!

    <table border="0" align="center" width="75%" height="40px" cellspacing="0"><tr>
    <td align="left" background="http://img217.imageshack.us/img217/9442/swatwj7.png" width="2px"></td>
    <td valign="top" align="center" width="100%" background="http://img182.imageshack.us/img182/401/swatya1.gif"><font face="serif" color="white" size="5">&#191;&#647;&#592;&#653;&#387;&#592;&#623; - magwat?</font></td>
    <td align="right" background="http://img27.imageshack.us/img27/6025/swatright.png" width="2px"></td>
    </tr></table>
    <!--<hr width="85%" />

    Fix'd.

    -->