Announcement

Collapse
No announcement yet.

toggle bind?

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

  • replied
    Originally posted by Nickless
    There is no cross-reference in your structure.

    There should be no space between FOV 100 and FOV 80. Naming the alias FOV... is a bad choice since FOV is a command itself. I renamed the Alias to zoom...

    This should have been A=FOV80.

    This is the right structure.
    Aliases[36]=(Command="FOV 80 | Set input a ZOOM80",Alias="ZOOM100")
    Aliases[37]=(Command="FOV100 | Set input a ZOOM100",Alias="ZOOM80")

    Now it should be A=Zoom80 if your standard FOV is 80 or or A=Zoom100 if your standard FOV is 100.
    Ah, NOW I get it. Ty very much so.

    Leave a comment:


  • replied
    Probably right. In his case he could also use:

    A=FOV 80 | onrelease 100 // sets fov to 80 as long as you hold A down then it switches back to FOV 100

    He could add the FOV command to all weapons.

    A=pipedswitchweapon x | FOV 80
    B=pipedswitchweapon X | FOV 100
    ....

    However for some changes you need aliases, and if you want to bind two aliases to one key you need the cross-reference setup.

    Leave a comment:


  • replied
    k, nobody's asked this yet, aer you gonna change that much that you need a special key binding.

    (heh, the australiens got sand nin there eyes, now they're sucking, and greece brings out hot cheerleaders whenever there's a slow point, weird olympics)

    Leave a comment:


  • replied
    Aliases[36]=(Command="FOV 80 | Set input a FOV 100",Alias="FOV100")
    Aliases[37]=(Command="FOV 100 | Set input a FOV 80",Alias="FOV80")
    There is no cross-reference in your structure.

    ....| Set input a FOV 100"....
    ...| Set input a FOV 80"...
    There should be no space between FOV 100 and FOV 80. Naming the alias FOV... is a bad choice since FOV is a command itself. I renamed the Alias to zoom...

    A=FOV 80
    This should have been A=FOV80.

    This is the right structure.
    Aliases[36]=(Command="FOV 80 | Set input a ZOOM80",Alias="ZOOM100")
    Aliases[37]=(Command="FOV100 | Set input a ZOOM100",Alias="ZOOM80")

    Now it should be A=Zoom80 if your standard FOV is 80 or or A=Zoom100 if your standard FOV is 100.

    Leave a comment:


  • replied
    Originally posted by Nickless
    If you want to bind two commands to one key and toogle between them you use two aliases.

    The structure is:

    Aliases[37]=(Command="the command you want to execute | Now switch the keybind to the second alias",Alias="Alias1")
    Aliases[38]=(Command="the command you want to execute | Now switch the keybind to the first alias",Alias="Alias2")

    Now you bind the first or the second alias to a key. It depends on which alias you want to have executed with the first key press.
    If you press the key now the alias will execute the command and then switch the bind of the key to the other alias. Since both aliases cross-reference to another the key will alternate between alias1 and alias2.

    Here´s another example. It switches between the Rocket Launcher and the Flak Cannon in Onslaught.

    Normally you would do it like this:

    [key]=pipedweaponswitch 7 | pipedweaponswitch 8 (7=Flak,8=Rocket)

    In Onslaught that doesn´t work because the Avril would come up between the Rocket and the Flak.

    Therefore you can create two aliases bind them to key and toogle beetwen them.

    First time you press Z you will switch to the Flak and bind getRocket to the key Z. Next time you press on Z you will get the Rocket Launcher and bind getFlak to Z again. And so it goes on and on.

    Aliases[37]=(Command="switchweapon 7 | set input Z getRocket",Alias="getFlak")
    Aliases[38]=(Command="switchweapon 8 | set input Z getFlak",Alias="getRocket")

    Cross-reference

    Bind the first one to a key.

    Z=getFlak

    No you will be able to change between Flak and Rocket without the Avril.




    Afaik, you cannot have Alias numbers above [39] so those two won´t work if you copy and paste them. You would need to lower the numbers below 40. If you are running low on free aliases you can overwrite these two:

    Aliases[26]=(Command="InGameChat",Alias=InGameChat)
    Aliases[27]=(Command="ServerInfo",Alias=ServerInfo)

    They make no sense.
    Im sorry for not understanding, but I dont understand..... I'm trying to make it change my FoV from 100 to 80 to 100, etc. I have this:

    Aliases[36]=(Command="FOV 80 | Set input a FOV 100",Alias="FOV100")
    Aliases[37]=(Command="FOV 100 | Set input a FOV 80",Alias="FOV80")

    A=FOV 80

    So, if thats right, its not working for whatever reason. And no, you are allowed to change FOV in online games, but its limited to 80-100, so thats not the problem. Of course, I have it done thru 2 diff keys, but I'm trying to save space.

    Ty, SvL

    Leave a comment:


  • replied
    If you want to bind two commands to one key and toogle between them you use two aliases.

    The structure is:

    Aliases[37]=(Command="the command you want to execute | Now switch the keybind to the second alias",Alias="Alias1")
    Aliases[38]=(Command="the command you want to execute | Now switch the keybind to the first alias",Alias="Alias2")

    Now you bind the first or the second alias to a key. It depends on which alias you want to have executed with the first key press.
    If you press the key now the alias will execute the command and then switch the bind of the key to the other alias. Since both aliases cross-reference to another the key will alternate between alias1 and alias2.

    Here´s another example. It switches between the Rocket Launcher and the Flak Cannon in Onslaught.

    Normally you would do it like this:

    [key]=pipedweaponswitch 7 | pipedweaponswitch 8 (7=Flak,8=Rocket)

    In Onslaught that doesn´t work because the Avril would come up between the Rocket and the Flak.

    Therefore you can create two aliases bind them to key and toogle beetwen them.

    First time you press Z you will switch to the Flak and bind getRocket to the key Z. Next time you press on Z you will get the Rocket Launcher and bind getFlak to Z again. And so it goes on and on.

    Aliases[37]=(Command="switchweapon 7 | set input Z getRocket",Alias="getFlak")
    Aliases[38]=(Command="switchweapon 8 | set input Z getFlak",Alias="getRocket")

    Cross-reference

    Bind the first one to a key.

    Z=getFlak

    No you will be able to change between Flak and Rocket without the Avril.


    Aliases[42]=(Command="Setname MyName | Set input n name2",Alias="Name1")
    Aliases[43]=(Command="Setname MyAlais | Set input n name1",Alias="Name2")
    Afaik, you cannot have Alias numbers above [39] so those two won´t work if you copy and paste them. You would need to lower the numbers below 40. If you are running low on free aliases you can overwrite these two:

    Aliases[26]=(Command="InGameChat",Alias=InGameChat)
    Aliases[27]=(Command="ServerInfo",Alias=ServerInfo)

    They make no sense.

    Leave a comment:


  • replied
    Originally posted by Fusion0090
    This can be done much easier using aliases

    Heres an example:

    Aliases[42]=(Command="Setname MyName | Set input n name2",Alias="Name1")
    Aliases[43]=(Command="Setname MyAlais | Set input n name1",Alias="Name2")

    Then you would have:

    n=name1
    Im not new to this game, but Im new to many bindings.....Can you explain this to me? Even tho I was planning on using it for something other than changing names.

    Leave a comment:


  • replied
    Originally posted by [6pk]Shambler
    Yeah you can but it's a little tricky.

    Make two files in your UT2004\System folder: AnyName1.txt AnyName2.txt

    in AnyName1.txt add this:
    SetName AnyName1
    Set input N exec AnyName2.txt

    in AnyName2.txt do this:
    SetName AnyName2
    Set Input N exec AnyName1.txt

    now bind 'exec AnyName1.txt' to N and then when you hit the key it should toggle between those two names
    This can be done much easier using aliases

    Heres an example:

    Aliases[42]=(Command="Setname MyName | Set input n name2",Alias="Name1")
    Aliases[43]=(Command="Setname MyAlais | Set input n name1",Alias="Name2")

    Then you would have:

    n=name1

    Leave a comment:


  • replied
    i swear the bind requests a lot of people on this forum want are just dumb. dumb dumb dumb

    Leave a comment:


  • replied
    If you have two spare keys you can bind the names to them.

    [key1]=setname MyName1
    [key2]=setname MyName2

    Leave a comment:


  • replied
    Yeah you can but it's a little tricky.

    Make two files in your UT2004\System folder: AnyName1.txt AnyName2.txt

    in AnyName1.txt add this:
    SetName AnyName1
    Set input N exec AnyName2.txt

    in AnyName2.txt do this:
    SetName AnyName2
    Set Input N exec AnyName1.txt

    now bind 'exec AnyName1.txt' to N and then when you hit the key it should toggle between those two names

    Leave a comment:


  • started a topic toggle bind?

    toggle bind?

    hi there,
    is it possible to have a bind like that:
    N = toggle name myname1 | name myname2
    ?

    so that the first time i press 'N' my name changes to myname1 and the next time it changes to myname2 etc.?

    greets and thx in advance,
    vampire
Working...
X