Announcement

Collapse
No announcement yet.

aotoexec.cfg i need help creating simple scripts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • aotoexec.cfg i need help creating simple scripts

    i am used to scripting for half-life but when i modify the mp_config.cfg, nothing sticks and it messes up my controls back ingame. when i create an autoexec.cfg file in the players directory it doesn't seem to load automatically or through the the use of the exec command in the console. please tell me what i am doing wrong.

    here is a my autoexec.cfg file

    bind Z "+movedown; +leanmod"
    alias +leanmod "bind c +moveleftmod; bind v +moverightmod"
    alias -leanmod "bind c +moveleft; bind v +moveright; -leanleft; -leanright"
    alias +moveleftmod "-leanright; +moveleft; +leanleft"
    alias -moveleftmod "-moveleft"
    alias +moverightmod "-leanleft; +moveright; +leanright"
    alias -moverightmod "-moveright"

  • #2
    Re: aotoexec.cfg i need help creating simple scripts

    From doing a little reading, it doesnt look like you do key bindings in autoexec.cfg, but in config_mp.cfg, located in your "player" folder.

    Also, it seems there are only certain keys you can use. One person made this list:

    •H, J, K, L, M, U, I, O, P
    •F4, F5, F6, F7, F8, F9 et F11
    •General keyboard : 2, 3, 5, 8, 9, 0.
    •Numerical keyboard : 5

    You can try it and see.

    And FINALLY, some people had to set their .cfg file to read only after doing this.

    Crunch
    Twitter: @CptainCrunch
    Battlelog/Origin: CptainCrunch

    Comment

    Working...
    X